Локализовать интерфейс SHiNE на русский и английский

This commit is contained in:
AidarKC
2026-11-09 16:45:21 +03:00
parent 526941eb33
commit 405b9a91a7
133 changed files with 12464 additions and 3296 deletions
@@ -1,7 +1,8 @@
import test from 'node:test';
import { expandRussian } from './i18n-source-helper.mjs';
import assert from 'node:assert/strict';
import { readFileSync } from 'node:fs';
const read = p => readFileSync(new URL(`../../${p}`, import.meta.url), 'utf8');
const read = p => expandRussian(readFileSync(new URL(`../../${p}`, import.meta.url), 'utf8'));
const ui = read('shine-UI/js/pages/key-rotation-view.js');
const app = read('shine-UI/js/app.js');
const client = read('shine-UI/js/services/key-rotation-service.js');