From 75a87e8dadcaf1b7e340730e554f5e45ea96d403 Mon Sep 17 00:00:00 2001 From: Tomas Vondracek Date: Mon, 3 Aug 2026 17:33:50 +0200 Subject: [PATCH] chore(translations): drop messages entries served by another domain Four keys are duplicated into the messages catalogue but are only ever looked up in a different domain: user.not_valid_display_name src/Entity/User.php:35,36 user.not_valid_email src/Entity/User.php:49 user.not_valid_password src/Entity/User.php:57 Assert constraint messages, which Symfony resolves in `validators` You have to login in order to access this page. src/Security/AuthenticationEntryPointRedirector.php:26, trans(..., 'security') Nothing reads them from `messages`, so the entries are unreachable and `debug:translation --domain=messages` reports all four as unused. Removes 24 units from 7 catalogues - only where that same locale already carries the key in the domain that serves it, so no lookup changes result. Nine entries are deliberately left in place: security.fr, security.nl, validators.hu, validators.nl and validators.zh_CN have no entry for their key, so those locales fall back to English today. Deleting the messages copy would be equally unreachable but would discard translated text that should instead be moved into the correct domain. That move belongs in its own change. --- translations/messages.cs.xlf | 24 ------------------------ translations/messages.el.xlf | 18 ------------------ translations/messages.en.xlf | 24 ------------------------ translations/messages.fr.xlf | 18 ------------------ translations/messages.ru.xlf | 24 ------------------------ translations/messages.tr.xlf | 18 ------------------ translations/messages.uk.xlf | 18 ------------------ 7 files changed, 144 deletions(-) diff --git a/translations/messages.cs.xlf b/translations/messages.cs.xlf index a49098688..92a62569e 100644 --- a/translations/messages.cs.xlf +++ b/translations/messages.cs.xlf @@ -1719,18 +1719,6 @@ Akce - - - user.not_valid_email - Chybný email - - - - - user.not_valid_password - Chybné heslo. Heslo by mělo obsahovat minimálně 6 znaků. - - user.unknown_user @@ -2127,12 +2115,6 @@ Systémové informace - - - user.not_valid_display_name - Chybné zobrazované jméno - - action.confirm_delete @@ -2661,12 +2643,6 @@ Váš e-mail - - - You have to login in order to access this page. - Pro přístup na tuto stránku se musíte přihlásit. - - modal.title.file_field diff --git a/translations/messages.el.xlf b/translations/messages.el.xlf index 40b97b9f1..79c0ed00e 100644 --- a/translations/messages.el.xlf +++ b/translations/messages.el.xlf @@ -1768,18 +1768,6 @@ Ενέργειες - - - user.not_valid_email - Ακυρο ηλ. ταχυδρομείο - - - - - user.not_valid_password - Λανθασμένος κωδικός. Ο κωδικός πρόσβασης πρέπει να περιέχει τουλάχιστον 6 χαρακτήρες. - - user.unknown_user @@ -2176,12 +2164,6 @@ Πληροφορίες συστήματος - - - user.not_valid_display_name - Μη έγκυρο εμφανιζόμενο όνομα - - action.confirm_delete diff --git a/translations/messages.en.xlf b/translations/messages.en.xlf index f8decc4aa..7cdc52690 100644 --- a/translations/messages.en.xlf +++ b/translations/messages.en.xlf @@ -1771,18 +1771,6 @@ Actions - - - user.not_valid_email - Invalid email - - - - - user.not_valid_password - Invalid password. The password should contain at least 6 characters. - - user.unknown_user @@ -2179,12 +2167,6 @@ System Information - - - user.not_valid_display_name - Invalid display name - - action.confirm_delete @@ -2713,12 +2695,6 @@ your email - - - You have to login in order to access this page. - You have to login in order to access this page. - - modal.title.file_field diff --git a/translations/messages.fr.xlf b/translations/messages.fr.xlf index 77fe0bbce..9cbe25df9 100644 --- a/translations/messages.fr.xlf +++ b/translations/messages.fr.xlf @@ -1777,18 +1777,6 @@ Actions - - - user.not_valid_email - Email invalide - - - - - user.not_valid_password - Mot de passe incorrect. Le mot de passe doit contenir au moins 6 caractères. - - user.unknown_user @@ -2185,12 +2173,6 @@ Informations système - - - user.not_valid_display_name - Nom d'affichage non valide - - action.confirm_delete diff --git a/translations/messages.ru.xlf b/translations/messages.ru.xlf index 9067d9056..386447e28 100644 --- a/translations/messages.ru.xlf +++ b/translations/messages.ru.xlf @@ -1771,18 +1771,6 @@ Действия - - - user.not_valid_email - Неверный адрес электронной почты - - - - - user.not_valid_password - Неправильный пароль. Пароль должен содержать не менее 6 символов. - - user.unknown_user @@ -2179,12 +2167,6 @@ Системная информация - - - user.not_valid_display_name - Недействительное отображаемое имя - - action.confirm_delete @@ -2443,12 +2425,6 @@ Аватар - - - You have to login in order to access this page. - Вы должны войти в систему, чтобы получить доступ к этой странице. - - reset_password.email_title diff --git a/translations/messages.tr.xlf b/translations/messages.tr.xlf index 8e43cc4c3..ae1ba31a0 100644 --- a/translations/messages.tr.xlf +++ b/translations/messages.tr.xlf @@ -1767,18 +1767,6 @@ Eylemler - - - user.not_valid_email - Geçersiz e-posta. - - - - - user.not_valid_password - Geçersiz parola. Parola en az 6 karakter içermelidir. - - user.unknown_user @@ -2175,12 +2163,6 @@ Sistem Bilgisi - - - user.not_valid_display_name - Geçersiz görüntüleme adı - - action.confirm_delete diff --git a/translations/messages.uk.xlf b/translations/messages.uk.xlf index 4f58b0fe3..f0eaa1d8f 100644 --- a/translations/messages.uk.xlf +++ b/translations/messages.uk.xlf @@ -1767,18 +1767,6 @@ Дії - - - user.not_valid_email - Неправильна адреса електронної пошти - - - - - user.not_valid_password - Неправильний пароль. Пароль повинен містити не менше 6 символів. - - user.unknown_user @@ -2175,12 +2163,6 @@ Системна інформація - - - user.not_valid_display_name - Недійсне відображене імʼя - - action.confirm_delete