From 4a3d3f30d9a55a082b1ff2295ac806233d1bbd49 Mon Sep 17 00:00:00 2001 From: Tomas Vondracek Date: Tue, 4 Aug 2026 13:34:39 +0200 Subject: [PATCH] fix(translations): restore dropped placeholders in bg/de/es/hu MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Eight translations omitted a parameter that the caller passes, so the value never reached the user. Each string is reworded to reinstate it: messages.bg general.greeting + %name% messages.bg listing_details_box.listing_template + %listingRecords% messages.de contenttypes.generic.overview + %contenttypes% messages.de contenttypes.generic.recent + %contenttypes% messages.de reset_password.check_email_sent_text_2 + %tryagain% messages.es collection.add_item + %name% messages.hu collection.add_item + %name% messages.hu title.filtered_by %szűrő% -> %filter% Several were hardcoded workarounds rather than accidents -- the German ContentType headings read "Seitenübersicht"/"Neueste Seiten", which is correct only for Pages, and the Bulgarian greeting said "админ" for every user. All eight parameters were verified against their callers, e.g. templates/_base/layout.html.twig:39 '%name%' public/theme/skeleton/partials/_aside.twig:53,60 '%contenttypes%' templates/content/listing.html.twig:172 '%listingRecords%' templates/reset_password/check_email.html.twig:36 '%tryagain%' The obsolete singular security.de unit ("...in %minutes% minute.") is deliberately left alone: "in einer Minute" is the correct German for that message, and reinstating the parameter would render "in 1 Minute". --- translations/messages.bg.xlf | 4 ++-- translations/messages.de.xlf | 6 +++--- translations/messages.es.xlf | 2 +- translations/messages.hu.xlf | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/translations/messages.bg.xlf b/translations/messages.bg.xlf index e73483c6a..ffbdcc3de 100644 --- a/translations/messages.bg.xlf +++ b/translations/messages.bg.xlf @@ -154,7 +154,7 @@ general.greeting - Привет, админ! + Привет, %name%! @@ -1186,7 +1186,7 @@ listing_details_box.listing_template - Шаблон за списък: %template% + Шаблон за списък: %template% (%listingRecords% записа) diff --git a/translations/messages.de.xlf b/translations/messages.de.xlf index 20ecb2327..3d7b4f2fd 100644 --- a/translations/messages.de.xlf +++ b/translations/messages.de.xlf @@ -2692,7 +2692,7 @@ reset_password.check_email_sent_text_2 - Wenn Sie keine E-Mail erhalten, überprüfen Sie bitte Ihren Spam-Ordner oder versuchen Sie es erneut. + Wenn Sie keine E-Mail erhalten, überprüfen Sie bitte Ihren Spam-Ordner oder %tryagain%. @@ -3094,7 +3094,7 @@ contenttypes.generic.overview - Seitenübersicht + Übersicht über %contenttypes% @@ -3112,7 +3112,7 @@ contenttypes.generic.recent - Neueste Seiten + Neueste %contenttypes% diff --git a/translations/messages.es.xlf b/translations/messages.es.xlf index 24e594609..53a74336e 100644 --- a/translations/messages.es.xlf +++ b/translations/messages.es.xlf @@ -721,7 +721,7 @@ collection.add_item - Añadir elemento + Añadir un elemento nuevo a '%name%' diff --git a/translations/messages.hu.xlf b/translations/messages.hu.xlf index 8872ea80e..c9f46be6c 100644 --- a/translations/messages.hu.xlf +++ b/translations/messages.hu.xlf @@ -1812,7 +1812,7 @@ title.filtered_by - '%szűrő%'-vel szűrt tartalom.]]> + '%filter%'-vel szűrt tartalom.]]> @@ -1896,7 +1896,7 @@ collection.add_item - Tétel hozzáadása + Új tétel hozzáadása ehhez: '%name%'