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:
parent
7bb6bd310b
commit
b7fc8a5fea
26 changed files with 2078 additions and 180 deletions
|
|
@ -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),
|
||||
])
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
<div class="col-lg-12">
|
||||
{% include 'create_user_block.html' %}
|
||||
<div class="float-right search">
|
||||
<input id="filter" class="form-control" type="text" placeholder="Search">
|
||||
<input id="filter" class="form-control" type="text" placeholder="{% trans 'Search' %}">
|
||||
</div>
|
||||
<h2 class="page-header">{% trans "Users" %}</h1>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
<div class="form-group row">
|
||||
<label class="col-sm-4 col-form-label">{% trans "Name" %}</label>
|
||||
<div class="col-sm-6">
|
||||
<input type="text" class="form-control" name="name" placeholder="john" required pattern="[a-z0-9]+">
|
||||
<input type="text" class="form-control" name="name" placeholder="{% trans "john" %}" required pattern="[a-z0-9]+">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue