1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2025-07-31 12:41:08 +00:00

Language change activation. Fix typos and add new translations

This commit is contained in:
catborise 2020-06-10 15:16:58 +03:00
parent 7bb6bd310b
commit b7fc8a5fea
26 changed files with 2078 additions and 180 deletions

View file

@ -30,7 +30,7 @@ class UserAttributes(models.Model):
user = models.OneToOneField(User, on_delete=models.CASCADE)
can_clone_instances = models.BooleanField(default=True)
max_instances = models.IntegerField(default=2,
help_text="-1 for unlimited. Any integer value",
help_text=_("-1 for unlimited. Any integer value"),
validators=[
MinValueValidator(-1),
])