mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
Internationalize strings in template files
This commit is contained in:
1 parent
139db064a9
commit
02cd89b60d
64 files changed
+1331
-815
No files matched your search
@@ -18,16 +18,18 @@
|
||||
#
|
||||
{% endcomment %}
|
||||
|
||||
{% load i18n %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<h2>Diagnostic Results</h2>
|
||||
<h2>{% trans "Diagnostic Results" %}</h2>
|
||||
|
||||
<h3>Module: {{ module_name }}</h3>
|
||||
<h3>{% blocktrans %}Module: {{ module_name }}{% endblocktrans %}</h3>
|
||||
|
||||
{% if results %}
|
||||
{% include "diagnostics_results.html" with results=results %}
|
||||
{% else %}
|
||||
<p>This module does not support diagnostics</p>
|
||||
{% endif %}
|
||||
{% if results %}
|
||||
{% include "diagnostics_results.html" with results=results %}
|
||||
{% else %}
|
||||
<p>{% trans "This module does not support diagnostics" %}</p>
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
||||
Reference in new issue
Block a user