From 39a59f4adeaf9cada325e62d2a21365baa4a02df Mon Sep 17 00:00:00 2001 From: Konrad Pozniak Date: Tue, 2 Jul 2019 10:56:05 +0200 Subject: [PATCH] add support for american/british english translations (#1358) * add support for american/british english distinction * Update strings.xml Just one additional change - anonymize (US) to anonymise (UK) * change english language names * add missing translation string --- app/src/main/res/values-en-rGB/strings.xml | 27 ++++++++++++++++++++++ app/src/main/res/values/donottranslate.xml | 4 +++- app/src/main/res/values/strings.xml | 26 ++++++++++----------- 3 files changed, 43 insertions(+), 14 deletions(-) create mode 100644 app/src/main/res/values-en-rGB/strings.xml diff --git a/app/src/main/res/values-en-rGB/strings.xml b/app/src/main/res/values-en-rGB/strings.xml new file mode 100644 index 00000000..9088c47d --- /dev/null +++ b/app/src/main/res/values-en-rGB/strings.xml @@ -0,0 +1,27 @@ + + + Favourites + %s favourited your toot + Favourite + Remove favourite + Favourites + Show favourites + my posts are favourited + Favourites + Notifications when your toots get marked as favourite + + Favourited + + Favourited by + + An unidentified authorisation error occurred. + Authorisation was denied. + + + <b>%1$s</b> Favourite + <b>%1$s</b> Favourites + + + The account is from another server. Send an anonymised copy of the report there as well? + + diff --git a/app/src/main/res/values/donottranslate.xml b/app/src/main/res/values/donottranslate.xml index c3d4dfcd..86343c3e 100644 --- a/app/src/main/res/values/donottranslate.xml +++ b/app/src/main/res/values/donottranslate.xml @@ -40,7 +40,8 @@ Čeština Cymraeg Deutsch - English + English (UK) + English (US) Esperanto Español Euskara @@ -74,6 +75,7 @@ cs cy de + en-gb en eo es diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 14b2b4bb..6f5bf23f 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -34,7 +34,7 @@ Pinned Follows Followers - Favourites + Favorites Muted users Blocked users Hidden domains @@ -57,7 +57,7 @@ Nothing here. Pull down to refresh! %s boosted your toot - %s favourited your toot + %s favorited your toot %s followed you Report @%s @@ -67,8 +67,8 @@ Reply Boost Remove boost - Favourite - Remove favourite + Favorite + Remove favorite More Compose Login with Mastodon @@ -90,7 +90,7 @@ Profile Preferences Account Preferences - Favourites + Favorites Muted users Blocked users Hidden domains @@ -123,7 +123,7 @@ Hashtags Open boost author Show boosts - Show favourites + Show favorites Hashtags Mentions @@ -201,7 +201,7 @@ mentioned followed my posts are boosted - my posts are favourited + my posts are favorited polls have ended Appearance App Theme @@ -255,8 +255,8 @@ Notifications about new followers Boosts Notifications when your toots get boosted - Favourites - Notifications when your toots get marked as favourite + Favorites + Notifications when your toots get marked as favorite Polls Notifications about polls that have ended @@ -403,8 +403,8 @@ Pin - <b>%1$s</b> Favourite - <b>%1$s</b> Favourites + <b>%1$s</b> Favorite + <b>%1$s</b> Favorites @@ -413,7 +413,7 @@ Boosted by - Favourited by + Favorited by %1$s %1$s and %2$s @@ -434,7 +434,7 @@ Reblogged - Favourited + Favorited Public