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
@@ -19,32 +19,41 @@
|
||||
{% endcomment %}
|
||||
|
||||
{% load bootstrap %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<h2>Date & Time</h2>
|
||||
<h2>{% trans "Date & Time" %}</h2>
|
||||
|
||||
<p>Network time server is a program that maintians the system time in synchronization with servers on the Internet.</p>
|
||||
<p>
|
||||
{% blocktrans trimmed %}
|
||||
Network time server is a program that maintians the system time
|
||||
in synchronization with servers on the Internet.
|
||||
{% endblocktrans %}
|
||||
</p>
|
||||
|
||||
<h3>Status</h3>
|
||||
<h3>{% trans "Status" %}</h3>
|
||||
|
||||
<p class="running-status-parent">
|
||||
{% if status.is_running %}
|
||||
<span class="running-status active"></span> Network time server is running
|
||||
{% else %}
|
||||
<span class="running-status inactive"></span> Network time server is not running
|
||||
{% endif %}
|
||||
</p>
|
||||
{% include "diagnostics_button.html" with module="datetime" %}
|
||||
<p class="running-status-parent">
|
||||
{% if status.is_running %}
|
||||
<span class="running-status active"></span>
|
||||
{% trans "Network time server is running" %}
|
||||
{% else %}
|
||||
<span class="running-status inactive"></span>
|
||||
{% trans "Network time server is not running" %}
|
||||
{% endif %}
|
||||
</p>
|
||||
{% include "diagnostics_button.html" with module="datetime" %}
|
||||
|
||||
<h3>Configuration</h3>
|
||||
<h3>{% trans "Configuration" %}</h3>
|
||||
|
||||
<form class="form" method="post">
|
||||
{% csrf_token %}
|
||||
<form class="form" method="post">
|
||||
{% csrf_token %}
|
||||
|
||||
{{ form|bootstrap }}
|
||||
{{ form|bootstrap }}
|
||||
|
||||
<input type="submit" class="btn btn-primary" value="Update setup"/>
|
||||
</form>
|
||||
<input type="submit" class="btn btn-primary"
|
||||
value="{% trans "Update setup" %}"/>
|
||||
</form>
|
||||
|
||||
{% endblock %}
|
||||
Reference in new issue
Block a user