Skip to content

Open-source gym & body-weight tracker, now in the App Store (iPhone + Apple Watch) and as an Android APK. Plan routines, log workouts, see which muscles are trained, import from Strong/Hevy/FitNotes. Self-host it or use it on the phone alone.

test: make pt-PT test work with hevy import

Julius Haring6585ad57111c
diff --git a/frontend/src/lib/pt-br-locale.test.js b/frontend/src/lib/pt-br-locale.test.js
index 91a4a63a8..06bc339ad 100644
--- a/frontend/src/lib/pt-br-locale.test.js
+++ b/frontend/src/lib/pt-br-locale.test.js
@@ -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(291)
- expect(inherited).toHaveLength(449)
+ expect(Object.keys(PT_BR_OVERRIDES)).toHaveLength(317)
+ expect(inherited).toHaveLength(448)
// 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('09c4fa5e04c8d3ea21916a6c07f074a35013b33d5d945ecfc13cd54cc8b7d41d')
+ expect(fingerprint, 'pt-PT inheritance changed; review the inherited pt-BR wording').toBe('1f0f51af8e2e4b778db6d3d89cb7a6539091c9bc6e1cf0f864a590e586b03180')
})
test('does not leak European Portuguese UI terms', () => {