Custom exercises: create your own with name + body part

Users can add movements missing from the catalogue (issue #11) from the
exercise picker or the Exercises tab. Custom exercises live in synced
state (S.customEx) and are merged into the exercise index, so routines,
supersets, logging, PRs, stats and history all work unchanged. The
animation stays blank by design. Editable and deletable from the detail
sheet; deleting keeps logged history readable by stamping the name into
past entries. Translated into all 12 UI languages.

Closes #11
This commit is contained in:
Duarte Santos committed 2026-07-22 00:26:16 +02:00
1 parent 93bd4e3850
commit 0cefcb3636
21 files changed
+355 -34

No files matched your search

+21 -1
View File
@@ -326,5 +326,25 @@ export default {
'rear deltoids': 'hintere Schulter', 'rhomboids': 'Rhomboiden', 'rotator cuff': 'Rotatorenmanschette',
'shins': 'Schienbeine', 'soleus': 'Schollenmuskel', 'sternocleidomastoid': 'Kopfwender',
'trapezius': 'Trapezmuskel', 'upper chest': 'obere Brust', 'wrist extensors': 'Handstrecker',
'wrist flexors': 'Handbeuger', 'wrists': 'Handgelenke'
'wrist flexors': 'Handbeuger', 'wrists': 'Handgelenke',
// --- custom exercises (#11) ---
'Create your own exercise': 'Eigene Übung erstellen',
'Edit custom exercise': 'Eigene Übung bearbeiten',
'Name it and pick a body part — it behaves like any other exercise, just without an animation.': 'Name und Körperpartie festlegen — die Übung verhält sich wie jede andere, nur ohne Animation.',
'Exercise name': 'Übungsname',
'name + body part, no animation': 'Name + Körperpartie, ohne Animation',
'Create exercise': 'Übung erstellen',
'Give it a name': 'Gib ihr einen Namen',
'Pick a body part': 'Wähle eine Körperpartie',
'“{0}” already exists': '„{0}“ existiert bereits',
'“{0}” created ✓': '„{0}“ erstellt ✓',
'Cardio exercises log time + speed instead of weight × reps.': 'Cardio-Übungen erfassen Zeit + Tempo statt Gewicht × Wdh.',
'custom': 'eigene',
'Edit': 'Bearbeiten',
'Saved ✓': 'Gespeichert ✓',
'Delete “{0}”?': '„{0}“ löschen?',
'It will be removed from your routines. Already-logged workouts keep their sets.': 'Sie wird aus deinen Routinen entfernt. Bereits geloggte Workouts behalten ihre Sätze.',
'Exercise deleted': 'Übung gelöscht',
'Finish your current workout first': 'Beende zuerst dein laufendes Workout'
}
+21 -1
View File
@@ -308,5 +308,25 @@ export default {
'rear deltoids': 'deltoides posterior', 'rhomboids': 'romboides', 'rotator cuff': 'manguito rotador',
'shins': 'espinillas', 'soleus': 'sóleo', 'sternocleidomastoid': 'esternocleidomastoideo',
'trapezius': 'trapecio', 'upper chest': 'pecho superior', 'wrist extensors': 'extensores de muñeca',
'wrist flexors': 'flexores de muñeca', 'wrists': 'muñecas'
'wrist flexors': 'flexores de muñeca', 'wrists': 'muñecas',
// --- custom exercises (#11) ---
'Create your own exercise': 'Crea tu propio ejercicio',
'Edit custom exercise': 'Editar ejercicio propio',
'Name it and pick a body part — it behaves like any other exercise, just without an animation.': 'Ponle nombre y elige una parte del cuerpo — funciona como cualquier otro ejercicio, solo que sin animación.',
'Exercise name': 'Nombre del ejercicio',
'name + body part, no animation': 'nombre + parte del cuerpo, sin animación',
'Create exercise': 'Crear ejercicio',
'Give it a name': 'Ponle un nombre',
'Pick a body part': 'Elige una parte del cuerpo',
'“{0}” already exists': '«{0}» ya existe',
'“{0}” created ✓': '«{0}» creado ✓',
'Cardio exercises log time + speed instead of weight × reps.': 'Los ejercicios de cardio registran tiempo + velocidad en vez de peso × reps.',
'custom': 'propio',
'Edit': 'Editar',
'Saved ✓': 'Guardado ✓',
'Delete “{0}”?': '¿Eliminar «{0}»?',
'It will be removed from your routines. Already-logged workouts keep their sets.': 'Se quitará de tus rutinas. Los entrenamientos ya registrados conservan sus series.',
'Exercise deleted': 'Ejercicio eliminado',
'Finish your current workout first': 'Termina primero tu entrenamiento actual'
}
+21 -1
View File
@@ -308,5 +308,25 @@ export default {
'rear deltoids': 'deltoïdes postérieurs', 'rhomboids': 'rhomboïdes', 'rotator cuff': 'coiffe des rotateurs',
'shins': 'tibias', 'soleus': 'soléaire', 'sternocleidomastoid': 'sterno-cléido-mastoïdien',
'trapezius': 'trapèze', 'upper chest': 'haut des pectoraux', 'wrist extensors': 'extenseurs du poignet',
'wrist flexors': 'fléchisseurs du poignet', 'wrists': 'poignets'
'wrist flexors': 'fléchisseurs du poignet', 'wrists': 'poignets',
// --- custom exercises (#11) ---
'Create your own exercise': 'Créer votre propre exercice',
'Edit custom exercise': 'Modifier l’exercice personnalisé',
'Name it and pick a body part — it behaves like any other exercise, just without an animation.': 'Nommez-le et choisissez une partie du corps — il se comporte comme tout autre exercice, mais sans animation.',
'Exercise name': 'Nom de l’exercice',
'name + body part, no animation': 'nom + partie du corps, sans animation',
'Create exercise': 'Créer l’exercice',
'Give it a name': 'Donnez-lui un nom',
'Pick a body part': 'Choisissez une partie du corps',
'“{0}” already exists': '« {0} » existe déjà',
'“{0}” created ✓': '« {0} » créé ✓',
'Cardio exercises log time + speed instead of weight × reps.': 'Les exercices cardio enregistrent temps + vitesse au lieu de poids × reps.',
'custom': 'perso',
'Edit': 'Modifier',
'Saved ✓': 'Enregistré ✓',
'Delete “{0}”?': 'Supprimer « {0} » ?',
'It will be removed from your routines. Already-logged workouts keep their sets.': 'Il sera retiré de vos routines. Les séances déjà enregistrées gardent leurs séries.',
'Exercise deleted': 'Exercice supprimé',
'Finish your current workout first': 'Terminez d’abord votre séance en cours'
}
+21 -1
View File
@@ -308,5 +308,25 @@ export default {
'rear deltoids': 'पीछे के डेल्टॉइड', 'rhomboids': 'रॉम्बॉइड', 'rotator cuff': 'रोटेटर कफ',
'shins': 'पिंडली की हड्डी', 'soleus': 'सोलियस', 'sternocleidomastoid': 'स्टर्नोक्लाइडोमैस्टॉइड',
'trapezius': 'ट्रेपेज़ियस', 'upper chest': 'ऊपरी छाती', 'wrist extensors': 'कलाई विस्तारक',
'wrist flexors': 'कलाई मोड़क', 'wrists': 'कलाइयाँ'
'wrist flexors': 'कलाई मोड़क', 'wrists': 'कलाइयाँ',
// --- custom exercises (#11) ---
'Create your own exercise': 'अपनी एक्सरसाइज़ बनाएं',
'Edit custom exercise': 'कस्टम एक्सरसाइज़ संपादित करें',
'Name it and pick a body part — it behaves like any other exercise, just without an animation.': 'नाम दें और बॉडी पार्ट चुनें — यह बाकी एक्सरसाइज़ की तरह ही काम करती है, बस एनिमेशन नहीं होता।',
'Exercise name': 'एक्सरसाइज़ का नाम',
'name + body part, no animation': 'नाम + बॉडी पार्ट, बिना एनिमेशन',
'Create exercise': 'एक्सरसाइज़ बनाएं',
'Give it a name': 'कोई नाम दें',
'Pick a body part': 'एक बॉडी पार्ट चुनें',
'“{0}” already exists': '“{0}” पहले से मौजूद है',
'“{0}” created ✓': '“{0}” बन गई ✓',
'Cardio exercises log time + speed instead of weight × reps.': 'कार्डियो एक्सरसाइज़ में वज़न × रेप्स की जगह समय + गति दर्ज होती है।',
'custom': 'कस्टम',
'Edit': 'संपादित करें',
'Saved ✓': 'सहेजा गया ✓',
'Delete “{0}”?': '“{0}” हटाएं?',
'It will be removed from your routines. Already-logged workouts keep their sets.': 'यह आपकी रूटीन से हट जाएगी। दर्ज की गई वर्कआउट में सेट बने रहेंगे।',
'Exercise deleted': 'एक्सरसाइज़ हटाई गई',
'Finish your current workout first': 'पहले चल रही वर्कआउट पूरी करें'
}
+21 -1
View File
@@ -308,5 +308,25 @@ export default {
'rear deltoids': 'deltoidi posteriori', 'rhomboids': 'romboidi', 'rotator cuff': 'cuffia dei rotatori',
'shins': 'stinchi', 'soleus': 'soleo', 'sternocleidomastoid': 'sternocleidomastoideo',
'trapezius': 'trapezio', 'upper chest': 'petto alto', 'wrist extensors': 'estensori del polso',
'wrist flexors': 'flessori del polso', 'wrists': 'polsi'
'wrist flexors': 'flessori del polso', 'wrists': 'polsi',
// --- custom exercises (#11) ---
'Create your own exercise': 'Crea il tuo esercizio',
'Edit custom exercise': 'Modifica esercizio personalizzato',
'Name it and pick a body part — it behaves like any other exercise, just without an animation.': 'Dagli un nome e scegli una parte del corpo — funziona come qualsiasi altro esercizio, solo senza animazione.',
'Exercise name': 'Nome esercizio',
'name + body part, no animation': 'nome + parte del corpo, senza animazione',
'Create exercise': 'Crea esercizio',
'Give it a name': 'Dagli un nome',
'Pick a body part': 'Scegli una parte del corpo',
'“{0}” already exists': '«{0}» esiste già',
'“{0}” created ✓': '«{0}» creato ✓',
'Cardio exercises log time + speed instead of weight × reps.': 'Gli esercizi cardio registrano tempo + velocità invece di peso × rip.',
'custom': 'personale',
'Edit': 'Modifica',
'Saved ✓': 'Salvato ✓',
'Delete “{0}”?': 'Eliminare «{0}»?',
'It will be removed from your routines. Already-logged workouts keep their sets.': 'Verrà rimosso dalle tue routine. Gli allenamenti già registrati mantengono le loro serie.',
'Exercise deleted': 'Esercizio eliminato',
'Finish your current workout first': 'Prima concludi l’allenamento in corso'
}
+21 -1
View File
@@ -308,5 +308,25 @@ export default {
'rear deltoids': '후면 삼각근', 'rhomboids': '능형근', 'rotator cuff': '회전근개',
'shins': '정강이', 'soleus': '가자미근', 'sternocleidomastoid': '흉쇄유돌근',
'trapezius': '승모근', 'upper chest': '윗가슴', 'wrist extensors': '손목 신전근',
'wrist flexors': '손목 굴곡근', 'wrists': '손목'
'wrist flexors': '손목 굴곡근', 'wrists': '손목',
// --- custom exercises (#11) ---
'Create your own exercise': '나만의 운동 만들기',
'Edit custom exercise': '커스텀 운동 편집',
'Name it and pick a body part — it behaves like any other exercise, just without an animation.': '이름을 정하고 부위를 선택하세요 — 애니메이션만 없을 뿐 다른 운동과 똑같이 사용됩니다.',
'Exercise name': '운동 이름',
'name + body part, no animation': '이름 + 부위, 애니메이션 없음',
'Create exercise': '운동 만들기',
'Give it a name': '이름을 입력하세요',
'Pick a body part': '부위를 선택하세요',
'“{0}” already exists': '“{0}”은(는) 이미 있습니다',
'“{0}” created ✓': '“{0}” 생성됨 ✓',
'Cardio exercises log time + speed instead of weight × reps.': '유산소 운동은 무게 × 횟수 대신 시간 + 속도를 기록합니다.',
'custom': '커스텀',
'Edit': '편집',
'Saved ✓': '저장됨 ✓',
'Delete “{0}”?': '“{0}” 삭제할까요?',
'It will be removed from your routines. Already-logged workouts keep their sets.': '루틴에서 제거됩니다. 이미 기록된 운동은 세트를 유지합니다.',
'Exercise deleted': '운동 삭제됨',
'Finish your current workout first': '진행 중인 운동을 먼저 마치세요'
}
+21 -1
View File
@@ -308,5 +308,25 @@ export default {
'rear deltoids': 'tylne aktony barków', 'rhomboids': 'równoległoboczne', 'rotator cuff': 'stożek rotatorów',
'shins': 'piszczele', 'soleus': 'płaszczkowaty', 'sternocleidomastoid': 'mostkowo-obojczykowo-sutkowy',
'trapezius': 'czworoboczny', 'upper chest': 'górna klatka', 'wrist extensors': 'prostowniki nadgarstka',
'wrist flexors': 'zginacze nadgarstka', 'wrists': 'nadgarstki'
'wrist flexors': 'zginacze nadgarstka', 'wrists': 'nadgarstki',
// --- custom exercises (#11) ---
'Create your own exercise': 'Stwórz własne ćwiczenie',
'Edit custom exercise': 'Edytuj własne ćwiczenie',
'Name it and pick a body part — it behaves like any other exercise, just without an animation.': 'Nadaj nazwę i wybierz partię ciała — działa jak każde inne ćwiczenie, tylko bez animacji.',
'Exercise name': 'Nazwa ćwiczenia',
'name + body part, no animation': 'nazwa + partia ciała, bez animacji',
'Create exercise': 'Utwórz ćwiczenie',
'Give it a name': 'Nadaj mu nazwę',
'Pick a body part': 'Wybierz partię ciała',
'“{0}” already exists': '„{0}” już istnieje',
'“{0}” created ✓': '„{0}” utworzono ✓',
'Cardio exercises log time + speed instead of weight × reps.': 'Ćwiczenia cardio zapisują czas + prędkość zamiast ciężaru × powt.',
'custom': 'własne',
'Edit': 'Edytuj',
'Saved ✓': 'Zapisano ✓',
'Delete “{0}”?': 'Usunąć „{0}”?',
'It will be removed from your routines. Already-logged workouts keep their sets.': 'Zostanie usunięte z twoich planów. Zapisane treningi zachowają swoje serie.',
'Exercise deleted': 'Ćwiczenie usunięte',
'Finish your current workout first': 'Najpierw zakończ bieżący trening'
}
+21 -1
View File
@@ -308,5 +308,25 @@ export default {
'rear deltoids': 'deltoides posteriores', 'rhomboids': 'romboides', 'rotator cuff': 'coifa dos rotadores',
'shins': 'canelas', 'soleus': 'solear', 'sternocleidomastoid': 'esternocleidomastóideo',
'trapezius': 'trapézio', 'upper chest': 'peito superior', 'wrist extensors': 'extensores do punho',
'wrist flexors': 'flexores do punho', 'wrists': 'punhos'
'wrist flexors': 'flexores do punho', 'wrists': 'punhos',
// --- custom exercises (#11) ---
'Create your own exercise': 'Cria o teu próprio exercício',
'Edit custom exercise': 'Editar exercício personalizado',
'Name it and pick a body part — it behaves like any other exercise, just without an animation.': 'Dá-lhe um nome e escolhe uma parte do corpo — funciona como qualquer outro exercício, só que sem animação.',
'Exercise name': 'Nome do exercício',
'name + body part, no animation': 'nome + parte do corpo, sem animação',
'Create exercise': 'Criar exercício',
'Give it a name': 'Dá-lhe um nome',
'Pick a body part': 'Escolhe uma parte do corpo',
'“{0}” already exists': '«{0}» já existe',
'“{0}” created ✓': '«{0}» criado ✓',
'Cardio exercises log time + speed instead of weight × reps.': 'Exercícios de cardio registam tempo + velocidade em vez de peso × reps.',
'custom': 'próprio',
'Edit': 'Editar',
'Saved ✓': 'Guardado ✓',
'Delete “{0}”?': 'Eliminar «{0}»?',
'It will be removed from your routines. Already-logged workouts keep their sets.': 'Será removido das tuas rotinas. Os treinos já registados mantêm as suas séries.',
'Exercise deleted': 'Exercício eliminado',
'Finish your current workout first': 'Termina primeiro o treino atual'
}
+21 -1
View File
@@ -308,5 +308,25 @@ export default {
'rear deltoids': 'задние дельты', 'rhomboids': 'ромбовидные', 'rotator cuff': 'ротаторная манжета',
'shins': 'голени', 'soleus': 'камбаловидная', 'sternocleidomastoid': 'грудино-ключично-сосцевидная',
'trapezius': 'трапециевидная', 'upper chest': 'верх груди', 'wrist extensors': 'разгибатели запястья',
'wrist flexors': 'сгибатели запястья', 'wrists': 'запястья'
'wrist flexors': 'сгибатели запястья', 'wrists': 'запястья',
// --- custom exercises (#11) ---
'Create your own exercise': 'Создать своё упражнение',
'Edit custom exercise': 'Изменить своё упражнение',
'Name it and pick a body part — it behaves like any other exercise, just without an animation.': 'Задайте название и выберите часть тела — оно работает как любое другое упражнение, только без анимации.',
'Exercise name': 'Название упражнения',
'name + body part, no animation': 'название + часть тела, без анимации',
'Create exercise': 'Создать упражнение',
'Give it a name': 'Задайте название',
'Pick a body part': 'Выберите часть тела',
'“{0}” already exists': '«{0}» уже существует',
'“{0}” created ✓': '«{0}» создано ✓',
'Cardio exercises log time + speed instead of weight × reps.': 'Кардио-упражнения записывают время + скорость вместо веса × повторов.',
'custom': 'своё',
'Edit': 'Изменить',
'Saved ✓': 'Сохранено ✓',
'Delete “{0}”?': 'Удалить «{0}»?',
'It will be removed from your routines. Already-logged workouts keep their sets.': 'Оно будет убрано из ваших программ. Записанные тренировки сохранят свои подходы.',
'Exercise deleted': 'Упражнение удалено',
'Finish your current workout first': 'Сначала завершите текущую тренировку'
}
+21 -1
View File
@@ -308,5 +308,25 @@ export default {
'rear deltoids': 'arka omuz', 'rhomboids': 'romboidler', 'rotator cuff': 'rotator manşet',
'shins': 'kaval kemikleri', 'soleus': 'soleus', 'sternocleidomastoid': 'boyun kası',
'trapezius': 'trapez', 'upper chest': 'üst göğüs', 'wrist extensors': 'bilek ekstansörleri',
'wrist flexors': 'bilek fleksörleri', 'wrists': 'bilekler'
'wrist flexors': 'bilek fleksörleri', 'wrists': 'bilekler',
// --- custom exercises (#11) ---
'Create your own exercise': 'Kendi egzersizini oluştur',
'Edit custom exercise': 'Özel egzersizi düzenle',
'Name it and pick a body part — it behaves like any other exercise, just without an animation.': 'Bir ad ver ve bölge seç — animasyon dışında diğer egzersizler gibi çalışır.',
'Exercise name': 'Egzersiz adı',
'name + body part, no animation': 'ad + vücut bölgesi, animasyonsuz',
'Create exercise': 'Egzersiz oluştur',
'Give it a name': 'Bir ad ver',
'Pick a body part': 'Bir vücut bölgesi seç',
'“{0}” already exists': '“{0}” zaten var',
'“{0}” created ✓': '“{0}” oluşturuldu ✓',
'Cardio exercises log time + speed instead of weight × reps.': 'Kardiyo egzersizleri ağırlık × tekrar yerine süre + hız kaydeder.',
'custom': 'özel',
'Edit': 'Düzenle',
'Saved ✓': 'Kaydedildi ✓',
'Delete “{0}”?': '“{0}” silinsin mi?',
'It will be removed from your routines. Already-logged workouts keep their sets.': 'Rutinlerinden kaldırılacak. Kayıtlı antrenmanlar setlerini korur.',
'Exercise deleted': 'Egzersiz silindi',
'Finish your current workout first': 'Önce mevcut antrenmanını bitir'
}
+21 -1
View File
@@ -308,5 +308,25 @@ export default {
'rear deltoids': '三角肌后束', 'rhomboids': '菱形肌', 'rotator cuff': '肩袖',
'shins': '胫部', 'soleus': '比目鱼肌', 'sternocleidomastoid': '胸锁乳突肌',
'trapezius': '斜方肌', 'upper chest': '上胸', 'wrist extensors': '腕伸肌',
'wrist flexors': '腕屈肌', 'wrists': '手腕'
'wrist flexors': '腕屈肌', 'wrists': '手腕',
// --- custom exercises (#11) ---
'Create your own exercise': '创建自己的动作',
'Edit custom exercise': '编辑自定义动作',
'Name it and pick a body part — it behaves like any other exercise, just without an animation.': '起个名字并选择身体部位——它和其他动作一样使用,只是没有动画。',
'Exercise name': '动作名称',
'name + body part, no animation': '名称 + 身体部位,无动画',
'Create exercise': '创建动作',
'Give it a name': '请输入名称',
'Pick a body part': '请选择身体部位',
'“{0}” already exists': '「{0}」已存在',
'“{0}” created ✓': '「{0}」已创建 ✓',
'Cardio exercises log time + speed instead of weight × reps.': '有氧动作记录时间 + 速度,而不是重量 × 次数。',
'custom': '自定义',
'Edit': '编辑',
'Saved ✓': '已保存 ✓',
'Delete “{0}”?': '删除「{0}」?',
'It will be removed from your routines. Already-logged workouts keep their sets.': '将从你的计划中移除。已记录的训练会保留其组数。',
'Exercise deleted': '动作已删除',
'Finish your current workout first': '请先完成当前训练'
}