aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2015-03-10 22:13:46 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2015-03-10 22:13:46 +0100
commit0dd06d8e6047be57295d5346857fb62fc1c103b5 (patch)
treef1426b67dfdc01abc1a5e40d91cc94688c97dffb
parentchanged the type of the column 'last_modified' to string. (diff)
downloadnewspipe-0dd06d8e6047be57295d5346857fb62fc1c103b5.tar.gz
newspipe-0dd06d8e6047be57295d5346857fb62fc1c103b5.tar.bz2
newspipe-0dd06d8e6047be57295d5346857fb62fc1c103b5.zip
The label of the badge (for the errors count) wasn't clear enough.
-rw-r--r--messages.pot6
-rw-r--r--pyaggr3g470r/templates/home.html4
-rw-r--r--pyaggr3g470r/translations/fr/LC_MESSAGES/messages.mobin15220 -> 15249 bytes
-rw-r--r--pyaggr3g470r/translations/fr/LC_MESSAGES/messages.po8
4 files changed, 13 insertions, 5 deletions
diff --git a/messages.pot b/messages.pot
index 2db4ff68..95d9b66b 100644
--- a/messages.pot
+++ b/messages.pot
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2015-03-08 17:28+0100\n"
+"POT-Creation-Date: 2015-03-10 22:10+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -420,6 +420,10 @@ msgstr ""
msgid "All feeds"
msgstr ""
+#: pyaggr3g470r/templates/home.html:25 pyaggr3g470r/templates/home.html:43
+msgid "error"
+msgstr ""
+
#: pyaggr3g470r/templates/home.html:36 pyaggr3g470r/templates/home.html:54
msgid "Mark this feed as read"
msgstr ""
diff --git a/pyaggr3g470r/templates/home.html b/pyaggr3g470r/templates/home.html
index 3a9608d5..f2d2218b 100644
--- a/pyaggr3g470r/templates/home.html
+++ b/pyaggr3g470r/templates/home.html
@@ -22,7 +22,7 @@
<li class="feed-menu"><a href="{{ gen_url(feed=fid) }}">
{% if feed_id == fid %}<b>{% endif %}
{% if in_error.get(fid, 0) > 0 %}
- <span style="background-color: {{ "red" if in_error[fid] > 2 else "orange" }} ;" class="badge pull-right" title="Some errors occured while trying to retrieve that feed.">{{ in_error[fid] }}</span>
+ <span style="background-color: {{ "red" if in_error[fid] > 2 else "orange" }} ;" class="badge pull-right" title="Some errors occured while trying to retrieve that feed.">{{ in_error[fid] }} {{ _("error") }}{% if in_error[fid] > 1 %}s{% endif %}</span>
{% endif %}
<span id="unread-{{ fid }}" class="badge pull-right">{{ nbunread }}</span>
{{ feeds[fid]|safe }}
@@ -40,7 +40,7 @@
{% for fid, ftitle in feeds|dictsort(case_sensitive=False, by='value') if not fid in unread %}
<li class="feed-menu"><a href="{{ gen_url(feed=fid) }}">
{% if in_error.get(fid, 0) > 0 %}
- <span style="background-color: {{ "red" if in_error[fid] > 2 else "orange" }} ;" class="badge pull-right" title="Some errors occured while trying to retrieve that feed.">{{ in_error[fid] }}</span>
+ <span style="background-color: {{ "red" if in_error[fid] > 2 else "orange" }} ;" class="badge pull-right" title="Some errors occured while trying to retrieve that feed.">{{ in_error[fid] }} {{ _("error") }}{% if in_error[fid] > 1 %}s{% endif %}</span>
{% endif %}
{% if feed_id == fid %}<b>{% endif %}
{{ ftitle|safe }}
diff --git a/pyaggr3g470r/translations/fr/LC_MESSAGES/messages.mo b/pyaggr3g470r/translations/fr/LC_MESSAGES/messages.mo
index 5ac1b770..00bbb6e1 100644
--- a/pyaggr3g470r/translations/fr/LC_MESSAGES/messages.mo
+++ b/pyaggr3g470r/translations/fr/LC_MESSAGES/messages.mo
Binary files differ
diff --git a/pyaggr3g470r/translations/fr/LC_MESSAGES/messages.po b/pyaggr3g470r/translations/fr/LC_MESSAGES/messages.po
index 81af46ed..df32599d 100644
--- a/pyaggr3g470r/translations/fr/LC_MESSAGES/messages.po
+++ b/pyaggr3g470r/translations/fr/LC_MESSAGES/messages.po
@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2015-03-08 17:28+0100\n"
-"PO-Revision-Date: 2015-03-08 17:34+0100\n"
+"POT-Creation-Date: 2015-03-10 22:10+0100\n"
+"PO-Revision-Date: 2015-03-10 22:11+0100\n"
"Last-Translator: Cédric Bonhomme <cedric@cedricbonhomme.org>\n"
"Language-Team: fr <LL@li.org>\n"
"Language: fr\n"
@@ -448,6 +448,10 @@ msgstr "téléchargez un fichier OPML."
msgid "All feeds"
msgstr "Tous les flux"
+#: pyaggr3g470r/templates/home.html:25 pyaggr3g470r/templates/home.html:43
+msgid "error"
+msgstr "erreur"
+
#: pyaggr3g470r/templates/home.html:36 pyaggr3g470r/templates/home.html:54
msgid "Mark this feed as read"
msgstr "Marquer ce flux comme lu"
bgstack15