feat(i18n): add Russian locale

This commit is contained in:
Alexander
2026-09-24 12:49:11 +08:00
committed by GitHub
parent 84ec5eac74
commit 0b3e79331b
12 changed files with 11853 additions and 7 deletions
+2 -1
View File
@@ -6,7 +6,7 @@ import { dirname, join, resolve } from "node:path";
const LOCALES_DIR = "apps/desktop/src/i18n/locales";
const SOURCE_LOCALE = "zh-CN";
const TARGET_LOCALES = ["en", "es", "it", "ja", "ko", "pt-BR", "zh-TW"];
const TARGET_LOCALES = ["en", "es", "it", "ja", "ko", "pt-BR", "ru", "zh-TW"];
// `git show <ref>:<path>` needs forward slashes even on Windows, where
// `path.join()` yields backslashes. Allow an override (CI keeps the default).
const refPath = (path) => path.replaceAll("\\", "/");
@@ -17,6 +17,7 @@ const TARGET_LABELS = {
ja: "Japanese",
ko: "Korean",
"pt-BR": "Brazilian Portuguese",
ru: "Russian",
"zh-TW": "Traditional Chinese used in Taiwan",
};