Self hosted FLOSS fitness/workout, nutrition and weight tracker
Add a comment to the generated arb translation file
Roland Geiderce641ef99864
diff --git a/wger/core/management/commands/extract-i18n.py b/wger/core/management/commands/extract-i18n.pyindex d6e3aef6e..c3e1d3017 100644--- a/wger/core/management/commands/extract-i18n.py+++ b/wger/core/management/commands/extract-i18n.py@@ -98,6 +98,9 @@ class Command(BaseCommand):out = ''for i in data:out += f'"{cleanup_name(i.__str__())}": "{i}",\n'+ out += f'"@{cleanup_name(i.__str__())}": {{ \n'+ out += f'"description": "Generated entry for translation for server strings"\n'+ out += '},\n'f.write(out)self.stdout.write(self.style.SUCCESS(f'Wrote content to app_en.arb'))