aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-05-01 11:37:11 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-05-01 11:37:11 +0200
commit567f05883edbb0068eb4f6e9f449bbc30572f5bc (patch)
tree0f6938398f0b1711606ab6e36404e6b2b56bec03 /pyaggr3g470r/templates
parentInternationalization to french. (diff)
downloadnewspipe-567f05883edbb0068eb4f6e9f449bbc30572f5bc.tar.gz
newspipe-567f05883edbb0068eb4f6e9f449bbc30572f5bc.tar.bz2
newspipe-567f05883edbb0068eb4f6e9f449bbc30572f5bc.zip
Updated translation.
Diffstat (limited to 'pyaggr3g470r/templates')
-rw-r--r--pyaggr3g470r/templates/article.html2
-rw-r--r--pyaggr3g470r/templates/management.html28
2 files changed, 15 insertions, 15 deletions
diff --git a/pyaggr3g470r/templates/article.html b/pyaggr3g470r/templates/article.html
index 1ca1ce49..f7790d6a 100644
--- a/pyaggr3g470r/templates/article.html
+++ b/pyaggr3g470r/templates/article.html
@@ -22,7 +22,7 @@
<div class="jumbotron">
<div class="row">
<div class="col-md-6">
- Next post: <a href="/article/{{ next_article.id }}">{{ next_article.title }}</a>
+ {{ _('Next post:') }} <a href="/article/{{ next_article.id }}">{{ next_article.title }}</a>
</div>
<div class="col-md-6 text-right">
Previous post: <a href="/article/{{ previous_article.id }}">{{ previous_article.title }}</a>
diff --git a/pyaggr3g470r/templates/management.html b/pyaggr3g470r/templates/management.html
index 78f4399b..b37653c4 100644
--- a/pyaggr3g470r/templates/management.html
+++ b/pyaggr3g470r/templates/management.html
@@ -2,20 +2,20 @@
{% block content %}
<div class="container">
<div class="jumbotron">
- <h1>Your subscriptions</h1>
- <p>You are subscribed to {{ nb_feeds }} <a href="/feeds">feeds</a>. Add a <a href="/create_feed/">feed</a>.</p>
- <p>{{ nb_articles }} articles are stored in the database with {{ nb_unread_articles }} <a href="/unread/">unread articles</a>.</p>
+ <h1>{{ _('Your subscriptions') }}</h1>
+ <p>{{ _('You are subscribed to') }} {{ nb_feeds }} <a href="/feeds">{{ _('feeds') }}</a>. {{ _('Add a') }} <a href="/create_feed/">{{ _('feed') }}</a>.</p>
+ <p>{{ nb_articles }} {{ _('articles are stored in the database with') }} {{ nb_unread_articles }} <a href="/unread/">{{ _('unread articles') }}</a>.</p>
{% if not_on_heroku %}
- <a href="/index_database/" class="btn btn-default">Index database</a>
+ <a href="/index_database/" class="btn btn-default">{{ _('Index database') }}</a>
{% endif %}
</div>
<div class="jumbotron">
- <h1>Your Profile</h1>
+ <h1>{{ _('Your Profile') }}</h1>
<div class="row">
<div class="col-md-6">
- <p>Update your <a href="/profile/">profile</a>.</p>
- <p>Member since {{ user.date_created.strftime('%A, %d %B %Y') }}.</p>
- <p>Last seen: {{ user.last_seen.strftime('%A, %d %B %Y at %H:%M:%S') }}.</p>
+ <p>{{ _('Update your') }} <a href="/profile/">{{ _('profile') }}</a>.</p>
+ <p>{{ _('Member since') }} {{ user.date_created.strftime('%A, %d %B %Y') }}.</p>
+ <p>{{ _('Last seen:') }} {{ user.last_seen.strftime('%A, %d %B %Y at %H:%M:%S') }}.</p>
</div>
<div class="col-md-6">
<img src="{{ user.email | gravatar }}" />
@@ -23,17 +23,17 @@
</div>
</div>
<div class="jumbotron">
- <h1>Import/export feeds</h1>
- <h2>Import</h2>
+ <h1>{{ _('Import/export feeds') }}</h1>
+ <h2>{{ _('Import') }}</h2>
<form action="" method="post" id="formImportOPML" enctype="multipart/form-data">
- <span class="btn btn-default btn-file">Batch import feeds from OPML (<span class="text-info">*.xml or *.opml</span>)<input type="file" name="opmlfile" /></span>
+ <span class="btn btn-default btn-file">{{ _('Batch import feeds from OPML') }} (<span class="text-info">*.xml {{ _('or') }} *.opml</span>)<input type="file" name="opmlfile" /></span>
<button class="btn btn-default" type="submit">OK</button>
</form>
- <h2>Export</h2>
- <a href="/export_opml/" class="btn btn-default">Export feeds to OPML</a>
+ <h2>{{ _('Export') }}</h2>
+ <a href="/export_opml/" class="btn btn-default">{{ _('Export feeds to OPML') }}</a>
</div>
<div class="jumbotron">
- <h1>Export articles</h1>
+ <h1>{{ _('Export articles') }}</h1>
<a href="/export/?format=HTML" class="btn btn-default">HTML</a>
<a href="/export/?format=JSON" class="btn btn-default">JSON</a>
</div>
bgstack15