ignore one keys on interpolation check

This commit is contained in:
ulferts
2026-06-05 11:00:28 +02:00
parent cca692d5f6
commit 64e7b178e5
+7
View File
@@ -19,3 +19,10 @@ data:
- modules/*/config/locales/crowdin/%{locale}.seeders.yml
- modules/*/config/locales/crowdin/%{locale}.yml
- modules/*/config/locales/crowdin/js-%{locale}.yml
ignore_inconsistent_interpolations:
# Ignore interpolations checks in the singular form.
# Some languages have simple pluralization form where 'one' is only used for exactly 1 item.
# Other languages such as Ukrainian and Serbian use 'one' also for 21, 31, 101, etc.
# Those will use the %{count} interpolation while the english source language will not have it.
- '*.one'