Skip to content

Commit

Permalink
Fix escaping on some translations imported from Keycloak
Browse files Browse the repository at this point in the history
Signed-off-by: John Gomersall <[email protected]>
  • Loading branch information
john-gom committed Aug 23, 2024
1 parent f6b0349 commit a058013
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 3 additions & 3 deletions src/messages/messages_fr.properties
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ password-help-text=Connectez-vous en saisissant votre mot de passe.
credentialCreatedAt=<0>Créé</0> {{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
Expand Down
4 changes: 2 additions & 2 deletions src/messages/messages_ru.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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=Имя пользователя уже занято.
Expand Down
4 changes: 2 additions & 2 deletions src/messages/messages_tr.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit a058013

Please sign in to comment.