Skip to content

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

Open
Vondry wants to merge 1 commit into
bolt:6.1from
Vondry:fix/translations-compared-value-placeholder
Open

fix(translations): correct compared_value placeholder in ru/uk validators#3781
Vondry wants to merge 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant