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

@@ -20,7 +20,11 @@ import invariant from "tiny-invariant";
import type { MainWeaponParams, SubWeaponParams } from "~/modules/analyzer";
import type { ParamsJson } from "~/modules/analyzer/types";
import { z } from "zod";
import { LANG_JSONS_TO_CREATE, loadLangDicts } from "./utils";
import {
LANG_JSONS_TO_CREATE,
loadLangDicts,
translationJsonFolderName,
} from "./utils";
const CURRENT_SEASON = 1;
@@ -603,7 +607,7 @@ function writeTranslationsJsons(arr: TranslationArray) {
"..",
"public",
"locales",
langCode.slice(2),
translationJsonFolderName(langCode),
`weapons.json`
),
JSON.stringify(