diff options
author | Danni <danninov@users.noreply.github.com> | 2024-01-10 03:47:48 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-10 02:17:48 +0530 |
commit | d7f4e1391c385f11fbb61b7f1ffa6da65957b6a1 (patch) | |
tree | bbf5de195fbb79a3fe01c3432b034853003776e2 /src/locale/helpers.ts | |
parent | dda5ca27feb54e7101cb80d9a38a7edd5440d0ec (diff) | |
download | voidsky-d7f4e1391c385f11fbb61b7f1ffa6da65957b6a1.tar.zst |
Add Indonesian localization (#2356)
* Add Indonesian (id) locale * Add Indonesian translation messages * Update team number and add some translation * Update for better ID translation * Apply suggestions from code review Co-authored-by: Aditya Dirgantara <ccoremapd@icloud.com> Co-authored-by: Mary <148872143+mary-ext@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Aditya Dirgantara <ccoremapd@icloud.com> * Apply suggestions from code review Co-authored-by: Mary <148872143+mary-ext@users.noreply.github.com> * Change translation post to postingan * Update translation * Fix error * Apply suggestions from code review Co-authored-by: Mary <148872143+mary-ext@users.noreply.github.com> * Add Thinkbyte1024 and mary-ext to language team ID * Update username to lowercase --------- Co-authored-by: Aditya Dirgantara <ccoremapd@icloud.com> Co-authored-by: Mary <148872143+mary-ext@users.noreply.github.com> Co-authored-by: Ansh <anshnanda10@gmail.com>
Diffstat (limited to 'src/locale/helpers.ts')
-rw-r--r-- | src/locale/helpers.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/locale/helpers.ts b/src/locale/helpers.ts index 517e610bf..197fe3886 100644 --- a/src/locale/helpers.ts +++ b/src/locale/helpers.ts @@ -113,7 +113,8 @@ export function sanitizeAppLanguageSetting(appLanguage: string): AppLanguage { // DISABLED until this translation is fixed -prf // case 'de': // return AppLanguage.de - // DISABLED until this translation is more thoroughly reviewed -prf + case 'id': + return AppLanguage.id case 'es': return AppLanguage.es case 'fr': @@ -132,6 +133,5 @@ export function sanitizeAppLanguageSetting(appLanguage: string): AppLanguage { continue } } - return AppLanguage.en } |