From f8ce323663debb22890ad1ed29f385b8b832abc6 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Sat, 25 Jul 2026 20:16:32 +0200 Subject: Extract public-site strings to i18n MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The public views were never part of the admin extraction and were broken in both directions: German visitors got "Featured", "Calendar" and "Tags", English visitors got "Suchergebnisse für Suchbegriff:". Also picks up the unlock-confirm message in link_helper, a straggler from the revisions/menu_items batch, and drops two raw() calls in the application layout in favour of link_to blocks. --- config/locales/de.yml | 21 +++++++++++++++++++++ config/locales/en.yml | 22 ++++++++++++++++++++++ 2 files changed, 43 insertions(+) (limited to 'config') diff --git a/config/locales/de.yml b/config/locales/de.yml index 0ffc6ecc..ae1149a4 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -118,6 +118,20 @@ de: tags: index: title: "Tags" + show: + subscribe: "Änderungen mit dem Tag »%{tag}« abonnieren" + + content: + featured_articles: + title: "Ausgewählt" + front_page_calendar: + title: "Termine" + tags: + title: "Tags" + + search: + index: + results_for: "Suchergebnisse für: %{query}" node_actions: heading: "Letzte Änderungen" @@ -245,6 +259,7 @@ de: update: "Aktualisieren" confirm_sure: "Wirklich?" confirm_irreversible: "Das kann nicht rückgängig gemacht werden. Fortfahren?" + unlock_confirm: "Wirklich entsperren?\nGesperrt von %{login}\nZuletzt geändert %{time}" toggle_preview: "Live-Vorschau umschalten" force_render: "Vorschau neu rendern" "yes": "ja" @@ -630,6 +645,12 @@ de: title: "Menüeintrag bearbeiten" layouts: + application: + light_mode_aria: "Zwischen dunklem und hellem Modus wechseln" + light_mode_label: "Licht" + admin: "Verwaltung" + overview: "Übersicht" + edit: "Bearbeiten" flash: go_to_status: "Zum Status" stale_prefix: "Die %{lang}-Übersetzung ist womöglich veraltet —" diff --git a/config/locales/en.yml b/config/locales/en.yml index 5f2f266a..50811b37 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -70,6 +70,21 @@ en: tags: index: title: "Tags" + show: + subscribe: "Subscribe to updates tagged »%{tag}«" + + content: + featured_articles: + title: "Featured" + front_page_calendar: + title: "Calendar" + tags: + title: "Tags" + + search: + index: + results_for: "Search results for: %{query}" + node_actions: heading: "Action log" @@ -197,6 +212,7 @@ en: update: "Update" confirm_sure: "Are you sure?" confirm_irreversible: "This cannot be undone. Continue?" + unlock_confirm: "Are you sure you want to unlock?\nLocked by %{login}\nLast modified %{time}" toggle_preview: "Toggle live preview" force_render: "Force preview render" "yes": "yes" @@ -581,6 +597,12 @@ en: default_marker: "default" layouts: + application: + light_mode_aria: "Switch between dark and light mode" + light_mode_label: "lights" + admin: "Admin" + overview: "Overview" + edit: "Edit" flash: go_to_status: "Go to Status" stale_prefix: "The %{lang} translation may be out of date —" -- cgit v1.3