diff --git a/common/messages/de.json b/common/messages/de.json index f2e68454..007a09fd 100644 --- a/common/messages/de.json +++ b/common/messages/de.json @@ -119,6 +119,7 @@ "common.notified": "Benachrichtigt werden", "common.notified_any": "Über neue Profile benachrichtigt werden", "common.or": "Oder", + "common.with": "mit", "common.people": "Personen", "common.per_month": "/ Monat", "common.person": "Person", @@ -714,6 +715,7 @@ "profile.gender.plural.female": "Frauen", "profile.gender.plural.male": "Männer", "profile.gender.plural.other": "Andere", + "profile.gender.plural.people": "Leute", "profile.has_kids": "Hat Kinder", "profile.has_kids.-1": "Egal", "profile.has_kids.0": "Nein", @@ -952,6 +954,7 @@ "profile.romantic.poly": "Polyamor", "profile.romantic.style": "Stil", "profile.save": "Speichern", + "profile.connection.default": "Verbindung", "profile.seeking": "Sucht", "profile.seo.description": "Ihr Profil", "profile.seo.title": "Profil", diff --git a/common/messages/fr.json b/common/messages/fr.json index 606b51df..580701d0 100644 --- a/common/messages/fr.json +++ b/common/messages/fr.json @@ -119,6 +119,7 @@ "common.notified": "Recevoir notifs pour les filtres sélectionnés", "common.notified_any": "Recevoir notifs pour tout nouveau profil", "common.or": "Ou", + "common.with": "avec", "common.people": "personnes", "common.per_month": "/ mois", "common.person": "personne", @@ -642,7 +643,7 @@ "profile.age_between": "entre {min} et {max} ans", "profile.age_exact": "exactement {min} ans", "profile.age_older_than": "plus de {min} ans", - "profile.age_younger_than": "moins de {max} ans", + "profile.age_younger_than": "de moins de {max} ans", "profile.at": "à", "profile.basics.bio": "Biographie", "profile.basics.display_name": "Nom d'affichage", @@ -710,9 +711,10 @@ "profile.gender.female": "Femme", "profile.gender.male": "Homme", "profile.gender.other": "Autre", - "profile.gender.plural.female": "Femmes", - "profile.gender.plural.male": "Hommes", - "profile.gender.plural.other": "Autres", + "profile.gender.plural.female": "des femmes", + "profile.gender.plural.male": "des hommes", + "profile.gender.plural.other": "des autres", + "profile.gender.plural.people": "des personnes", "profile.has_kids": "A des enfants", "profile.has_kids.-1": "N'importe", "profile.has_kids.0": "N'a pas d'enfants", @@ -951,6 +953,7 @@ "profile.romantic.poly": "Polyamoureux·se", "profile.romantic.style": "Style", "profile.save": "Enregistrer", + "profile.connection.default": "une relation", "profile.seeking": "Recherche", "profile.seo.description": "Votre profil", "profile.seo.title": "Profil", diff --git a/web/components/profile-about.tsx b/web/components/profile-about.tsx index b4762b8f..8f86867e 100644 --- a/web/components/profile-about.tsx +++ b/web/components/profile-about.tsx @@ -182,8 +182,8 @@ export function getSeekingText(profile: Profile, t: any, short?: boolean | undef const max = profile.pref_age_max const seekingGenderText = stringOrStringArrayToText({ text: - prefGender?.length == 0 - ? ['people'] + prefGender?.length == 0 || (prefGender?.includes('male') && prefGender?.includes('female')) + ? [t('profile.gender.plural.people', 'people')] : prefGender?.map((gender) => t( `profile.gender.plural.${gender}`, diff --git a/web/lib/profile/seeking.ts b/web/lib/profile/seeking.ts index ea634301..50577f18 100644 --- a/web/lib/profile/seeking.ts +++ b/web/lib/profile/seeking.ts @@ -16,7 +16,7 @@ export function getSeekingConnectionText(profile: Profile, t: any, short?: boole ).toLowerCase(), ) .sort() - : ['connection'], + : [t('profile.connection.default', 'connection')], preText: !short ? t('profile.seeking', 'Seeking') : undefined, asSentence: true, capitalizeFirstLetterOption: false,