about summary refs log tree commit diff
path: root/src/locale/__tests__/helpers.test.ts
diff options
context:
space:
mode:
authorDanni <danninov@users.noreply.github.com>2024-01-10 03:47:48 +0700
committerGitHub <noreply@github.com>2024-01-10 02:17:48 +0530
commitd7f4e1391c385f11fbb61b7f1ffa6da65957b6a1 (patch)
treebbf5de195fbb79a3fe01c3432b034853003776e2 /src/locale/__tests__/helpers.test.ts
parentdda5ca27feb54e7101cb80d9a38a7edd5440d0ec (diff)
downloadvoidsky-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/__tests__/helpers.test.ts')
-rw-r--r--src/locale/__tests__/helpers.test.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/locale/__tests__/helpers.test.ts b/src/locale/__tests__/helpers.test.ts
index 15b420fde..5e924c9fe 100644
--- a/src/locale/__tests__/helpers.test.ts
+++ b/src/locale/__tests__/helpers.test.ts
@@ -7,6 +7,7 @@ test('sanitizeAppLanguageSetting', () => {
   expect(sanitizeAppLanguageSetting('en')).toBe(AppLanguage.en)
   expect(sanitizeAppLanguageSetting('pt-BR')).toBe(AppLanguage.pt_BR)
   expect(sanitizeAppLanguageSetting('hi')).toBe(AppLanguage.hi)
+  expect(sanitizeAppLanguageSetting('id')).toBe(AppLanguage.id)
   expect(sanitizeAppLanguageSetting('foo')).toBe(AppLanguage.en)
   expect(sanitizeAppLanguageSetting('en,foo')).toBe(AppLanguage.en)
   expect(sanitizeAppLanguageSetting('foo,en')).toBe(AppLanguage.en)