mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-12-23 23:43:47 +00:00
Mark strings for translation in templates
This commit is contained in:
parent
5d4d9d71bf
commit
fe4de10f7a
12 changed files with 20 additions and 21 deletions
|
@ -14,8 +14,7 @@ Copyright © 2019 Alexandre Iooss
|
|||
{% block content %}
|
||||
<div id="content-main">
|
||||
<p>
|
||||
{% blocktrans %}You are on the operator interface. Here you will be able to manage the network and users
|
||||
from the top left menu. You can also go read the developer documentation.{% endblocktrans %}
|
||||
{% blocktrans %}You are on the operator interface. Here you will be able to manage the network and users from the top left menu. You can also go read the developer documentation.{% endblocktrans %}
|
||||
</p>
|
||||
<p>
|
||||
{% blocktrans %}To go back to the main site, click "View site" button in top right menu.{% endblocktrans %}
|
||||
|
@ -26,12 +25,12 @@ Copyright © 2019 Alexandre Iooss
|
|||
{% block sidebar %}
|
||||
<div id="content-related">
|
||||
<div class="module" id="recent-actions-module">
|
||||
<h2>{% trans 'My account' %}</h2>
|
||||
<h3>{% trans 'My recent actions' %}</h3>
|
||||
<h2>{% trans "My account" %}</h2>
|
||||
<h3>{% trans "Recent actions" %}</h3>
|
||||
{% load log %}
|
||||
{% get_admin_log 10 as admin_log for_user user %}
|
||||
{% if not admin_log %}
|
||||
<p>{% trans 'None available' %}</p>
|
||||
<p>{% trans "None available" %}</p>
|
||||
{% else %}
|
||||
<ul class="actionlist">
|
||||
{% for entry in admin_log %}
|
||||
|
@ -46,7 +45,7 @@ Copyright © 2019 Alexandre Iooss
|
|||
<span class="mini quiet">{% filter capfirst %}
|
||||
{{ entry.content_type }}{% endfilter %}</span>
|
||||
{% else %}
|
||||
<span class="mini quiet">{% trans 'Unknown content' %}</span>
|
||||
<span class="mini quiet">{% trans "Unknown content" %}</span>
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
|
|
|
@ -40,7 +40,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
<meta property="og:image" content="{% static 'images/logo_re2o.svg' %}"/>
|
||||
<meta property="og:image:type" content="image/svg"/>
|
||||
<meta property="og:image:alt" content="The Re2o logo"/>
|
||||
<meta property="og:description" content="{% trans "Networking managing website endorsed by FedeRez." %}" />
|
||||
<meta property="og:description" content="Networking managing website endorsed by FedeRez." />
|
||||
|
||||
{# Preload JavaScript #}
|
||||
{% bootstrap_javascript %}
|
||||
|
@ -142,7 +142,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
<li><a href="{% url 'about' %}"><i class="fa fa-info-circle"></i> {% trans "About" %}</a></li>
|
||||
<li><a href="{% url 'contact' %}"><i class="fa fa-at"></i> {% trans "Contact" %}</a></li>
|
||||
{% comment %}
|
||||
<li><a href="{% url 'tickets:new-ticket' %}"><i class="fa fa-ticket"></i> {% trans "Ouvrir un ticket" %}</a><li>
|
||||
<li><a href="{% url 'tickets:new-ticket' %}"><i class="fa fa-ticket"></i> {% trans "Open a ticket" %}</a><li>
|
||||
{% endcomment %}
|
||||
</ul>
|
||||
</li>
|
||||
|
@ -284,7 +284,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
<p class="pull-right">
|
||||
<a href="#">{% trans "Back to top" %}</a>
|
||||
</p>
|
||||
<p>{{ name_website }} {% trans "powered by" %} Re2o 2016–2018</p>
|
||||
<p>{{ name_website }} {% trans "powered by" %} Re2o 2016–2019</p>
|
||||
<p>
|
||||
{% blocktrans trimmed %}
|
||||
Brought to you with <i class="fa fa-heart text-danger"></i>.
|
||||
|
|
|
@ -23,7 +23,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
{% endcomment %}
|
||||
|
||||
{% load i18n %}
|
||||
<a {% if class%}class="btn btn-info btn-sm"{% endif %} role="button" title="{% trans 'History' %}" href="{% url 'logs:history' application name id %}">
|
||||
<i class="fa fa-history"></i> {% if text %}{% trans 'History' %}{% endif %}
|
||||
<a {% if class%}class="btn btn-info btn-sm"{% endif %} role="button" title="{% trans "History" %}" href="{% url 'logs:history' application name id %}">
|
||||
<i class="fa fa-history"></i> {% if text %}{% trans "History" %}{% endif %}
|
||||
</a>
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
<meta property="og:image" content="{% static 'images/logo_re2o.svg' %}"/>
|
||||
<meta property="og:image:type" content="image/svg"/>
|
||||
<meta property="og:image:alt" content="The Re2o logo"/>
|
||||
<meta property="og:description" content="{% trans "Networking managing website endorsed by FedeRez." %}" />
|
||||
<meta property="og:description" content="Networking managing website endorsed by FedeRez." />
|
||||
|
||||
<meta charset="utf-8">
|
||||
<link rel="shortcut icon" type="image/svg" href="{% static 'images/logo_re2o.svg' %}">
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
</p>
|
||||
<p>
|
||||
<b>{% blocktrans trimmed %}An email has been automatically sent to the site administrators. Please avoid
|
||||
spamming them by trigerring the same issue multiple times.{% endblocktrans %}</b>{% blocktrans trimmed %} The mail should
|
||||
spamming them by trigerring the same issue multiple times.{% endblocktrans %}</b>{% blocktrans trimmed %} The email should
|
||||
contains all the details necessary to understand what went wrong but if your help were
|
||||
needed, you will probably be contacted by them.{% endblocktrans %}
|
||||
</p>
|
||||
|
|
|
@ -8,11 +8,11 @@ Copyright © 2019 Alexandre Iooss
|
|||
|
||||
{% block breadcrumbs %}
|
||||
<div class="breadcrumbs">
|
||||
<a href="{% url 'index' %}">{% trans 'Home' %}</a>
|
||||
<a href="{% url 'index' %}">{% trans "Home" %}</a>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<p>{% trans "Thanks for spending some quality time with the Web site today." %}</p>
|
||||
<p><a href="{% url 'login' %}">{% trans 'Log in again' %}</a></p>
|
||||
<p><a href="{% url 'login' %}">{% trans "Log in again" %}</a></p>
|
||||
{% endblock %}
|
||||
|
|
|
@ -8,6 +8,6 @@ Copyright © 2019 Alexandre Iooss
|
|||
|
||||
{% block breadcrumbs %}
|
||||
<div class="breadcrumbs">
|
||||
<a href="{% url 'index' %}">{% trans 'Home' %}</a> › {% trans 'Password change' %}
|
||||
<a href="{% url 'index' %}">{% trans "Home" %}</a> › {% trans "Password change" %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -8,6 +8,6 @@ Copyright © 2019 Alexandre Iooss
|
|||
|
||||
{% block breadcrumbs %}
|
||||
<div class="breadcrumbs">
|
||||
<a href="{% url 'index' %}">{% trans 'Home' %}</a> › {% trans 'Password change' %}
|
||||
<a href="{% url 'index' %}">{% trans "Home" %}</a> › {% trans "Password change" %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -8,6 +8,6 @@ Copyright © 2019 Alexandre Iooss
|
|||
|
||||
{% block breadcrumbs %}
|
||||
<div class="breadcrumbs">
|
||||
<a href="{% url 'index' %}">{% trans 'Home' %}</a> › {% trans 'Password reset' %}
|
||||
<a href="{% url 'index' %}">{% trans "Home" %}</a> › {% trans "Password reset" %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -8,6 +8,6 @@ Copyright © 2019 Alexandre Iooss
|
|||
|
||||
{% block breadcrumbs %}
|
||||
<div class="breadcrumbs">
|
||||
<a href="{% url 'index' %}">{% trans 'Home' %}</a> › {% trans 'Password reset confirmation' %}
|
||||
<a href="{% url 'index' %}">{% trans "Home" %}</a> › {% trans "Password reset confirmation" %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -8,6 +8,6 @@ Copyright © 2019 Alexandre Iooss
|
|||
|
||||
{% block breadcrumbs %}
|
||||
<div class="breadcrumbs">
|
||||
<a href="{% url 'index' %}">{% trans 'Home' %}</a> › {% trans 'Password reset' %}
|
||||
<a href="{% url 'index' %}">{% trans "Home" %}</a> › {% trans "Password reset" %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -8,6 +8,6 @@ Copyright © 2019 Alexandre Iooss
|
|||
|
||||
{% block breadcrumbs %}
|
||||
<div class="breadcrumbs">
|
||||
<a href="{% url 'index' %}">{% trans 'Home' %}</a> › {% trans 'Password reset' %}
|
||||
<a href="{% url 'index' %}">{% trans "Home" %}</a> › {% trans "Password reset" %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in a new issue