Self hosted FLOSS fitness/workout, nutrition and weight tracker
Translate the custom persmissions for gym objects
Roland Geiderfa465e2f3b0c
diff --git a/wger/core/models.py b/wger/core/models.pyindex 8518b934f..d53d2dfcb 100644--- a/wger/core/models.py+++ b/wger/core/models.py@@ -489,9 +489,9 @@ class Gym(models.Model):class Meta:permissions = (- ("gym_trainer", "Trainer, can see the users for a gym"),- ("manage_gym", "Admin, can manage users for a gym"),- ("manage_gyms", "Admin, can administrate the different gyms"),+ ("gym_trainer", _("Trainer, can see the users for a gym")),+ ("manage_gym", _("Admin, can manage users for a gym")),+ ("manage_gyms", _("Admin, can administrate the different gyms")),)ordering = ["name", ]