fix(i18n): the corridor's truncation note takes a singular, and three plurals were wrong anyway

`mobileTrip.rtTruncated` interpolated a count into a sentence naming the stretch once, so at
one truncated area it read "1 stretches". Two keys now, picked by the count, the shape this
codebase already uses where a number changes its noun.

Writing the singular turned up three plurals that were wrong at counts the old one-form key
could never reach. Polish and Czech both had the genitive plural with a singular verb, which
is right at five and wrong at two; Arabic had the 3 to 10 form, wrong at two and again from
eleven. All three now put the count after a colon, where no form has to agree with it.
Russian and Ukrainian were already correct at both, since their phrase leads with a
locative, and were left alone.

The eight languages that keep the singular noun after a numeral differ only in the numeral,
which is what they should do.
This commit is contained in:
Maurice
2026-09-17 16:40:05 +02:00
parent 92ccd24eed
commit c8f9edad87
25 changed files with 82 additions and 28 deletions
+2 -1
View File
@@ -67,7 +67,8 @@ const mobileTrip: TranslationStrings = {
'mobileTrip.rtFromStart': 'Des de l’inici de l’etapa',
'mobileTrip.rtNoneAhead': 'No hi ha res a la carretera que tens al davant. Prova tota l’etapa.',
'mobileTrip.rtNoneOnStage': 'No hi ha res d’aquest tipus al llarg d’aquesta etapa.',
'mobileTrip.rtTruncated':
'mobileTrip.rtTruncated.one': '1 tram tenia més del que cap en una resposta. Tria menys tipus per veure la resta.',
'mobileTrip.rtTruncated.other':
'{count} trams tenien més del que cap en una resposta. Tria menys tipus per veure la resta.',
};