From b7dee77cd1dd6f70e3bfa55df8b61681e9db321e Mon Sep 17 00:00:00 2001 From: erdgeist Date: Sat, 25 Jul 2026 15:39:17 +0200 Subject: Extract admin strings to i18n: dashboard, layout chrome, and the JS bridge --- config/locales/de.yml | 111 ++++++++++++++++++++++++++++++++++++-------------- config/locales/en.yml | 109 +++++++++++++++++++++++++++++++++++-------------- 2 files changed, 158 insertions(+), 62 deletions(-) (limited to 'config') diff --git a/config/locales/de.yml b/config/locales/de.yml index e2b393ee..8a8a9a40 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -247,7 +247,35 @@ de: path: "Pfad" preview: "Vorschau" name: "Name" + author: "Autor" type: "Typ" + menu: + dashboard: "Dashboard" + search: "Suche" + log_out: "Abmelden" + index: + title: "cccms Dashboard" + search_placeholder: "Nodes und Tags durchsuchen…" + create_post: "Beitrag anlegen" + find_chapter: "Chapter finden" + upload_asset: "Asset hochladen" + add_in_tree: "Seite im Seitenbaum anlegen" + drafts_widget: "Entwürfe und Autosaves" + see_all_drafts: "Alle Entwürfe →" + see_all_changes: "Alle Änderungen →" + housekeeping: "Verwaltung" + my_account: "Mein Konto" + navigation: "Navigation" + drafts: + title: "Entwürfe (%{size})" + revisions: "Revisionen" + conventions: + title: "Konventionen beim Anlegen von Nodes" + kind: "Art" + what_happens: "Was passiert" + search_results: + title: "Suchergebnisse" + nodes: index: title: "Nodes" @@ -504,34 +532,55 @@ 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." + + 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." + + layouts: + flash: + go_to_status: "Zum Status" + stale_prefix: "Die %{lang}-Übersetzung ist womöglich veraltet —" + stale_link: "auch prüfen" + stale_suffix: "." + locked_prefix: "Die Seite ist von %{login} gesperrt —" + locked_link: "dort entsperren" + locked_suffix: ", dann von der Asset-Seite aus erneut anhängen." + headline_prefix: "Der bestehende Aufmacher der Seite wurde behalten —" + headline_link: "dort ändern" + headline_suffix: ", falls gewünscht." + admin: + search_placeholder: "Nodes durchsuchen…" + lock_lost_prefix: "Diese Seite ist jetzt von jemand anderem gesperrt — deine Änderungen hier können nicht mehr gespeichert werden. Kopiere, was du brauchst, dann " + lock_lost_link: "zurück zur veröffentlichten Seite" + insert_image: "Bild einfügen" + insert_image_tooltip: "Eines der angehängten Bilder dieser Seite einfügen" + diff --git a/config/locales/en.yml b/config/locales/en.yml index 83ceadda..44b1615b 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -199,7 +199,34 @@ en: path: "Path" preview: "Preview" name: "Name" + author: "Author" type: "Type" + menu: + dashboard: "Dashboard" + search: "Search" + log_out: "Log out" + index: + title: "cccms dashboard" + search_placeholder: "Search nodes and tags…" + create_post: "Create post" + find_chapter: "Find a chapter" + upload_asset: "Upload asset" + add_in_tree: "Add a page in the page tree" + drafts_widget: "Drafts and autosaves" + see_all_drafts: "See all drafts →" + see_all_changes: "See all recent changes →" + housekeeping: "Housekeeping" + my_account: "My account" + navigation: "Navigation" + drafts: + title: "Drafts (%{size})" + revisions: "Revisions" + conventions: + title: "Node creation conventions" + kind: "Kind" + what_happens: "What happens" + search_results: + title: "Search Results" nodes: index: title: "Nodes" @@ -456,34 +483,54 @@ 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." + + 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." + + layouts: + flash: + go_to_status: "Go to Status" + stale_prefix: "The %{lang} translation may be out of date —" + stale_link: "review it" + stale_suffix: " too." + locked_prefix: "The page is locked by %{login} —" + locked_link: "unlock it there" + locked_suffix: " first, then attach from this asset's page." + headline_prefix: "The page's existing headline was kept —" + headline_link: "change it there" + headline_suffix: " if needed." + admin: + search_placeholder: "Search nodes…" + lock_lost_prefix: "This page is now locked by someone else — your changes here can no longer be saved. Copy anything you need, then " + lock_lost_link: "return to the published page" + insert_image: "Insert image" + insert_image_tooltip: "Insert one of this page's attached images" -- cgit v1.3