From d5e3571e17138cb4e463ad7222e3be476789c496 Mon Sep 17 00:00:00 2001 From: proddy Date: Tue, 9 Jun 2026 20:30:32 +0200 Subject: [PATCH] Scheduler show 'at startup' --- interface/src/app/main/Scheduler.tsx | 6 ++++-- interface/src/app/main/SchedulerDialog.tsx | 2 +- interface/src/i18n/cz/index.ts | 2 +- interface/src/i18n/de/index.ts | 2 +- interface/src/i18n/en/index.ts | 2 +- interface/src/i18n/fr/index.ts | 2 +- interface/src/i18n/it/index.ts | 2 +- interface/src/i18n/nl/index.ts | 2 +- interface/src/i18n/no/index.ts | 2 +- interface/src/i18n/pl/index.ts | 2 +- interface/src/i18n/sk/index.ts | 2 +- interface/src/i18n/sv/index.ts | 2 +- interface/src/i18n/tr/index.ts | 2 +- 13 files changed, 16 insertions(+), 14 deletions(-) diff --git a/interface/src/app/main/Scheduler.tsx b/interface/src/app/main/Scheduler.tsx index 9f3402792..b372cbc9a 100644 --- a/interface/src/app/main/Scheduler.tsx +++ b/interface/src/app/main/Scheduler.tsx @@ -285,7 +285,9 @@ const Scheduler = () => { {LL.SCHEDULE(0)} - {LL.TIME(0)}/Cond. + + {LL.TIME(0)}/{LL.CONDITION()} + {LL.COMMAND(0)} {LL.NAME(0)} @@ -321,7 +323,7 @@ const Scheduler = () => { )} - {si.time} + {si.time === '' ? LL.SCHEDULER_HELP_2() : si.time} {si.cmd_name} {si.name} diff --git a/interface/src/app/main/SchedulerDialog.tsx b/interface/src/app/main/SchedulerDialog.tsx index d25a055aa..b1d120077 100644 --- a/interface/src/app/main/SchedulerDialog.tsx +++ b/interface/src/app/main/SchedulerDialog.tsx @@ -296,7 +296,7 @@ const SchedulerDialog = ({ /> {isTimerSchedule && ( - {LL.SCHEDULER_HELP_2()} + 00:00 = {LL.SCHEDULER_HELP_2()} )} diff --git a/interface/src/i18n/cz/index.ts b/interface/src/i18n/cz/index.ts index 8d50111ed..1c2888626 100644 --- a/interface/src/i18n/cz/index.ts +++ b/interface/src/i18n/cz/index.ts @@ -287,7 +287,7 @@ const cz: Translation = { LEAVE: 'Odejít', SCHEDULER: 'Plánovač', SCHEDULER_HELP_1: 'Automatizujte příkazy přidáním naplánovaných událostí níže', - SCHEDULER_HELP_2: 'Použijte 00:00 pro spuštění při startu', + SCHEDULER_HELP_2: 'při startu', SCHEDULE: 'Harmonogram', TIME: 'Čas', TIMER: 'Časovač', diff --git a/interface/src/i18n/de/index.ts b/interface/src/i18n/de/index.ts index 3914ff527..364d3f161 100644 --- a/interface/src/i18n/de/index.ts +++ b/interface/src/i18n/de/index.ts @@ -287,7 +287,7 @@ const de: Translation = { LEAVE: 'Verlassen', SCHEDULER: 'Planer', SCHEDULER_HELP_1: 'Fügen Sie eigene geplante Befehle zur Automatisierung hinzu', - SCHEDULER_HELP_2: '00:00 aktiviert einmalige Ausführung beim Start.', + SCHEDULER_HELP_2: 'beim Start', SCHEDULE: 'Zeitplan', TIME: 'Zeit', TIMER: 'Timer', diff --git a/interface/src/i18n/en/index.ts b/interface/src/i18n/en/index.ts index da29293c6..ed6128704 100644 --- a/interface/src/i18n/en/index.ts +++ b/interface/src/i18n/en/index.ts @@ -290,7 +290,7 @@ const en: Translation = { EXECUTE_COMMAND_SENT: 'Command executed successfully', SCHEDULER: 'Scheduler', SCHEDULER_HELP_1: 'Automate commands by adding scheduled events below', - SCHEDULER_HELP_2: 'Use 00:00 to trigger once on start-up', + SCHEDULER_HELP_2: 'at start-up', SCHEDULE: 'Schedule', TIME: 'Time', TIMER: 'Timer', diff --git a/interface/src/i18n/fr/index.ts b/interface/src/i18n/fr/index.ts index 53c7f84fa..10a2415f9 100644 --- a/interface/src/i18n/fr/index.ts +++ b/interface/src/i18n/fr/index.ts @@ -287,7 +287,7 @@ const fr: Translation = { LEAVE: 'Quitter', SCHEDULER: 'Scheduler', SCHEDULER_HELP_1: 'Automatiser les commandes en ajoutant des événements programmés ci-dessous', - SCHEDULER_HELP_2: 'Utiliser 00:00 pour déclencher une fois au démarrage', + SCHEDULER_HELP_2: 'au démarrage', SCHEDULE: 'Programme', TIME: 'Temps', TIMER: 'Minuteur', diff --git a/interface/src/i18n/it/index.ts b/interface/src/i18n/it/index.ts index 82c2373b4..0aab1e8ef 100644 --- a/interface/src/i18n/it/index.ts +++ b/interface/src/i18n/it/index.ts @@ -287,7 +287,7 @@ const it: Translation = { LEAVE: 'Esci', SCHEDULER: 'Programma eventi', SCHEDULER_HELP_1: "Automatizza i comandi aggiungendo gli eventi programmati di seguito", - SCHEDULER_HELP_2: "per attivare una volta all'avvio", + SCHEDULER_HELP_2: "all'avvio", SCHEDULE: 'Programma', TIME: 'Ora', TIMER: 'Orologio', diff --git a/interface/src/i18n/nl/index.ts b/interface/src/i18n/nl/index.ts index c55c2460f..8ac54f1c4 100644 --- a/interface/src/i18n/nl/index.ts +++ b/interface/src/i18n/nl/index.ts @@ -287,7 +287,7 @@ const nl: Translation = { LEAVE: 'Verlaten', SCHEDULER: 'Scheduler', SCHEDULER_HELP_1: 'Automatiseer opdrachten door hieronder geplande gebeurtenissen toe te voegen', - SCHEDULER_HELP_2: 'Gebruik 00:00 om eenmaal te activeren bij het opstarten', + SCHEDULER_HELP_2: 'bij het opstarten', SCHEDULE: 'Schedule', TIME: 'Tijd', TIMER: 'Timer', diff --git a/interface/src/i18n/no/index.ts b/interface/src/i18n/no/index.ts index 1c3f311e1..6bb7fb990 100644 --- a/interface/src/i18n/no/index.ts +++ b/interface/src/i18n/no/index.ts @@ -287,7 +287,7 @@ const no: Translation = { LEAVE: 'Forlat', SCHEDULER: 'Planlegger', SCHEDULER_HELP_1: 'Automatiser kommandoer ved å legge til skedulerte hendelser nedenfor', - SCHEDULER_HELP_2: 'Bruk 00:00 for å kjøre en gang ved oppstart', + SCHEDULER_HELP_2: 'ved oppstart', SCHEDULE: 'Planlegg', TIME: 'Tid', TIMER: 'Timer', diff --git a/interface/src/i18n/pl/index.ts b/interface/src/i18n/pl/index.ts index 2b2626b07..3d462196b 100644 --- a/interface/src/i18n/pl/index.ts +++ b/interface/src/i18n/pl/index.ts @@ -287,7 +287,7 @@ const pl: BaseTranslation = { LEAVE: 'Opuść', SCHEDULER: 'Harmonogram', SCHEDULER_HELP_1: 'Zautomatyzuj wykonywanie komend, dodając poniżej harmonogram zdarzeń', - SCHEDULER_HELP_2: 'Wpisz 00:00 aby wykonywać jednorazowo przy starcie.', + SCHEDULER_HELP_2: 'przy starcie', SCHEDULE: '{{H|h|}}armonogram{{|u|}}', TIME: '{{Czas|Godzina|}}', TIMER: '{{m|M|}}inutnik', diff --git a/interface/src/i18n/sk/index.ts b/interface/src/i18n/sk/index.ts index 927e58572..dffa4de2f 100644 --- a/interface/src/i18n/sk/index.ts +++ b/interface/src/i18n/sk/index.ts @@ -287,7 +287,7 @@ const sk: Translation = { LEAVE: 'Opustiť', SCHEDULER: 'Plánovač', SCHEDULER_HELP_1: 'Automatizujte príkazy pridaním naplánovaných udalostí nižšie', - SCHEDULER_HELP_2: 'Použite 00:00 na jednorazové spustenie pri štarte', + SCHEDULER_HELP_2: 'pri štarte', SCHEDULE: 'Plánovač', TIME: 'Čas', TIMER: 'Časovač', diff --git a/interface/src/i18n/sv/index.ts b/interface/src/i18n/sv/index.ts index b2dcf841e..c33e4fbaa 100644 --- a/interface/src/i18n/sv/index.ts +++ b/interface/src/i18n/sv/index.ts @@ -287,7 +287,7 @@ const sv: Translation = { LEAVE: 'Lämna', SCHEDULER: 'Schemaläggning', SCHEDULER_HELP_1: 'Automatisera kommandon genom att lägga till schemahändelser nedan', - SCHEDULER_HELP_2: 'Använd 00:00 för att trigga en gång vid uppstart', + SCHEDULER_HELP_2: 'vid uppstart', SCHEDULE: 'schema', TIME: 'Tid', TIMER: 'Timer', diff --git a/interface/src/i18n/tr/index.ts b/interface/src/i18n/tr/index.ts index 0b83f2e15..69e681bd7 100644 --- a/interface/src/i18n/tr/index.ts +++ b/interface/src/i18n/tr/index.ts @@ -287,7 +287,7 @@ const tr: Translation = { LEAVE: 'Çık', SCHEDULER: 'Zamanlayıcı', SCHEDULER_HELP_1: 'Komutları zamanlayarak otomatikleştirin', - SCHEDULER_HELP_2: 'Başlangıçta bir kere tetiklemek için 00:00 kullanın', + SCHEDULER_HELP_2: 'başlangıçta', SCHEDULE: 'Zamanlama', TIME: 'Zaman', TIMER: 'Zamanlayıcı',