about summary refs log tree commit diff
path: root/src/locale/__tests__/helpers.test.ts
diff options
context:
space:
mode:
authorQuang Phan <vnphanquang@gmail.com>2024-11-24 06:50:32 +0700
committerGitHub <noreply@github.com>2024-11-23 15:50:32 -0800
commit796d04b59fc629a5cbbdf5270f0ccc7dff48b484 (patch)
tree658872a5c8ed69a88a9207740a5d7c7c37695854 /src/locale/__tests__/helpers.test.ts
parent9bf7e278e74676c6f6e2ce972dfa207b5d0c422f (diff)
downloadvoidsky-796d04b59fc629a5cbbdf5270f0ccc7dff48b484.tar.zst
Vietnamese Localization (Continued from #2524) (#6564)
* Add Vietnamese localization

* Complete Vietnamese Translations

* Add date localization for Vietnamese

* Fix typos and wording in Vietnamese translation

* Update Vietnamese translation

* Add @vinhphm to Vietnamese translator list

---------

Co-authored-by: CromNguyen <nguyenthietmanh98@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 0cc0b7816..f83da03da 100644
--- a/src/locale/__tests__/helpers.test.ts
+++ b/src/locale/__tests__/helpers.test.ts
@@ -11,4 +11,5 @@ test('sanitizeAppLanguageSetting', () => {
   expect(sanitizeAppLanguageSetting('foo')).toBe(AppLanguage.en)
   expect(sanitizeAppLanguageSetting('en,foo')).toBe(AppLanguage.en)
   expect(sanitizeAppLanguageSetting('foo,en')).toBe(AppLanguage.en)
+  expect(sanitizeAppLanguageSetting('vi')).toBe(AppLanguage.vi)
 })