diff options
author | Ansh <anshnanda10@gmail.com> | 2023-12-22 23:30:39 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-22 23:30:39 +0530 |
commit | c1d7d9a41b091811d8f99a7627d8311468ca6683 (patch) | |
tree | 4bba3f70f7920364a95d97a37c35e521b6017e2f /src/locale/helpers.ts | |
parent | a5c151c04177e539543b6ad3e9c4504efc722468 (diff) | |
download | voidsky-c1d7d9a41b091811d8f99a7627d8311468ca6683.tar.zst |
Add Spanish localization (#2267)
* add french localization * get dynamic import to work * fix broken strings * fix bug * fix tests * build files again * add german locale * Add german translated strings * update file details * fix plural case errors * make german translations work * add 'es' as a locale option * enable spanish translations * fix spelling mistake
Diffstat (limited to 'src/locale/helpers.ts')
-rw-r--r-- | src/locale/helpers.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/locale/helpers.ts b/src/locale/helpers.ts index 6433eee7c..5418e093f 100644 --- a/src/locale/helpers.ts +++ b/src/locale/helpers.ts @@ -116,6 +116,10 @@ export function sanitizeAppLanguageSetting(appLanguage: string): AppLanguage { return AppLanguage.ja case 'fr': return AppLanguage.fr + case 'de': + return AppLanguage.de + case 'es': + return AppLanguage.es default: continue } |