mirror of
https://github.com/sussy-code/smov.git
synced 2025-01-01 16:37:39 +01:00
Add Navajo language
This commit is contained in:
parent
b329a4a0ee
commit
f5e719236a
2 changed files with 4 additions and 0 deletions
|
@ -24,6 +24,7 @@ import lv from "@/assets/locales/lv.json";
|
||||||
import minion from "@/assets/locales/minion.json";
|
import minion from "@/assets/locales/minion.json";
|
||||||
import ne from "@/assets/locales/ne.json";
|
import ne from "@/assets/locales/ne.json";
|
||||||
import nl from "@/assets/locales/nl.json";
|
import nl from "@/assets/locales/nl.json";
|
||||||
|
import nv from "@/assets/locales/nv.json";
|
||||||
import pa from "@/assets/locales/pa.json";
|
import pa from "@/assets/locales/pa.json";
|
||||||
import pirate from "@/assets/locales/pirate.json";
|
import pirate from "@/assets/locales/pirate.json";
|
||||||
import pl from "@/assets/locales/pl.json";
|
import pl from "@/assets/locales/pl.json";
|
||||||
|
@ -86,6 +87,7 @@ export const locales = {
|
||||||
pa,
|
pa,
|
||||||
ro,
|
ro,
|
||||||
fi,
|
fi,
|
||||||
|
nv,
|
||||||
};
|
};
|
||||||
|
|
||||||
export type Locales = keyof typeof locales;
|
export type Locales = keyof typeof locales;
|
||||||
|
|
|
@ -10,6 +10,7 @@ const languageOrder = ["en", "hi", "fr", "de", "nl", "pt"];
|
||||||
// iso639_1 -> iso3166 Alpha-2
|
// iso639_1 -> iso3166 Alpha-2
|
||||||
const countryPriority: Record<string, string> = {
|
const countryPriority: Record<string, string> = {
|
||||||
zh: "cn",
|
zh: "cn",
|
||||||
|
nv: "us",
|
||||||
};
|
};
|
||||||
|
|
||||||
// list of iso639_1 Alpha-2 codes used as default languages
|
// list of iso639_1 Alpha-2 codes used as default languages
|
||||||
|
@ -46,6 +47,7 @@ const defaultLanguageCodes: string[] = [
|
||||||
"tr-TR",
|
"tr-TR",
|
||||||
"vi-VN",
|
"vi-VN",
|
||||||
"zh-CN",
|
"zh-CN",
|
||||||
|
"nv-US",
|
||||||
];
|
];
|
||||||
|
|
||||||
export interface LocaleInfo {
|
export interface LocaleInfo {
|
||||||
|
|
Loading…
Reference in a new issue