Commit 43df3a9e authored by Tankypon's avatar Tankypon

French translation is now done!

parent aaad95b4
......@@ -57,8 +57,9 @@ class DontpanicAdapter(DontPanic):
if __name__ == '__main__':
parser = ServerParser(prog=progname, description=_("Dontpanic is a python app to look for any movie or \
serie and watch them in streaming. You can deploy it on your server and make it available for the world."))
parser = ServerParser(prog=progname, description=_("Dontpanic is a python app to look for any movie or "
"serie and watch them in streaming. You can deploy it on your "
"server and make it available for the world."))
parser.add_argument("-v", "--verbose", action="count", default=0, help=_("Increase output verbosity"))
parser.add_argument("--version", action="version", version=progversion, help=_("Print version"))
......@@ -66,7 +67,7 @@ if __name__ == '__main__':
parser.add_argument("adapter", choices=serverlist, help=_("The adapter to use"))
parser.add_argument("admin", help=_("Admin user name"))
parser.add_argument("password", help=_("Admin password"))
parser.add_argument("port", help=_("Which port dontpanic will listen"))
parser.add_argument("port", help=_("Which port Don't Panic will listen"))
args = parser.parse_args()
......
......@@ -390,13 +390,15 @@ class DontPanic:
with DontPanicDB() as database:
if database.add_user(username, password):
bravo = _("Congratulations, your subscriptino is a success")
bravo = _("Congratulations, your subscription is a success")
loginmsg = _("Now, log in")
return '''<h1>{}</h1>
<p><a href="/me">{}</a> ;)</p>
'''.format(bravo, loginmsg)
else:
return _('<h1>Oh no! User {} already exists</h1>').format(username)
sorry = _("Oh no!")
reason = _("User {} already exists".format(username))
return '<h1>{} {}</h1>'.format(sorry, reason)
@self.app.route('/unsubscribe')
def unsubscribe():
......@@ -675,7 +677,7 @@ class DontPanic:
@self.app.route('/dlsub/<lang>/<hash>/<filename:path>')
def dlsub(lang, hash_, filename):
if dl_subtitle(hash_, lang, os.path.join(self.tmp, filename)):
msg1 = _("Success : your subtitles ar in the video directory")
msg1 = _("Success: your subtitles are in the torrent folder")
msg2 = _("Click here if you want to download them on you computer")
msg3 = _("This page will close in 5.42 seconds")
return '''<p>{}<br />
......@@ -847,8 +849,9 @@ class DontPanic:
if __name__ == '__main__':
parser = ArgumentParser(prog=progname, description=_("Dontpanic is a python app to look for any movie or \
serie and watch them in streaming. It looks like popcorntime, but doesn't depend of a centralized api."))
parser = ArgumentParser(prog=progname, description=_("Dontpanic is a python app to look for any movie or"
" serie and watch them in streaming. It looks like popcorntime"
", but doesn't depend of a centralized api."))
parser.add_argument("-v", "--verbose", action="count", default=0, help=_("Increase output verbosity"))
parser.add_argument("--version", action="version", version=progversion, help=_("Print version"))
......
......@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-01-26 17:20+0100\n"
"POT-Creation-Date: 2016-01-26 19:05+0100\n"
"PO-Revision-Date: 2016-01-11 10:28+0100\n"
"Last-Translator: Xavier Cartron <thuban@yeuxdelibad.net>\n"
"Language-Team: French\n"
......@@ -22,7 +22,7 @@ msgstr ""
msgid "Update translation for Dontpanic."
msgstr ""
#: translation.py:65 dontpanic.py:845 dontpanic-server.py:63
#: translation.py:65 dontpanic.py:856 dontpanic-server.py:64
msgid "Increase output verbosity"
msgstr ""
......@@ -31,7 +31,7 @@ msgid "Update template for translators"
msgstr ""
#: translation.py:68
msgid "Update po from pot file"
msgid "Update .po files from .pot file"
msgstr ""
#: translation.py:69
......@@ -63,7 +63,7 @@ msgid "Get some beer before searching"
msgstr ""
#: utils.py:203
msgid "Back to dontpanic main page"
msgid "Back to main page"
msgstr ""
#: utils.py:204
......@@ -95,11 +95,11 @@ msgid "Show play link at"
msgstr ""
#: utils.py:211
msgid "Upload limit in kB (-1 is no limit) :"
msgid "Set upload limit in kB (-1 is no limit):"
msgstr ""
#: utils.py:212
msgid "Download limit in kB (-1 is no limit) :"
msgid "Set download limit in kB (-1 is no limit):"
msgstr ""
#: utils.py:213
......@@ -123,7 +123,7 @@ msgid "Administration"
msgstr ""
#: utils.py:218
msgid "Stop don't panic"
msgid "Stop Don't Panic"
msgstr ""
#: utils.py:219
......@@ -159,245 +159,249 @@ msgid "See also"
msgstr ""
#: utils.py:227
msgid "Director : "
msgid "Director: "
msgstr ""
#: utils.py:228
msgid "Writer : "
msgid "Writers: "
msgstr ""
#: utils.py:229
msgid "Actors : "
msgid "Actors: "
msgstr ""
#: utils.py:230
msgid "Subtitle (or any extra words) :"
msgid "Subtitle (or any extra words):"
msgstr ""
#: utils.py:231
msgid "Search on :"
msgid "Search on:"
msgstr ""
#: utils.py:232
msgid "Watch now"
msgstr ""
#: dontpanic.py:68
#: dontpanic.py:69
msgid "Name"
msgstr ""
#: dontpanic.py:69
#: dontpanic.py:70
msgid "Size"
msgstr ""
#: dontpanic.py:70
#: dontpanic.py:71
msgid "Leechs"
msgstr ""
#: dontpanic.py:71
#: dontpanic.py:72
msgid "Seeds"
msgstr ""
#: dontpanic.py:102
#: dontpanic.py:103
msgid "More results"
msgstr ""
#: dontpanic.py:105
#: dontpanic.py:106
msgid "There is no result for your search, try something else"
msgstr ""
#: dontpanic.py:141
#: dontpanic.py:142
msgid "Season"
msgstr ""
#: dontpanic.py:142
#: dontpanic.py:143
msgid "Episode"
msgstr ""
#: dontpanic.py:143
#: dontpanic.py:144
msgid "Title"
msgstr ""
#: dontpanic.py:144
#: dontpanic.py:145
msgid "Release date"
msgstr ""
#: dontpanic.py:145
#: dontpanic.py:146
msgid "Seen"
msgstr ""
#: dontpanic.py:164
#: dontpanic.py:165
msgid "Yes"
msgstr ""
#: dontpanic.py:167
#: dontpanic.py:168
msgid "No"
msgstr ""
#: dontpanic.py:200
#: dontpanic.py:201
msgid "Do you mean ? "
msgstr ""
#: dontpanic.py:242 dontpanic.py:251
#: dontpanic.py:243 dontpanic.py:252
msgid "Watch again"
msgstr ""
#: dontpanic.py:243 dontpanic.py:252
#: dontpanic.py:244 dontpanic.py:253
msgid "Remove"
msgstr ""
#: dontpanic.py:335 dontpanic.py:372 dontpanic.py:697
#: dontpanic.py:336 dontpanic.py:373 dontpanic.py:700
msgid "Username"
msgstr ""
#: dontpanic.py:336 dontpanic.py:373 dontpanic.py:698
#: dontpanic.py:337 dontpanic.py:374 dontpanic.py:701
msgid "Password"
msgstr ""
#: dontpanic.py:337 dontpanic.py:374 dontpanic.py:699
#: dontpanic.py:338 dontpanic.py:375 dontpanic.py:702
msgid "Login"
msgstr ""
#: dontpanic.py:338 dontpanic.py:375
#: dontpanic.py:339 dontpanic.py:376
msgid "Register"
msgstr ""
#: dontpanic.py:363
#: dontpanic.py:364
msgid "Your login information was incorrect"
msgstr ""
#: dontpanic.py:392
msgid "Congratulations, your subscriptino is a success"
#: dontpanic.py:393
msgid "Congratulations, your subscription is a success"
msgstr ""
#: dontpanic.py:393
#: dontpanic.py:394
msgid "Now, log in"
msgstr ""
#: dontpanic.py:398
msgid "<h1>Oh no! User {} already exists</h1>"
#: dontpanic.py:399
msgid "Oh no!"
msgstr ""
#: dontpanic.py:404
msgid "You're not logged in"
#: dontpanic.py:400
msgid "User {} already exists"
msgstr ""
#: dontpanic.py:407
msgid "You're not logged in"
msgstr ""
#: dontpanic.py:410
msgid "Your accoun't is deleted"
msgstr ""
#: dontpanic.py:409
#: dontpanic.py:412
msgid ""
"An error occured while deleting your account. Please contact the "
"administrator"
msgstr ""
#: dontpanic.py:446 dontpanic.py:474
#: dontpanic.py:449 dontpanic.py:477
msgid "Error while searching. Try another engine"
msgstr ""
#: dontpanic.py:582
#: dontpanic.py:585
msgid "Stop this download"
msgstr ""
#: dontpanic.py:590
#: dontpanic.py:593
msgid "Play"
msgstr ""
#: dontpanic.py:592
#: dontpanic.py:595
msgid "Find subtitles"
msgstr ""
#: dontpanic.py:604
#: dontpanic.py:607
msgid "Only the administrator can delete a download"
msgstr ""
#: dontpanic.py:611
#: dontpanic.py:614
msgid "Torrent deleted"
msgstr ""
#: dontpanic.py:625
#: dontpanic.py:628
msgid "Play with external video player"
msgstr ""
#: dontpanic.py:626
#: dontpanic.py:629
msgid "Download the video"
msgstr ""
#: dontpanic.py:651
#: dontpanic.py:654
msgid "Look for subtitles on"
msgstr ""
#: dontpanic.py:657
#: dontpanic.py:660
msgid "Choose a language to download subtitle"
msgstr ""
#: dontpanic.py:666
#: dontpanic.py:669
msgid "No subtitle available on subdb"
msgstr ""
#: dontpanic.py:677
msgid "Success : your subtitles ar in the video directory"
#: dontpanic.py:680
msgid "Success: your subtitles are in the torrent folder"
msgstr ""
#: dontpanic.py:678
#: dontpanic.py:681
msgid "Click here if you want to download them on you computer"
msgstr ""
#: dontpanic.py:679
#: dontpanic.py:682
msgid "This page will close in 5.42 seconds"
msgstr ""
#: dontpanic.py:690
#: dontpanic.py:693
msgid "Failed to download subtitles"
msgstr ""
#: dontpanic.py:696
#: dontpanic.py:699
msgid "Only the administrator can see this page"
msgstr ""
#: dontpanic.py:728
#: dontpanic.py:731
msgid "Go to hell, take the highway. You are not the administrator."
msgstr ""
#: dontpanic.py:756
#: dontpanic.py:759
msgid "Don't Panic is now off"
msgstr ""
#: dontpanic.py:756
#: dontpanic.py:759
msgid "See you soon"
msgstr ""
#: dontpanic.py:842
#: dontpanic.py:852
msgid ""
"Dontpanic is a python app to look for any movie or serie and watch them "
"in streaming. It looks like popcorntime, but doesn't depend of a centralized "
"Dontpanic is a python app to look for any movie or serie and watch them in "
"streaming. It looks like popcorntime, but doesn't depend of a centralized "
"api."
msgstr ""
#: dontpanic.py:846 dontpanic-server.py:64
#: dontpanic.py:857 dontpanic-server.py:65
msgid "Print version"
msgstr ""
#: dontpanic-server.py:60
msgid ""
"Dontpanic is a python app to look for any movie or serie and watch them "
"in streaming. You can deploy it on your server and make it available for the "
"Dontpanic is a python app to look for any movie or serie and watch them in "
"streaming. You can deploy it on your server and make it available for the "
"world."
msgstr ""
#: dontpanic-server.py:66
#: dontpanic-server.py:67
msgid "The adapter to use"
msgstr ""
#: dontpanic-server.py:67
#: dontpanic-server.py:68
msgid "Admin user name"
msgstr ""
#: dontpanic-server.py:68
#: dontpanic-server.py:69
msgid "Admin password"
msgstr ""
#: dontpanic-server.py:69
msgid "Which port dontpanic will listen"
#: dontpanic-server.py:70
msgid "Which port Don't Panic will listen"
msgstr ""
......@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: dontpanic\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-01-26 17:20+0100\n"
"POT-Creation-Date: 2016-01-26 19:05+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"
......@@ -21,7 +21,7 @@ msgstr ""
msgid "Update translation for Dontpanic."
msgstr ""
#: translation.py:65 dontpanic.py:845 dontpanic-server.py:63
#: translation.py:65 dontpanic.py:856 dontpanic-server.py:64
msgid "Increase output verbosity"
msgstr ""
......@@ -30,7 +30,7 @@ msgid "Update template for translators"
msgstr ""
#: translation.py:68
msgid "Update po from pot file"
msgid "Update .po files from .pot file"
msgstr ""
#: translation.py:69
......@@ -62,7 +62,7 @@ msgid "Get some beer before searching"
msgstr ""
#: utils.py:203
msgid "Back to dontpanic main page"
msgid "Back to main page"
msgstr ""
#: utils.py:204
......@@ -94,11 +94,11 @@ msgid "Show play link at"
msgstr ""
#: utils.py:211
msgid "Upload limit in kB (-1 is no limit) :"
msgid "Set upload limit in kB (-1 is no limit):"
msgstr ""
#: utils.py:212
msgid "Download limit in kB (-1 is no limit) :"
msgid "Set download limit in kB (-1 is no limit):"
msgstr ""
#: utils.py:213
......@@ -122,7 +122,7 @@ msgid "Administration"
msgstr ""
#: utils.py:218
msgid "Stop don't panic"
msgid "Stop Don't Panic"
msgstr ""
#: utils.py:219
......@@ -158,245 +158,249 @@ msgid "See also"
msgstr ""
#: utils.py:227
msgid "Director : "
msgid "Director: "
msgstr ""
#: utils.py:228
msgid "Writer : "
msgid "Writers: "
msgstr ""
#: utils.py:229
msgid "Actors : "
msgid "Actors: "
msgstr ""
#: utils.py:230
msgid "Subtitle (or any extra words) :"
msgid "Subtitle (or any extra words):"
msgstr ""
#: utils.py:231
msgid "Search on :"
msgid "Search on:"
msgstr ""
#: utils.py:232
msgid "Watch now"
msgstr ""
#: dontpanic.py:68
#: dontpanic.py:69
msgid "Name"
msgstr ""
#: dontpanic.py:69
#: dontpanic.py:70
msgid "Size"
msgstr ""
#: dontpanic.py:70
#: dontpanic.py:71
msgid "Leechs"
msgstr ""
#: dontpanic.py:71
#: dontpanic.py:72
msgid "Seeds"
msgstr ""
#: dontpanic.py:102
#: dontpanic.py:103
msgid "More results"
msgstr ""
#: dontpanic.py:105
#: dontpanic.py:106
msgid "There is no result for your search, try something else"
msgstr ""
#: dontpanic.py:141
#: dontpanic.py:142
msgid "Season"
msgstr ""
#: dontpanic.py:142
#: dontpanic.py:143
msgid "Episode"
msgstr ""
#: dontpanic.py:143
#: dontpanic.py:144
msgid "Title"
msgstr ""
#: dontpanic.py:144
#: dontpanic.py:145
msgid "Release date"
msgstr ""
#: dontpanic.py:145
#: dontpanic.py:146
msgid "Seen"
msgstr ""
#: dontpanic.py:164
#: dontpanic.py:165
msgid "Yes"
msgstr ""
#: dontpanic.py:167
#: dontpanic.py:168
msgid "No"
msgstr ""
#: dontpanic.py:200
#: dontpanic.py:201
msgid "Do you mean ? "
msgstr ""
#: dontpanic.py:242 dontpanic.py:251
#: dontpanic.py:243 dontpanic.py:252
msgid "Watch again"
msgstr ""
#: dontpanic.py:243 dontpanic.py:252
#: dontpanic.py:244 dontpanic.py:253
msgid "Remove"
msgstr ""
#: dontpanic.py:335 dontpanic.py:372 dontpanic.py:697
#: dontpanic.py:336 dontpanic.py:373 dontpanic.py:700
msgid "Username"
msgstr ""
#: dontpanic.py:336 dontpanic.py:373 dontpanic.py:698
#: dontpanic.py:337 dontpanic.py:374 dontpanic.py:701
msgid "Password"
msgstr ""
#: dontpanic.py:337 dontpanic.py:374 dontpanic.py:699
#: dontpanic.py:338 dontpanic.py:375 dontpanic.py:702
msgid "Login"
msgstr ""
#: dontpanic.py:338 dontpanic.py:375
#: dontpanic.py:339 dontpanic.py:376
msgid "Register"
msgstr ""
#: dontpanic.py:363
#: dontpanic.py:364
msgid "Your login information was incorrect"
msgstr ""
#: dontpanic.py:392
msgid "Congratulations, your subscriptino is a success"
#: dontpanic.py:393
msgid "Congratulations, your subscription is a success"
msgstr ""
#: dontpanic.py:393
#: dontpanic.py:394
msgid "Now, log in"
msgstr ""
#: dontpanic.py:398
msgid "<h1>Oh no! User {} already exists</h1>"
#: dontpanic.py:399
msgid "Oh no!"
msgstr ""
#: dontpanic.py:404
msgid "You're not logged in"
#: dontpanic.py:400
msgid "User {} already exists"
msgstr ""
#: dontpanic.py:407
msgid "You're not logged in"
msgstr ""
#: dontpanic.py:410
msgid "Your accoun't is deleted"
msgstr ""
#: dontpanic.py:409
#: dontpanic.py:412
msgid ""
"An error occured while deleting your account. Please contact the "
"administrator"
msgstr ""
#: dontpanic.py:446 dontpanic.py:474
#: dontpanic.py:449 dontpanic.py:477
msgid "Error while searching. Try another engine"
msgstr ""
#: dontpanic.py:582
#: dontpanic.py:585
msgid "Stop this download"
msgstr ""
#: dontpanic.py:590
#: dontpanic.py:593
msgid "Play"
msgstr ""
#: dontpanic.py:592
#: dontpanic.py:595
msgid "Find subtitles"
msgstr ""
#: dontpanic.py:604
#: dontpanic.py:607
msgid "Only the administrator can delete a download"
msgstr ""
#: dontpanic.py:611
#: dontpanic.py:614
msgid "Torrent deleted"
msgstr ""
#: dontpanic.py:625
#: dontpanic.py:628
msgid "Play with external video player"
msgstr ""
#: dontpanic.py:626
#: dontpanic.py:629
msgid "Download the video"
msgstr ""
#: dontpanic.py:651
#: dontpanic.py:654
msgid "Look for subtitles on"
msgstr ""
#: dontpanic.py:657
#: dontpanic.py:660
msgid "Choose a language to download subtitle"
msgstr ""
#: dontpanic.py:666
#: dontpanic.py:669
msgid "No subtitle available on subdb"
msgstr ""
#: dontpanic.py:677
msgid "Success : your subtitles ar in the video directory"
#: dontpanic.py:680
msgid "Success: your subtitles are in the torrent folder"
msgstr ""
#: dontpanic.py:678
#: dontpanic.py:681
msgid "Click here if you want to download them on you computer"
msgstr ""
#: dontpanic.py:679
#: dontpanic.py:682
msgid "This page will close in 5.42 seconds"
msgstr ""
#: dontpanic.py:690
#: dontpanic.py:693
msgid "Failed to download subtitles"
msgstr ""
#: dontpanic.py:696
#: dontpanic.py:699
msgid "Only the administrator can see this page"
msgstr ""
#: dontpanic.py:728
#: dontpanic.py:731
msgid "Go to hell, take the highway. You are not the administrator."
msgstr ""
#: dontpanic.py:756
#: dontpanic.py:759
msgid "Don't Panic is now off"
msgstr ""
#: dontpanic.py:756
#: dontpanic.py:759
msgid "See you soon"
msgstr ""
#: dontpanic.py:842
#: dontpanic.py:852
msgid ""
"Dontpanic is a python app to look for any movie or serie and watch them "
"in streaming. It looks like popcorntime, but doesn't depend of a centralized "
"Dontpanic is a python app to look for any movie or serie and watch them in "
"streaming. It looks like popcorntime, but doesn't depend of a centralized "
"api."
msgstr ""
#: dontpanic.py:846 dontpanic-server.py:64
#: dontpanic.py:857 dontpanic-server.py:65
msgid "Print version"
msgstr ""
#: dontpanic-server.py:60
msgid ""
"Dontpanic is a python app to look for any movie or serie and watch them "
"in streaming. You can deploy it on your server and make it available for the "
"Dontpanic is a python app to look for any movie or serie and watch them in "
"streaming. You can deploy it on your server and make it available for the "
"world."
msgstr ""
#: dontpanic-server.py:66
#: dontpanic-server.py:67
msgid "The adapter to use"
msgstr ""
#: dontpanic-server.py:67
#: dontpanic-server.py:68
msgid "Admin user name"
msgstr ""
#: dontpanic-server.py:68
#: dontpanic-server.py:69
msgid "Admin password"
msgstr ""
#: dontpanic-server.py:69
msgid "Which port dontpanic will listen"
#: dontpanic-server.py:70
msgid "Which port Don't Panic will listen"
msgstr ""
......@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"