26 lines
1.6 KiB
TypeScript
26 lines
1.6 KiB
TypeScript
// Russian primary copy. To add a string:
|
||
// 1. add the key + RU value here (this file is the canonical key list — `en.ts`
|
||
// and the `StringKey` type derive from it),
|
||
// 2. add the same key + EN value in `en.ts`,
|
||
// 3. consume via `t('key', { var: 'x' })` in components.
|
||
// Interpolation uses `{name}` placeholders resolved against the second arg.
|
||
|
||
export const RU = {
|
||
'hero.description':
|
||
'Управление мостом Telegram. Команды отправляются текстом в контрольный DM, ответы видны в транскрипте.',
|
||
'status.waiting': 'Подключение…',
|
||
'status.ok': 'Готов',
|
||
'section.check': 'Проверка',
|
||
'section.transcript': 'Транскрипт',
|
||
'card.ping.desc': 'Проверить статус авторизации в Telegram через бот.',
|
||
'hint.m11': "M11: только проверка handshake'а и связи с ботом. Команды логина появятся в M12.",
|
||
'transcript.empty': 'пусто',
|
||
'diag.connecting': 'Соединение с Vojo… ожидаем capability handshake.',
|
||
'diag.ready': 'Готов отправлять команды.',
|
||
'diag.send-failed': 'ошибка отправки: {message}',
|
||
'bootstrap.failed': 'Widget не запустился',
|
||
'bootstrap.missing-params': 'Отсутствуют обязательные параметры URL: {names}.',
|
||
'bootstrap.embedded-only': 'Эта страница предназначена для встраивания Vojo по маршруту {route}.',
|
||
} as const;
|
||
|
||
export type StringKey = keyof typeof RU;
|