1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2025-10-29 14:47:41 +00:00

Initial l18n support

This commit is contained in:
Mikhail Chekan
2021-09-07 01:46:34 +08:00
parent d7cb9a4438
commit 0780131c00
57 changed files with 4981 additions and 2214 deletions

33
l18n_src/en/admin.json Normal file
View File

@@ -0,0 +1,33 @@
{
"panel_title": "Administrative functions",
"panel_safe": "Safe things",
"panel_unsafe": "Dangerous things",
"panel_about": "About this wiki",
"panel_userlist": "User list",
"panel_updateheader": "Update header links",
"panel_users": "Manage users",
"panel_shutdown": "Shutdown wiki",
"panel_reindex": "Reindex hyphae",
"users_title": "Manage users",
"users_create": "Create a new user",
"users_reindex": "Reindex users",
"users_name": "Name",
"users_password": "Password",
"users_group": "Group",
"users_registered": "Registered at",
"users_actions": "Actions",
"users_notime": "unknown",
"users_edit": "Edit",
"user_title": "User %s",
"user_group_heading": "Change group",
"user_update": "Update",
"user_delete_heading": "Delete user",
"user_delete_tip": "Remove the user from the database. Changes made by the user will be preserved. It will be possible to take this username later.",
"user_delete_warn": "Are you sure you want to delete {{.name}} from the database? This action is irreversible.",
"user_delete": "Delete",
"newuser_title": "New user",
"newuser_create": "Create"
}

35
l18n_src/en/auth.json Normal file
View File

@@ -0,0 +1,35 @@
{
"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"
}

38
l18n_src/en/edit.json Normal file
View File

@@ -0,0 +1,38 @@
{
"title": "Edit %s",
"new_hypha": "You are creating a new hypha.",
"tag": "Describe your changes:",
"save": "Save",
"preview": "Preview",
"preview_title": "Preview of %s",
"preview_tip": "Note that the hypha hasn't been saved yet. Here's the preview:",
"markup": "Markup",
"actions": "Actions",
"link": "Link",
"link_title": "Title",
"heading": "Heading",
"bold": "Bold",
"italic": "Italic",
"highlight": "Highlight",
"underline": "Underline",
"mono": "Monospace",
"super": "Supertext",
"sub": "Subtext",
"strike": "Strikethrough",
"rocket": "Rocketlink",
"transclude": "Transclusion",
"hr": "Horizontal bar",
"code": "Code block",
"bullets": "Bullet list",
"numbers": "Number list",
"help": "{{.link}} about mycomarkup",
"help_link": "Learn more",
"selflink": "Link yourself",
"date": "Insert current date",
"time": "Insert current time"
}

24
l18n_src/en/help.json Normal file
View File

@@ -0,0 +1,24 @@
{
"title": "Help",
"entry_not_found": "Entry not found",
"empty_error_title": "This entry does not exist!",
"empty_error_line_1": "Try finding a different entry that would help you.",
"empty_error_line_2a": "If you want to write this entry by yourself, consider",
"empty_error_link": "contributing",
"empty_error_line_2b": "to Mycorrhiza Wiki directly.",
"topics": "Help topics",
"main": "Main",
"hypha": "Hypha",
"attachment": "Attachment",
"mycomarkup": "Mycomarkup",
"interface": "Interface",
"top_bar": "Top bar",
"sibling_hyphae": "Sibling hyphae",
"special_pages": "Special pages",
"recent_changes": "Recent changes",
"configuration": "Configuration (for administrators)",
"lock": "Lock",
"whitelist": "Whitelist",
"telegram": "Telegram authorization"
}

130
l18n_src/en/ui.json Normal file
View File

@@ -0,0 +1,130 @@
{
"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 {{.query}}",
"backlinks_query": "Backlinks to {{.query}}",
"backlinks_desc": "Hyphae which have a link to the selected hypha 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",
"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.",
"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_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"
}