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,8 +18,9 @@
|
||||
#
|
||||
{% endcomment %}
|
||||
|
||||
{% load static %}
|
||||
{% load bootstrap %}
|
||||
{% load i18n %}
|
||||
{% load static %}
|
||||
|
||||
{% block page_head %}
|
||||
<style type="text/css">
|
||||
@@ -46,14 +47,18 @@
|
||||
</p>
|
||||
|
||||
<h3 class="text-center">
|
||||
Congratulations! Your FreedomBox is up and running!
|
||||
{% trans "Congratulations! Your FreedomBox is up and running!" %}
|
||||
</h3>
|
||||
|
||||
<p class="text-center">Please provide the following basic
|
||||
information to complete the setup process.</p>
|
||||
<p class="text-center">
|
||||
{% blocktrans trimmed %}
|
||||
Please provide the following basic information to complete the
|
||||
setup process.
|
||||
{% endblocktrans %}
|
||||
</p>
|
||||
|
||||
<p class="text-center">
|
||||
<a href="{% url 'first_boot:state1' %}"
|
||||
class="btn btn-primary btn-large">Next</a>
|
||||
class="btn btn-primary btn-large">{% trans "Next" %}</a>
|
||||
</p>
|
||||
{% endblock %}
|
||||
@@ -18,8 +18,9 @@
|
||||
#
|
||||
{% endcomment %}
|
||||
|
||||
{% load static %}
|
||||
{% load bootstrap %}
|
||||
{% load i18n %}
|
||||
{% load static %}
|
||||
|
||||
{% block add_nav_and_login %}
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
@@ -35,17 +36,24 @@
|
||||
<div class="col-md-6 col-md-offset-3">
|
||||
{% include 'messages.html' %}
|
||||
|
||||
<h2>Administrator Account</h2>
|
||||
<h2>{% trans "Administrator Account" %}</h2>
|
||||
|
||||
<p>Choose a username and password to access this web interface.
|
||||
The password can be changed and other users can be added
|
||||
later. An LDAP user with administrative privileges (sudo) is
|
||||
also created.</p>
|
||||
<p>
|
||||
{% blocktrans trimmed %}
|
||||
Choose a username and password to access this web interface.
|
||||
The password can be changed and other users can be added
|
||||
later. An LDAP user with administrative privileges (sudo) is
|
||||
also created.
|
||||
{% endblocktrans %}
|
||||
</p>
|
||||
|
||||
<form class="form" method="post">
|
||||
{% csrf_token %}
|
||||
|
||||
{{ form|bootstrap }}
|
||||
<input type="submit" class="btn btn-primary" value="Box it up!"/>
|
||||
|
||||
<input type="submit" class="btn btn-primary"
|
||||
value="{% trans "Box it up!" %}"/>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -19,34 +19,44 @@
|
||||
{% endcomment %}
|
||||
|
||||
{% load bootstrap %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block content_row %}
|
||||
|
||||
<div class="col-lg-6 col-lg-offset-3">
|
||||
{% include 'messages.html' %}
|
||||
|
||||
<h2>Setup Complete!</h2>
|
||||
<h2>{% trans "Setup Complete!" %}</h2>
|
||||
|
||||
<p>FreedomBox setup is now complete. However, you should check
|
||||
the network setup and modify it if necessary. Do not forget to
|
||||
change the default Wi-Fi passwords.</p>
|
||||
<p>
|
||||
{% blocktrans trimmed %}
|
||||
FreedomBox setup is now complete. However, you should check
|
||||
the network setup and modify it if necessary. Do not forget
|
||||
to change the default Wi-Fi passwords.
|
||||
{% endblocktrans %}
|
||||
</p>
|
||||
|
||||
<p>To make your FreedomBox functional, you need some applications.
|
||||
Applications will be installed the first time you access them.</p>
|
||||
<p>
|
||||
{% blocktrans trimmed %}
|
||||
To make your FreedomBox functional, you need some
|
||||
applications. Applications will be installed the first time
|
||||
you access them.
|
||||
{% endblocktrans %}
|
||||
</p>
|
||||
|
||||
<h3>Network Configuration</h3>
|
||||
<h3>{% trans "Network Configuration" %}</h3>
|
||||
|
||||
{% include "connections_diagram.html" %}
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xs-6 text-center">
|
||||
<a class="btn btn-lg btn-primary" href="{% url 'networks:index' %}">
|
||||
Go to Networks</a>
|
||||
{% trans "Go to Networks" %}</a>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-6 text-center">
|
||||
<a class="btn btn-lg btn-primary" href="{% url 'apps:index' %}">
|
||||
Go to Apps</a>
|
||||
{% trans "Go to Apps" %}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user