summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-07-25 20:16:32 +0200
committererdgeist <erdgeist@erdgeist.org>2026-07-25 20:16:32 +0200
commitf8ce323663debb22890ad1ed29f385b8b832abc6 (patch)
treee872c2d8a6af8de6ad84ef285240f0c130b26bcc /config
parentfe104aa2c52f61cd8555fbc98c20501f50f4aae8 (diff)
Extract public-site strings to i18n
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.
Diffstat (limited to 'config')
-rw-r--r--config/locales/de.yml21
-rw-r--r--config/locales/en.yml22
2 files changed, 43 insertions, 0 deletions
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:
118 tags: 118 tags:
119 index: 119 index:
120 title: "Tags" 120 title: "Tags"
121 show:
122 subscribe: "Änderungen mit dem Tag »%{tag}« abonnieren"
123
124 content:
125 featured_articles:
126 title: "Ausgewählt"
127 front_page_calendar:
128 title: "Termine"
129 tags:
130 title: "Tags"
131
132 search:
133 index:
134 results_for: "Suchergebnisse für: %{query}"
121 135
122 node_actions: 136 node_actions:
123 heading: "Letzte Änderungen" 137 heading: "Letzte Änderungen"
@@ -245,6 +259,7 @@ de:
245 update: "Aktualisieren" 259 update: "Aktualisieren"
246 confirm_sure: "Wirklich?" 260 confirm_sure: "Wirklich?"
247 confirm_irreversible: "Das kann nicht rückgängig gemacht werden. Fortfahren?" 261 confirm_irreversible: "Das kann nicht rückgängig gemacht werden. Fortfahren?"
262 unlock_confirm: "Wirklich entsperren?\nGesperrt von %{login}\nZuletzt geändert %{time}"
248 toggle_preview: "Live-Vorschau umschalten" 263 toggle_preview: "Live-Vorschau umschalten"
249 force_render: "Vorschau neu rendern" 264 force_render: "Vorschau neu rendern"
250 "yes": "ja" 265 "yes": "ja"
@@ -630,6 +645,12 @@ de:
630 title: "Menüeintrag bearbeiten" 645 title: "Menüeintrag bearbeiten"
631 646
632 layouts: 647 layouts:
648 application:
649 light_mode_aria: "Zwischen dunklem und hellem Modus wechseln"
650 light_mode_label: "Licht"
651 admin: "Verwaltung"
652 overview: "Übersicht"
653 edit: "Bearbeiten"
633 flash: 654 flash:
634 go_to_status: "Zum Status" 655 go_to_status: "Zum Status"
635 stale_prefix: "Die %{lang}-Übersetzung ist womöglich veraltet —" 656 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:
70 tags: 70 tags:
71 index: 71 index:
72 title: "Tags" 72 title: "Tags"
73 show:
74 subscribe: "Subscribe to updates tagged »%{tag}«"
75
76 content:
77 featured_articles:
78 title: "Featured"
79 front_page_calendar:
80 title: "Calendar"
81 tags:
82 title: "Tags"
83
84 search:
85 index:
86 results_for: "Search results for: %{query}"
87
73 88
74 node_actions: 89 node_actions:
75 heading: "Action log" 90 heading: "Action log"
@@ -197,6 +212,7 @@ en:
197 update: "Update" 212 update: "Update"
198 confirm_sure: "Are you sure?" 213 confirm_sure: "Are you sure?"
199 confirm_irreversible: "This cannot be undone. Continue?" 214 confirm_irreversible: "This cannot be undone. Continue?"
215 unlock_confirm: "Are you sure you want to unlock?\nLocked by %{login}\nLast modified %{time}"
200 toggle_preview: "Toggle live preview" 216 toggle_preview: "Toggle live preview"
201 force_render: "Force preview render" 217 force_render: "Force preview render"
202 "yes": "yes" 218 "yes": "yes"
@@ -581,6 +597,12 @@ en:
581 default_marker: "default" 597 default_marker: "default"
582 598
583 layouts: 599 layouts:
600 application:
601 light_mode_aria: "Switch between dark and light mode"
602 light_mode_label: "lights"
603 admin: "Admin"
604 overview: "Overview"
605 edit: "Edit"
584 flash: 606 flash:
585 go_to_status: "Go to Status" 607 go_to_status: "Go to Status"
586 stale_prefix: "The %{lang} translation may be out of date —" 608 stale_prefix: "The %{lang} translation may be out of date —"