vojo/apps/widget-telegram/src/i18n/ru.ts

26 lines
1.6 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// 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;