From a058013ee922cb7b9e8a78fc4a910d1c07d3cb2c Mon Sep 17 00:00:00 2001 From: John Gomersall Date: Fri, 23 Aug 2024 18:37:40 +0100 Subject: [PATCH] Fix escaping on some translations imported from Keycloak Signed-off-by: John Gomersall --- Makefile | 2 ++ src/messages/messages_fr.properties | 6 +++--- src/messages/messages_ru.properties | 4 ++-- src/messages/messages_tr.properties | 4 ++-- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 4393f00a4..4ba6ba70b 100644 --- a/Makefile +++ b/Makefile @@ -48,6 +48,8 @@ refresh_themes: $(MAKE) refresh_messages # This will find any existing Keycloak translations for messages defined in the messages_en file +# It also downloads the current languages and countries taxonomies from openfoodfacts-server and +# adds any new languages or countries to the keycloak configuration. refresh_messages: node build-scripts/refresh_messages.mjs diff --git a/src/messages/messages_fr.properties b/src/messages/messages_fr.properties index e1285fe67..1f81cbbb4 100644 --- a/src/messages/messages_fr.properties +++ b/src/messages/messages_fr.properties @@ -48,10 +48,10 @@ password-help-text=Connectez-vous en saisissant votre mot de passe. credentialCreatedAt=<0>Créé {{date}}. update=Mettre à jour two-factor=Authentification à deux facteurs -otp-display-name=Application d'authentification -otp-help-text=Entrez un code de vérification depuis votre application d'authentification. +otp-display-name=Application d''authentification +otp-help-text=Entrez un code de vérification depuis votre application d''authentification. setUpNew=Configurer {{name}} -notSetUp={{name}} n'est pas configuré. +notSetUp={{name}} n''est pas configuré. deviceActivity=Activités des appareils signedInDevicesExplanation=Déconnectez-vous de tout appareil non familier. signedInDevices=Appareils connectés diff --git a/src/messages/messages_ru.properties b/src/messages/messages_ru.properties index 637cfba26..c38b72fd3 100644 --- a/src/messages/messages_ru.properties +++ b/src/messages/messages_ru.properties @@ -20,8 +20,8 @@ country=Страна missingUsernameMessage=Пожалуйста введите имя пользователя. missingPasswordMessage=Пожалуйста введите пароль. missingEmailMessage=Пожалуйста введите E-mail. -error-invalid-value='{{0}}' имеет недопустимое значение. -error-pattern-no-match='{{0}}' не соответствует требуемому формату. +error-invalid-value=''{{0}}'' имеет недопустимое значение. +error-pattern-no-match=''{{0}}'' не соответствует требуемому формату. invalidPasswordMinLengthMessage=Некорректный пароль: длина пароля должна быть не менее {0} символов(а). invalidPasswordConfirmMessage=Подтверждение пароля не совпадает. usernameExistsMessage=Имя пользователя уже занято. diff --git a/src/messages/messages_tr.properties b/src/messages/messages_tr.properties index 94e280a6d..7e0a5796d 100644 --- a/src/messages/messages_tr.properties +++ b/src/messages/messages_tr.properties @@ -20,8 +20,8 @@ country=Ülke missingUsernameMessage=Lütfen kullanıcı adını belirtin. missingPasswordMessage=Lütfen şifre belirtin. missingEmailMessage=Lütfen email belirtin. -error-invalid-value='{{0}}' geçersiz bir değere sahip. -error-pattern-no-match='{{0}}' gerekli formatla eşleşmiyor. +error-invalid-value=''{{0}}'' geçersiz bir değere sahip. +error-pattern-no-match=''{{0}}'' gerekli formatla eşleşmiyor. invalidPasswordMinLengthMessage=Geçersiz Şifre: En az {0} karakter uzunluğunda olmalı. invalidPasswordConfirmMessage=Şifre onayı eşleşmiyor. usernameExistsMessage=Kullanıcı adı zaten var.