Merge merge request !2 (exercise catalogue and muscle metadata)
Keeps the ExRx-informed primary/secondary metadata for 223 catalogue
entries and the muscle-group UI, with two fixes to the branch:
- muscles.js dropped metadataOf, the muscleSnapshot fallback. A custom
exercise deleted from the catalogue survives in history only as that
snapshot, so without it those sessions silently stopped counting toward
the body map and Stats — loadOfWorkouts returned {} where main returned
{chest: 1}. Restored and widened to the new primaries/secondaries fields.
- It also replaced the shared isWarmupRow import with a local copy that
only matches the exact string 'warmup'. phaseForSet normalises 'warm-up',
'warm_up', casing and whitespace, so warm-up rows written in any other
spelling would have counted as work here while counting as warm-ups
everywhere else. Restored the import.
Both are covered by new tests. Locale conflicts resolved additively; the
three new muscle-group strings read the same in pt-BR, so they stay
inherited and the inheritance fingerprint is re-baselined.
This commit is contained in:
commit
5762096a5f
25 files changed
+3286
-40
No files matched your search
@@ -618,4 +618,9 @@ export default {
|
||||
'Delete profile?': 'Profil löschen?',
|
||||
'"{0}" and its equipment list will be removed.': '„{0}“ und die zugehörige Geräteliste werden entfernt.',
|
||||
'Filters the exercise library and picker, and flags routine exercises that need something you don’t have in the active profile.': 'Filtert die Übungsbibliothek und die Auswahl und markiert Übungen in Routinen, die Geräte brauchen, die du im aktiven Profil nicht hast.',
|
||||
|
||||
// --- muscle groups ---
|
||||
'Primary muscle groups': 'Primäre Muskelgruppen',
|
||||
'Additional muscle groups': 'Zusätzliche Muskelgruppen',
|
||||
'No explicit muscle group': 'Keine explizite Muskelgruppe'
|
||||
}
|
||||
@@ -601,4 +601,9 @@ export default {
|
||||
'Delete profile?': '¿Eliminar perfil?',
|
||||
'"{0}" and its equipment list will be removed.': '«{0}» y su lista de equipo se eliminarán.',
|
||||
'Filters the exercise library and picker, and flags routine exercises that need something you don’t have in the active profile.': 'Filtra la biblioteca de ejercicios y el selector, y marca los ejercicios de las rutinas que necesitan algo que no tienes en el perfil activo.',
|
||||
|
||||
// --- muscle groups ---
|
||||
'Primary muscle groups': 'Grupos musculares primarios',
|
||||
'Additional muscle groups': 'Grupos musculares adicionales',
|
||||
'No explicit muscle group': 'Sin grupo muscular explícito'
|
||||
}
|
||||
@@ -601,4 +601,9 @@ export default {
|
||||
'Delete profile?': 'Supprimer le profil ?',
|
||||
'"{0}" and its equipment list will be removed.': '« {0} » et sa liste d’équipement seront supprimés.',
|
||||
'Filters the exercise library and picker, and flags routine exercises that need something you don’t have in the active profile.': 'Filtre la bibliothèque d’exercices et le sélecteur, et signale les exercices de routine qui nécessitent quelque chose que tu n’as pas dans le profil actif.',
|
||||
|
||||
// --- muscle groups ---
|
||||
'Primary muscle groups': 'Groupes musculaires principaux',
|
||||
'Additional muscle groups': 'Groupes musculaires supplémentaires',
|
||||
'No explicit muscle group': 'Aucun groupe musculaire explicite'
|
||||
}
|
||||
@@ -601,4 +601,9 @@ export default {
|
||||
'Delete profile?': 'प्रोफ़ाइल हटाएँ?',
|
||||
'"{0}" and its equipment list will be removed.': '“{0}” और उसकी उपकरण सूची हटा दी जाएगी।',
|
||||
'Filters the exercise library and picker, and flags routine exercises that need something you don’t have in the active profile.': 'कसरत लाइब्रेरी और चयनकर्ता को फ़िल्टर करता है, और उन रूटीन कसरतों को चिह्नित करता है जिनके लिए सक्रिय प्रोफ़ाइल में मौजूद न होने वाला उपकरण चाहिए।',
|
||||
|
||||
// --- muscle groups ---
|
||||
'Primary muscle groups': 'प्राथमिक मांसपेशी समूह',
|
||||
'Additional muscle groups': 'अतिरिक्त मांसपेशी समूह',
|
||||
'No explicit muscle group': 'कोई स्पष्ट मांसपेशी समूह नहीं'
|
||||
}
|
||||
@@ -601,4 +601,9 @@ export default {
|
||||
'Delete profile?': 'Eliminare il profilo?',
|
||||
'"{0}" and its equipment list will be removed.': '“{0}” e il suo elenco di attrezzi verranno rimossi.',
|
||||
'Filters the exercise library and picker, and flags routine exercises that need something you don’t have in the active profile.': 'Filtra la libreria degli esercizi e il selettore, e segnala gli esercizi delle routine che richiedono qualcosa che non hai nel profilo attivo.',
|
||||
|
||||
// --- muscle groups ---
|
||||
'Primary muscle groups': 'Gruppi muscolari primari',
|
||||
'Additional muscle groups': 'Gruppi muscolari aggiuntivi',
|
||||
'No explicit muscle group': 'Nessun gruppo muscolare esplicito'
|
||||
}
|
||||
@@ -601,4 +601,9 @@ export default {
|
||||
'Delete profile?': '프로필을 삭제할까요?',
|
||||
'"{0}" and its equipment list will be removed.': '‘{0}’과(와) 해당 장비 목록이 삭제됩니다.',
|
||||
'Filters the exercise library and picker, and flags routine exercises that need something you don’t have in the active profile.': '운동 라이브러리와 선택기를 필터링하고, 활성 프로필에 없는 장비가 필요한 루틴 운동을 표시합니다.',
|
||||
|
||||
// --- muscle groups ---
|
||||
'Primary muscle groups': '주요 근육 그룹',
|
||||
'Additional muscle groups': '추가 근육군',
|
||||
'No explicit muscle group': '명시적 근육군 없음'
|
||||
}
|
||||
@@ -601,4 +601,9 @@ export default {
|
||||
'Delete profile?': 'Usunąć profil?',
|
||||
'"{0}" and its equipment list will be removed.': '„{0}” i jego lista sprzętu zostaną usunięte.',
|
||||
'Filters the exercise library and picker, and flags routine exercises that need something you don’t have in the active profile.': 'Filtruje bibliotekę ćwiczeń i selektor oraz oznacza ćwiczenia w rutynach, które wymagają czegoś, czego nie masz w aktywnym profilu.',
|
||||
|
||||
// --- muscle groups ---
|
||||
'Primary muscle groups': 'Podstawowe grupy mięśniowe',
|
||||
'Additional muscle groups': 'Dodatkowe grupy mięśniowe',
|
||||
'No explicit muscle group': 'Brak jawnej grupy mięśniowej'
|
||||
}
|
||||
@@ -601,4 +601,9 @@ export default {
|
||||
'Delete profile?': 'Eliminar perfil?',
|
||||
'"{0}" and its equipment list will be removed.': '«{0}» e a respetiva lista de equipamento serão removidos.',
|
||||
'Filters the exercise library and picker, and flags routine exercises that need something you don’t have in the active profile.': 'Filtra a biblioteca de exercícios e o seletor, e assinala os exercícios das rotinas que precisam de algo que não tens no perfil ativo.',
|
||||
|
||||
// --- muscle groups ---
|
||||
'Primary muscle groups': 'Grupos musculares primários',
|
||||
'Additional muscle groups': 'Grupos musculares adicionais',
|
||||
'No explicit muscle group': 'Nenhum grupo muscular explícito'
|
||||
}
|
||||
@@ -601,4 +601,9 @@ export default {
|
||||
'Delete profile?': 'Удалить профиль?',
|
||||
'"{0}" and its equipment list will be removed.': '«{0}» и его список инвентаря будут удалены.',
|
||||
'Filters the exercise library and picker, and flags routine exercises that need something you don’t have in the active profile.': 'Фильтрует библиотеку упражнений и выбор, а также отмечает упражнения в программах, для которых нужно то, чего нет в активном профиле.',
|
||||
|
||||
// --- muscle groups ---
|
||||
'Primary muscle groups': 'Основные группы мышц',
|
||||
'Additional muscle groups': 'Дополнительные мышечные группы',
|
||||
'No explicit muscle group': 'Без явной мышечной группы'
|
||||
}
|
||||
@@ -601,4 +601,9 @@ export default {
|
||||
'Delete profile?': 'Profil silinsin mi?',
|
||||
'"{0}" and its equipment list will be removed.': '“{0}” ve ekipman listesi kaldırılacak.',
|
||||
'Filters the exercise library and picker, and flags routine exercises that need something you don’t have in the active profile.': 'Hareket kitaplığını ve seçiciyi filtreler, ayrıca aktif profilinde olmayan bir şeye ihtiyaç duyan rutin hareketlerini işaretler.',
|
||||
|
||||
// --- muscle groups ---
|
||||
'Primary muscle groups': 'Birincil kas grupları',
|
||||
'Additional muscle groups': 'Ek kas grupları',
|
||||
'No explicit muscle group': 'Açık kas grubu yok'
|
||||
}
|
||||
@@ -601,4 +601,9 @@ export default {
|
||||
'Delete profile?': '删除配置?',
|
||||
'"{0}" and its equipment list will be removed.': '“{0}”及其器械清单将被删除。',
|
||||
'Filters the exercise library and picker, and flags routine exercises that need something you don’t have in the active profile.': '筛选动作库和选择器,并标记训练计划中需要当前配置里没有的器械的动作。',
|
||||
|
||||
// --- muscle groups ---
|
||||
'Primary muscle groups': '主要肌群',
|
||||
'Additional muscle groups': '其他肌群',
|
||||
'No explicit muscle group': '无明确肌群'
|
||||
}
|
||||
Reference in new issue
Block a user