aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-05-04 19:25:30 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-05-04 19:25:30 +0200
commit39d49458ef55adaccb49041a231b5dfd88ce3c3f (patch)
treeda20ef6418cf517bfb60ddbfaf01ee6ee024a5af /pyaggr3g470r/templates
parentForgot to remove debug comment. (diff)
downloadnewspipe-39d49458ef55adaccb49041a231b5dfd88ce3c3f.tar.gz
newspipe-39d49458ef55adaccb49041a231b5dfd88ce3c3f.tar.bz2
newspipe-39d49458ef55adaccb49041a231b5dfd88ce3c3f.zip
Updated translations.
Diffstat (limited to 'pyaggr3g470r/templates')
-rw-r--r--pyaggr3g470r/templates/admin/create_user.html2
-rw-r--r--pyaggr3g470r/templates/admin/dashboard.html20
-rw-r--r--pyaggr3g470r/templates/admin/user.html30
3 files changed, 26 insertions, 26 deletions
diff --git a/pyaggr3g470r/templates/admin/create_user.html b/pyaggr3g470r/templates/admin/create_user.html
index 5a6838bd..fcb59cd7 100644
--- a/pyaggr3g470r/templates/admin/create_user.html
+++ b/pyaggr3g470r/templates/admin/create_user.html
@@ -5,7 +5,7 @@
{% block content %}
<div class="container">
<div class="jumbotron">
- <h2>{{ message|safe }}</h2>
+ <h2>{{ message | safe }}</h2>
<form action="" method="post" name="saveprofileform" id="profileform">
{{ form.hidden_tag() }}
diff --git a/pyaggr3g470r/templates/admin/dashboard.html b/pyaggr3g470r/templates/admin/dashboard.html
index 99f843f5..a9b3e546 100644
--- a/pyaggr3g470r/templates/admin/dashboard.html
+++ b/pyaggr3g470r/templates/admin/dashboard.html
@@ -4,15 +4,15 @@
{% endblock %}
{% block content %}
<div class="container">
-<h1>Registered users</h1>
+<h1>{{ _('Registered users') }}</h1>
<table class="table table-striped">
<thead>
<tr>
<th>#</th>
- <th>Firstname</th>
- <th>Lastname</th>
- <th>Email</th>
- <th>Actions</th>
+ <th>{{ _('Firstname') }}</th>
+ <th>{{ _('Lastname') }}</th>
+ <th>{{ _('Email') }}</th>
+ <th>{{ _('Actions') }}</th>
</tr>
</thead>
<tbody>
@@ -23,17 +23,17 @@
<td>{{ user.lastname }}</td>
<td>{{ user.email }}</td>
<td>
- <a href="/admin/user/{{ user.id }}/"><i class="glyphicon glyphicon-user" title="View this user"></i></a>
- <a href="/admin/edit_user/{{ user.id }}/"><i class="glyphicon glyphicon-edit" title="Edit this user"></i></a>
- <a href="/admin/delete_user/{{ user.id }}/"><i class="glyphicon glyphicon-remove" title="Delete this user"></i></a>
+ <a href="/admin/user/{{ user.id }}/"><i class="glyphicon glyphicon-user" title="{{ _('View this user') }}<"></i></a>
+ <a href="/admin/edit_user/{{ user.id }}/"><i class="glyphicon glyphicon-edit" title="{{ _('Edit this user') }}"></i></a>
+ <a href="/admin/delete_user/{{ user.id }}/"><i class="glyphicon glyphicon-remove" title="{{ _('Delete this user') }}"></i></a>
</td>
</tr>
{% endfor %}
</tbody>
</table>
<br />
-<a href="/admin/create_user/" class="btn btn-default">Add a new user</a>
+<a href="/admin/create_user/" class="btn btn-default">{{ _('Add a new user') }}</a>
<br /><br />
-<p class="text-info">As an administrator you are not listed in this table.</p>
+<p class="text-info">{{ _('As an administrator you are not listed in this table') }}.</p>
</div>
{% endblock %} \ No newline at end of file
diff --git a/pyaggr3g470r/templates/admin/user.html b/pyaggr3g470r/templates/admin/user.html
index 92b04b23..b7148617 100644
--- a/pyaggr3g470r/templates/admin/user.html
+++ b/pyaggr3g470r/templates/admin/user.html
@@ -5,12 +5,12 @@
{% block content %}
<div class="container">
<div class="jumbotron">
- <a href="/admin/edit_user/{{ user.id }}/" class="btn btn-default">Edit this user</a>
- <h2>Membership</h2>
+ <a href="/admin/edit_user/{{ user.id }}/" class="btn btn-default">{{ _('Edit this user') }}</a>
+ <h2>{{ _('Membership') }}</h2>
<div class="row">
<div class="col-md-6">
- <p>Member since {{ user.date_created | datetime }}.</p>
- <p>Last seen: {{ user.last_seen | datetime }}.</p>
+ <p>{{ _('Member since') }} {{ user.date_created | datetime }}.</p>
+ <p>{{ _('Last seen:') }} {{ user.last_seen | datetime }}.</p>
</div>
<div class="col-md-6">
<img src="{{ user.email | gravatar }}" />
@@ -19,18 +19,18 @@
</div>
<div class="jumbotron">
{% if user.feeds.all()|count == 0 %}
- <h1>This user is not subscribed to any feed.</h1>
+ <h1>{{ _('This user is not subscribed to any feed.') }}</h1>
{% else %}
- <h1>Feeds</h1>
+ <h1>{{ _('Feeds') }}</h1>
<table class="table table-striped">
<thead>
<tr>
<th>#</th>
- <th>Name</th>
- <th>Feed link</th>
- <th>Site link</th>
- <th>Number of articles</th>
- <th>Actions</th>
+ <th>{{ _('Name') }}</th>
+ <th>{{ _('Feed link') }}</th>
+ <th>{{ _('Site link') }}</th>
+ <th>{{ _('Number of articles') }}</th>
+ <th>{{ _('Actions') }}</th>
</tr>
</thead>
<tbody>
@@ -42,15 +42,15 @@
<td>{{ feed.site_link }}</td>
<td>{{ feed.articles.all()|count }}</td>
<td>
- <a href="/feed/{{ feed.id }}"><i class="glyphicon glyphicon-th-list" title="Feed"></i></a>
- <a href="/edit_feed/{{ feed.id }}"><i class="glyphicon glyphicon-edit" title="Edit this feed"></i></a>
- <a href="/delete_feed/{{ feed.id }}"><i class="glyphicon glyphicon-remove" title="Delete this feed"></i></a>
+ <a href="/feed/{{ feed.id }}"><i class="glyphicon glyphicon-th-list" title="{{ _('Feed') }}"></i></a>
+ <a href="/edit_feed/{{ feed.id }}"><i class="glyphicon glyphicon-edit" title="{{ _('Edit this feed') }}"></i></a>
+ <a href="/delete_feed/{{ feed.id }}"><i class="glyphicon glyphicon-remove" title="{{ _('Delete this feed') }}"></i></a>
</td>
{% endfor %}
</tbody>
</table>
{% endif %}
- <a href="/create_feed/" class="btn btn-default">Add a new feed</a>
+ <a href="/create_feed/" class="btn btn-default">{{ _('Add a new feed') }}</a>
</div>
</div>
{% endblock %}
bgstack15