i18n: cleanup gender locales

The dot in the localized key messes up with i18n-tasks, and causes
false positives for missing strings.
This commit is contained in:
Pierre de La Morinerie 2021-09-09 13:15:52 -05:00
parent b1ac364cdf
commit 95d1cd6992
4 changed files with 10 additions and 10 deletions

View file

@ -3,8 +3,8 @@
Sélectionnez une des valeurs
%label
= form.radio_button :value, Individual::GENDER_FEMALE
= t(Individual::GENDER_FEMALE, scope: 'activerecord.attributes.individual.gender_options')
= Individual.human_attribute_name('gender.female')
%label
= form.radio_button :value, Individual::GENDER_MALE
= t('activerecord.attributes.individual.gender_options')[Individual::GENDER_MALE.to_sym] # GENDER_MALE contains a point letter
= Individual.human_attribute_name('gender.male')