mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
fix filiation error with gender undefined (#331)
This commit is contained in:
parent
7129b3149b
commit
7f2e3ee8e2
@ -9,6 +9,7 @@ const visMessages = {
|
|||||||
both: 'neutre, non binaire',
|
both: 'neutre, non binaire',
|
||||||
woman: 'féminin',
|
woman: 'féminin',
|
||||||
man: 'masculin',
|
man: 'masculin',
|
||||||
|
undefined: "genre non précisé",
|
||||||
years: 'ans',
|
years: 'ans',
|
||||||
click_to_expand: 'cliquez pour étendre',
|
click_to_expand: 'cliquez pour étendre',
|
||||||
add_relationship_link: "Créer un lien de filiation",
|
add_relationship_link: "Créer un lien de filiation",
|
||||||
|
@ -153,7 +153,7 @@ const getGender = (gender) => {
|
|||||||
case 'man':
|
case 'man':
|
||||||
return visMessages.fr.visgraph.man
|
return visMessages.fr.visgraph.man
|
||||||
default:
|
default:
|
||||||
throw 'gender undefined'
|
return visMessages.fr.visgraph.undefined
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user