feat: fix wrong Vietnamese flag (#1724)

* fix wrong Vietnam country code

* fix wrong Vietnam country code

* fix wrong Vietnam country code

* fix wrong Vietnam country code
This commit is contained in:
Dzung Do
2023-04-10 21:42:12 +07:00
committed by GitHub
parent 098a1ece68
commit 984a69cb4b
8 changed files with 10 additions and 10 deletions

View File

@ -22,7 +22,7 @@ import id from "./locales/id/data.json";
import ja from "./locales/ja/data.json";
import ko from "./locales/ko/data.json";
import ru from "./locales/ru/data.json";
import vi from "./locales/vi/data.json";
import vn from "./locales/vn/data.json";
import * as Conf from "./Conf";
import {initReactI18next} from "react-i18next";
@ -36,7 +36,7 @@ const resources = {
ja: ja,
ko: ko,
ru: ru,
vi: vi,
vn: vn,
};
function initLanguage() {
@ -80,8 +80,8 @@ function initLanguage() {
case "ru":
language = "ru";
break;
case "vi":
language = "vi";
case "vn":
language = "vn";
break;
default:
language = Conf.DefaultLanguage;