-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
This is a 2 part issue for the character/word count text on govuk_text_area:
- The static message looks to be only available in English:
"You can enter up to #{limit_quantity} #{limit_type}" js-character-countis always added, which hides the static message and AFAIK is also only currently available in English:(There is some progress with changing this elsewhere: Character count alphagov/govuk-design-system-backlog#67 (comment))build_classes(%(textarea), %(textarea--error) => has_errors?, %(js-character-count) => limit?).prefix(brand)
The error prefix was previously updated to support translations so perhaps something similar could be accomplished here?
| I18n.translate("helpers.error.message_prefix", default: nil) || config.default_error_message_prefix |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels