mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-10-01 15:48:23 -05:00
LANG_JSONS_TO_CREATE from one constant in scripts
This commit is contained in:
@@ -3,6 +3,19 @@ import fs from "node:fs";
|
||||
|
||||
const LANG_DICTS_PATH = path.join(__dirname, "dicts", "langs");
|
||||
|
||||
export const LANG_JSONS_TO_CREATE = [
|
||||
"EUen",
|
||||
"CNzh",
|
||||
"EUde",
|
||||
"EUes",
|
||||
"EUfr",
|
||||
"EUit",
|
||||
"EUnl",
|
||||
"EUru",
|
||||
"JPja",
|
||||
"KRko",
|
||||
];
|
||||
|
||||
export async function loadLangDicts() {
|
||||
const result: Array<
|
||||
[langCode: string, translations: Record<string, string>]
|
||||
|
||||
Reference in New Issue
Block a user