mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-30 15:17:43 -05:00
Add American Spanish language
Closes #985 Just in-game names are different. Rest is copied from EU translation.
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user