feat(i18n): separate en-US from en-GB locale (#589)

This commit is contained in:
Jess 2022-12-28 01:50:26 -05:00 committed by GitHub
parent 8fbf4a7628
commit f4de4d3e3b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 374 additions and 8 deletions

View file

@ -7,7 +7,12 @@ const locales: LocaleObject[] = [
{ {
code: 'en-US', code: 'en-US',
file: 'en-US.json', file: 'en-US.json',
name: 'English', name: 'English (US)',
},
{
code: 'en-GB',
file: 'en-GB.json',
name: 'English (UK)',
}, },
{ {
code: 'de-DE', code: 'de-DE',

361
locales/en-GB.json Normal file
View file

@ -0,0 +1,361 @@
{
"a11y": {
"loading_page": "Loading page, please wait",
"loading_titled_page": "Loading {0} page, please wait",
"locale_changed": "Language changed to {0}",
"locale_changing": "Changing language, please wait",
"route_loaded": "Page {0} loaded"
},
"account": {
"avatar_description": "{0}'s avatar",
"blocked_by": "You're blocked by this user.",
"blocked_domains": "Blocked domains",
"blocked_users": "Blocked users",
"blocking": "Blocked",
"bot": "BOT",
"favourites": "Favourites",
"follow": "Follow",
"follow_back": "Follow back",
"follow_requested": "Requested",
"followers": "Followers",
"followers_count": "{0} Followers|{0} Follower|{0} Followers",
"following": "Following",
"following_count": "{0} Following",
"follows_you": "Follows you",
"go_to_profile": "Go to profile",
"joined": "Joined",
"moved_title": "has indicated that their new account is now:",
"muted_users": "Muted users",
"muting": "Muted",
"mutuals": "Mutuals",
"pinned": "Pinned",
"posts": "Posts",
"posts_count": "{0} posts|{0} post|{0} posts",
"profile_description": "{0}'s profile header",
"profile_unavailable": "Profile unavailable",
"unblock": "Unblock",
"unfollow": "Unfollow",
"unmute": "Unmute"
},
"action": {
"apply": "Apply",
"bookmark": "Bookmark",
"bookmarked": "Bookmarked",
"boost": "Boost",
"boosted": "Boosted",
"clear_upload_failed": "Clear file upload errors",
"close": "Close",
"compose": "Compose",
"confirm": "Confirm",
"edit": "Edit",
"enter_app": "Enter App",
"favourite": "Favourite",
"favourited": "Favourited",
"more": "More",
"next": "Next",
"prev": "Prev",
"publish": "Publish!",
"reply": "Reply",
"save": "Save",
"save_changes": "Save changes",
"sign_in": "Sign in",
"switch_account": "Switch account",
"vote": "Vote"
},
"app_desc_short": "A nimble Mastodon web client",
"app_logo": "Elk Logo",
"app_name": "Elk",
"attachment": {
"edit_title": "Description",
"remove_label": "Remove attachment"
},
"command": {
"activate": "Activate",
"complete": "Complete",
"compose_desc": "Write a new post",
"n-people-in-the-past-n-days": "{0} people in the past {1} days",
"select_lang": "Select language",
"sign_in_desc": "Add an existing account",
"switch_account": "Switch to {0}",
"switch_account_desc": "Switch to another account",
"toggle_dark_mode": "Toggle dark mode",
"toggle_zen_mode": "Toggle zen mode"
},
"common": {
"end_of_list": "End of the list",
"error": "ERROR",
"in": "in",
"kiloSuffix": "K",
"megaSuffix": "M",
"not_found": "404 Not Found",
"offline_desc": "Seems like you are offline. Please check your network connection."
},
"conversation": {
"with": "with"
},
"error": {
"account_not_found": "Account {0} not found",
"explore-list-empty": "Nothing is trending right now. Check back later!",
"file_size_cannot_exceed_n_mb": "File size cannot exceed {0}MB",
"sign_in_error": "Cannot connect to the server.",
"status_not_found": "Post not found",
"unsupported_file_format": "Unsupported file format"
},
"help": {
"desc_highlight": "Expect some bugs and missing features here and there.",
"desc_para1": "Thanks for your interest in trying out Elk, our work-in-progress generic Mastodon client!",
"desc_para2": "We are working hard on the development and improving it over time. We will open source the app once it is ready for public use.",
"desc_para3": "To help boosting out development, you can sponsor our team members with the links below. We hope you enjoy Elk!",
"title": "Elk is in Preview!"
},
"menu": {
"block_account": "Block {0}",
"block_domain": "Block domain {0}",
"copy_link_to_post": "Copy link to this post",
"delete": "Delete",
"delete_and_redraft": "Delete & re-draft",
"direct_message_account": "Direct message {0}",
"edit": "Edit",
"mention_account": "Mention {0}",
"mute_account": "Mute {0}",
"open_in_original_site": "Open in original site",
"pin_on_profile": "Pin on profile",
"show_untranslated": "Show untranslated",
"toggle_theme": {
"dark": "Toggle dark mode",
"light": "Toggle light mode"
},
"translate_post": "Translate post",
"unblock_account": "Unblock {0}",
"unblock_domain": "Unblock domain {0}",
"unmute_account": "Unmute {0}",
"unpin_on_profile": "Unpin on profile"
},
"nav": {
"bookmarks": "Bookmarks",
"built_at": "Built {0}",
"conversations": "Conversations",
"explore": "Explore",
"favourites": "Favourites",
"federated": "Federated",
"home": "Home",
"local": "Local",
"notifications": "Notifications",
"profile": "Profile",
"search": "Search {0}",
"select_feature_flags": "Toggle Feature Flags",
"select_font_size": "Select Font Size",
"select_language": "Select Language",
"settings": "Settings",
"show_intro": "Show intro",
"toggle_theme": "Toggle Theme",
"zen_mode": "Zen Mode"
},
"notification": {
"favourited_post": "favourited your post",
"followed_you": "followed you",
"followed_you_count": "{followers} people followed you|{followers} person followed you|{followers} people followed you",
"missing_type": "MISSING notification.type:",
"reblogged_post": "reblogged your post",
"request_to_follow": "requested to follow you",
"settings": {
"alerts": {
"favourite": "Favourites",
"follow": "New followers",
"mention": "Mentions",
"poll": "Polls",
"reblog": "Reblog your post",
"title": "What notifications to receive?"
},
"close_btn": "Close push notifications settings",
"policy": {
"all": "From anyone",
"followed": "Of people I follow",
"follower": "Of people who follow me",
"none": "From no one",
"title": "Who can I receive notifications from?"
},
"save_settings": "Save settings changes",
"show_btn": "Show push notifications settings",
"title": "Push notifications settings",
"undo_settings": "Undo settings changes",
"unsubscribe": "Disable push notifications",
"unsubscribed_with_warning": "Enable notifications to receive notifications from this account by clicking \"@:notification.settings.warning.enable_desktop{'\"'} button.",
"unsupported": "Your browser does not support push notifications.",
"warning": {
"enable_close": "Close",
"enable_description": "To receive notifications when Elk is not open, enable push notifications. You can control precisely what types of interactions generate push notifications via the \"@:notification.settings.show_btn{'\"'} button above once enabled.",
"enable_description_short": "To change push notifications settings when Elk is not open, you must first enable push notifications.",
"enable_desktop": "Enable push notifications",
"enable_title": "Never miss anything",
"re_auth": "It seems that your server does not support push notifications. Try sign out and sign in again, if this message still appears contact your server administrator."
}
},
"signed_up": "signed up",
"update_status": "updated their post"
},
"placeholder": {
"content_warning": "Write your warning here",
"default_1": "What is on your mind?",
"reply_to_account": "Reply to {0}",
"replying": "Replying",
"the_thread": "the thread"
},
"pwa": {
"dismiss": "Dismiss",
"title": "New Elk update available!",
"update": "Update",
"update_available_short": "Update Elk"
},
"search": {
"search_desc": "Search for people & hashtags"
},
"settings": {
"about": {
"label": "About"
},
"feature_flags": {
"avatar_on_avatar": "Avatar on Avatar",
"github_cards": "GitHub Cards",
"title": "Experimental Features",
"user_picker": "User Picker",
"virtual_scroll": "Virtual Scrolling"
},
"interface": {
"label": "Interface"
},
"language": {
"label": "Language"
},
"preferences": {
"label": "Preferences"
},
"profile": {
"appearance": {
"bio": "Bio",
"description": "Edit avatar, username, profile, etc.",
"display_name": "Display name",
"label": "Appearance",
"title": "Edit profile"
},
"featured_tags": {
"description": "People can browse your public posts under these hashtags.",
"label": "Featured hashtags"
},
"label": "Profile"
},
"select_a_settings": "Select a settings",
"users": {
"label": "Logged in users"
}
},
"state": {
"edited": "(Edited)",
"editing": "Editing",
"loading": "Loading...",
"upload_failed": "Upload failed",
"uploading": "Uploading..."
},
"status": {
"edited": "Edited {0}",
"filter_hidden_phrase": "Filtered by",
"filter_removed_phrase": "Removed by filter",
"filter_show_anyway": "Show anyway",
"img_alt": {
"desc": "Description",
"dismiss": "Dismiss"
},
"poll": {
"count": "{n} votes|{n} vote|{n} votes",
"ends": "ends {0}",
"finished": "finished {0}"
},
"reblogged": "{0} reblogged",
"someone": "Someone",
"spoiler_show_less": "Show less",
"spoiler_show_more": "Show more",
"thread": "Thread",
"try_original_site": "Try original site"
},
"status_history": {
"created": "created {0}",
"edited": "edited {0}"
},
"tab": {
"for_you": "For you",
"hashtags": "Hashtags",
"media": "Media",
"news": "News",
"notifications_all": "All",
"notifications_mention": "Mention",
"posts": "Posts",
"posts_with_replies": "Posts & Replies"
},
"time_ago_options": {
"day_future": "in 0 days|tomorrow|in {n} days",
"day_past": "0 days ago|yesterday|{n} days ago",
"hour_future": "in 0 hours|in 1 hour|in {n} hours",
"hour_past": "0 hours ago|1 hour ago|{n} hours ago",
"just_now": "just now",
"minute_future": "in 0 minutes|in 1 minute|in {n} minutes",
"minute_past": "0 minutes ago|1 minute ago|{n} minutes ago",
"month_future": "in 0 months|next month|in {n} months",
"month_past": "0 months ago|last month|{n} months ago",
"second_future": "just now|in {n} second|in {n} seconds",
"second_past": "just now|{n} second ago|{n} seconds ago",
"short_day_future": "in {n}d",
"short_day_past": "{n}d",
"short_hour_future": "in {n}h",
"short_hour_past": "{n}h",
"short_minute_future": "in {n}min",
"short_minute_past": "{n}min",
"short_month_future": "in {n}mo",
"short_month_past": "{n}mo",
"short_second_future": "in {n}s",
"short_second_past": "{n}s",
"short_week_future": "in {n}w",
"short_week_past": "{n}w",
"short_year_future": "in {n}y",
"short_year_past": "{n}y",
"week_future": "in 0 weeks|next week|in {n} weeks",
"week_past": "0 weeks ago|last week|{n} weeks ago",
"year_future": "in 0 years|next year|in {n} years",
"year_past": "0 years ago|last year|{n} years ago"
},
"timeline": {
"show_new_items": "Show {n} new items|Show {n} new item|Show {n} new items"
},
"title": {
"federated_timeline": "Federated Timeline",
"local_timeline": "Local Timeline"
},
"tooltip": {
"add_content_warning": "Add content warning",
"add_media": "Add images, a video or an audio file",
"change_content_visibility": "Change content visibility",
"emoji": "Emoji",
"explore_links_intro": "These news stories are being talked about by people on this and other servers of the decentralized network right now.",
"explore_posts_intro": "These posts from this and other servers in the decentralized network are gaining traction on this server right now.",
"explore_tags_intro": "These hashtags are gaining traction among people on this and other servers of the decentralized network right now.",
"toggle_code_block": "Toggle code block"
},
"user": {
"add_existing": "Add an existing account",
"server_address_label": "Mastodon Server Address",
"sign_in_desc": "Sign in to follow profiles or hashtags, favourite, share and reply to posts, or interact from your account on a different server.",
"sign_in_notice_title": "Viewing {0} public data",
"sign_out_account": "Sign out {0}",
"tip_no_account": "If you don't have a Mastodon account yet, {0}.",
"tip_register_account": "pick your server and register one"
},
"visibility": {
"direct": "Direct",
"direct_desc": "Visible for mentioned users only",
"private": "Followers only",
"private_desc": "Visible for followers only",
"public": "Public",
"public_desc": "Visible for all",
"unlisted": "Unlisted",
"unlisted_desc": "Visible for all, but opted-out of discovery features"
}
}

View file

@ -13,7 +13,7 @@
"blocked_users": "Blocked users", "blocked_users": "Blocked users",
"blocking": "Blocked", "blocking": "Blocked",
"bot": "BOT", "bot": "BOT",
"favourites": "Favourites", "favourites": "Favorites",
"follow": "Follow", "follow": "Follow",
"follow_back": "Follow back", "follow_back": "Follow back",
"follow_requested": "Requested", "follow_requested": "Requested",
@ -49,8 +49,8 @@
"confirm": "Confirm", "confirm": "Confirm",
"edit": "Edit", "edit": "Edit",
"enter_app": "Enter App", "enter_app": "Enter App",
"favourite": "Favourite", "favourite": "Favorite",
"favourited": "Favourited", "favourited": "Favorited",
"more": "More", "more": "More",
"next": "Next", "next": "Next",
"prev": "Prev", "prev": "Prev",
@ -136,7 +136,7 @@
"built_at": "Built {0}", "built_at": "Built {0}",
"conversations": "Conversations", "conversations": "Conversations",
"explore": "Explore", "explore": "Explore",
"favourites": "Favourites", "favourites": "Favorites",
"federated": "Federated", "federated": "Federated",
"home": "Home", "home": "Home",
"local": "Local", "local": "Local",
@ -152,7 +152,7 @@
"zen_mode": "Zen Mode" "zen_mode": "Zen Mode"
}, },
"notification": { "notification": {
"favourited_post": "favourited your post", "favourited_post": "favorited your post",
"followed_you": "followed you", "followed_you": "followed you",
"followed_you_count": "{followers} people followed you|{followers} person followed you|{followers} people followed you", "followed_you_count": "{followers} people followed you|{followers} person followed you|{followers} people followed you",
"missing_type": "MISSING notification.type:", "missing_type": "MISSING notification.type:",
@ -160,7 +160,7 @@
"request_to_follow": "requested to follow you", "request_to_follow": "requested to follow you",
"settings": { "settings": {
"alerts": { "alerts": {
"favourite": "Favourites", "favourite": "Favorites",
"follow": "New followers", "follow": "New followers",
"mention": "Mentions", "mention": "Mentions",
"poll": "Polls", "poll": "Polls",
@ -345,7 +345,7 @@
"user": { "user": {
"add_existing": "Add an existing account", "add_existing": "Add an existing account",
"server_address_label": "Mastodon Server Address", "server_address_label": "Mastodon Server Address",
"sign_in_desc": "Sign in to follow profiles or hashtags, favourite, share and reply to posts, or interact from your account on a different server.", "sign_in_desc": "Sign in to follow profiles or hashtags, favorite, share and reply to posts, or interact from your account on a different server.",
"sign_in_notice_title": "Viewing {0} public data", "sign_in_notice_title": "Viewing {0} public data",
"sign_out_account": "Sign out {0}", "sign_out_account": "Sign out {0}",
"tip_no_account": "If you don't have a Mastodon account yet, {0}.", "tip_no_account": "If you don't have a Mastodon account yet, {0}.",