From 24fbd59f187c4e23afc591e0b8ea98a815c34f5e Mon Sep 17 00:00:00 2001 From: MartinBraquet Date: Sun, 26 Jul 2026 15:09:07 +0200 Subject: [PATCH] Add hint for centering face in profile picture with localized translations (DE, FR) --- common/messages/de.json | 1 + common/messages/fr.json | 1 + web/components/widgets/add-photos.tsx | 5 +++++ 3 files changed, 7 insertions(+) diff --git a/common/messages/de.json b/common/messages/de.json index 095a4e37..f9952d46 100644 --- a/common/messages/de.json +++ b/common/messages/de.json @@ -99,6 +99,7 @@ "about.repo.days_ago": "vor {count} Tagen", "about.repo.link": "Quellcode lesen →", "add_photos.add_description": "Beschreibung hinzufügen", + "add_photos.profile_picture_center_face_hint": "achten Sie darauf, dass Ihr Gesicht darauf zentriert ist, da dieses Bild auf Ihrer Profilkarte angezeigt wird", "add_photos.profile_picture_hint": "Das hervorgehobene Bild ist Ihr Profilbild", "answers.add.error_create": "Fehler beim Erstellen der Kompatibilitätsfrage. Erneut versuchen?", "answers.add.submit_own": "schlagen Sie Ihre eigene vor!", diff --git a/common/messages/fr.json b/common/messages/fr.json index 40ead89d..c743785f 100644 --- a/common/messages/fr.json +++ b/common/messages/fr.json @@ -99,6 +99,7 @@ "about.repo.days_ago": "il y a {count} jours", "about.repo.link": "Lire le code source →", "add_photos.add_description": "Ajouter une description", + "add_photos.profile_picture_center_face_hint": "veillez à centrer votre visage sur cette photo, car c'est elle qui apparaît sur votre carte de profil", "add_photos.profile_picture_hint": "L'image mise en surbrillance est votre photo de profil", "answers.add.error_create": "Erreur lors de la création de la question de compatibilité. Réessayez ?", "answers.add.submit_own": "proposez la vôtre !", diff --git a/web/components/widgets/add-photos.tsx b/web/components/widgets/add-photos.tsx index 602b1005..78fccba5 100644 --- a/web/components/widgets/add-photos.tsx +++ b/web/components/widgets/add-photos.tsx @@ -160,6 +160,11 @@ export const AddPhotosWidget = (props: { {photo_urls?.length ? ( {t('add_photos.profile_picture_hint', 'The highlighted image is your profile picture')} + {' — '} + {t( + 'add_photos.profile_picture_center_face_hint', + 'make sure your face is centered in it, since this is what appears on your profile card', + )} ) : null}