diff --git a/frontend/src/App.svelte b/frontend/src/App.svelte
index d962469..9d56bbd 100644
--- a/frontend/src/App.svelte
+++ b/frontend/src/App.svelte
@@ -202,7 +202,7 @@
meetingActive = true
} catch (e) {
console.error('Failed to start meeting:', e)
- alert('Ошибка запуска планёрки: ' + e)
+ alert($t('common.errorStartMeeting') + ': ' + e)
}
}
diff --git a/frontend/src/components/Timer.svelte b/frontend/src/components/Timer.svelte
index 690f8df..c284d9f 100644
--- a/frontend/src/components/Timer.svelte
+++ b/frontend/src/components/Timer.svelte
@@ -66,18 +66,18 @@
{#if timerState?.currentSpeaker}
- Сейчас говорит: {timerState.currentSpeaker}
+ {$t('timer.currentlySpeaking')}: {timerState.currentSpeaker}
{:else}
{$t('timer.noSpeaker')}
{/if}
diff --git a/frontend/src/lib/i18n.js b/frontend/src/lib/i18n.js
index ee68b96..a6c8eea 100644
--- a/frontend/src/lib/i18n.js
+++ b/frontend/src/lib/i18n.js
@@ -32,6 +32,7 @@ export const translations = {
// Timer page
timer: {
currentSpeaker: 'Текущий спикер',
+ currentlySpeaking: 'Сейчас говорит',
speakerTime: 'Время спикера',
totalTime: 'Общее время',
remaining: 'Осталось',
@@ -131,6 +132,7 @@ export const translations = {
no: 'Нет',
loading: 'Загрузка...',
error: 'Ошибка',
+ errorStartMeeting: 'Ошибка запуска планёрки',
},
// Time formats
@@ -139,6 +141,15 @@ export const translations = {
minutes: 'мин',
seconds: 'сек',
},
+
+ // Hotkeys
+ hotkeys: {
+ title: 'Горячие клавиши',
+ next: 'Следующий спикер',
+ skip: 'Пропустить',
+ pauseResume: 'Пауза/Продолжить',
+ stop: 'Остановить митинг',
+ },
},
en: {
@@ -170,6 +181,7 @@ export const translations = {
// Timer page
timer: {
currentSpeaker: 'Current Speaker',
+ currentlySpeaking: 'Currently speaking',
speakerTime: 'Speaker Time',
totalTime: 'Total Time',
remaining: 'Remaining',
@@ -269,6 +281,7 @@ export const translations = {
no: 'No',
loading: 'Loading...',
error: 'Error',
+ errorStartMeeting: 'Failed to start meeting',
},
// Time formats
@@ -277,6 +290,15 @@ export const translations = {
minutes: 'min',
seconds: 'sec',
},
+
+ // Hotkeys
+ hotkeys: {
+ title: 'Hotkeys',
+ next: 'Next speaker',
+ skip: 'Skip speaker',
+ pauseResume: 'Pause/Resume',
+ stop: 'Stop meeting',
+ },
},
};