From 84657fa9d633a7d3e20c10645589061ecebeee3f Mon Sep 17 00:00:00 2001 From: erdgeist Date: Mon, 3 Aug 2026 17:12:34 +0200 Subject: Render dates, booleans and counts through the locale files --- config/locales/de.yml | 8 ++++++++ config/locales/en.yml | 8 ++++++++ 2 files changed, 16 insertions(+) (limited to 'config') diff --git a/config/locales/de.yml b/config/locales/de.yml index b3319e61..9428c4be 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -161,6 +161,10 @@ de: not_permitted: "Dieses Asset ist an geschützte Seiten angehängt; nur die Redaktion darf es löschen" upload: unreadable_image: "konnte nicht als Bild gelesen werden. Möglicherweise ist sie beschädigt oder hat ein anderes Format, als der Name vermuten lässt." + event: + attributes: + url: + must_be_http: "must start with http:// or https://" tags: index: @@ -540,11 +544,15 @@ de: title: "Nodes mit Tag: %{tag}" sitemap: title: "Sitemap" + descendants: + one: "1 Unterseite" + other: "%{count} Unterseiten" chapters: title: "Dezentrale" filter: "Filter" node_list: search_placeholder: "Titel, Abstract, Text durchsuchen…" + no_revision: "keine" trashed: title: "Papierkorb" empty: "Der Papierkorb ist leer." diff --git a/config/locales/en.yml b/config/locales/en.yml index ccca0ad0..dcf4275d 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -107,6 +107,10 @@ en: not_permitted: "Only Redaktion members may change assets related to nodes in this section" upload: unreadable_image: "could not be read as an image. It may be damaged, or not the format its name suggests." + event: + attributes: + url: + must_be_http: "must start with http:// or https://" tags: index: @@ -487,11 +491,15 @@ en: title: "Nodes tagged: %{tag}" sitemap: title: "Sitemap" + descendants: + one: "1 descendant" + other: "%{count} descendants" chapters: title: "Chapters" filter: "Filter" node_list: search_placeholder: "Search title, abstract, body…" + no_revision: "none" trashed: title: "Trash" empty: "The Trash is empty." -- cgit v1.3