i18n: translate the new strings into all 12 locales
18 strings from this release, plus the rest-pause explainer that arrived untranslated with !20. Terminology follows each pack's existing entries (Wdh. / rip. / powt. / повт., and the "Add warm-up set" wording already there). pt-BR overrides 8 of them rather than inheriting: the pt-PT versions use tu-forms and «guillemets» (tuas, podes, treinares, teres), which is exactly what the locale's own guard test is there to catch. Inheritance fingerprint re-baselined; the remaining 10 read the same in both variants.
This commit is contained in:
1 parent
6ea7526bff
commit
e1c14f7ac0
13 files changed
+245
-15
No files matched your search
@@ -27,11 +27,11 @@ describe('Brazilian Portuguese locale', () => {
|
||||
.sort(byCodeUnit)
|
||||
const fingerprint = createHash('sha256').update(JSON.stringify(inherited)).digest('hex')
|
||||
|
||||
expect(Object.keys(PT_BR_OVERRIDES)).toHaveLength(283)
|
||||
expect(inherited).toHaveLength(437)
|
||||
expect(Object.keys(PT_BR_OVERRIDES)).toHaveLength(291)
|
||||
expect(inherited).toHaveLength(447)
|
||||
// If this fails, review the changed keys and wording before accepting a new hash. From
|
||||
// frontend/: node scripts/pt-br-inheritance-fingerprint.mjs --list
|
||||
expect(fingerprint, 'pt-PT inheritance changed; review the inherited pt-BR wording').toBe('70fd93bc049da76bc578701a82ecde33b1521ddae37a403076ad48b9694cc4e3')
|
||||
expect(fingerprint, 'pt-PT inheritance changed; review the inherited pt-BR wording').toBe('5eca6d8b564c208b41f1be1890e3eaa0313e0ab901ed40a03b5d3071a65bd9f1')
|
||||
})
|
||||
|
||||
test('does not leak European Portuguese UI terms', () => {
|
||||
|
||||
Reference in new issue
Block a user