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
feat(i18n): add Brazilian Portuguese UI
mzspicoli00ba71d4df97
diff --git a/README.md b/README.mdindex 1e641690f..bc8392c57 100644--- a/README.md+++ b/README.md@@ -84,7 +84,7 @@ as a home-screen app, passkey sign-in, offline support, sync across your phone a- 🔑 **Passkeys, not passwords** — Face ID / Touch ID / fingerprint login; each profile keeps its own data, synced across devices. Sign-ins last 90 days by default (configurable), and “sign out everywhere” in Settings ends every session on every device at once- 🛠️ **Admin dashboard** (optional) — for whoever runs the instance: who's training right now, per-user history, disable accounts, invite-only signup, and an **activity log** of sign-ins, failed attempts and admin actions. Off by default, so a fresh instance stays open with no admin- 🎨 **Designed, not assembled** — light/dark themes and 8 accent colors saved to your profile, over a hand-drawn icon set instead of emoji, so it looks the same on every phone-- 🌍 **12 languages** — full UI translation (EN, DE, ES, FR, IT, PT, PL, TR, RU, ZH, KO, HI); exercise instructions localized in 10 of them, loaded on demand so the app stays fast+- 🌍 **13 languages** — full UI translation (EN, DE, ES, FR, IT, PT-PT, PT-BR, PL, TR, RU, ZH, KO, HI); exercise instructions localized in 10 of them, loaded on demand so the app stays fast- 📥 **Bring your history with you** — import from **FitNotes** (Android and iOS), **Strong** and **Hevy**, or body weight straight out of an **Apple Health** export. Exercise names are matched against the library and anything unrecognised becomes one of your own exercises, so nothing in the file is dropped- 📦 **Yours to keep** — one-tap JSON export/import, guest mode, **no telemetry**- 🤖 **Ask an AI about your training** (optional) — an [MCP server](mcp/README.md) lets a client like Claude Desktop or Cursor read your history in your own words: *"what did I bench last week?"*. Read-only, spawned locally by the client, nothing leaves your box. Not in the Docker build — if you don't use an AI assistant, it isn't therediff --git a/frontend/src/lib/i18n-core.js b/frontend/src/lib/i18n-core.jsindex cfa492487..67032b628 100644--- a/frontend/src/lib/i18n-core.js+++ b/frontend/src/lib/i18n-core.js@@ -4,12 +4,12 @@export const LANGS = {en: 'English', de: 'Deutsch', es: 'Español', fr: 'Français', it: 'Italiano',- pt: 'Português', pl: 'Polski', tr: 'Türkçe', ru: 'Русский', zh: '中文',+ pt: 'Português (Portugal)', 'pt-BR': 'Português (Brasil)', pl: 'Polski', tr: 'Türkçe', ru: 'Русский', zh: '中文',ko: '한국어', hi: 'हिन्दी'}export const INSTR_LANGS = ['en', 'es', 'fr', 'it', 'tr', 'ru', 'zh', 'hi', 'pl', 'ko']export const DATE_LOCALES = {- en: 'en-GB', de: 'de-DE', es: 'es-ES', fr: 'fr-FR', it: 'it-IT', pt: 'pt-PT',+ en: 'en-GB', de: 'de-DE', es: 'es-ES', fr: 'fr-FR', it: 'it-IT', pt: 'pt-PT', 'pt-BR': 'pt-BR',pl: 'pl-PL', tr: 'tr-TR', ru: 'ru-RU', zh: 'zh-CN', ko: 'ko-KR', hi: 'hi-IN'}diff --git a/frontend/src/lib/pt-br-locale.test.js b/frontend/src/lib/pt-br-locale.test.jsnew file mode 100644index 000000000..d10c565b1--- /dev/null+++ b/frontend/src/lib/pt-br-locale.test.js@@ -0,0 +1,29 @@+import { describe, expect, test } from 'vitest'+import pt from '../locales/pt.js'+import ptBR from '../locales/pt-BR.js'+import { DATE_LOCALES, LANGS } from './i18n-core.js'++const placeholders = value => [...String(value).matchAll(/\{\d+\}/g)].map(match => match[0]).sort()++describe('Brazilian Portuguese locale', () => {+ test('is a separately selectable locale with Brazilian date formatting', () => {+ expect(LANGS.pt).toBe('Português (Portugal)')+ expect(LANGS['pt-BR']).toBe('Português (Brasil)')+ expect(DATE_LOCALES['pt-BR']).toBe('pt-BR')+ })++ test('has the complete key set and preserves interpolation placeholders', () => {+ expect(Object.keys(ptBR).sort()).toEqual(Object.keys(pt).sort())+ for (const [source, translated] of Object.entries(ptBR)) {+ expect(placeholders(translated), source).toEqual(placeholders(source))+ }+ })++ test('does not leak the most visible European Portuguese UI terms', () => {+ const text = Object.values(ptBR).join('\n')+ expect(text).not.toMatch(/\b(ficheiro\w*|telemóvel\w*|ecrã\w*|regist(?:ar|ado|ada|ados|adas|o|os)|eliminar|definições)\b/i)+ expect(ptBR.Save).toBe('Salvar')+ expect(ptBR.Settings).toBe('Configurações')+ expect(ptBR['Delete workout']).toBe('Excluir treino')+ })+})diff --git a/frontend/src/locales/pt-BR.js b/frontend/src/locales/pt-BR.jsnew file mode 100644index 000000000..59c2301a1--- /dev/null+++ b/frontend/src/locales/pt-BR.js@@ -0,0 +1,179 @@+// Brazilian Portuguese overrides. Shared, region-neutral strings inherit from pt-PT so new+// source keys keep a Portuguese fallback; every wording that differs in Brazil is explicit here.+import pt from './pt.js'++export default {+ ...pt,+ 'Press back again to exit': 'Pressione novamente para sair',+ 'Delete': 'Excluir',+ 'Save': 'Salvar',+ 'Log': 'Registrar',+ 'Settings': 'Configurações',+ 'Log body weight': 'Registrar peso corporal',+ 'Slide or tap to set your weight — tracked before every workout so your curve stays honest.': 'Deslize ou toque para informar seu peso — ele é registrado antes de cada treino para manter a curva precisa.',+ 'Save & start workout': 'Salvar e iniciar treino',+ 'Start without weighing in': 'Iniciar sem se pesar',+ 'Choose a different workout': 'Escolher outro treino',+ 'Recent weigh-ins': 'Pesagens recentes',+ 'Enter a valid weight': 'Informe um peso válido',+ 'Weight saved': 'Peso salvo',+ 'Your goal is drawn as a line through the weight charts, and gains/losses are colored by whether they move toward it.': 'Sua meta aparece como uma linha nos gráficos de peso, e os ganhos ou perdas mudam de cor conforme você se aproxima dela.',+ 'Save goal': 'Salvar meta',+ "No entries yet — log your weight to start the curve. It's also asked before every workout.": 'Ainda não há registros — informe seu peso para começar a curva. Ele também será solicitado antes de cada treino.',+ 'Add to my plan': 'Adicionar ao meu plano',+ 'Add “{0}”': 'Adicionar “{0}”',+ '“{0}” added to {1}': '“{0}” adicionado a {1}',+ 'Pick a routine — sets, reps & weight come next.': 'Escolha uma rotina — séries, repetições e peso vêm em seguida.',+ 'Create one and start with this exercise': 'Crie uma e comece com este exercício',+ 'Search {0} exercises…': 'Buscar entre {0} exercícios…',+ 'Nothing chosen yet — add exercises and they’ll show up here.': 'Nenhum exercício escolhido — adicione exercícios e eles aparecerão aqui.',+ 'The sets you logged for this exercise in this session will be lost.': 'As séries registradas para este exercício nesta sessão serão perdidas.',+ 'This removes the exercise from your current session.': 'Isso remove o exercício da sua sessão atual.',+ 'Which exercise in this superset do you want to remove?': 'Qual exercício deste superset você quer remover?',+ 'Pick an icon': 'Escolha um ícone',+ 'Sick, missed a day or want a different session? Pick what to train instead.': 'Ficou doente, perdeu um dia ou quer outro treino? Escolha o que treinar no lugar.',+ 'Tap a trained day for details · tap any other day to plan a session': 'Toque em um dia treinado para ver detalhes · toque em outro dia para planejar uma sessão',+ 'Delete workout?': 'Excluir treino?',+ 'This removes it from your history for good.': 'Isso remove o treino definitivamente do seu histórico.',+ 'Delete workout': 'Excluir treino',+ 'Confirm the weight you worked with — your highest becomes the default next time.': 'Confirme o peso usado — o maior valor será o padrão na próxima vez.',+ 'Then finish the superset partner.': 'Depois, termine o outro exercício do superset.',+ 'Save & next exercise': 'Salvar e ir para o próximo exercício',+ 'Save weight': 'Salvar peso',+ 'Tracked — next time starts at {0}': 'Registrado — na próxima vez você começa em {0}',+ 'Every exercise done — great work. Finish up, or keep going and add another exercise.': 'Todos os exercícios concluídos — ótimo trabalho! Finalize ou continue e adicione outro exercício.',+ 'Keep going — tap “+ Add exercise” below': 'Continue — toque em “+ Adicionar exercício” abaixo',+ 'Nothing logged yet': 'Ainda não há nada registrado',+ 'You haven’t checked off any sets. Finish the workout anyway?': 'Você não marcou nenhuma série. Deseja finalizar o treino mesmo assim?',+ 'Freestyle workout (pick as you go)': 'Treino livre (escolha durante o treino)',+ 'Build a plan first': 'Crie um plano primeiro',+ 'Cardio logged': 'Cardio registrado',+ 'The sets you logged in this session will be lost.': 'As séries registradas nesta sessão serão perdidas.',+ 'Superset · do these back-to-back, rest when done': 'Superset · faça estes exercícios em sequência e descanse ao terminar',+ 'Freestyle workout — add your first exercise.': 'Treino livre — adicione seu primeiro exercício.',+ 'Set up your weekly routine to get going — or load a ready-made Push / Pull / Legs plan.': 'Configure sua rotina semanal para começar ou carregue um plano pronto de Empurrar / Puxar / Pernas.',+ 'Load starter plan (PPL)': 'Carregar plano inicial (PPL)',+ 'Build my own plan': 'Criar meu próprio plano',+ 'Finish your first workout to see progress curves here.': 'Finalize seu primeiro treino para ver os gráficos de progresso aqui.',+ 'Your weekly routine': 'Sua rotina semanal',+ 'Create one or load the starter plan.': 'Crie uma ou carregue o plano inicial.',+ 'Load starter plan (Push / Pull / Legs)': 'Carregar plano inicial (Empurrar / Puxar / Pernas)',+ 'No exercises yet — add your first one.': 'Ainda não há exercícios — adicione o primeiro.',+ 'Tap the link button on an exercise to superset it with the one above — you’ll do them back-to-back.': 'Toque no botão de vínculo de um exercício para combiná-lo em um superset com o exercício acima — eles serão feitos em sequência.',+ 'Delete routine?': 'Excluir rotina?',+ 'Delete routine': 'Excluir rotina',+ 'Search…': 'Buscar…',+ 'Starter plan loaded — Mon Push · Wed Pull · Fri Legs': 'Plano inicial carregado — Seg Empurrar · Qua Puxar · Sex Pernas',+ '{0} planned for {1}': '{0} planejado para {1}',+ 'Planned': 'Planejado',+ 'Enter a name': 'Informe um nome',+ 'Registration failed': 'Falha no cadastro',+ 'Create your profile': 'Crie seu perfil',+ 'Pick a name, then confirm with {0}. The passkey is saved in your device — no password needed.': 'Escolha um nome e confirme com {0}. A chave de acesso fica salva no seu dispositivo — não é preciso usar senha.',+ 'Pick a name, then confirm with your device.': 'Escolha um nome e confirme com seu dispositivo.',+ 'Your name': 'Seu nome',+ 'Create passkey': 'Criar chave de acesso',+ 'Your workouts. Your weights. Your profile.': 'Seus treinos. Seus pesos. Seu perfil.',+ 'Create new profile': 'Criar novo perfil',+ "This browser doesn't support passkeys — you can still use openGym locally on this device.": 'Este navegador não oferece suporte a chaves de acesso — você ainda pode usar o openGym localmente neste dispositivo.',+ 'Signed in with passkey — data syncs to this profile.': 'Sessão iniciada com chave de acesso — os dados são sincronizados com este perfil.',+ 'Sign out?': 'Sair?',+ 'Your data is synced to your profile first, then cleared from this device.': 'Seus dados serão sincronizados com o perfil e depois apagados deste dispositivo.',+ 'Sign out': 'Sair',+ 'Sign out everywhere?': 'Sair de todos os dispositivos?',+ 'Signs this profile out on every device, including this one. Your passkeys keep working — sign in with them again anytime.': 'Encerra a sessão deste perfil em todos os dispositivos, inclusive neste. Suas chaves de acesso continuam funcionando — entre novamente quando quiser.',+ 'Sign out everywhere': 'Sair de todos os dispositivos',+ 'Ends this profile’s sessions on all your devices.': 'Encerra as sessões deste perfil em todos os seus dispositivos.',+ 'Signed out on all devices': 'Sessão encerrada em todos os dispositivos',+ 'Could not sign out everywhere — you are still signed in.': 'Não foi possível sair de todos os dispositivos — sua sessão continua ativa.',+ 'Guest mode — data lives only in this browser. Create a passkey profile to keep it safe and separate per person.': 'Modo visitante — os dados ficam somente neste navegador. Crie um perfil com chave de acesso para mantê-los seguros e separados por pessoa.',+ 'Create passkey profile': 'Criar perfil com chave de acesso',+ 'synced with your profile': 'sincronizado com seu perfil',+ 'The screen stays on while a workout is running, so you don’t have to unlock your phone between sets.': 'A tela permanece ligada durante o treino, para você não precisar desbloquear o celular entre as séries.',+ 'Note: switching units only changes the label — logged numbers are not converted.': 'Observação: trocar a unidade altera somente o rótulo — os valores registrados não são convertidos.',+ 'Export backup (JSON)': 'Exportar backup (JSON)',+ 'Import backup': 'Importar backup',+ 'Reset everything?': 'Redefinir tudo?',+ 'Reset everything': 'Redefinir tudo',+ 'Deletes your plan, workouts and body weight on this device. This cannot be undone.': 'Exclui seu plano, seus treinos e seu peso corporal deste dispositivo. Esta ação não pode ser desfeita.',+ 'Delete everything': 'Excluir tudo',+ 'Backup exported': 'Backup exportado',+ 'Import backup?': 'Importar backup?',+ 'This replaces all current data with the backup file.': 'Isso substitui todos os dados atuais pelo arquivo de backup.',+ 'Backup imported': 'Backup importado',+ 'In Chrome: ⋮ menu → Add to Home screen': 'No Chrome: menu ⋮ → Adicionar à tela inicial',+ 'In Safari: Share → Add to Home Screen': 'No Safari: Compartilhar → Adicionar à Tela de Início',+ 'Your data syncs with your profile — sign in anywhere to see it.': 'Seus dados são sincronizados com o perfil — entre em qualquer dispositivo para acessá-los.',+ 'Guest data stays on this device — export a backup now and then!': 'Os dados de visitante ficam neste dispositivo — exporte um backup de vez em quando!',+ 'Only sent on days you have a routine planned and haven\'t logged a workout yet.': 'Enviado somente nos dias em que há uma rotina planejada e você ainda não registrou um treino.',+ 'Could not change notification settings': 'Não foi possível alterar as configurações de notificação',+ 'tap to pause': 'toque para pausar',+ 'tap to play': 'toque para reproduzir',+ 'Keeps your data safe and separate per person.': 'Mantém seus dados seguros e separados por pessoa.',+ 'Create your own exercise': 'Crie seu próprio exercício',+ 'Give it a name': 'Dê um nome',+ 'Description (optional) — setup, cues, anything you want to remember': 'Descrição (opcional) — preparação, dicas ou qualquer observação que você queira guardar',+ 'Name it and pick a body part — it behaves like any other exercise, just without an animation.': 'Dê um nome e escolha uma parte do corpo — ele funciona como qualquer outro exercício, mas sem animação.',+ 'Pick a body part': 'Escolha uma parte do corpo',+ 'Saved': 'Salvo',+ 'Delete “{0}”?': 'Excluir “{0}”?',+ 'It will be removed from your routines. Already-logged workouts keep their sets.': 'Ele será removido das suas rotinas. Os treinos já registrados manterão suas séries.',+ 'Finish your current workout first': 'Finalize o treino atual primeiro',+ 'Delete exercise': 'Excluir exercício',+ 'Edit or delete this exercise': 'Editar ou excluir este exercício',+ 'This app is invite-only — enter the code you were given.': 'Este aplicativo é exclusivo para convidados — informe o código que você recebeu.',+ 'Passkeys use {0} — no passwords.': 'As chaves de acesso usam {0} — sem senhas.',+ 'Strength shows retained muscle strength. Train again to reset it.': 'A força mostra quanto da força muscular foi mantida. Treine novamente para redefinir o valor.',+ 'Added as your own': 'Adicionados como seus',+ 'The file is in {0} and your profile is in {1} — weights will be converted.': 'O arquivo está em {0} e seu perfil em {1} — os pesos serão convertidos.',+ 'The file does not say which unit it uses — numbers are imported as they are.': 'O arquivo não informa qual unidade utiliza — os valores serão importados como estão.',+ 'The file mixes kg and lb — each set is converted to {0}.': 'O arquivo mistura kg e lb — cada série será convertida para {0}.',+ '{0} days already have data here and will be left alone.': '{0} dias já têm dados aqui e não serão alterados.',+ 'Not in the library — added as your own exercises': 'Não estão na biblioteca — foram adicionados como exercícios próprios',+ 'Could not read that file': 'Não foi possível ler esse arquivo',+ 'That file is empty': 'Esse arquivo está vazio',+ 'Nothing to import from that file': 'Não há nada para importar desse arquivo',+ 'Your data': 'Seus dados',+ 'All data stays on this phone': 'Todos os dados ficam neste celular',+ 'No account, no cloud — back it up anytime with Export below.': 'Sem conta e sem nuvem — faça um backup quando quiser usando a opção Exportar abaixo.',+ '{0} is on the plan today — let’s go!': 'Hoje tem {0} no plano — vamos lá!',+ 'Share your plan': 'Compartilhar seu plano',+ 'Shared routine': 'Rotina compartilhada',+ 'Got a plan from a friend?': 'Recebeu um plano de um amigo?',+ 'Send your routines to a friend, or put your week on paper.': 'Envie suas rotinas para um amigo ou coloque sua semana no papel.',+ 'Export plan file': 'Exportar arquivo do plano',+ 'A small file a friend imports into their own openGym — routines only, none of your workouts or weigh-ins.': 'Um pequeno arquivo que um amigo pode importar no próprio openGym — somente rotinas, sem seus treinos ou pesagens.',+ 'Print / Save as PDF': 'Imprimir / Salvar como PDF',+ 'Add an exercise to a routine first — an empty plan has nothing to share.': 'Adicione primeiro um exercício a uma rotina — um plano vazio não tem nada para compartilhar.',+ 'Import a plan file': 'Importar arquivo do plano',+ 'Plan file saved — send it to a friend': 'Arquivo do plano salvo — envie-o para um amigo',+ 'These are added as new routines — nothing you already have is changed.': 'Elas serão adicionadas como novas rotinas — nada do que você já tem será alterado.',+ '{0} exercise in the file isn’t in your library and was left out.': '{0} exercício do arquivo não está na sua biblioteca e foi ignorado.',+ '{0} exercises in the file aren’t in your library and were left out.': '{0} exercícios do arquivo não estão na sua biblioteca e foram ignorados.',+ 'Replaces your current Mon–Sun assignments.': 'Substitui suas atribuições atuais de seg. a dom.',+ 'Added {0} routines to your plan': '{0} rotinas adicionadas ao seu plano',+ 'this isn’t an openGym plan file': 'este não é um arquivo de plano do openGym',+ 'This screen could not be drawn. Your data is safe on this device.': 'Não foi possível exibir esta tela. Seus dados estão seguros neste dispositivo.',+ 'From your log:': 'Do seu registro:',+ 'Enter a weight and 1–{0} reps — beyond that an estimate is guesswork.': 'Informe um peso e de 1 a {0} repetições — acima disso, a estimativa é apenas um palpite.',+ 'Hold logged': 'Isometria registrada',+ 'Work up through a rep range at the same weight. Reach the top of the range in every set and the weight goes up, reps back to the bottom.': 'Avance por uma faixa de repetições com o mesmo peso. Ao atingir o topo da faixa em todas as séries, o peso aumenta e as repetições voltam ao mínimo.',+ 'Nothing logged yet — this session sets the baseline.': 'Ainda não há nada registrado — esta sessão define o ponto de partida.',+ 'Reminds you at this time on days that have a routine planned.': 'Lembra você neste horário nos dias em que há uma rotina planejada.',+ 'Each profile keeps its own plan, workouts & body weight.': 'Cada perfil mantém seu próprio plano, seus treinos e seu peso corporal.',+ 'Short {0} sessions in a row — back off to {1}s and build up again.': '{0} sessões seguidas abaixo da meta — reduza para {1} s e volte a progredir.',+ 'Top of the rep range in every set — {0} {1} more, back to {2} reps.': 'Topo da faixa de repetições em todas as séries — aumente {0} {1} e volte para {2} repetições.',+ 'Missed reps {0} sessions running — reset to {1} {2} and work back up.': 'Repetições não concluídas em {0} sessões seguidas — volte para {1} {2} e progrida novamente.',+ 'Missed reps — reset to {0} {1} and work back up.': 'Repetições não concluídas — volte para {0} {1} e progrida novamente.',+ 'Missed reps last time — same weight again ({0} of {1} to go).': 'Você não concluiu as repetições na última vez — mantenha o mesmo peso (faltam {0} de {1}).',+ '{0} sets bring an {1} with them — switch on Effort per set in Settings to see it.': '{0} séries incluem um {1} — ative “Esforço por série” nas Configurações para exibi-lo.',+ 'RIR counts the reps you left; RPE reads the same effort off a 10-point scale — so RPE ≈ 10 − RIR. Pick the one you already think in.': 'O RIR conta as repetições que você ainda conseguiria fazer; o RPE representa o mesmo esforço em uma escala de 10 — portanto, RPE ≈ 10 − RIR. Escolha a escala que você já usa.',+ 'The highlighted row is where most working sets land. Sets you have already logged keep their own scale, and nothing else reads the value — progression and estimated 1RM are unaffected.': 'A linha destacada representa a maioria das séries de trabalho. As séries já registradas mantêm sua escala, e nenhum outro recurso usa esse valor — a progressão e o 1RM estimado não são afetados.',+ 'Effort per set is switched off — turn it on in Settings to keep rating.': 'O esforço por série está desativado — ative-o nas Configurações para continuar avaliando.',+ 'No weight to enter — just log the reps.': 'Não é preciso informar peso — registre apenas as repetições.',+ 'Reps climb by one whenever every set was clean. Set a ceiling to add sets instead of reps forever.': 'As repetições aumentam em uma quando todas as séries são concluídas. Defina um limite para adicionar séries em vez de aumentar repetições indefinidamente.',+ '{0} reps in every set — add a set and go back to {1}.': '{0} repetições em todas as séries — adicione uma série e volte para {1}.',+ 'You still log the total: {0} is {1} per side.': 'Você ainda registra o total: {0} corresponde a {1} de cada lado.',+ 'Two straight sets plus a final set taken to failure. Beat the target on that set and the weight goes up — double if you double the reps. One failure resets 10 %.': 'Duas séries normais mais uma série final até a falha. Se você superar a meta nessa série, o peso aumenta — em dobro se você dobrar as repetições. Uma falha reduz 10%.',+ 'Reps climb to {0}, then a set is added and the reps start over. At {1} sets it asks you to add weight instead.': 'As repetições aumentam até {0}; depois, uma série é adicionada e as repetições recomeçam. Ao chegar a {1} séries, o app sugere adicionar peso.'+}diff --git a/frontend/src/views/Workout.remove.test.jsx b/frontend/src/views/Workout.remove.test.jsxindex 77516cb4d..2b50bf830 100644--- a/frontend/src/views/Workout.remove.test.jsx+++ b/frontend/src/views/Workout.remove.test.jsx@@ -110,8 +110,8 @@ describe('remove-exercise locale coverage', () => {]const packs = import.meta.glob('../locales/*.js', { eager: true, import: 'default' })- it('defines every new prompt in all eleven locale packs', () => {- expect(Object.keys(packs)).toHaveLength(11)+ it('defines every new prompt in all twelve locale packs', () => {+ expect(Object.keys(packs)).toHaveLength(12)Object.entries(packs).forEach(([path, pack]) => {required.forEach(key => expect(pack, `${path} is missing ${key}`).toHaveProperty(key))})diff --git a/website/about.html b/website/about.htmlindex b76741965..ecf042e6a 100644--- a/website/about.html+++ b/website/about.html@@ -70,7 +70,7 @@<p>Then friends wanted in. That brought passkey profiles — sign in with your fingerprint,no passwords, everyone's data separate — and sync, so the log survives any phone.Somewhere along the way the little page got rewritten into a proper React app, learned- 12 languages, grew a muscle map that reads three ways — where the volume went, what is+ 13 languages, grew a muscle map that reads three ways — where the volume went, what isstill recovering, and what each muscle is actually strong at — plus importers forFitNotes, Strong, Hevy and Apple Health, and finally became a native Android app you caninstall from this site.</p>diff --git a/website/index.html b/website/index.htmlindex 15cfb5466..8362cd1f1 100644--- a/website/index.html+++ b/website/index.html@@ -112,7 +112,7 @@<div class="feat"><div class="ic">🎯</div><h3>Effort per set</h3><p>Rate a set as RIR or RPE — whichever scale you already think in. Optional, and every set keeps the scale it was logged with.</p></div><div class="feat"><div class="ic">☀️</div><h3>Screen stays awake</h3><p>No unlocking the phone between sets. The screen stays lit while a workout runs, and lets go the moment you finish.</p></div><div class="feat"><div class="ic">📥</div><h3>Bring your history</h3><p>Import from FitNotes, Strong, Hevy — including the RPE they recorded — or body weight straight out of an Apple Health export.</p></div>- <div class="feat"><div class="ic">🌍</div><h3>12 languages</h3><p>Full UI translation, exercise instructions in 10 languages, loaded on demand.</p></div>+ <div class="feat"><div class="ic">🌍</div><h3>13 languages</h3><p>Full UI translation, exercise instructions in 10 languages, loaded on demand.</p></div><div class="feat"><div class="ic">🔑</div><h3>Passkeys, not passwords</h3><p>Self-hosted profiles sign in with Face ID / fingerprint. Each person's data stays their own.</p></div><div class="feat"><div class="ic">🎨</div><h3>Designed, not assembled</h3><p>Light & dark themes, 8 accent colors, a hand-drawn icon set. Looks the same on every phone.</p></div><div class="feat"><div class="ic">🔥</div><h3>Warm-up sets</h3><p>Mark the ramp-up rows as warm-ups and they stay out of your 1RM, your progression and the fatigue map — present in the session, absent from the numbers.</p></div>@@ -209,7 +209,7 @@<div class="stat"><b data-gh="forks-n">–</b><span>forks</span></div><div class="stat"><b data-gh="issues-n">–</b><span>open issues</span></div><div class="stat"><b>1,324</b><span>exercises</span></div>- <div class="stat"><b>12</b><span>languages</span></div>+ <div class="stat"><b>13</b><span>languages</span></div></div><div class="hero-btns" style="justify-content:flex-start;margin-top:24px"><a class="btn ghost" href="https://gitlab.com/DuarteSantos8/opengym" rel="noopener">openGym on GitLab</a>