mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-29 16:07:40 +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 ne from "@/assets/locales/ne.json";
|
||||
import nl from "@/assets/locales/nl.json";
|
||||
import nv from "@/assets/locales/nv.json";
|
||||
import pa from "@/assets/locales/pa.json";
|
||||
import pirate from "@/assets/locales/pirate.json";
|
||||
import pl from "@/assets/locales/pl.json";
|
||||
|
@ -86,6 +87,7 @@ export const locales = {
|
|||
pa,
|
||||
ro,
|
||||
fi,
|
||||
nv,
|
||||
};
|
||||
|
||||
export type Locales = keyof typeof locales;
|
||||
|
|
|
@ -10,6 +10,7 @@ const languageOrder = ["en", "hi", "fr", "de", "nl", "pt"];
|
|||
// iso639_1 -> iso3166 Alpha-2
|
||||
const countryPriority: Record<string, string> = {
|
||||
zh: "cn",
|
||||
nv: "us",
|
||||
};
|
||||
|
||||
// list of iso639_1 Alpha-2 codes used as default languages
|
||||
|
@ -46,6 +47,7 @@ const defaultLanguageCodes: string[] = [
|
|||
"tr-TR",
|
||||
"vi-VN",
|
||||
"zh-CN",
|
||||
"nv-US",
|
||||
];
|
||||
|
||||
export interface LocaleInfo {
|
||||
|
|
Loading…
Reference in a new issue