diff --git a/src/components/launch/popovers/MorePopover.tsx b/src/components/launch/popovers/MorePopover.tsx index 9a5a52905..bfcf700fd 100644 --- a/src/components/launch/popovers/MorePopover.tsx +++ b/src/components/launch/popovers/MorePopover.tsx @@ -29,6 +29,7 @@ const LOCALE_LABELS: Record = { nl: "Nederlands", ko: "한국어", "pt-BR": "Português", + ru: "Русский", "zh-CN": "簡體中文", "zh-TW": "繁體中文", }; diff --git a/src/components/video-editor/SettingsPanel.tsx b/src/components/video-editor/SettingsPanel.tsx index fce5f2b91..f73b3189c 100644 --- a/src/components/video-editor/SettingsPanel.tsx +++ b/src/components/video-editor/SettingsPanel.tsx @@ -879,6 +879,7 @@ const APP_LANGUAGE_LABELS: Record = { nl: "Nederlands", ko: "한국어", "pt-BR": "Português", + ru: "Русский", "zh-CN": "簡體中文", "zh-TW": "繁體中文", }; diff --git a/src/contexts/I18nContext.tsx b/src/contexts/I18nContext.tsx index 0a167800b..fc0e9029f 100644 --- a/src/contexts/I18nContext.tsx +++ b/src/contexts/I18nContext.tsx @@ -70,6 +70,14 @@ import ptBRLaunch from "@/i18n/locales/pt-BR/launch.json"; import ptBRSettings from "@/i18n/locales/pt-BR/settings.json"; import ptBRShortcuts from "@/i18n/locales/pt-BR/shortcuts.json"; import ptBRTimeline from "@/i18n/locales/pt-BR/timeline.json"; +import ruCommon from "@/i18n/locales/ru/common.json"; +import ruDialogs from "@/i18n/locales/ru/dialogs.json"; +import ruEditor from "@/i18n/locales/ru/editor.json"; +import ruExtensions from "@/i18n/locales/ru/extensions.json"; +import ruLaunch from "@/i18n/locales/ru/launch.json"; +import ruSettings from "@/i18n/locales/ru/settings.json"; +import ruShortcuts from "@/i18n/locales/ru/shortcuts.json"; +import ruTimeline from "@/i18n/locales/ru/timeline.json"; import zhCNCommon from "@/i18n/locales/zh-CN/common.json"; import zhCNDialogs from "@/i18n/locales/zh-CN/dialogs.json"; import zhCNEditor from "@/i18n/locales/zh-CN/editor.json"; @@ -162,6 +170,16 @@ const messages: Record = { shortcuts: ptBRShortcuts, extensions: ptBRExtensions, }, + ru: { + common: ruCommon, + launch: ruLaunch, + editor: ruEditor, + timeline: ruTimeline, + settings: ruSettings, + dialogs: ruDialogs, + shortcuts: ruShortcuts, + extensions: ruExtensions, + }, "zh-CN": { common: zhCNCommon, launch: zhCNLaunch, diff --git a/src/i18n/config.ts b/src/i18n/config.ts index 2ecee76f8..5a2817bac 100644 --- a/src/i18n/config.ts +++ b/src/i18n/config.ts @@ -1,6 +1,6 @@ export const DEFAULT_LOCALE = "en" as const; -export const SUPPORTED_LOCALES = ["en", "es", "fr", "it", "nl", "ko", "pt-BR", "zh-CN", "zh-TW"] as const; +export const SUPPORTED_LOCALES = ["en", "es", "fr", "it", "nl", "ko", "pt-BR", "ru", "zh-CN", "zh-TW"] as const; export const I18N_NAMESPACES = [ "common", diff --git a/src/i18n/locales/ru/dialogs.json b/src/i18n/locales/ru/dialogs.json index da6ed8ee6..8c0986728 100644 --- a/src/i18n/locales/ru/dialogs.json +++ b/src/i18n/locales/ru/dialogs.json @@ -22,8 +22,8 @@ "savedSuccess": "{{format}} успешно сохранён!" }, "addFont": { - "title": "Google Fonts", - "heading": "Добавить Google Font", + "title": "Добавить шрифт из Google Fonts", + "heading": "Добавить шрифт из Google Fonts", "description": "Добавьте шрифт из Google Fonts для использования в аннотациях.", "urlLabel": "Ссылка на импорт из Google Fonts", "urlPlaceholder": "https://fonts.googleapis.com/css2?family=Roboto&display=swap", @@ -59,4 +59,4 @@ "cancel": "Отмена", "save": "Сохранить" } -} \ No newline at end of file +} diff --git a/src/i18n/locales/ru/settings.json b/src/i18n/locales/ru/settings.json index 687f8383b..5474ff70e 100644 --- a/src/i18n/locales/ru/settings.json +++ b/src/i18n/locales/ru/settings.json @@ -97,6 +97,32 @@ "cursorSpringDamping": "Затухание", "cursorSpringMass": "Масса (инерция)", "off": "Выкл.", + "cursorClickEffects": { + "title": "Эффекты клика", + "advanced": "Дополнительно", + "advancedShow": "Показать расширенные настройки эффекта клика", + "advancedHide": "Скрыть расширенные настройки эффекта клика", + "color": "Цвет эффекта", + "size": "Размер эффекта", + "opacity": "Прозрачность эффекта", + "duration": "Длительность эффекта", + "none": { + "label": "Выкл.", + "description": "Без графики клика. При клике меняется только движение курсора." + }, + "ripple": { + "label": "Волна", + "description": "Расходящиеся кольца от каждого клика делают нажатия заметными в движении." + }, + "spotlight": { + "label": "Подсветка", + "description": "Мягкий ореол вокруг указателя выделяет область клика." + }, + "echo": { + "label": "Эхо", + "description": "Два мягких кольца расходятся наружу аккуратным импульсом." + } + }, "cursorMotionBlur": "Размытие в движении", "cursorClickBounce": "Отскок при клике", "cursorClickBounceDuration": "Скорость отскока", @@ -216,4 +242,4 @@ "mixedLabel": "Источник", "deleteRegion": "Удалить аудио" } -} \ No newline at end of file +}