mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-19 13:36:48 +00:00
5ca6afa789
Two holes let English through the ratchet unseen.
A plural form en has no key for (Russian .few and .many, Arabic .two)
was compared with en's value for that same key, which never exists, so a
locale could copy en's text into exactly the forms a new plural group
needs and the count stayed put. Such a form is now compared with every
form en spells out for the group. A form en does declare keeps the exact
comparison: Italian "{count} file" is the Italian plural, not a copy of
en's "{count} file".
The // same-as-en marker excused any value in a Latin-script locale, so
one comment waved a whole copied sentence through. It is honoured only
on a value holding a single plain word, the case shared/CLAUDE.md
already describes. No locale carries the marker today, so nothing that
passed before fails now; the counts are unchanged.
12 lines
443 B
TypeScript
12 lines
443 B
TypeScript
// Fixture: "Status" is the German word too and says so; the name and the unit need no marker.
|
|
// The marker on a copied sentence is not honoured: a.delete still counts.
|
|
const a = {
|
|
'a.settings': 'Einstellungen',
|
|
'a.appearance': 'Erscheinungsbild',
|
|
'a.status': 'Status', // same-as-en
|
|
'a.addon': 'Atlas',
|
|
'a.distance': '{count} km',
|
|
'a.delete': 'Delete this trip and all its places permanently', // same-as-en
|
|
};
|
|
export default a;
|