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.
JavaScript apple-watchbodyweightdockerfitnessfitness-trackergymhealthiosmcpnodejspasskeysprogressive-web-applicationspwareactself-hostedself-hostingvitewebauthnweightliftingworkout-tracker
fix(i18n): pt-PT labels a superset's Unpair "Separar", not "Desfazer"
Boris 'B' Kurktchiev0ff2c1a3dfac
diff --git a/frontend/src/lib/pt-br-locale.test.js b/frontend/src/lib/pt-br-locale.test.jsindex 8fa4c3706..9b202f4d9 100644--- a/frontend/src/lib/pt-br-locale.test.js+++ b/frontend/src/lib/pt-br-locale.test.js@@ -44,6 +44,12 @@ describe('Brazilian Portuguese locale', () => {expect(fingerprint, 'pt-PT inheritance changed; review the inherited pt-BR wording').toBe('5304c30895afe32bf14334f32497355b645f481f695c582e3b28161a23cba864')})+ // pt-PT labelled Unpair 'Desfazer': Undo, in Portuguese (it is pt-BR's Undo), on the button that+ // takes an exercise out of a superset. Neither pack may give Unpair a word either of them uses for Undo.+ test('does not label Unpair with an Undo word in either Portuguese pack', () => {+ for (const [name, pack] of [['pt', pt], ['pt-BR', ptBR]]) expect([pt.Undo, ptBR.Undo], name).not.toContain(pack.Unpair)+ })+test('does not leak European Portuguese UI terms', () => {const text = Object.values(ptBR).join('\n')const europeanPortuguese = /(?:^|[^\p{L}])(?:ficheiro\p{L}*|telemóvel\p{L}*|ecrã\p{L}*|regist(?:o|am|ado|ada|ados|adas)|eliminad\p{L}*|definições|cronómetro|detetad\p{L}*|gémeos|abdómen|anca|coifa dos rotadores|escadora|completaste|acabaste|aguentas|definires|completares|aguenta|aguentaste|ficaste|viajares)(?=$|[^\p{L}])/iudiff --git a/frontend/src/locales/pt.js b/frontend/src/locales/pt.jsindex ad06595ac..8f198ee54 100644--- a/frontend/src/locales/pt.js+++ b/frontend/src/locales/pt.js@@ -970,7 +970,7 @@ export default {'secondary': 'secundário','No exercises with an estimated 1RM yet.': 'Ainda não há exercícios com 1RM estimado.','Tap a muscle to see its exercises.': 'Toque num músculo para ver os seus exercícios.',- 'Unpair': 'Desfazer',+ 'Unpair': 'Separar',// --- equipment profiles ---'Showing all equipment': 'A mostrar todo o equipamento',