Skip to content

fix(translations): correct compared_value placeholder in ru/uk validators - #3781

Merged
bobvandevijver merged 1 commit into
bolt:6.1from
Vondry:fix/translations-compared-value-placeholder
Aug 13, 2026
Merged

fix(translations): correct compared_value placeholder in ru/uk validators#3781
bobvandevijver merged 1 commit into
bolt:6.1from
Vondry:fix/translations-compared-value-placeholder

Conversation

@Vondry

@Vondry Vondry commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Follow up of #3753

Fixes a misspelled placeholder in the Russian and Ukrainian validator translations — the d was missing

Placeholder Correct placeholder Occurrences
{{ compare_value }} {{ compared_value }} 18
{{ compare_value_type }} {{ compared_value_type }} 4

Touches translations/validators.ru.xlf and translations/validators.uk.xlf (9 translation units in each file).

…tors

The Russian and Ukrainian validator translations misspelled the
comparison-constraint placeholders, dropping the "d":

  {{ compare_value }}      -> {{ compared_value }}      (18 occurrences)
  {{ compare_value_type }} -> {{ compared_value_type }} (4 occurrences)

Symfony substitutes constraint parameters by exact string replacement,
so the misspelled names never resolved and the raw placeholder was
rendered to the user, e.g.:

  Это значение должно быть больше {{ compare_value }}.

Affects the whole comparison family (equal / not equal / greater than /
less than / identical / multiple of) in validators.ru and validators.uk:
9 units per file, 14 of which are reachable at runtime today.

Only <target> elements changed; sources and keys already used the
correct spelling.
@bobvandevijver bobvandevijver added this to the Bolt 6.1 milestone Aug 13, 2026
@bobvandevijver bobvandevijver added the topic: Multilingual 🌐 Language, i10n, i18n, translations label Aug 13, 2026
@bobvandevijver

Copy link
Copy Markdown
Member

Thank you @Vondry!

@bobvandevijver
bobvandevijver merged commit 6313643 into bolt:6.1 Aug 13, 2026
34 of 35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic: Multilingual 🌐 Language, i10n, i18n, translations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants