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:
parent
b1ac364cdf
commit
95d1cd6992
4 changed files with 10 additions and 10 deletions
|
@ -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')
|
||||
|
|
|
@ -14,10 +14,10 @@
|
|||
.radios
|
||||
%label
|
||||
= f.radio_button :gender, Individual::GENDER_FEMALE, required: true
|
||||
= t(Individual::GENDER_FEMALE, scope: 'activerecord.attributes.individual.gender_options')
|
||||
= Individual.human_attribute_name('gender.female')
|
||||
%label
|
||||
= f.radio_button :gender, Individual::GENDER_MALE, required: true
|
||||
= t('activerecord.attributes.individual.gender_options')[Individual::GENDER_MALE.to_sym] # GENDER_MALE contains a point letter
|
||||
= Individual.human_attribute_name('gender.male')
|
||||
|
||||
.flex
|
||||
.inline-champ
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue