From d7f4e1391c385f11fbb61b7f1ffa6da65957b6a1 Mon Sep 17 00:00:00 2001 From: Danni Date: Wed, 10 Jan 2024 03:47:48 +0700 Subject: 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 Co-authored-by: Mary <148872143+mary-ext@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Aditya Dirgantara * 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 Co-authored-by: Mary <148872143+mary-ext@users.noreply.github.com> Co-authored-by: Ansh --- src/locale/helpers.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/locale/helpers.ts') 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 } -- cgit 1.4.1