i18n: remove simple_form locale files

We don't even use simple_form.
This commit is contained in:
Pierre de La Morinerie 2021-09-16 14:20:49 -05:00
parent 8748b6f494
commit 274b92c453
5 changed files with 6 additions and 66 deletions

View file

@ -17,13 +17,11 @@
 ?  ?
.email-suggestion-answer .email-suggestion-answer
= button_tag type: 'button', class: 'button small', onclick: "DS.acceptEmailSuggestion()" do = button_tag type: 'button', class: 'button small', onclick: "DS.acceptEmailSuggestion()" do
= t('simple_form.yes') = t('utils.yes')
= button_tag type: 'button', class: 'button small', onclick: "DS.discardEmailSuggestionBox()" do = button_tag type: 'button', class: 'button small', onclick: "DS.discardEmailSuggestionBox()" do
= t('simple_form.no') = t('utils.no')
= f.label :password, t('views.registrations.new.password_label', min_length: PASSWORD_MIN_LENGTH), id: :user_password_label = f.label :password, t('views.registrations.new.password_label', min_length: PASSWORD_MIN_LENGTH), id: :user_password_label
= f.password_field :password, autocomplete: 'new-password', value: @user.password, placeholder: t('views.registrations.new.password_placeholder', min_length: PASSWORD_MIN_LENGTH), 'aria-describedby': :user_password_label = f.password_field :password, autocomplete: 'new-password', value: @user.password, placeholder: t('views.registrations.new.password_placeholder', min_length: PASSWORD_MIN_LENGTH), 'aria-describedby': :user_password_label
= f.submit t('views.shared.account.create'), class: "button large primary expand" = f.submit t('views.shared.account.create'), class: "button large primary expand"

View file

@ -32,6 +32,8 @@
en: en:
help: 'Help' help: 'Help'
utils: utils:
'yes': Yes
'no': No
deconnexion: "Log out" deconnexion: "Log out"
pj: "Attachments" pj: "Attachments"
asterisk_html: Fields marked by an asterisk ( <span class = mandatory>*</span> ) are mandatory. asterisk_html: Fields marked by an asterisk ( <span class = mandatory>*</span> ) are mandatory.

View file

@ -22,6 +22,8 @@
fr: fr:
help: 'Aide' help: 'Aide'
utils: utils:
'yes': Oui
'no': Non
deconnexion: "Déconnexion" deconnexion: "Déconnexion"
pj: "Pièces jointes" pj: "Pièces jointes"
asterisk_html: Les champs suivis dun astérisque ( <span class = mandatory> * </span> ) sont obligatoires. asterisk_html: Les champs suivis dun astérisque ( <span class = mandatory> * </span> ) sont obligatoires.

View file

@ -1,31 +0,0 @@
en:
simple_form:
"yes": 'Yes'
"no": 'No'
required:
text: 'required'
mark: '*'
# You can uncomment the line below if you need to overwrite the whole required html.
# When using html, text and mark wont be used.
# html: '<abbr title="required">*</abbr>'
error_notification:
default_message: "Please review the problems below:"
# Examples
# labels:
# defaults:
# password: 'Password'
# user:
# new:
# email: 'E-mail to sign in.'
# edit:
# email: 'E-mail.'
# hints:
# defaults:
# username: 'User name to sign in.'
# password: 'No special characters, please.'
# include_blanks:
# defaults:
# age: 'Rather not say'
# prompts:
# defaults:
# age: 'Select your age'

View file

@ -1,31 +0,0 @@
fr:
simple_form:
"yes": 'Oui'
"no": 'Non'
required:
text: 'obligatoire'
mark: '*'
# You can uncomment the line below if you need to overwrite the whole required html.
# When using html, text and mark won't be used.
# html: '<abbr title="required">*</abbr>'
error_notification:
default_message: "Erreur, veuillez vérifier vos réponses:"
# Examples
# labels:
# defaults:
# password: 'Password'
# user:
# new:
# email: 'E-mail to sign in.'
# edit:
# email: 'E-mail.'
# hints:
# defaults:
# username: 'User name to sign in.'
# password: 'No special characters, please.'
# include_blanks:
# defaults:
# age: 'Rather not say'
# prompts:
# defaults:
# age: 'Select your age'