Add American Spanish language

Closes #985

Just in-game names are different. Rest is copied from EU translation.
This commit is contained in:
Kalle
2022-11-03 22:10:24 +02:00
parent 123565a952
commit 6ff4efdc20
32 changed files with 826 additions and 10 deletions

View File

@@ -12,6 +12,7 @@ export const LANG_JSONS_TO_CREATE = [
"CNzh",
"EUde",
"EUes",
"USes",
"EUfr",
"EUit",
"EUnl",
@@ -36,3 +37,9 @@ export async function loadLangDicts() {
return result;
}
export function translationJsonFolderName(langCode: string) {
if (langCode === "EUes") return "es-ES";
if (langCode === "USes") return "es-US";
return langCode.slice(2);
}