about summary refs log tree commit diff
path: root/src/locale/helpers.ts
diff options
context:
space:
mode:
authoraxiand <axiand@proton.me>2024-11-19 21:24:18 +0100
committerGitHub <noreply@github.com>2024-11-19 12:24:18 -0800
commitf882cf97374bd85beba03fcedfc9789019b50e83 (patch)
tree178f27e170a2408286e49686fd90ae511f42d5a3 /src/locale/helpers.ts
parentc0c8a192cec4a5257c462a75e9074ee38a707a2d (diff)
downloadvoidsky-f882cf97374bd85beba03fcedfc9789019b50e83.tar.zst
Implement Polish translation (#6283)
* Initial polish translation sweep

* rewrite feeds page flavor text

* bring up to date with dev branch, revisit some strings

* redoing some more...

* bring up to date

* rm dead strings, try out a different phrasing for threaded mode str

prev translation was nonsensical - we're already calling threads "wÄ…tki". let's try "recursive tree" instead to describe what threaded mode does

* tweaks here and there

* more tweaks. sign translation file

TL note: trying a new space-saving translation for send via direct message, old one made the context menu stretch

* space-saving translations for profile tabs

* up to date

* tl latest changes

* some small fixes

* few more tweaks around profile editing strings

* i dislike gendered languages

* yet more tweaks

* Update dates.ts

* Review suggestions (1)

* tiny fixes

* Review suggestions (2)

* Review suggestions (3)

* Review suggestions (4)

* "Anuluj wyciszenie"

* A few new strings

* Remove dead strings again

* Review suggestions (5)

* te -> to

---------

Co-authored-by: Frudrax Cheng <i@cynosura.one>
Diffstat (limited to 'src/locale/helpers.ts')
-rw-r--r--src/locale/helpers.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/locale/helpers.ts b/src/locale/helpers.ts
index 4613533ab..72cf52fcc 100644
--- a/src/locale/helpers.ts
+++ b/src/locale/helpers.ts
@@ -145,6 +145,8 @@ export function sanitizeAppLanguageSetting(appLanguage: string): AppLanguage {
         return AppLanguage.ja
       case 'ko':
         return AppLanguage.ko
+      case 'pl':
+        return AppLanguage.pl
       case 'pt-BR':
         return AppLanguage.pt_BR
       case 'ru':