From 35d89cde873cc22aab3d8c99fc1cea0c6cd3fef0 Mon Sep 17 00:00:00 2001 From: Tamara Schmitz Date: Thu, 24 Jul 2025 09:20:26 +0200 Subject: localization: add more account page strings to locales --- share/locales/de_DE.po | 21 +++++++++++++++++++++ share/locales/en_GB.po | 21 +++++++++++++++++++++ templates/account.html.ep | 14 +++++++------- 3 files changed, 49 insertions(+), 7 deletions(-) diff --git a/share/locales/de_DE.po b/share/locales/de_DE.po index fa650c3..b670f58 100644 --- a/share/locales/de_DE.po +++ b/share/locales/de_DE.po @@ -113,6 +113,27 @@ msgstr "Vorschläge deaktiviert" msgid "account.visibility" msgstr "Sichtbarkeit" +msgid "account.webhook" +msgstr "Webhook" + +msgid "account.webhook.disabled" +msgstr "Nicht eingerichtet" + +msgid "account.webhook.active_pending" +msgstr "Aktiv, noch nicht ausgeführt" + +msgid "account.webhook.active_error" +msgstr "Aktiv, fehlerhaft" + +msgid "account.webhook.active" +msgstr "Aktiv" + +msgid "account.traewelling.unsupported" +msgstr "Wird wegen Inkompatibilität zwischen bahn.de und transitous derzeit nicht unterstützt" + +msgid "account.registration_date" +msgstr "Registriert am" + msgid "account.interaction" msgstr "Interaktion" diff --git a/share/locales/en_GB.po b/share/locales/en_GB.po index c853d03..9795762 100644 --- a/share/locales/en_GB.po +++ b/share/locales/en_GB.po @@ -113,6 +113,27 @@ msgstr "Suggestions disabled" msgid "account.visibility" msgstr "Visibility" +msgid "account.webhook" +msgstr "Webhook" + +msgid "account.webhook.disabled" +msgstr "No webhook was configured" + +msgid "account.webhook.active_pending" +msgstr "Active and Pending" + +msgid "account.webhook.active_error" +msgstr "Active with Error" + +msgid "account.webhook.active" +msgstr "Active" + +msgid "account.traewelling.unsupported" +msgstr "Unsupported due to incompatibility with bahn.de and transitous" + +msgid "account.registration_date" +msgstr "Registered on" + msgid "account.interaction" msgstr "Interaction" diff --git a/templates/account.html.ep b/templates/account.html.ep index 837f219..36ed0bc 100644 --- a/templates/account.html.ep +++ b/templates/account.html.ep @@ -109,20 +109,20 @@ - Web Hook + <%= L('account.webhook') %> edit % if (not $hook->{enabled}) { - Nicht eingerichtet + <%= L('account.webhook.disabled') %> % } % elsif ($hook->{latest_run}->epoch == 0) { - Aktiv, noch nicht ausgeführt + <%= L('account.webhook.active_pending') %> % } % elsif ($hook->{errored}) { - Aktiv, fehlerhaft + <%= L('account.webhook.active_error') %> % } % else { - Aktiv + <%= L('account.webhook.active') %> % } @@ -130,7 +130,7 @@ Träwelling - Wird wegen Inkompatibilität zwischen bahn.de und transitous derzeit nicht unterstützt + <%= L('account.traewelling.unsupported') %>