Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Merge branch 'master' into improve-muscle-recognition-1009

Roland Geiderc5c6bda95275
diff --cc wger/core/management/commands/extract-i18n.py
index 049264cea,8ca4c7f51..0904b005d
--- a/wger/core/management/commands/extract-i18n.py
+++ b/wger/core/management/commands/extract-i18n.py
@@@ -45,10 -50,11 +50,12 @@@ class Command(BaseCommand)
# Collect all translatable items
data = [i for i in ExerciseCategory.objects.all()] \
+ [i for i in Equipment.objects.all()] \
- + [i for i in Muscle.objects.all()] \
+ + [i.name_en for i in Muscle.objects.all() if i.name_en] \
+ [i for i in RepetitionUnit.objects.all()]
+ # + [i for i in Muscle.objects.all()] \
+
+ #
# Django - write to .tpl file
with open('wger/i18n.tpl', 'w') as f:
out = '{% load i18n %}\n'