Skip to content

Commit

Permalink
feat(i18n): add en-CA for Canadian English (#2820)
Browse files Browse the repository at this point in the history
  • Loading branch information
asmaloney committed Apr 15, 2024
1 parent d4eeb74 commit 4ed97da
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down
56 changes: 56 additions & 0 deletions locales/en-CA.json
Original file line number Diff line number Diff line change
@@ -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."
}
}

0 comments on commit 4ed97da

Please sign in to comment.