Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/components/launch/popovers/MorePopover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ const LOCALE_LABELS: Record<string, string> = {
nl: "Nederlands",
ko: "한국어",
"pt-BR": "Português",
ru: "Русский",
"zh-CN": "簡體中文",
"zh-TW": "繁體中文",
};
Expand Down
1 change: 1 addition & 0 deletions src/components/video-editor/SettingsPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -879,6 +879,7 @@ const APP_LANGUAGE_LABELS: Record<AppLocale, string> = {
nl: "Nederlands",
ko: "한국어",
"pt-BR": "Português",
ru: "Русский",
"zh-CN": "簡體中文",
"zh-TW": "繁體中文",
};
Expand Down
18 changes: 18 additions & 0 deletions src/contexts/I18nContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -162,6 +170,16 @@ const messages: Record<AppLocale, LocaleBundle> = {
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,
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/config.ts
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
6 changes: 3 additions & 3 deletions src/i18n/locales/ru/dialogs.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -59,4 +59,4 @@
"cancel": "Отмена",
"save": "Сохранить"
}
}
}
28 changes: 27 additions & 1 deletion src/i18n/locales/ru/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "Скорость отскока",
Expand Down Expand Up @@ -216,4 +242,4 @@
"mixedLabel": "Источник",
"deleteRegion": "Удалить аудио"
}
}
}