mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-24 23:25:24 +00:00
localization updates
This commit is contained in:
parent
488b71a68f
commit
159e06221a
11 changed files with 8331 additions and 8522 deletions
|
@ -21,7 +21,7 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<form class="form-signin" method="post" role="form" aria-label="Login form">{% csrf_token %}
|
<form class="form-signin" method="post" role="form" aria-label="Login form">{% csrf_token %}
|
||||||
<h2 class="form-signin-heading">{% trans "Sign In" %}</h2>
|
<h2 class="form-signin-heading">{% trans "Sign In" %}</h2>
|
||||||
<input type="text" class="form-control" name="username" placeholder="{% trans "Login" %}" autocapitalize="none" autocorrect="off" autofocus>
|
<input type="text" class="form-control" name="username" placeholder="{% trans "User" %}" autocapitalize="none" autocorrect="off" autofocus>
|
||||||
<input type="password" class="form-control" name="password" placeholder="{% trans "Password" %}">
|
<input type="password" class="form-control" name="password" placeholder="{% trans "Password" %}">
|
||||||
<input type="hidden" name="next" value="{{ next }}">
|
<input type="hidden" name="next" value="{{ next }}">
|
||||||
<button class="btn btn-lg btn-success btn-block" type="submit">{% trans "Sign In" %}</button>
|
<button class="btn btn-lg btn-success btn-block" type="submit">{% trans "Sign In" %}</button>
|
||||||
|
|
|
@ -1041,7 +1041,7 @@ def clone(request, pk):
|
||||||
}
|
}
|
||||||
messages.error(request, msg)
|
messages.error(request, msg)
|
||||||
elif check_instance:
|
elif check_instance:
|
||||||
msg = _("Instance 'clone_name' already exists!") % {'clone_name': clone_data['name']}
|
msg = _("Instance '%(clone_name)s' already exists!") % {'clone_name': clone_data['name']}
|
||||||
messages.error(request, msg)
|
messages.error(request, msg)
|
||||||
elif not re.match(r'^[a-zA-Z0-9-]+$', clone_data['name']):
|
elif not re.match(r'^[a-zA-Z0-9-]+$', clone_data['name']):
|
||||||
msg = _("Instance name '%(clone_name)s' contains invalid characters!") % {'clone_name': clone_data['name']}
|
msg = _("Instance name '%(clone_name)s' contains invalid characters!") % {'clone_name': clone_data['name']}
|
||||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
Binary file not shown.
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue