diff --git a/src/i18n/de.json b/src/i18n/de.jsonc similarity index 95% rename from src/i18n/de.json rename to src/i18n/de.jsonc index 0b7f7f6..12e6590 100644 --- a/src/i18n/de.json +++ b/src/i18n/de.jsonc @@ -1,6 +1,8 @@ { + // General "cli_description": "CLI-Tool zum Erzeugen von systemd .timer und .service Units", "cli_create_description": "Erzeugt eine systemd .service und .timer Unit", + // Options "option_name": "Name der Unit-Dateien (optional, wird sonst aus dem Exec generiert)", "option_exec": "Kommando, das durch systemd ausgeführt werden soll", "option_calendar": "OnCalendar-Ausdruck für den Timer", @@ -14,9 +16,11 @@ "option_environment": "Environment-Variablen im Format KEY=VALUE", "option_logfile": "Dateipfad für Log-Ausgabe (stdout/stderr)", "option_dry_run": "Gibt die Unit-Dateien nur aus, ohne sie zu schreiben", + // Messages "unit_written_service": "Service Unit geschrieben in: {path}", "unit_written_timer": "Timer Unit geschrieben in: {path}", "hint_header": "\nℹ️ Hinweis:", + // Error messages "error_write_units": "Fehler beim Schreiben der Units:", "rollback_failed": "Rollback fehlgeschlagen:" } diff --git a/src/i18n/en.json b/src/i18n/en.jsonc similarity index 95% rename from src/i18n/en.json rename to src/i18n/en.jsonc index b5d14b0..16cca89 100644 --- a/src/i18n/en.json +++ b/src/i18n/en.jsonc @@ -1,6 +1,8 @@ { + // General "cli_description": "CLI tool for generating systemd .timer and .service units", "cli_create_description": "Generates a systemd .service and .timer unit", + // Options "option_name": "Name of the unit files (optional, otherwise derived from the exec command)", "option_exec": "Command to be executed by systemd", "option_calendar": "OnCalendar expression for the timer", @@ -14,9 +16,11 @@ "option_environment": "Environment variables in the format KEY=VALUE", "option_logfile": "File path for log output (stdout/stderr)", "option_dry_run": "Only outputs the unit files without writing them", + // Messages "unit_written_service": "Service unit written to: {path}", "unit_written_timer": "Timer unit written to: {path}", "hint_header": "\nℹ️ Note:", + // Error messages "error_write_units": "Error while writing unit files:", "rollback_failed": "Rollback failed:" }