mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-24 15:15:22 +00:00
errors_block: add i18n translate
This commit is contained in:
parent
f72d969c25
commit
a59dcde688
1 changed files with 2 additions and 1 deletions
|
@ -1,3 +1,4 @@
|
|||
{% load i18n %}
|
||||
{% if error_messages %}
|
||||
{% for error in error_messages %}
|
||||
<!-- Error Messages -->
|
||||
|
@ -5,7 +6,7 @@
|
|||
<div class="col-lg-12">
|
||||
<div class="alert alert-danger alert-dismissible" role="danger">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
<strong>Error:</strong> {{ error }}
|
||||
<strong>{% trans 'Error' %}:</strong> {{ error }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue