mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2024-12-13 05:50:27 +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)
152 lines
6.5 KiB
JSON
152 lines
6.5 KiB
JSON
{
|
||
"login": "Login",
|
||
"register": "Register",
|
||
"title_search": "Search by title",
|
||
"admin_panel": "Admin panel",
|
||
|
||
"search_results_title": "Search: {{.query}}",
|
||
"search_results_query": "Search results for ‘{{.query}}’",
|
||
"search_results_desc": "Every hypha name has been compared with the query. Hyphae that have matched the query are listed below.",
|
||
|
||
"backlinks_title": "Backlinks to {{.hypha_name}}",
|
||
"backlinks_heading": "Backlinks to {{.hypha_link}}",
|
||
"backlinks_desc": "Hyphae which have a link to this hypha, embed it as an image or transclude it are listed below.",
|
||
|
||
"list_title": "List of pages",
|
||
"list_heading": "List of hyphae",
|
||
"list_desc": "This wiki has {{.n}} %s.",
|
||
"list_desc+one": "hypha",
|
||
"list_desc+other": "hyphae",
|
||
|
||
"edit_link": "Edit text",
|
||
"logout_link": "Log out",
|
||
"history_link": "View history",
|
||
"rename_link": "Rename",
|
||
"delete_link": "Delete",
|
||
"text_link": "View markup",
|
||
"attachment_link": "Manage attachment",
|
||
"backlinks_link": "{{.n}} backlink%s",
|
||
"backlinks_link+one": "",
|
||
"backlinks_link+other": "s",
|
||
|
||
"sibling_hyphae": "Sibling hyphae",
|
||
"subhyphae": "Subhyphae",
|
||
|
||
"random_no_hyphae": "There are no hyphae",
|
||
"random_no_hyphae_tip": "It is impossible to display a random hypha because the wiki does not contain any hyphae",
|
||
|
||
"error": "Error",
|
||
"error_text_fetch": "Could not fetch text data",
|
||
"error_try_again": "Try again",
|
||
"error_go_back": "Go back to the hypha.",
|
||
|
||
"ask_rename": "Rename %s",
|
||
"rename_to": "New name",
|
||
"rename_recurse": "Rename subhyphae too",
|
||
"rename_tip": "If you rename this hypha, all incoming links and all relative outcoming links will break. You will also lose all history for the new name. Rename carefully.",
|
||
"rename_taken": "Name taken",
|
||
"rename_taken_tip": "Hypha named {{.name}} already exists, cannot rename",
|
||
"rename_noname": "No name given",
|
||
"rename_noname_tip": "No new name is given",
|
||
"rename_badname": "Invalid name",
|
||
"rename_badname_tip": "Invalid new name. Names cannot contain characters {{.chars}}.",
|
||
|
||
"act_noattachment": "No attachment",
|
||
"act_noattachment_tip": "Cannot unattach this hypha because it has no attachment",
|
||
"act_norights": "Not enough rights",
|
||
"act_notexist": "Does not exist",
|
||
"act_norights_delete": "Not enough rights to delete, you must be a moderator",
|
||
"act_notexist_delete": "Cannot delete this hypha because it does not exist",
|
||
"act_norights_rename": "Not enough rights to rename, you must be a trusted editor",
|
||
"act_notexist_rename": "Cannot rename this hypha because it does not exist",
|
||
"act_norights_unattach": "Not enough rights to unattach, you must be a trusted editor",
|
||
"act_notexist_unattach": "Cannot unattach this hypha because it does not exist",
|
||
"act_norights_edit": "You must be an editor to edit a hypha",
|
||
"act_norights_attach": "You must be an editor to attach a hypha",
|
||
|
||
"ask_delete": "Delete %s?",
|
||
"ask_delete_tip": "In this version of Mycorrhiza Wiki you cannot undelete a deleted hypha but the history can still be accessed.",
|
||
"ask_unattach": "Unattach %s?",
|
||
"ask_really": "Do you really want to {{.verb}} hypha {{.name}}?",
|
||
"ask_delete_verb": "delete",
|
||
"ask_unattach_verb": "unattach",
|
||
|
||
"history_title": "History of %s",
|
||
|
||
"recent_title": "{{.n}} recent change%s",
|
||
"recent_title+one": "",
|
||
"recent_title+other": "s",
|
||
"recent_heading": "Recent Changes",
|
||
"recent_count_pre": "See",
|
||
"recent_count_post": "recent changes",
|
||
"recent_subscribe": "Subscribe via {{.rss}}, {{.atom}} or {{.json}}",
|
||
"recent_subscribe_json": "JSON feed",
|
||
"recent_empty": "Could not find any recent changes.",
|
||
|
||
"diff_title": "Diff of {{.name}} at {{.rev}}",
|
||
|
||
"revision_title": "{{.name}} at {{.rev}}",
|
||
"revision_warning": "Please note that viewing attachments of hyphae is not supported in history for now.",
|
||
"revision_link": "Get Mycomarkup source of this revision",
|
||
"revision_no_text": "This hypha had no text at this revision.",
|
||
|
||
"about_title": "About {{.name}}",
|
||
"about_version": "{{.pre}}Mycorrhiza Wiki{{.post}} version:",
|
||
"about_usercount": "User count:",
|
||
"about_homepage": "Home page:",
|
||
"about_admins": "Administrators:",
|
||
"about_noauth": "This wiki does not use authorization",
|
||
"about_hyphae": "See {{.link}} for information about hyphae on this wiki.",
|
||
|
||
"users_title": "User list",
|
||
"users_heading": "List of users",
|
||
"users_admins": "Admins",
|
||
"users_moderators": "Moderators",
|
||
"users_editors": "Editors",
|
||
|
||
"no_rights": "Not enough rights",
|
||
"reindex_no_rights": "You must be an admin to reindex hyphae.",
|
||
"header_no_rights": "You must be a moderator to update header links.",
|
||
|
||
"notexist_heading": "This hypha does not exist",
|
||
"notexist_norights": "You are not authorized to create new hyphae. Here is what you can do:",
|
||
"notexist_login": "Log in to your account, if you have one",
|
||
"notexist_register": "Register a new account",
|
||
"notexist_write": "Write a text",
|
||
"notexist_write_tip1": "Write a note, a diary, an article, a story or anything textual using {{.myco}}. Full history of edits to the document will be saved.",
|
||
"notexist_write_myco": "Mycomarkup",
|
||
"notexist_write_tip2": "Make sure to follow this wiki's writing conventions if there are any.",
|
||
"notexist_write_button": "Create",
|
||
"notexist_media": "Upload a media",
|
||
"notexist_media_tip1": "Upload a picture, a video or an audio. Most common formats can be accessed from the browser, others can be only downloaded afterwards. You can write a description for the media later.",
|
||
|
||
"media_download": "Download media",
|
||
"media_novideo": "Your browser does not support video.",
|
||
"media_novideo_link": "Download video",
|
||
"media_noaudio": "Your browser does not support audio.",
|
||
"media_noaudio_link": "Download audio",
|
||
|
||
"attach_title": "Attachment of {{.name}}",
|
||
"attach_empty": "This hypha has no attachment, you can upload it here.",
|
||
"attach_tip": "You can manage the hypha's attachment on this page.",
|
||
"attach_link": "What are attachments?",
|
||
"attach_upload": "Upload",
|
||
"attach_stat": "Stat",
|
||
"attach_stat_size": "File size:",
|
||
"attach_size_value": "{{.n}} byte%s",
|
||
"attach_size_value+one": "",
|
||
"attach_size_value+other": "s",
|
||
"attach_stat_mime": "MIME type:",
|
||
"attach_include": "Include",
|
||
"attach_include_tip": "This attachment is an image. To include it in a hypha, use a syntax like this:",
|
||
"attach_new": "Attach",
|
||
"attach_new_tip": "You can upload a new attachment. Please do not upload too big pictures unless you need to because may not want to wait for big pictures to load.",
|
||
"attach_remove": "Unattach",
|
||
"attach_remove_tip": "Please note that you don't have to unattach before uploading a new attachment.",
|
||
"attach_remove_button": "Unattach",
|
||
|
||
"close_dialog": "Close this dialog",
|
||
"confirm": "Confirm",
|
||
"cancel": "Cancel"
|
||
}
|