]> cat aescling's git repositories - mastodon.git/commitdiff
Add `vi` to available locales (#13542)
authortaicv <chuvantai@gmail.com>
Sun, 10 May 2020 09:25:35 +0000 (16:25 +0700)
committerGitHub <noreply@github.com>
Sun, 10 May 2020 09:25:35 +0000 (11:25 +0200)
* Enable selecting Vietnamese language in Admin Dashboard

* Update settings_helper.rb

Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
app/helpers/settings_helper.rb
config/application.rb

index 74544bad98470d4397c8c883609a5d9de8a41331..87718dc0584363997f67f974d0815a4ab463a897 100644 (file)
@@ -68,6 +68,7 @@ module SettingsHelper
     tr: 'Türkçe',
     uk: 'Українська',
     ur: 'اُردُو',
+    vi: 'Tiếng Việt',
     'zh-CN': '简体中文',
     'zh-HK': '繁體中文(香港)',
     'zh-TW': '繁體中文(臺灣)',
index 4c34efa152c0d49652f70b3e03875fee7429bcf0..d1980cd68116ab0fa525a3bc108a43583542831d 100644 (file)
@@ -106,6 +106,7 @@ module Mastodon
       :tr,
       :uk,
       :ur,
+      :vi,
       :'zh-CN',
       :'zh-HK',
       :'zh-TW',