diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-05-01 17:29:58 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-05-01 17:29:58 +0200 |
commit | 6a1631476cfd5b46b1c778fff680ea2bc554baaa (patch) | |
tree | c33476826be8efee600c5cd33e866201e776cc9c /pyaggr3g470r/templates/feed.html | |
parent | Updated translation. (diff) | |
download | newspipe-6a1631476cfd5b46b1c778fff680ea2bc554baaa.tar.gz newspipe-6a1631476cfd5b46b1c778fff680ea2bc554baaa.tar.bz2 newspipe-6a1631476cfd5b46b1c778fff680ea2bc554baaa.zip |
Internationalization to french in progress.
Diffstat (limited to 'pyaggr3g470r/templates/feed.html')
-rw-r--r-- | pyaggr3g470r/templates/feed.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/pyaggr3g470r/templates/feed.html b/pyaggr3g470r/templates/feed.html index 849dba49..98e965e4 100644 --- a/pyaggr3g470r/templates/feed.html +++ b/pyaggr3g470r/templates/feed.html @@ -4,24 +4,24 @@ <div class="jumbotron"> <h2>{{ feed.title }}</h2> {% if feed.description %} <p>{{ feed.description }}</p> {% endif %} - <a href="/delete_feed/{{ feed.id }}"><i class="glyphicon glyphicon-remove" title="Delete this 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="/edit_feed/{{ feed.id }}"><i class="glyphicon glyphicon-edit" title="{{ _('Edit this feed') }}"></i></a> </div> <div class="jumbotron"> <p> - This feed contains {{ feed.articles.all()|count }} <a href="/articles/{{ feed.id }}/100">articles</a> + {{ _('This feed contains') }} {{ feed.articles.all()|count }} <a href="/articles/{{ feed.id }}/100">{{ _('articles') }}</a> {% if nb_articles != 0 %} - ({{ ((feed.articles.all()|count * 100 ) / nb_articles) | round(2, 'floor') }}% of the database) + ({{ ((feed.articles.all()|count * 100 ) / nb_articles) | round(2, 'floor') }}% {{ _('of the database') }}) {% endif %} .<br /> - Address of the feed: <a href="{{ feed.link }}">{{ feed.link }}</a><br /> + {{ _('Address of the feed') }}: <a href="{{ feed.link }}">{{ feed.link }}</a><br /> {% if feed.site_link != "" %} - Address of the site: <a href="{{ feed.site_link }}">{{ feed.site_link }}</a> + {{ _('Address of the site') }}: <a href="{{ feed.site_link }}">{{ feed.site_link }}</a> {% endif %} <br /> {% if feed.articles.all()|count != 0 %} - The last article was posted {{ elapsed.days }} day(s) ago.<br /> - Daily average: {{ average }}, between the {{ first_post_date.strftime('%Y-%m-%d') }} and the {{ end_post_date.strftime('%Y-%m-%d') }}. + {{ _('The last article was posted') }} {{ elapsed.days }} {{ _('day(s) ago.') }}<br /> + {{ _('Daily average') }}: {{ average }}, {{ _('between the') }} {{ first_post_date.strftime('%Y-%m-%d') }} {{ _('and the') }} {{ end_post_date.strftime('%Y-%m-%d') }}. {% endif %} </p> </div> |