From de9a3a5591d4b17c0e0f17abc0ee8ffe85de50e6 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Sat, 25 Jul 2026 14:24:03 +0200 Subject: Extract admin strings to i18n: assets and events clusters --- config/locales/de.yml | 99 +++++++++++++++++++++++++++++++++++++++++++++++++++ config/locales/en.yml | 99 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 198 insertions(+) (limited to 'config') diff --git a/config/locales/de.yml b/config/locales/de.yml index 3e0dfdd7..e2b393ee 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -84,6 +84,26 @@ de: container_aria_label: "Seitennavigation" page_aria_label: "Seite %{page}" + activerecord: + attributes: + asset: + name: "Name" + upload: "Datei" + creator: "Urheber" + source_url: "Quell-URL" + license_key: "Lizenz" + event: + title: "Titel" + start_time: "Beginn" + end_time: "Ende" + rrule: "RRULE" + allday: "Ganztägig" + url: "URL" + node: "Node" + tag_list: "Tags" + latitude: "Breitengrad" + longitude: "Längengrad" + tags: index: title: "Tags" @@ -209,6 +229,10 @@ de: destroy: "Löschen" search: "Suchen" reset: "Zurücksetzen" + show: "Anzeigen" + back: "Zurück" + update: "Aktualisieren" + confirm_sure: "Wirklich?" confirm_irreversible: "Das kann nicht rückgängig gemacht werden. Fortfahren?" toggle_preview: "Live-Vorschau umschalten" force_render: "Vorschau neu rendern" @@ -221,6 +245,9 @@ de: locked_by: "Gesperrt von" rev: "Rev." path: "Pfad" + preview: "Vorschau" + name: "Name" + type: "Typ" nodes: index: title: "Nodes" @@ -375,6 +402,47 @@ de: delete_permanently: "Endgültig löschen" restore_hint: "Zum Wiederherstellen eine Seite öffnen und in ihrem Papierkorb-Abschnitt einen neuen Eltern-Node wählen." + events: + confirm_delete: "Diesen Termin löschen?" + index: + title: "Termine" + create_event: "Termin anlegen" + without_page_link: "Termine ohne Seite anzeigen →" + edit_link: "bearbeiten" + show: + title: "Termin" + title_for_node: "Termin für Node %{path}" + node_link: "Node" + recurrence: "Wiederholung" + edit: + title: "Termin bearbeiten" + change_node: "Node ändern" + change_node_hint: "Verknüpft den Termin mit einem anderen Node — selten nötig." + without_node: + title: "Termine ohne Node" + all_events_link: "← Alle Termine" + form: + node_hint: "Optional — Node suchen und auswählen, um diesen Termin mit einer Seite zu verknüpfen." + recurrence: "Wiederholung" + title_hint: "Optional — bleibt das Feld leer, wird der Titel des verknüpften Nodes verwendet." + rrule_builder: + weekly: "Wöchentlich" + monthly: "Monatlich" + biweekly: "Alle 2 Wochen" + monthly_ordinal: "An einem bestimmten Wochentag im Monat" + ordinal_1: "1." + ordinal_2: "2." + ordinal_3: "3." + ordinal_4: "4." + ordinal_last: "letzter" + ordinal_second_last: "vorletzter" + ordinal_custom: "Ausgewählte Wochen" + weeks_of_month: "Wochen im Monat:" + exclude_month: "Außer in einem Monat" + hint: "Füllt das Feld darunter automatisch. Für kompliziertere Muster das Feld einfach direkt bearbeiten — diese Bedienelemente ändern es nur, wenn sie benutzt werden." + new: + title: "Neuer Termin" + flash: common: logged_in: "Erfolgreich angemeldet" @@ -436,3 +504,34 @@ de: none_to_remove: "Es existiert keine %{lang}-Übersetzung zum Entfernen." last_translation: "Die einzige verbliebene Übersetzung kann nicht entfernt werden." removed: "%{lang}-Übersetzung aus dem Entwurf entfernt. Veröffentlichen, um das dauerhaft zu machen." + assets: + index: + title: "Assets" + create_asset: "Asset anlegen" + show: + thumbnail: "Vorschaubild" + attached_to: "Angehängt an" + pending_only: "nur in ausstehenden Versionen" + not_attached: "— an keine Seite angehängt —" + new_page_with_attachment: "Neue Seite mit diesem Anhang" + public_path: "Öffentlicher Pfad" + copy_url: "URL kopieren" + creator: "Urheber" + source: "Quelle" + license: "Lizenz" + content_type: "Content-Type" + size: "Größe" + new: + title: "Neues Asset" + edit: + title: "Asset bearbeiten" + current_file: "Aktuelle Datei" + replace_file: "Datei ersetzen" + form: + drop_hint: "…oder Datei hier ablegen." + none_option: "— keine —" + attach_to_page: "an Seite anhängen" + attach_search_placeholder: "Seite suchen…" + attach_hint: "Optional — hängt dieses Asset an die Seite an, alle ausstehenden Versionen eingeschlossen." + as_headline: "als Aufmacher der Seite anhängen" + headline_hint: "Gilt nur, wenn die Seite noch keinen Aufmacher hat." diff --git a/config/locales/en.yml b/config/locales/en.yml index 616a1d8f..83ceadda 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -36,6 +36,26 @@ en: container_aria_label: "Pagination" page_aria_label: "Page %{page}" + activerecord: + attributes: + asset: + name: "Name" + upload: "File" + creator: "Creator" + source_url: "Source URL" + license_key: "License" + event: + title: "Title" + start_time: "Start time" + end_time: "End time" + rrule: "Rrule" + allday: "Allday" + url: "Url" + node: "Node" + tag_list: "Tags" + latitude: "Latitude" + longitude: "Longitude" + tags: index: title: "Tags" @@ -161,6 +181,10 @@ en: destroy: "Destroy" search: "Search" reset: "Reset" + show: "Show" + back: "Back" + update: "Update" + confirm_sure: "Are you sure?" confirm_irreversible: "This cannot be undone. Continue?" toggle_preview: "Toggle live preview" force_render: "Force preview render" @@ -173,6 +197,9 @@ en: locked_by: "Locked by" rev: "Rev." path: "Path" + preview: "Preview" + name: "Name" + type: "Type" nodes: index: title: "Nodes" @@ -327,6 +354,47 @@ en: delete_permanently: "Delete permanently" restore_hint: "To restore a page, open it and pick a new parent in its Trash section." + events: + confirm_delete: "Delete this event?" + index: + title: "Events" + create_event: "Create event" + without_page_link: "View events without a page →" + edit_link: "edit" + edit: + title: "Editing event" + change_node: "Change node" + change_node_hint: "This will re-link the event to a different node — rarely needed." + without_node: + title: "Events without a node" + all_events_link: "← All events" + show: + title: "Event" + title_for_node: "Event for node %{path}" + node_link: "Node" + recurrence: "Recurrence" + form: + node_hint: "Optional — search and pick a node to associate this event with a page." + recurrence: "Recurrence" + title_hint: "Optional — if left blank, the associated node's title is used." + rrule_builder: + weekly: "Weekly" + monthly: "Monthly" + biweekly: "Every 2 weeks" + monthly_ordinal: "On a specific weekday each month" + ordinal_1: "1st" + ordinal_2: "2nd" + ordinal_3: "3rd" + ordinal_4: "4th" + ordinal_last: "last" + ordinal_second_last: "second to last" + ordinal_custom: "Selected weeks" + weeks_of_month: "Weeks of the month:" + exclude_month: "Except in one month" + hint: "Builds the field below automatically. If your pattern is more complex than this covers, just edit it directly below - these controls won't touch it unless you use them." + new: + title: "New event" + flash: common: logged_in: "Logged in successfully" @@ -388,3 +456,34 @@ en: none_to_remove: "No %{lang} translation exists to remove." last_translation: "Can't remove the only remaining translation." removed: "%{lang} translation removed from the draft. Publish to make this permanent." + assets: + index: + title: "Assets" + create_asset: "Create asset" + show: + thumbnail: "Thumbnail" + attached_to: "Attached to" + pending_only: "pending versions only" + not_attached: "— not attached to any page —" + new_page_with_attachment: "New page with this attachment" + public_path: "Public Path" + copy_url: "Copy URL" + creator: "Creator" + source: "Source" + license: "License" + content_type: "Content Type" + size: "Size" + new: + title: "New asset" + edit: + title: "Editing asset" + current_file: "Current File" + replace_file: "Replace file" + form: + drop_hint: "…or drop a file here." + none_option: "— none —" + attach_to_page: "attach to page" + attach_search_placeholder: "Search for a page…" + attach_hint: "Optional — attaches this asset to that page, all pending versions included." + as_headline: "attach as the page's headline" + headline_hint: "Applies only if the page has no headline yet." -- cgit v1.3