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.

fix(i18n): keep translation tooling portable

mzspicolicf7b3496a5bf
diff --git a/scripts/translate-pt-br-stage.mjs b/scripts/translate-pt-br-stage.mjs
index 1eb437056..695c6454a 100644
--- a/scripts/translate-pt-br-stage.mjs
+++ b/scripts/translate-pt-br-stage.mjs
@@ -9,7 +9,7 @@ const root = join(dirname(fileURLToPath(import.meta.url)), '..')
const sourcePath = join(root, 'scripts', 'instruction-sources', 'pt-BR.json')
const glossaryPath = join(root, 'scripts', 'instruction-sources', 'GLOSSARY.md')
const exercisesPath = join(root, 'frontend', 'src', 'lib', 'exercises-data.js')
-const claude = '/Users/matheus/.local/bin/claude'
+const claude = process.env.CLAUDE_BIN || 'claude'
const option = name => process.argv.find(arg => arg.startsWith(`--${name}=`))?.split('=').slice(1).join('=')
const bodyPart = option('body-part')