mrbatch: pt-BR-Guard nachgezogen, Sheet-Mock kennt starterPlanSheet, Listenmodus folgt !92 (kein Auto-Weiterspringen)
This commit is contained in:
1 parent
f767d007a5
commit
0f021aa06d
3 files changed
+9
-7
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(603)
|
||||
expect(inherited).toHaveLength(571)
|
||||
expect(Object.keys(PT_BR_OVERRIDES)).toHaveLength(612)
|
||||
expect(inherited).toHaveLength(583)
|
||||
// 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('1bc5c2825a8e797b2b8e129d1c06b6baca568e95ea9a1e43ae9dacae4bc98801')
|
||||
expect(fingerprint, 'pt-PT inheritance changed; review the inherited pt-BR wording').toBe('c7ddbc412a3e758704289b4414372f2cbc0e26be4c0a0d95676cb3316ecae85a')
|
||||
})
|
||||
|
||||
test('does not leak European Portuguese UI terms', () => {
|
||||
@@ -49,6 +49,6 @@ describe('Brazilian Portuguese locale', () => {
|
||||
expect(ptBR['resistance band']).toBe('faixa elástica')
|
||||
expect(ptBR.soleus).toBe('sóleo')
|
||||
expect(ptBR.Unpair).toBe('Desvincular')
|
||||
expect(ptBR['Starter plan loaded — Mon Push · Wed Pull · Fri Legs']).toContain('Seg Push · Qua Pull')
|
||||
expect(ptBR['Choose starter plan']).toBe('Escolha um plano inicial')
|
||||
})
|
||||
})
|
||||
Reference in new issue
Block a user