mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2024-12-12 05:20:26 +00:00
3f7de07da9
This has several advantages over using an external CLI tool to generate the files, such as having fewer dependencies, less generated files bloat and more flexibility over the localization code. "Sadly", this solution doesn't check for validity of JSON files at compile-time (the only advantage of using an external tool such as go-localize). However, I easily fixed this huge "issue" by making the program crash at startup if any locale files are invalid. Also, no more "go-localize removed from go.mod" "go-localize added to go.mod" "go-localize removed from go.mod" spam. A utility for making sure all translation stay in sync soon! (not sure where to put it)
36 lines
1.3 KiB
JSON
36 lines
1.3 KiB
JSON
{
|
|
"username": "Username",
|
|
"password": "Password",
|
|
|
|
"register_title": "Register",
|
|
"register_header": "Register on {{.name}}",
|
|
"register_button": "Register",
|
|
|
|
"login_title": "Login",
|
|
"login_header": "Log in to {{.name}}",
|
|
"login_button": "Log in",
|
|
|
|
"logout_title": "Logout?",
|
|
"logout_header": "Log out?",
|
|
"logout_button": "Confirm",
|
|
"logout_anon": "You cannot log out because you are not logged in.",
|
|
|
|
"lock_title": "Locked",
|
|
|
|
"password_tip": "The server stores your password in an encrypted form; even administrators cannot read it.",
|
|
"cookie_tip": "By submitting this form you give this wiki a permission to store cookies in your browser. It lets the engine associate your edits with you. You will stay logged in until you log out.",
|
|
"telegram_tip": "You can log in using Telegram. It only works if you have set your @username in Telegram and this username is free on this wiki.",
|
|
|
|
"noauth": "Authentication is disabled. You can make edits anonymously.",
|
|
"noregister": "Registrations are currently closed. Administrators can make an account for you by hand; contact them.",
|
|
|
|
"error_username": "Unknown username.",
|
|
"error_password": "Wrong password.",
|
|
"error_telegram": "Could not authorize using Telegram.",
|
|
|
|
"go_back": "Go back",
|
|
"go_home": "Go home",
|
|
"go_login": "Go to the login page",
|
|
"try_again": "Try again"
|
|
}
|