From b44e91467316a4de8e6883658f9959eef38d3e09 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Wed, 3 Jun 2015 08:39:22 +0200 Subject: The bookmarklet to subscribe to a feed has been slightly updated. --- messages.pot | 158 ++++++++++--------- pyaggr3g470r/templates/about.html | 3 +- .../translations/fr/LC_MESSAGES/messages.mo | Bin 15688 -> 15979 bytes .../translations/fr/LC_MESSAGES/messages.po | 171 +++++++++++---------- pyaggr3g470r/views/feed.py | 3 + 5 files changed, 178 insertions(+), 157 deletions(-) diff --git a/messages.pot b/messages.pot index 46b6849f..c212dd32 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-05-07 08:03+0200\n" +"POT-Creation-Date: 2015-06-03 08:37+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -196,17 +196,23 @@ msgid "" msgstr "" #: pyaggr3g470r/templates/about.html:20 +msgid "" +"You can subscribe to new feeds with a bookmarklet. Drag the following " +"button to your browser bookmarks." +msgstr "" + +#: pyaggr3g470r/templates/about.html:21 #, python-format msgid "" -"You can subscribe to new feeds with a bookmarklet. Drag this link to your browser bookmarks." +"Subscribe to this feed using pyAggr3g470r" msgstr "" -#: pyaggr3g470r/templates/about.html:23 +#: pyaggr3g470r/templates/about.html:24 msgid "Donation" msgstr "" -#: pyaggr3g470r/templates/about.html:24 +#: pyaggr3g470r/templates/about.html:25 msgid "" "If you wish and if you like pyAggr3g470r, you can donate via bitcoin 1GVmhR9fbBeEh7rP1qNq76jWArDdDQ3otZ." @@ -220,23 +226,23 @@ msgstr "" #: pyaggr3g470r/templates/article.html:11 #: pyaggr3g470r/templates/duplicates.html:23 #: pyaggr3g470r/templates/duplicates.html:24 -#: pyaggr3g470r/templates/home.html:89 +#: pyaggr3g470r/templates/home.html:83 msgid "Delete this article" msgstr "" -#: pyaggr3g470r/templates/article.html:13 pyaggr3g470r/templates/home.html:91 +#: pyaggr3g470r/templates/article.html:13 pyaggr3g470r/templates/home.html:85 msgid "One of your favorites" msgstr "" -#: pyaggr3g470r/templates/article.html:15 pyaggr3g470r/templates/home.html:93 +#: pyaggr3g470r/templates/article.html:15 pyaggr3g470r/templates/home.html:87 msgid "Click if you like this article" msgstr "" -#: pyaggr3g470r/templates/article.html:18 pyaggr3g470r/templates/home.html:96 +#: pyaggr3g470r/templates/article.html:18 pyaggr3g470r/templates/home.html:90 msgid "Mark this article as unread" msgstr "" -#: pyaggr3g470r/templates/article.html:20 pyaggr3g470r/templates/home.html:98 +#: pyaggr3g470r/templates/article.html:20 pyaggr3g470r/templates/home.html:92 msgid "Mark this article as read" msgstr "" @@ -273,19 +279,19 @@ msgid "Optional" msgstr "" #: pyaggr3g470r/templates/feed.html:7 pyaggr3g470r/templates/feeds.html:35 -#: pyaggr3g470r/templates/home.html:34 pyaggr3g470r/templates/home.html:52 +#: pyaggr3g470r/templates/home.html:29 pyaggr3g470r/templates/home.html:46 #: pyaggr3g470r/templates/admin/user.html:44 msgid "Delete this feed" msgstr "" #: pyaggr3g470r/templates/feed.html:7 pyaggr3g470r/templates/feeds.html:35 -#: pyaggr3g470r/templates/home.html:34 pyaggr3g470r/templates/home.html:52 +#: pyaggr3g470r/templates/home.html:29 pyaggr3g470r/templates/home.html:46 #: pyaggr3g470r/templates/admin/user.html:44 msgid "You are going to delete this feed." msgstr "" #: pyaggr3g470r/templates/feed.html:8 pyaggr3g470r/templates/feeds.html:33 -#: pyaggr3g470r/templates/home.html:33 pyaggr3g470r/templates/home.html:51 +#: pyaggr3g470r/templates/home.html:28 pyaggr3g470r/templates/home.html:45 #: pyaggr3g470r/templates/admin/user.html:43 msgid "Edit this feed" msgstr "" @@ -378,7 +384,6 @@ msgid "Site" msgstr "" #: pyaggr3g470r/templates/feeds.html:13 pyaggr3g470r/templates/feeds.html:32 -#: pyaggr3g470r/templates/home.html:32 pyaggr3g470r/templates/home.html:50 msgid "Articles" msgstr "" @@ -424,49 +429,49 @@ msgstr "" msgid "upload an OPML file." msgstr "" -#: pyaggr3g470r/templates/home.html:14 pyaggr3g470r/templates/home.html:16 +#: pyaggr3g470r/templates/home.html:13 msgid "All feeds" msgstr "" -#: pyaggr3g470r/templates/home.html:24 pyaggr3g470r/templates/home.html:42 +#: pyaggr3g470r/templates/home.html:20 pyaggr3g470r/templates/home.html:37 msgid "error" msgstr "" -#: pyaggr3g470r/templates/home.html:31 pyaggr3g470r/templates/home.html:49 +#: pyaggr3g470r/templates/home.html:27 pyaggr3g470r/templates/home.html:44 msgid "Details" msgstr "" -#: pyaggr3g470r/templates/home.html:35 pyaggr3g470r/templates/home.html:53 +#: pyaggr3g470r/templates/home.html:30 pyaggr3g470r/templates/home.html:47 msgid "Mark this feed as read" msgstr "" -#: pyaggr3g470r/templates/home.html:36 pyaggr3g470r/templates/home.html:54 +#: pyaggr3g470r/templates/home.html:31 pyaggr3g470r/templates/home.html:48 msgid "Mark this feed as unread" msgstr "" -#: pyaggr3g470r/templates/home.html:62 pyaggr3g470r/templates/home.html:70 +#: pyaggr3g470r/templates/home.html:56 pyaggr3g470r/templates/home.html:64 #: pyaggr3g470r/templates/layout.html:83 msgid "All" msgstr "" -#: pyaggr3g470r/templates/home.html:63 +#: pyaggr3g470r/templates/home.html:57 msgid "Read" msgstr "" -#: pyaggr3g470r/templates/home.html:64 +#: pyaggr3g470r/templates/home.html:58 msgid "Unread" msgstr "" -#: pyaggr3g470r/templates/home.html:80 pyaggr3g470r/templates/layout.html:77 +#: pyaggr3g470r/templates/home.html:74 pyaggr3g470r/templates/layout.html:77 #: pyaggr3g470r/templates/admin/user.html:42 msgid "Feed" msgstr "" -#: pyaggr3g470r/templates/home.html:81 pyaggr3g470r/views/views.py:418 +#: pyaggr3g470r/templates/home.html:75 pyaggr3g470r/views/views.py:413 msgid "Article" msgstr "" -#: pyaggr3g470r/templates/home.html:82 +#: pyaggr3g470r/templates/home.html:76 msgid "Date" msgstr "" @@ -483,7 +488,7 @@ msgid "No inactive feeds." msgstr "" #: pyaggr3g470r/templates/layout.html:41 pyaggr3g470r/templates/layout.html:44 -#: pyaggr3g470r/views/feed.py:182 +#: pyaggr3g470r/views/feed.py:185 msgid "Add a feed" msgstr "" @@ -491,7 +496,7 @@ msgstr "" msgid "Home" msgstr "" -#: pyaggr3g470r/templates/layout.html:71 pyaggr3g470r/views/views.py:317 +#: pyaggr3g470r/templates/layout.html:71 pyaggr3g470r/views/views.py:312 msgid "Favorites" msgstr "" @@ -651,7 +656,7 @@ msgid "You are going to delete this account." msgstr "" #: pyaggr3g470r/templates/admin/dashboard.html:45 -#: pyaggr3g470r/views/views.py:725 +#: pyaggr3g470r/views/views.py:724 msgid "Add a new user" msgstr "" @@ -684,7 +689,7 @@ msgstr "" msgid "Feed %(feed_title)s successfully deleted." msgstr "" -#: pyaggr3g470r/views/feed.py:80 pyaggr3g470r/views/feed.py:151 +#: pyaggr3g470r/views/feed.py:80 pyaggr3g470r/views/feed.py:154 #, python-format msgid "Feed %(feed_title)r successfully updated." msgstr "" @@ -693,7 +698,7 @@ msgstr "" msgid "Couldn't add feed: url missing." msgstr "" -#: pyaggr3g470r/views/feed.py:96 pyaggr3g470r/views/feed.py:140 +#: pyaggr3g470r/views/feed.py:96 pyaggr3g470r/views/feed.py:143 msgid "Couldn't add feed: feed already exists." msgstr "" @@ -701,20 +706,20 @@ msgstr "" msgid "Feed was successfully created." msgstr "" -#: pyaggr3g470r/views/feed.py:110 pyaggr3g470r/views/feed.py:124 +#: pyaggr3g470r/views/feed.py:105 pyaggr3g470r/views/feed.py:171 +msgid "Downloading articles for the new feed..." +msgstr "" + +#: pyaggr3g470r/views/feed.py:113 pyaggr3g470r/views/feed.py:127 msgid "Feed successfully updated." msgstr "" -#: pyaggr3g470r/views/feed.py:163 +#: pyaggr3g470r/views/feed.py:166 #, python-format msgid "Feed %(feed_title)r successfully created." msgstr "" -#: pyaggr3g470r/views/feed.py:168 -msgid "Downloading articles for the new feed..." -msgstr "" - -#: pyaggr3g470r/views/feed.py:178 +#: pyaggr3g470r/views/feed.py:181 msgid "Edit the feed" msgstr "" @@ -726,10 +731,6 @@ msgstr "" msgid "Forbidden." msgstr "" -#: pyaggr3g470r/views/views.py:172 -msgid "Logged in successfully." -msgstr "" - #: pyaggr3g470r/views/views.py:195 msgid "Logged out successfully." msgstr "" @@ -742,132 +743,137 @@ msgstr "" msgid "Email already used." msgstr "" -#: pyaggr3g470r/views/views.py:228 pyaggr3g470r/views/views.py:776 -msgid "Problem while sending activation email" +#: pyaggr3g470r/views/views.py:228 +#, python-format +msgid "Problem while sending activation email: %(error)s" msgstr "" -#: pyaggr3g470r/views/views.py:231 +#: pyaggr3g470r/views/views.py:232 msgid "Your account has been created. Check your mail to confirm it." msgstr "" -#: pyaggr3g470r/views/views.py:325 +#: pyaggr3g470r/views/views.py:320 msgid "No text to search were provided." msgstr "" -#: pyaggr3g470r/views/views.py:340 +#: pyaggr3g470r/views/views.py:335 msgid "Search:" msgstr "" -#: pyaggr3g470r/views/views.py:356 pyaggr3g470r/views/views.py:522 +#: pyaggr3g470r/views/views.py:351 pyaggr3g470r/views/views.py:518 msgid "Downloading articles..." msgstr "" -#: pyaggr3g470r/views/views.py:358 +#: pyaggr3g470r/views/views.py:353 msgid "" "The manual retrieving of news is only available for administrator, on the" " Heroku platform." msgstr "" -#: pyaggr3g470r/views/views.py:418 +#: pyaggr3g470r/views/views.py:413 msgid "deleted." msgstr "" -#: pyaggr3g470r/views/views.py:421 +#: pyaggr3g470r/views/views.py:416 msgid "This article do not exist." msgstr "" -#: pyaggr3g470r/views/views.py:468 pyaggr3g470r/views/views.py:479 +#: pyaggr3g470r/views/views.py:464 pyaggr3g470r/views/views.py:475 msgid "Error when exporting articles." msgstr "" -#: pyaggr3g470r/views/views.py:485 +#: pyaggr3g470r/views/views.py:481 msgid "Export format not supported." msgstr "" -#: pyaggr3g470r/views/views.py:514 pyaggr3g470r/views/views.py:530 -#: pyaggr3g470r/views/views.py:539 +#: pyaggr3g470r/views/views.py:510 pyaggr3g470r/views/views.py:526 +#: pyaggr3g470r/views/views.py:535 msgid "File not allowed." msgstr "" -#: pyaggr3g470r/views/views.py:520 +#: pyaggr3g470r/views/views.py:516 msgid "feeds imported." msgstr "" -#: pyaggr3g470r/views/views.py:524 +#: pyaggr3g470r/views/views.py:520 msgid "Impossible to import the new feeds." msgstr "" -#: pyaggr3g470r/views/views.py:534 +#: pyaggr3g470r/views/views.py:530 msgid "Account imported." msgstr "" -#: pyaggr3g470r/views/views.py:536 +#: pyaggr3g470r/views/views.py:532 msgid "Impossible to import the account." msgstr "" -#: pyaggr3g470r/views/views.py:576 pyaggr3g470r/views/views.py:703 -#: pyaggr3g470r/views/views.py:713 pyaggr3g470r/views/views.py:753 +#: pyaggr3g470r/views/views.py:572 pyaggr3g470r/views/views.py:702 +#: pyaggr3g470r/views/views.py:712 pyaggr3g470r/views/views.py:752 msgid "User" msgstr "" -#: pyaggr3g470r/views/views.py:577 pyaggr3g470r/views/views.py:703 +#: pyaggr3g470r/views/views.py:573 pyaggr3g470r/views/views.py:702 msgid "successfully updated." msgstr "" -#: pyaggr3g470r/views/views.py:597 +#: pyaggr3g470r/views/views.py:593 msgid "Your account has been deleted." msgstr "" -#: pyaggr3g470r/views/views.py:599 pyaggr3g470r/views/views.py:739 -#: pyaggr3g470r/views/views.py:755 pyaggr3g470r/views/views.py:783 +#: pyaggr3g470r/views/views.py:595 pyaggr3g470r/views/views.py:738 +#: pyaggr3g470r/views/views.py:754 pyaggr3g470r/views/views.py:782 msgid "This user does not exist." msgstr "" -#: pyaggr3g470r/views/views.py:613 +#: pyaggr3g470r/views/views.py:612 msgid "Articles deleted." msgstr "" -#: pyaggr3g470r/views/views.py:627 +#: pyaggr3g470r/views/views.py:626 msgid "Your account has been confirmed." msgstr "" -#: pyaggr3g470r/views/views.py:629 +#: pyaggr3g470r/views/views.py:628 msgid "Impossible to confirm this account." msgstr "" -#: pyaggr3g470r/views/views.py:651 +#: pyaggr3g470r/views/views.py:650 msgid "New password sent to your address." msgstr "" -#: pyaggr3g470r/views/views.py:653 +#: pyaggr3g470r/views/views.py:652 msgid "Problem while sending your new password." msgstr "" -#: pyaggr3g470r/views/views.py:678 +#: pyaggr3g470r/views/views.py:677 msgid "Problem while sending email" msgstr "" -#: pyaggr3g470r/views/views.py:713 +#: pyaggr3g470r/views/views.py:712 msgid "successfully created." msgstr "" -#: pyaggr3g470r/views/views.py:722 +#: pyaggr3g470r/views/views.py:721 msgid "Edit the user" msgstr "" -#: pyaggr3g470r/views/views.py:753 +#: pyaggr3g470r/views/views.py:752 msgid "successfully deleted." msgstr "" -#: pyaggr3g470r/views/views.py:774 pyaggr3g470r/views/views.py:780 +#: pyaggr3g470r/views/views.py:773 pyaggr3g470r/views/views.py:779 msgid "Account of the user" msgstr "" -#: pyaggr3g470r/views/views.py:774 +#: pyaggr3g470r/views/views.py:773 msgid "successfully activated." msgstr "" -#: pyaggr3g470r/views/views.py:780 +#: pyaggr3g470r/views/views.py:775 +msgid "Problem while sending activation email" +msgstr "" + +#: pyaggr3g470r/views/views.py:779 msgid "successfully disabled." msgstr "" diff --git a/pyaggr3g470r/templates/about.html b/pyaggr3g470r/templates/about.html index 901b3b35..884de644 100644 --- a/pyaggr3g470r/templates/about.html +++ b/pyaggr3g470r/templates/about.html @@ -17,7 +17,8 @@

{{ _('Help') }}

{{ _('If you have any problem, contact the administrator.') }}

{{ _('The documentation of the RESTful API is here.') }}

-

{{ _('You can subscribe to new feeds with a bookmarklet. Drag this link to your browser bookmarks.', bookmarklet='javascript:window.location="%s?url="+encodeURIComponent(document.location)' % url_for('feed.bookmarklet', _external=True)) }}

+

{{ _('You can subscribe to new feeds with a bookmarklet. Drag the following button to your browser bookmarks.') }}

+ {{ _('Subscribe to this feed using pyAggr3g470r', bookmarklet='javascript:window.location="%s?url="+encodeURIComponent(document.location)' % url_for('feed.bookmarklet', _external=True)) }}

{{ _('Donation') }}

diff --git a/pyaggr3g470r/translations/fr/LC_MESSAGES/messages.mo b/pyaggr3g470r/translations/fr/LC_MESSAGES/messages.mo index 6b6834f6..bcf0bb0d 100644 Binary files a/pyaggr3g470r/translations/fr/LC_MESSAGES/messages.mo and b/pyaggr3g470r/translations/fr/LC_MESSAGES/messages.mo differ diff --git a/pyaggr3g470r/translations/fr/LC_MESSAGES/messages.po b/pyaggr3g470r/translations/fr/LC_MESSAGES/messages.po index 08ac9dbd..64247b97 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-05-07 08:03+0200\n" -"PO-Revision-Date: 2015-05-07 08:03+0100\n" +"POT-Creation-Date: 2015-06-03 08:37+0200\n" +"PO-Revision-Date: 2015-06-03 08:38+0100\n" "Last-Translator: Cedric Bonhomme \n" "Language-Team: fr \n" "Language: fr\n" @@ -210,19 +210,27 @@ msgstr "" "readthedocs.org/en/latest/web-services.html\">ici." #: pyaggr3g470r/templates/about.html:20 -#, python-format msgid "" -"You can subscribe to new feeds with a bookmarklet. Drag this link to your browser bookmarks." +"You can subscribe to new feeds with a bookmarklet. Drag the following button " +"to your browser bookmarks." msgstr "" "Vous pouvez vous abonner à de nouveaux flux avec un bookmarklet. Faites " -"glisser ce lien dans vos favoris." +"glisser le bouton suivant dans vos favoris." + +#: pyaggr3g470r/templates/about.html:21 +#, python-format +msgid "" +"Subscribe to this feed using pyAggr3g470r" +msgstr "" +"Abonnez-vous à ce flux en utilisant pyAggr3g470r" -#: pyaggr3g470r/templates/about.html:23 +#: pyaggr3g470r/templates/about.html:24 msgid "Donation" msgstr "Don" -#: pyaggr3g470r/templates/about.html:24 +#: pyaggr3g470r/templates/about.html:25 msgid "" "If you wish and if you like pyAggr3g470r, you can donate via bitcoin