1
0

feat(i18n): add en-CA for Canadian English (#2820)

This commit is contained in:
Andy Maloney 2024-04-14 23:07:07 -04:00 committed by GitHub
parent d4eeb7441d
commit 4ed97dab55
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 57 additions and 0 deletions

View File

@ -31,6 +31,7 @@ export const countryLocaleVariants: Record<string, (LocaleObjectData & { country
en: [
// en.json contains en-US translations
{ country: true, code: 'en-US', name: 'English (US)' },
{ code: 'en-CA', name: 'English (Canada)' },
{ code: 'en-GB', name: 'English (UK)' },
],
ca: [

56
locales/en-CA.json Normal file
View File

@ -0,0 +1,56 @@
{
"account": {
"favourites": "Favourites"
},
"action": {
"favourite": "Favourite",
"favourited": "Favourited"
},
"magic_keys": {
"groups": {
"actions": {
"favourite": "Favourite"
},
"navigation": {
"go_to_favourites": "Favourites"
}
}
},
"menu": {
"show_favourited_and_boosted_by": "Show who favourited and boosted"
},
"nav": {
"favourites": "Favourites"
},
"notification": {
"favourited_post": "favourited your post"
},
"settings": {
"interface": {
"bottom_nav_instructions": "Choose your favourite navigation buttons up to five for the bottom navigation. Must include the \"More menu\" button.",
"color_mode": "Colour Mode",
"theme_color": "Theme Colour"
},
"notifications": {
"push_notifications": {
"alerts": {
"favourite": "Favourites"
}
}
},
"preferences": {
"hide_favorite_count": "Hide favourite count",
"use_star_favorite_icon": "Use star favourite icon"
}
},
"status": {
"favourited_by": "Favourited By"
},
"tab": {
"notifications_favourite": "Favourite"
},
"user": {
"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.",
"single_instance_sign_in_desc": "Sign in to follow profiles or hashtags, favourite, share and reply to posts."
}
}