mirror of
https://github.com/t8y2/dbx.git
synced 2026-10-21 04:43:49 +00:00
feat(i18n): add Russian locale
This commit is contained in:
@@ -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",
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user