wording
This commit is contained in:
parent
bc7a79f150
commit
36331f71a4
2 changed files with 5 additions and 5 deletions
|
@ -125,10 +125,10 @@ class TypesDeChampEditor::ChampComponent < ApplicationComponent
|
|||
def options_for_character_limit
|
||||
[
|
||||
[t('.character_limit.unlimited'), nil],
|
||||
[t('.character_limit.limit', limit: 400), 400],
|
||||
[t('.character_limit.limit', limit: 1000), 1000],
|
||||
[t('.character_limit.limit', limit: 5000), 5000],
|
||||
[t('.character_limit.limit', limit: 10000), 10000]
|
||||
[t('.character_limit.limit', limit: '400'), 400],
|
||||
[t('.character_limit.limit', limit: '1 000'), 1000],
|
||||
[t('.character_limit.limit', limit: '5 000'), 5000],
|
||||
[t('.character_limit.limit', limit: '10 000'), 10000]
|
||||
]
|
||||
end
|
||||
end
|
||||
|
|
|
@ -104,7 +104,7 @@
|
|||
- if type_de_champ.textarea?
|
||||
.cell
|
||||
= form.label :character_limit, for: dom_id(type_de_champ, :character_limit) do
|
||||
Spécifier un nombre maximal de caractères (non restrictif) :
|
||||
Spécifier un nombre maximal conseillé de caractères :
|
||||
= form.select :character_limit, options_for_character_limit, id: dom_id(type_de_champ, :character_limit)
|
||||
|
||||
- if type_de_champ.block?
|
||||
|
|
Loading…
Reference in a new issue