diff --git a/cps/helper.py b/cps/helper.py index a76fc3d7..d13496bc 100755 --- a/cps/helper.py +++ b/cps/helper.py @@ -238,7 +238,7 @@ def update_dir_structure_file(book_id, calibrepath): except OSError as ex: web.app.logger.error("Rename title from: " + path + " to " + new_title_path) web.app.logger.error(ex, exc_info=True) - return _('Rename title from: "%(src)s" to "%(dest)s" failed with error: %(error)s', src=path, dest=new_title_path, error=str(ex)) + return _("Rename title from: '%(src)s' to '%(dest)s' failed with error: %(error)s", src=path, dest=new_title_path, error=str(ex)) if authordir != new_authordir: try: new_author_path = os.path.join(os.path.join(calibrepath, new_authordir), os.path.basename(path)) @@ -247,7 +247,7 @@ def update_dir_structure_file(book_id, calibrepath): except OSError as ex: web.app.logger.error("Rename author from: " + path + " to " + new_author_path) web.app.logger.error(ex, exc_info=True) - return _('Rename author from: "%(src)s" to "%(dest)s" failed with error: %(error)s', src=path, dest=new_title_path, error=str(ex)) + return _("Rename author from: '%(src)s' to '%(dest)s' failed with error: %(error)s", src=path, dest=new_title_path, error=str(ex)) return False diff --git a/cps/translations/de/LC_MESSAGES/messages.mo b/cps/translations/de/LC_MESSAGES/messages.mo index 46dae3c1..c1d69aca 100644 Binary files a/cps/translations/de/LC_MESSAGES/messages.mo and b/cps/translations/de/LC_MESSAGES/messages.mo differ diff --git a/cps/translations/de/LC_MESSAGES/messages.po b/cps/translations/de/LC_MESSAGES/messages.po index 5694b3f2..44b85228 100644 --- a/cps/translations/de/LC_MESSAGES/messages.po +++ b/cps/translations/de/LC_MESSAGES/messages.po @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: Calibre-Web\n" "Report-Msgid-Bugs-To: https://github.com/janeczku/Calibre-Web\n" -"POT-Creation-Date: 2018-09-08 12:22+0200\n" +"POT-Creation-Date: 2018-09-08 14:49+0200\n" "PO-Revision-Date: 2016-07-12 19:54+0200\n" "Last-Translator: Ozzie Isaacs\n" "Language: de\n" @@ -106,20 +106,16 @@ msgstr "" #: cps/helper.py:241 #, python-format -msgid "" -"Rename title from: \"%(src)s\" to \"%(dest)s\" failed with error: " -"%(error)s" +msgid "Rename title from: '%(src)s' to '%(dest)s' failed with error: %(error)s" msgstr "" -"Umbenennen des Titelpfades \"%(src)s\" nach \"%(dest)s\" schlug fehl: " +"Umbenennen des Titelpfades '%(src)s' nach '%(dest)s' schlug fehl: " "%(error)s" #: cps/helper.py:250 #, python-format -msgid "" -"Rename author from: \"%(src)s\" to \"%(dest)s\" failed with error: " -"%(error)s" +msgid "Rename author from: '%(src)s' to '%(dest)s' failed with error: %(error)s" msgstr "" -"Umbenennen des Authorpfades \"%(src)s\" nach \"%(dest)s\" schlug fehl: " +"Umbenennen des Authorpfades '%(src)s' nach '%(dest)s' schlug fehl: " "%(error)s" #: cps/helper.py:272 cps/helper.py:281 @@ -592,10 +588,10 @@ msgstr "" msgid "edit metadata" msgstr "Metadaten editieren" -#: cps/web.py:3284 +#: cps/web.py:3284 cps/web.py:3576 #, python-format -msgid "File extension \"%s\" is not allowed to be uploaded to this server" -msgstr "" +msgid "File extension '%(ext)s' is not allowed to be uploaded to this server" +msgstr "Dateiendung '%(ext)s' kann nicht auf diesen Server hochgeladen werden" #: cps/web.py:3288 cps/web.py:3580 msgid "File to be uploaded must have an extension" @@ -642,13 +638,6 @@ msgstr "Cover ist keine JPG Datei, konnte nicht gespeichert werden" msgid "Error editing book, please check logfile for details" msgstr "Fehler beim Editieren des Buchs, Details im Logfile" -#: cps/web.py:3576 -#, python-format -msgid "File extension \"%(ext)s\" is not allowed to be uploaded to this server" -msgstr "" -"Die Dateiendung \"%(ext)s\" kann nicht auf diesen Server hochgeladen " -"werden" - #: cps/web.py:3605 #, python-format msgid "Failed to store file %(file)s (Permission denied)." @@ -1133,7 +1122,7 @@ msgstr "Öffentliche Registrierung aktivieren" #: cps/templates/config_edit.html:146 msgid "Enable remote login (\"magic link\")" -msgstr "Remote Login aktivieren (\"Magischer Link\")" +msgstr "Remote Login aktivieren ('Magischer Link')" #: cps/templates/config_edit.html:151 msgid "Use" @@ -1883,3 +1872,6 @@ msgstr "Letzte Downloads" #~ "Ordner erzeugen für Cover %(cover)s " #~ "fehlgeschalgen (Zugriff verweigert)." +#~ msgid "File extension '%s' is not allowed to be uploaded to this server" +#~ msgstr "" + diff --git a/cps/translations/es/LC_MESSAGES/messages.mo b/cps/translations/es/LC_MESSAGES/messages.mo index a6a74562..8444cf2c 100644 Binary files a/cps/translations/es/LC_MESSAGES/messages.mo and b/cps/translations/es/LC_MESSAGES/messages.mo differ diff --git a/cps/translations/es/LC_MESSAGES/messages.po b/cps/translations/es/LC_MESSAGES/messages.po index 6922eb7a..4bebecd8 100644 --- a/cps/translations/es/LC_MESSAGES/messages.po +++ b/cps/translations/es/LC_MESSAGES/messages.po @@ -14,7 +14,7 @@ msgid "" msgstr "" "Project-Id-Version: Calibre-Web\n" "Report-Msgid-Bugs-To: https://github.com/janeczku/Calibre-Web\n" -"POT-Creation-Date: 2018-09-08 12:22+0200\n" +"POT-Creation-Date: 2018-09-08 14:49+0200\n" "PO-Revision-Date: 2017-04-04 15:09+0200\n" "Last-Translator: Juan F. Villa \n" "Language: es\n" @@ -95,16 +95,12 @@ msgstr "" #: cps/helper.py:241 #, python-format -msgid "" -"Rename title from: \"%(src)s\" to \"%(dest)s\" failed with error: " -"%(error)s" +msgid "Rename title from: '%(src)s' to '%(dest)s' failed with error: %(error)s" msgstr "" #: cps/helper.py:250 #, python-format -msgid "" -"Rename author from: \"%(src)s\" to \"%(dest)s\" failed with error: " -"%(error)s" +msgid "Rename author from: '%(src)s' to '%(dest)s' failed with error: %(error)s" msgstr "" #: cps/helper.py:272 cps/helper.py:281 @@ -569,10 +565,10 @@ msgstr "" msgid "edit metadata" msgstr "editar metainformación" -#: cps/web.py:3284 +#: cps/web.py:3284 cps/web.py:3576 #, python-format -msgid "File extension \"%s\" is not allowed to be uploaded to this server" -msgstr "" +msgid "File extension '%(ext)s' is not allowed to be uploaded to this server" +msgstr "No se permite subir archivos con la extensión '%(ext)s' a este servidor" #: cps/web.py:3288 cps/web.py:3580 msgid "File to be uploaded must have an extension" @@ -619,11 +615,6 @@ msgstr "" msgid "Error editing book, please check logfile for details" msgstr "" -#: cps/web.py:3576 -#, python-format -msgid "File extension \"%(ext)s\" is not allowed to be uploaded to this server" -msgstr "No se permite subir archivos con la extensión \"%(ext)s\" a este servidor" - #: cps/web.py:3605 #, python-format msgid "Failed to store file %(file)s (Permission denied)." @@ -1853,14 +1844,12 @@ msgstr "Descargas Recientes" #~ msgid "E-Mail: %(book)s" #~ msgstr "" -#~ msgid "" -#~ "Rename title from: \"%(src)s\" to " -#~ "\"%(dest)s\" failed with error: %(error)s" +#~ msgid "Rename title from: '%(src)s' to '%(dest)s' failed with error: %(error)s" #~ msgstr "" #~ msgid "" -#~ "Rename author from: \"%(src)s\" to " -#~ "\"%(dest)s\" failed with error: %(error)s" +#~ "Rename author from: '%(src)s' to " +#~ "'%(dest)s' failed with error: %(error)s" #~ msgstr "" #~ msgid "Password for user %(user)s reset" @@ -1869,16 +1858,20 @@ msgstr "Descargas Recientes" #~ msgid "Password for user %s reset" #~ msgstr "" -#~ msgid "" -#~ "Rename title from: \"%(src)s\" to " -#~ "\"%(src)s\" failed with error: %(error)s" +#~ msgid "Rename title from: '%(src)s' to '%(src)s' failed with error: %(error)s" #~ msgstr "" -#~ msgid "" -#~ "Rename author from: \"%(src)s\" to " -#~ "\"%(src)s\" failed with error: %(error)s" +#~ msgid "Rename author from: '%(src)s' to '%(src)s' failed with error: %(error)s" #~ msgstr "" #~ msgid "Failed to create path for cover %(cover)s (Permission denied)." #~ msgstr "" +#~ msgid "File extension '%s' is not allowed to be uploaded to this server" +#~ msgstr "" + +#~ msgid "File extension \"%(ext)s\" is not allowed to be uploaded to this server" +#~ msgstr "" +#~ "No se permite subir archivos con " +#~ "la extensión \"%(ext)s\" a este servidor" + diff --git a/cps/translations/fr/LC_MESSAGES/messages.mo b/cps/translations/fr/LC_MESSAGES/messages.mo index 7cd22ec0..e9a16e74 100644 Binary files a/cps/translations/fr/LC_MESSAGES/messages.mo and b/cps/translations/fr/LC_MESSAGES/messages.mo differ diff --git a/cps/translations/fr/LC_MESSAGES/messages.po b/cps/translations/fr/LC_MESSAGES/messages.po index 0b6999b5..5def48a2 100644 --- a/cps/translations/fr/LC_MESSAGES/messages.po +++ b/cps/translations/fr/LC_MESSAGES/messages.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: Calibre-Web\n" "Report-Msgid-Bugs-To: https://github.com/janeczku/Calibre-Web\n" -"POT-Creation-Date: 2018-09-08 12:22+0200\n" +"POT-Creation-Date: 2018-09-08 14:49+0200\n" "PO-Revision-Date: 2018-09-07 13:58+0200\n" "Last-Translator: Nicolas Roudninski \n" "Language: fr\n" @@ -51,7 +51,7 @@ msgid "%(format)s not found on Google Drive: %(fn)s" msgstr "le %(format)s est introuvable sur Google Drive : %(fn)s" #: cps/helper.py:76 -#, fuzzy, python-format +#, python-format msgid "Convert: %(book)s" msgstr "Conversion : %(book)s" @@ -91,7 +91,7 @@ msgid "Send to Kindle" msgstr "Envoyer vers Kindle" #: cps/helper.py:144 cps/worker.py:226 -#, fuzzy, python-format +#, python-format msgid "E-mail: %(book)s" msgstr "Courriel : %(book)s" @@ -101,21 +101,17 @@ msgstr "Le fichier demandé n’a pu être lu. Problème de permission d’accè #: cps/helper.py:241 #, python-format -msgid "" -"Rename title from: \"%(src)s\" to \"%(dest)s\" failed with error: " -"%(error)s" +msgid "Rename title from: '%(src)s' to '%(dest)s' failed with error: %(error)s" msgstr "" -"Renommer le titre de : \"%(src)s\" à \"%(dest)s\" a échoué avec l’erreur " -": %(error)s" +"Renommer le titre de : '%(src)s' à '%(dest)s' a échoué avec l’erreur : " +"%(error)s" #: cps/helper.py:250 #, python-format -msgid "" -"Rename author from: \"%(src)s\" to \"%(dest)s\" failed with error: " -"%(error)s" +msgid "Rename author from: '%(src)s' to '%(dest)s' failed with error: %(error)s" msgstr "" -"Renommer l’auteur de : \"%(src)s\" à \"%(dest)s\" a échoué avec l’erreur " -": %%(error)s" +"Renommer l’auteur de : '%(src)s' à '%(dest)s' a échoué avec l’erreur : " +"%(error)s" #: cps/helper.py:272 cps/helper.py:281 #, python-format @@ -262,7 +258,6 @@ msgid "Update done" msgstr "Mise à jour effectuée" #: cps/web.py:1837 -#, fuzzy msgid "Published after " msgstr "Publié après le " @@ -353,7 +348,7 @@ msgid "Please configure the SMTP mail settings first..." msgstr "Veuillez configurer les paramètres SMTP au préalable…" #: cps/web.py:2289 -#, fuzzy, python-format +#, python-format msgid "Book successfully queued for sending to %(kindlemail)s" msgstr "" "Le livre a été mis en file de traitement avec succès pour un envois vers " @@ -603,10 +598,12 @@ msgstr "" msgid "edit metadata" msgstr "modifier les métadonnées" -#: cps/web.py:3284 +#: cps/web.py:3284 cps/web.py:3576 #, python-format -msgid "File extension \"%s\" is not allowed to be uploaded to this server" +msgid "File extension '%(ext)s' is not allowed to be uploaded to this server" msgstr "" +"L’extension de fichier '%(ext)s' n’est pas autorisée pour être déposée " +"sur ce serveur" #: cps/web.py:3288 cps/web.py:3580 msgid "File to be uploaded must have an extension" @@ -657,13 +654,6 @@ msgstr "" "Erreur d’édition du livre, veuillez consulter le journal (log) pour plus " "de détails" -#: cps/web.py:3576 -#, python-format -msgid "File extension \"%(ext)s\" is not allowed to be uploaded to this server" -msgstr "" -"L’extension de fichier \"%(ext)s\" n’est pas autorisée pour être déposée " -"sur ce serveur" - #: cps/web.py:3605 #, python-format msgid "Failed to store file %(file)s (Permission denied)." @@ -717,7 +707,6 @@ msgstr "" "message : %(message)s" #: cps/worker.py:317 cps/worker.py:377 cps/worker.py:438 -#, fuzzy msgid "Finished" msgstr "Terminé" @@ -1906,21 +1895,19 @@ msgstr "Téléchargements récents" #~ msgid "E-Mail: %(book)s" #~ msgstr "Courriel : %(book)s" -#~ msgid "" -#~ "Rename title from: \"%(src)s\" to " -#~ "\"%(dest)s\" failed with error: %(error)s" +#~ msgid "Rename title from: '%(src)s' to '%(dest)s' failed with error: %(error)s" #~ msgstr "" -#~ "Renommer le titre de : \"%(src)s\" " -#~ "à \"%(dest)s\" a échoué avec l’erreur" -#~ " : %(error)s" +#~ "Renommer le titre de : '%(src)s' à" +#~ " '%(dest)s' a échoué avec l’erreur :" +#~ " %(error)s" #~ msgid "" -#~ "Rename author from: \"%(src)s\" to " -#~ "\"%(dest)s\" failed with error: %(error)s" +#~ "Rename author from: '%(src)s' to " +#~ "'%(dest)s' failed with error: %(error)s" #~ msgstr "" -#~ "Renommer l’auteur de : \"%(src)s\" à " -#~ "\"%(dest)s\" a échoué avec l’erreur :" -#~ " %%(error)s" +#~ "Renommer l’auteur de : '%(src)s' à " +#~ "'%(dest)s' a échoué avec l’erreur : " +#~ "%%(error)s" #~ msgid "Password for user %(user)s reset" #~ msgstr "Le mot de passe de l’utilisateur %(user)s a été réinitialisé" @@ -1931,3 +1918,6 @@ msgstr "Téléchargements récents" #~ "d’accès pour la couverture %(cover)s " #~ "(Autorisation refusée)" +#~ msgid "File extension '%s' is not allowed to be uploaded to this server" +#~ msgstr "" + diff --git a/cps/translations/it/LC_MESSAGES/messages.mo b/cps/translations/it/LC_MESSAGES/messages.mo index dcc842b6..90bafee6 100644 Binary files a/cps/translations/it/LC_MESSAGES/messages.mo and b/cps/translations/it/LC_MESSAGES/messages.mo differ diff --git a/cps/translations/it/LC_MESSAGES/messages.po b/cps/translations/it/LC_MESSAGES/messages.po index b5d899d1..6a21eeae 100644 --- a/cps/translations/it/LC_MESSAGES/messages.po +++ b/cps/translations/it/LC_MESSAGES/messages.po @@ -14,7 +14,7 @@ msgid "" msgstr "" "Project-Id-Version: Calibre-Web\n" "Report-Msgid-Bugs-To: https://github.com/janeczku/Calibre-Web\n" -"POT-Creation-Date: 2018-09-08 12:22+0200\n" +"POT-Creation-Date: 2018-09-08 14:49+0200\n" "PO-Revision-Date: 2017-04-04 15:09+0200\n" "Last-Translator: Marco Picone \n" "Language: it\n" @@ -95,16 +95,12 @@ msgstr "" #: cps/helper.py:241 #, python-format -msgid "" -"Rename title from: \"%(src)s\" to \"%(dest)s\" failed with error: " -"%(error)s" +msgid "Rename title from: '%(src)s' to '%(dest)s' failed with error: %(error)s" msgstr "" #: cps/helper.py:250 #, python-format -msgid "" -"Rename author from: \"%(src)s\" to \"%(dest)s\" failed with error: " -"%(error)s" +msgid "Rename author from: '%(src)s' to '%(dest)s' failed with error: %(error)s" msgstr "" #: cps/helper.py:272 cps/helper.py:281 @@ -575,10 +571,12 @@ msgstr "" msgid "edit metadata" msgstr "modificare la metainformazione" -#: cps/web.py:3284 +#: cps/web.py:3284 cps/web.py:3576 #, python-format -msgid "File extension \"%s\" is not allowed to be uploaded to this server" +msgid "File extension '%(ext)s' is not allowed to be uploaded to this server" msgstr "" +"Non è consentito caricare i file con l'estensione '%(ext)s' a questo " +"server" #: cps/web.py:3288 cps/web.py:3580 msgid "File to be uploaded must have an extension" @@ -625,13 +623,6 @@ msgstr "" msgid "Error editing book, please check logfile for details" msgstr "" -#: cps/web.py:3576 -#, python-format -msgid "File extension \"%(ext)s\" is not allowed to be uploaded to this server" -msgstr "" -"Non è consentito caricare i file con l'estensione \"%(ext)s\" a questo " -"server" - #: cps/web.py:3605 #, python-format msgid "Failed to store file %(file)s (Permission denied)." @@ -640,7 +631,7 @@ msgstr "Impossibile archiviare il file %(file)s (autorizzazione negata)" #: cps/web.py:3610 #, python-format msgid "Failed to delete file %(file)s (Permission denied)." -msgstr "Impossibile eliminare il file %s (autorizzazione negata)" +msgstr "Impossibile eliminare il file %(file)s (autorizzazione negata)" #: cps/web.py:3692 #, python-format @@ -988,7 +979,7 @@ msgstr "Sei davvero sicuro?" #: cps/templates/book_edit.html:194 msgid "Book will be deleted from Calibre database" -msgstr "l libro verrà cancellato dal database Calibre\"" +msgstr "l libro verrà cancellato dal database Calibre'" #: cps/templates/book_edit.html:195 msgid "and from hard disk" @@ -1863,14 +1854,12 @@ msgstr "Download Recenti" #~ msgid "E-Mail: %(book)s" #~ msgstr "" -#~ msgid "" -#~ "Rename title from: \"%(src)s\" to " -#~ "\"%(dest)s\" failed with error: %(error)s" +#~ msgid "Rename title from: '%(src)s' to '%(dest)s' failed with error: %(error)s" #~ msgstr "" #~ msgid "" -#~ "Rename author from: \"%(src)s\" to " -#~ "\"%(dest)s\" failed with error: %(error)s" +#~ "Rename author from: '%(src)s' to " +#~ "'%(dest)s' failed with error: %(error)s" #~ msgstr "" #~ msgid "Password for user %(user)s reset" @@ -1879,16 +1868,21 @@ msgstr "Download Recenti" #~ msgid "Password for user %s reset" #~ msgstr "" -#~ msgid "" -#~ "Rename title from: \"%(src)s\" to " -#~ "\"%(src)s\" failed with error: %(error)s" +#~ msgid "Rename title from: '%(src)s' to '%(src)s' failed with error: %(error)s" #~ msgstr "" -#~ msgid "" -#~ "Rename author from: \"%(src)s\" to " -#~ "\"%(src)s\" failed with error: %(error)s" +#~ msgid "Rename author from: '%(src)s' to '%(src)s' failed with error: %(error)s" #~ msgstr "" #~ msgid "Failed to create path for cover %(cover)s (Permission denied)." #~ msgstr "" +#~ msgid "File extension '%s' is not allowed to be uploaded to this server" +#~ msgstr "" + +#~ msgid "File extension \"%(ext)s\" is not allowed to be uploaded to this server" +#~ msgstr "" +#~ "Non è consentito caricare i file " +#~ "con l'estensione \"%(ext)s\" a questo " +#~ "server" + diff --git a/cps/translations/ja/LC_MESSAGES/messages.mo b/cps/translations/ja/LC_MESSAGES/messages.mo index 31f205f5..635875e7 100644 Binary files a/cps/translations/ja/LC_MESSAGES/messages.mo and b/cps/translations/ja/LC_MESSAGES/messages.mo differ diff --git a/cps/translations/ja/LC_MESSAGES/messages.po b/cps/translations/ja/LC_MESSAGES/messages.po index aa9bf428..82ff9871 100644 --- a/cps/translations/ja/LC_MESSAGES/messages.po +++ b/cps/translations/ja/LC_MESSAGES/messages.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: Calibre-Web\n" "Report-Msgid-Bugs-To: https://github.com/janeczku/Calibre-Web\n" -"POT-Creation-Date: 2018-09-08 12:22+0200\n" +"POT-Creation-Date: 2018-09-08 14:49+0200\n" "PO-Revision-Date: 2018-02-07 02:20-0500\n" "Last-Translator: white \n" "Language: ja\n" @@ -90,16 +90,12 @@ msgstr "" #: cps/helper.py:241 #, python-format -msgid "" -"Rename title from: \"%(src)s\" to \"%(dest)s\" failed with error: " -"%(error)s" +msgid "Rename title from: '%(src)s' to '%(dest)s' failed with error: %(error)s" msgstr "" #: cps/helper.py:250 #, python-format -msgid "" -"Rename author from: \"%(src)s\" to \"%(dest)s\" failed with error: " -"%(error)s" +msgid "Rename author from: '%(src)s' to '%(dest)s' failed with error: %(error)s" msgstr "" #: cps/helper.py:272 cps/helper.py:281 @@ -564,10 +560,10 @@ msgstr "電子本を開けません。ファイルは存在しないまたはア msgid "edit metadata" msgstr "メタデータを編集します" -#: cps/web.py:3284 +#: cps/web.py:3284 cps/web.py:3576 #, python-format -msgid "File extension \"%s\" is not allowed to be uploaded to this server" -msgstr "" +msgid "File extension '%(ext)s' is not allowed to be uploaded to this server" +msgstr "ファイル拡張子 '%(ext)s' をこのサーバにアップロードする許可はありません" #: cps/web.py:3288 cps/web.py:3580 msgid "File to be uploaded must have an extension" @@ -614,11 +610,6 @@ msgstr "" msgid "Error editing book, please check logfile for details" msgstr "" -#: cps/web.py:3576 -#, python-format -msgid "File extension \"%(ext)s\" is not allowed to be uploaded to this server" -msgstr "ファイル拡張子 \"%(ext)s\" をこのサーバにアップロードする許可はありません" - #: cps/web.py:3605 #, python-format msgid "Failed to store file %(file)s (Permission denied)." @@ -1099,7 +1090,7 @@ msgstr "公的登録を有効する" #: cps/templates/config_edit.html:146 msgid "Enable remote login (\"magic link\")" -msgstr "遠距離ログインを有効する (\"マジックリンク\")" +msgstr "遠距離ログインを有効する ('マジックリンク')" #: cps/templates/config_edit.html:151 msgid "Use" @@ -1846,15 +1837,13 @@ msgstr "最近ダウンロード" #~ msgid "E-Mail: %(book)s" #~ msgstr "" -#~ msgid "" -#~ "Rename title from: \"%(src)s\" to " -#~ "\"%(dest)s\" failed with error: %(error)s" -#~ msgstr "タイトルを\"%(src)s\"から\"%(dest)s\"の改名は失敗しました。エーラ: %(error)s" +#~ msgid "Rename title from: '%(src)s' to '%(dest)s' failed with error: %(error)s" +#~ msgstr "タイトルを'%(src)s'から'%(dest)s'の改名は失敗しました。エーラ: %(error)s" #~ msgid "" -#~ "Rename author from: \"%(src)s\" to " -#~ "\"%(dest)s\" failed with error: %(error)s" -#~ msgstr "著者を\"%(src)s\"から\"%(dest)s\"の改名は失敗しました。エーラ:%(error)s" +#~ "Rename author from: '%(src)s' to " +#~ "'%(dest)s' failed with error: %(error)s" +#~ msgstr "著者を'%(src)s'から'%(dest)s'の改名は失敗しました。エーラ:%(error)s" #~ msgid "Password for user %(user)s reset" #~ msgstr "" @@ -1862,16 +1851,18 @@ msgstr "最近ダウンロード" #~ msgid "Password for user %s reset" #~ msgstr "" -#~ msgid "" -#~ "Rename title from: \"%(src)s\" to " -#~ "\"%(src)s\" failed with error: %(error)s" +#~ msgid "Rename title from: '%(src)s' to '%(src)s' failed with error: %(error)s" #~ msgstr "" -#~ msgid "" -#~ "Rename author from: \"%(src)s\" to " -#~ "\"%(src)s\" failed with error: %(error)s" +#~ msgid "Rename author from: '%(src)s' to '%(src)s' failed with error: %(error)s" #~ msgstr "" #~ msgid "Failed to create path for cover %(cover)s (Permission denied)." #~ msgstr "" +#~ msgid "File extension '%s' is not allowed to be uploaded to this server" +#~ msgstr "" + +#~ msgid "File extension \"%(ext)s\" is not allowed to be uploaded to this server" +#~ msgstr "ファイル拡張子 \"%(ext)s\" をこのサーバにアップロードする許可はありません" + diff --git a/cps/translations/km/LC_MESSAGES/messages.mo b/cps/translations/km/LC_MESSAGES/messages.mo index d6d0db72..11558e35 100644 Binary files a/cps/translations/km/LC_MESSAGES/messages.mo and b/cps/translations/km/LC_MESSAGES/messages.mo differ diff --git a/cps/translations/km/LC_MESSAGES/messages.po b/cps/translations/km/LC_MESSAGES/messages.po index 5a4b140c..4e58453e 100644 --- a/cps/translations/km/LC_MESSAGES/messages.po +++ b/cps/translations/km/LC_MESSAGES/messages.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Calibre-Web\n" "Report-Msgid-Bugs-To: https://github.com/janeczku/Calibre-Web\n" -"POT-Creation-Date: 2018-09-08 12:22+0200\n" +"POT-Creation-Date: 2018-09-08 14:49+0200\n" "PO-Revision-Date: 2018-08-27 17:06+0700\n" "Last-Translator: \n" "Language: km_KH\n" @@ -89,16 +89,12 @@ msgstr "ឯកសារដែលបានស្នើសុំមិនអាច #: cps/helper.py:241 #, python-format -msgid "" -"Rename title from: \"%(src)s\" to \"%(dest)s\" failed with error: " -"%(error)s" +msgid "Rename title from: '%(src)s' to '%(dest)s' failed with error: %(error)s" msgstr "ប្តូរចំណងជើងពី “%(src)s” ទៅជា “%(dest)s” បរាជ័យដោយបញ្ហា: %(error)s" #: cps/helper.py:250 #, python-format -msgid "" -"Rename author from: \"%(src)s\" to \"%(dest)s\" failed with error: " -"%(error)s" +msgid "Rename author from: '%(src)s' to '%(dest)s' failed with error: %(error)s" msgstr "ប្តូរអ្នកនិពន្ធពី “%(src)s” ទៅជា “%(dest)s” បរាជ័យដោយបញ្ហា: %(error)s" #: cps/helper.py:272 cps/helper.py:281 @@ -565,10 +561,10 @@ msgstr "មានបញ្ហាពេលបើកឯកសារ eBook ។ ព msgid "edit metadata" msgstr "កែប្រែទិន្នន័យមេតា" -#: cps/web.py:3284 +#: cps/web.py:3284 cps/web.py:3576 #, python-format -msgid "File extension \"%s\" is not allowed to be uploaded to this server" -msgstr "" +msgid "File extension '%(ext)s' is not allowed to be uploaded to this server" +msgstr "ឯកសារប្រភេទ '%(ext)s' មិនត្រូវបានអនុញ្ញាតឲអាប់ឡូដទៅម៉ាស៊ីន server នេះទេ" #: cps/web.py:3288 cps/web.py:3580 msgid "File to be uploaded must have an extension" @@ -615,11 +611,6 @@ msgstr "គម្របមិនមែនជាឯកសារ JPG មិនអ msgid "Error editing book, please check logfile for details" msgstr "មានបញ្ហាពេលកែប្រែសៀវភៅ សូមពិនិត្យមើល logfile សម្រាប់ព័ត៌មានបន្ថែម" -#: cps/web.py:3576 -#, python-format -msgid "File extension \"%(ext)s\" is not allowed to be uploaded to this server" -msgstr "ឯកសារប្រភេទ “%(ext)s” មិនត្រូវបានអនុញ្ញាតឲអាប់ឡូដទៅម៉ាស៊ីន server នេះទេ" - #: cps/web.py:3605 #, python-format msgid "Failed to store file %(file)s (Permission denied)." @@ -1851,14 +1842,12 @@ msgstr "ការទាញយកថ្មីៗ" #~ msgid "E-Mail: %(book)s" #~ msgstr "អ៊ីមែល៖ %(book)s" -#~ msgid "" -#~ "Rename title from: \"%(src)s\" to " -#~ "\"%(dest)s\" failed with error: %(error)s" +#~ msgid "Rename title from: '%(src)s' to '%(dest)s' failed with error: %(error)s" #~ msgstr "ប្តូរចំណងជើងពី “%(src)s” ទៅជា “%(dest)s” បរាជ័យដោយបញ្ហា: %(error)s" #~ msgid "" -#~ "Rename author from: \"%(src)s\" to " -#~ "\"%(dest)s\" failed with error: %(error)s" +#~ "Rename author from: '%(src)s' to " +#~ "'%(dest)s' failed with error: %(error)s" #~ msgstr "ប្តូរអ្នកនិពន្ធពី “%(src)s” ទៅជា “%(dest)s” បរាជ័យដោយបញ្ហា: %(error)s" #~ msgid "Password for user %(user)s reset" @@ -1867,16 +1856,18 @@ msgstr "ការទាញយកថ្មីៗ" #~ msgid "Password for user %s reset" #~ msgstr "" -#~ msgid "" -#~ "Rename title from: \"%(src)s\" to " -#~ "\"%(src)s\" failed with error: %(error)s" +#~ msgid "Rename title from: '%(src)s' to '%(src)s' failed with error: %(error)s" #~ msgstr "" -#~ msgid "" -#~ "Rename author from: \"%(src)s\" to " -#~ "\"%(src)s\" failed with error: %(error)s" +#~ msgid "Rename author from: '%(src)s' to '%(src)s' failed with error: %(error)s" #~ msgstr "" #~ msgid "Failed to create path for cover %(cover)s (Permission denied)." #~ msgstr "" +#~ msgid "File extension '%s' is not allowed to be uploaded to this server" +#~ msgstr "" + +#~ msgid "File extension \"%(ext)s\" is not allowed to be uploaded to this server" +#~ msgstr "ឯកសារប្រភេទ “%(ext)s” មិនត្រូវបានអនុញ្ញាតឲអាប់ឡូដទៅម៉ាស៊ីន server នេះទេ" + diff --git a/cps/translations/nl/LC_MESSAGES/messages.mo b/cps/translations/nl/LC_MESSAGES/messages.mo index e28d5680..e01bcc57 100644 Binary files a/cps/translations/nl/LC_MESSAGES/messages.mo and b/cps/translations/nl/LC_MESSAGES/messages.mo differ diff --git a/cps/translations/nl/LC_MESSAGES/messages.po b/cps/translations/nl/LC_MESSAGES/messages.po index 4ed00487..268d9006 100644 --- a/cps/translations/nl/LC_MESSAGES/messages.po +++ b/cps/translations/nl/LC_MESSAGES/messages.po @@ -22,7 +22,7 @@ msgid "" msgstr "" "Project-Id-Version: Calibre-Web dutch translation by Ed Driesen (GPL V3)\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2018-09-08 12:22+0200\n" +"POT-Creation-Date: 2018-09-08 14:49+0200\n" "PO-Revision-Date: 2017-06-21 20:15+0200\n" "Last-Translator: \n" "Language: nl\n" @@ -103,16 +103,12 @@ msgstr "" #: cps/helper.py:241 #, python-format -msgid "" -"Rename title from: \"%(src)s\" to \"%(dest)s\" failed with error: " -"%(error)s" +msgid "Rename title from: '%(src)s' to '%(dest)s' failed with error: %(error)s" msgstr "" #: cps/helper.py:250 #, python-format -msgid "" -"Rename author from: \"%(src)s\" to \"%(dest)s\" failed with error: " -"%(error)s" +msgid "Rename author from: '%(src)s' to '%(dest)s' failed with error: %(error)s" msgstr "" #: cps/helper.py:272 cps/helper.py:281 @@ -581,10 +577,12 @@ msgstr "Fout bij openen eBook. Het bestand bestaat niet of is niet toegankelijk" msgid "edit metadata" msgstr "Bewerk metadata" -#: cps/web.py:3284 +#: cps/web.py:3284 cps/web.py:3576 #, python-format -msgid "File extension \"%s\" is not allowed to be uploaded to this server" +msgid "File extension '%(ext)s' is not allowed to be uploaded to this server" msgstr "" +"Het uploaden van bestandsextensie '%(ext)s' is niet toegestaan op deze " +"server" #: cps/web.py:3288 cps/web.py:3580 msgid "File to be uploaded must have an extension" @@ -631,13 +629,6 @@ msgstr "" msgid "Error editing book, please check logfile for details" msgstr "" -#: cps/web.py:3576 -#, python-format -msgid "File extension \"%(ext)s\" is not allowed to be uploaded to this server" -msgstr "" -"Het uploaden van bestandsextensie \"%(ext)s\" is niet toegestaan op deze " -"server" - #: cps/web.py:3605 #, python-format msgid "Failed to store file %(file)s (Permission denied)." @@ -1873,14 +1864,12 @@ msgstr "Recente Downloads" #~ msgid "E-Mail: %(book)s" #~ msgstr "" -#~ msgid "" -#~ "Rename title from: \"%(src)s\" to " -#~ "\"%(dest)s\" failed with error: %(error)s" +#~ msgid "Rename title from: '%(src)s' to '%(dest)s' failed with error: %(error)s" #~ msgstr "" #~ msgid "" -#~ "Rename author from: \"%(src)s\" to " -#~ "\"%(dest)s\" failed with error: %(error)s" +#~ "Rename author from: '%(src)s' to " +#~ "'%(dest)s' failed with error: %(error)s" #~ msgstr "" #~ msgid "Password for user %(user)s reset" @@ -1889,16 +1878,20 @@ msgstr "Recente Downloads" #~ msgid "Password for user %s reset" #~ msgstr "" -#~ msgid "" -#~ "Rename title from: \"%(src)s\" to " -#~ "\"%(src)s\" failed with error: %(error)s" +#~ msgid "Rename title from: '%(src)s' to '%(src)s' failed with error: %(error)s" #~ msgstr "" -#~ msgid "" -#~ "Rename author from: \"%(src)s\" to " -#~ "\"%(src)s\" failed with error: %(error)s" +#~ msgid "Rename author from: '%(src)s' to '%(src)s' failed with error: %(error)s" #~ msgstr "" #~ msgid "Failed to create path for cover %(cover)s (Permission denied)." #~ msgstr "" +#~ msgid "File extension '%s' is not allowed to be uploaded to this server" +#~ msgstr "" + +#~ msgid "File extension \"%(ext)s\" is not allowed to be uploaded to this server" +#~ msgstr "" +#~ "Het uploaden van bestandsextensie \"%(ext)s\"" +#~ " is niet toegestaan op deze server" + diff --git a/cps/translations/pl/LC_MESSAGES/messages.mo b/cps/translations/pl/LC_MESSAGES/messages.mo index ab0e61f0..7c8cb27f 100644 Binary files a/cps/translations/pl/LC_MESSAGES/messages.mo and b/cps/translations/pl/LC_MESSAGES/messages.mo differ diff --git a/cps/translations/pl/LC_MESSAGES/messages.po b/cps/translations/pl/LC_MESSAGES/messages.po index 75a979b6..4eafc524 100644 --- a/cps/translations/pl/LC_MESSAGES/messages.po +++ b/cps/translations/pl/LC_MESSAGES/messages.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Calibre Web - polski (POT: 2017-04-11 22:51)\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2018-09-08 12:22+0200\n" +"POT-Creation-Date: 2018-09-08 14:49+0200\n" "PO-Revision-Date: 2017-04-11 22:51+0200\n" "Last-Translator: Radosław Kierznowski \n" "Language: pl\n" @@ -94,16 +94,12 @@ msgstr "" #: cps/helper.py:241 #, python-format -msgid "" -"Rename title from: \"%(src)s\" to \"%(dest)s\" failed with error: " -"%(error)s" +msgid "Rename title from: '%(src)s' to '%(dest)s' failed with error: %(error)s" msgstr "" #: cps/helper.py:250 #, python-format -msgid "" -"Rename author from: \"%(src)s\" to \"%(dest)s\" failed with error: " -"%(error)s" +msgid "Rename author from: '%(src)s' to '%(dest)s' failed with error: %(error)s" msgstr "" #: cps/helper.py:272 cps/helper.py:281 @@ -568,10 +564,12 @@ msgstr "" msgid "edit metadata" msgstr "edytuj metadane" -#: cps/web.py:3284 +#: cps/web.py:3284 cps/web.py:3576 #, python-format -msgid "File extension \"%s\" is not allowed to be uploaded to this server" +msgid "File extension '%(ext)s' is not allowed to be uploaded to this server" msgstr "" +"Rozszerzenie pliku '%(ext)s' nie jest dozwolone do przesłania na ten " +"serwer" #: cps/web.py:3288 cps/web.py:3580 msgid "File to be uploaded must have an extension" @@ -618,13 +616,6 @@ msgstr "" msgid "Error editing book, please check logfile for details" msgstr "" -#: cps/web.py:3576 -#, python-format -msgid "File extension \"%(ext)s\" is not allowed to be uploaded to this server" -msgstr "" -"Rozszerzenie pliku \"%(ext)s\" nie jest dozwolone do przesłania na ten " -"serwer" - #: cps/web.py:3605 #, python-format msgid "Failed to store file %(file)s (Permission denied)." @@ -1862,14 +1853,12 @@ msgstr "Ostatnio pobierane" #~ msgid "E-mail: %stitle" #~ msgstr "" -#~ msgid "" -#~ "Rename title from: \"%(src)s\" to " -#~ "\"%(dest)s\" failed with error: %(error)s" +#~ msgid "Rename title from: '%(src)s' to '%(dest)s' failed with error: %(error)s" #~ msgstr "" #~ msgid "" -#~ "Rename author from: \"%(src)s\" to " -#~ "\"%(dest)s\" failed with error: %(error)s" +#~ "Rename author from: '%(src)s' to " +#~ "'%(dest)s' failed with error: %(error)s" #~ msgstr "" #~ msgid "Password for user %(user)s reset" @@ -1878,16 +1867,20 @@ msgstr "Ostatnio pobierane" #~ msgid "Password for user %s reset" #~ msgstr "" -#~ msgid "" -#~ "Rename title from: \"%(src)s\" to " -#~ "\"%(src)s\" failed with error: %(error)s" +#~ msgid "Rename title from: '%(src)s' to '%(src)s' failed with error: %(error)s" #~ msgstr "" -#~ msgid "" -#~ "Rename author from: \"%(src)s\" to " -#~ "\"%(src)s\" failed with error: %(error)s" +#~ msgid "Rename author from: '%(src)s' to '%(src)s' failed with error: %(error)s" #~ msgstr "" #~ msgid "Failed to create path for cover %(cover)s (Permission denied)." #~ msgstr "" +#~ msgid "File extension '%s' is not allowed to be uploaded to this server" +#~ msgstr "" + +#~ msgid "File extension \"%(ext)s\" is not allowed to be uploaded to this server" +#~ msgstr "" +#~ "Rozszerzenie pliku \"%(ext)s\" nie jest " +#~ "dozwolone do przesłania na ten serwer" + diff --git a/cps/translations/ru/LC_MESSAGES/messages.mo b/cps/translations/ru/LC_MESSAGES/messages.mo index 3d2d2032..e755d5f8 100644 Binary files a/cps/translations/ru/LC_MESSAGES/messages.mo and b/cps/translations/ru/LC_MESSAGES/messages.mo differ diff --git a/cps/translations/ru/LC_MESSAGES/messages.po b/cps/translations/ru/LC_MESSAGES/messages.po index b7380e88..28defadc 100644 --- a/cps/translations/ru/LC_MESSAGES/messages.po +++ b/cps/translations/ru/LC_MESSAGES/messages.po @@ -14,7 +14,7 @@ msgid "" msgstr "" "Project-Id-Version: Calibre-Web\n" "Report-Msgid-Bugs-To: https://github.com/janeczku/Calibre-Web\n" -"POT-Creation-Date: 2018-09-08 12:22+0200\n" +"POT-Creation-Date: 2018-09-08 14:49+0200\n" "PO-Revision-Date: 2017-04-30 00:47+0300\n" "Last-Translator: Pavel Korovin \n" "Language: ru\n" @@ -96,16 +96,12 @@ msgstr "" #: cps/helper.py:241 #, python-format -msgid "" -"Rename title from: \"%(src)s\" to \"%(dest)s\" failed with error: " -"%(error)s" +msgid "Rename title from: '%(src)s' to '%(dest)s' failed with error: %(error)s" msgstr "" #: cps/helper.py:250 #, python-format -msgid "" -"Rename author from: \"%(src)s\" to \"%(dest)s\" failed with error: " -"%(error)s" +msgid "Rename author from: '%(src)s' to '%(dest)s' failed with error: %(error)s" msgstr "" #: cps/helper.py:272 cps/helper.py:281 @@ -570,10 +566,10 @@ msgstr "" msgid "edit metadata" msgstr "изменить метаданные" -#: cps/web.py:3284 +#: cps/web.py:3284 cps/web.py:3576 #, python-format -msgid "File extension \"%s\" is not allowed to be uploaded to this server" -msgstr "" +msgid "File extension '%(ext)s' is not allowed to be uploaded to this server" +msgstr "Запрещена загрузка файлов с расширением '%(ext)s'" #: cps/web.py:3288 cps/web.py:3580 msgid "File to be uploaded must have an extension" @@ -620,11 +616,6 @@ msgstr "" msgid "Error editing book, please check logfile for details" msgstr "" -#: cps/web.py:3576 -#, python-format -msgid "File extension \"%(ext)s\" is not allowed to be uploaded to this server" -msgstr "Запрещена загрузка файлов с расширением \"%(ext)s\"" - #: cps/web.py:3605 #, python-format msgid "Failed to store file %(file)s (Permission denied)." @@ -1852,14 +1843,12 @@ msgstr "Недавние скачивания" #~ msgid "E-Mail: %s" #~ msgstr "" -#~ msgid "" -#~ "Rename title from: \"%(src)s\" to " -#~ "\"%(dest)s\" failed with error: %(error)s" +#~ msgid "Rename title from: '%(src)s' to '%(dest)s' failed with error: %(error)s" #~ msgstr "" #~ msgid "" -#~ "Rename author from: \"%(src)s\" to " -#~ "\"%(dest)s\" failed with error: %(error)s" +#~ "Rename author from: '%(src)s' to " +#~ "'%(dest)s' failed with error: %(error)s" #~ msgstr "" #~ msgid "Password for user %(user)s reset" @@ -1868,16 +1857,18 @@ msgstr "Недавние скачивания" #~ msgid "Password for user %s reset" #~ msgstr "" -#~ msgid "" -#~ "Rename title from: \"%(src)s\" to " -#~ "\"%(src)s\" failed with error: %(error)s" +#~ msgid "Rename title from: '%(src)s' to '%(src)s' failed with error: %(error)s" #~ msgstr "" -#~ msgid "" -#~ "Rename author from: \"%(src)s\" to " -#~ "\"%(src)s\" failed with error: %(error)s" +#~ msgid "Rename author from: '%(src)s' to '%(src)s' failed with error: %(error)s" #~ msgstr "" #~ msgid "Failed to create path for cover %(cover)s (Permission denied)." #~ msgstr "" +#~ msgid "File extension '%s' is not allowed to be uploaded to this server" +#~ msgstr "" + +#~ msgid "File extension \"%(ext)s\" is not allowed to be uploaded to this server" +#~ msgstr "Запрещена загрузка файлов с расширением \"%(ext)s\"" + diff --git a/cps/translations/zh_Hans_CN/LC_MESSAGES/messages.mo b/cps/translations/zh_Hans_CN/LC_MESSAGES/messages.mo index a5df0f0d..86bd49c0 100644 Binary files a/cps/translations/zh_Hans_CN/LC_MESSAGES/messages.mo and b/cps/translations/zh_Hans_CN/LC_MESSAGES/messages.mo differ diff --git a/cps/translations/zh_Hans_CN/LC_MESSAGES/messages.po b/cps/translations/zh_Hans_CN/LC_MESSAGES/messages.po index ba84d36d..7ac69625 100644 --- a/cps/translations/zh_Hans_CN/LC_MESSAGES/messages.po +++ b/cps/translations/zh_Hans_CN/LC_MESSAGES/messages.po @@ -15,7 +15,7 @@ msgid "" msgstr "" "Project-Id-Version: Calibre-Web\n" "Report-Msgid-Bugs-To: https://github.com/janeczku/Calibre-Web\n" -"POT-Creation-Date: 2018-09-08 12:22+0200\n" +"POT-Creation-Date: 2018-09-08 14:49+0200\n" "PO-Revision-Date: 2017-01-06 17:00+0000\n" "Last-Translator: dalin \n" "Language: zh_Hans_CN\n" @@ -96,17 +96,13 @@ msgstr "无法读取请求的文件。 可能有错误的权限设置?" #: cps/helper.py:241 #, python-format -msgid "" -"Rename title from: \"%(src)s\" to \"%(dest)s\" failed with error: " -"%(error)s" -msgstr "将标题从\"%(src)s\"改为\"%(dest)s\"时失败,出错信息: %(error)s" +msgid "Rename title from: '%(src)s' to '%(dest)s' failed with error: %(error)s" +msgstr "将标题从'%(src)s'改为'%(dest)s'时失败,出错信息: %(error)s" #: cps/helper.py:250 #, python-format -msgid "" -"Rename author from: \"%(src)s\" to \"%(dest)s\" failed with error: " -"%(error)s" -msgstr "将作者从\"%(src)s\"改为\"%(dest)s\"时失败,出错信息: %(error)s" +msgid "Rename author from: '%(src)s' to '%(dest)s' failed with error: %(error)s" +msgstr "将作者从'%(src)s'改为'%(dest)s'时失败,出错信息: %(error)s" #: cps/helper.py:272 cps/helper.py:281 #, python-format @@ -377,7 +373,7 @@ msgstr "书籍已经在书架 %(name)s 中了" #: cps/web.py:2392 #, python-format msgid "Books have been added to shelf: %(sname)s" -msgstr "书籍已经被添加到书架 %(sname)s 中\"" +msgstr "书籍已经被添加到书架 %(sname)s 中'" #: cps/web.py:2394 #, python-format @@ -442,7 +438,7 @@ msgstr "修改书架 '%(name)s' 顺序" #: cps/web.py:2601 cps/web.py:3012 msgid "E-mail is not from valid domain" -msgstr "邮箱不在有效域中\"" +msgstr "邮箱不在有效域中'" #: cps/web.py:2603 cps/web.py:2644 cps/web.py:2647 #, python-format @@ -570,10 +566,10 @@ msgstr "打开电子书出错。文件不存在或不可访问" msgid "edit metadata" msgstr "编辑元数据" -#: cps/web.py:3284 +#: cps/web.py:3284 cps/web.py:3576 #, python-format -msgid "File extension \"%s\" is not allowed to be uploaded to this server" -msgstr "" +msgid "File extension '%(ext)s' is not allowed to be uploaded to this server" +msgstr "不能上传后缀为 '%(ext)s' 的文件到此服务器" #: cps/web.py:3288 cps/web.py:3580 msgid "File to be uploaded must have an extension" @@ -620,11 +616,6 @@ msgstr "封面不是一个jpg文件,无法保存" msgid "Error editing book, please check logfile for details" msgstr "编辑书籍出错,详情请检查日志文件" -#: cps/web.py:3576 -#, python-format -msgid "File extension \"%(ext)s\" is not allowed to be uploaded to this server" -msgstr "不能上传后缀为 \"%(ext)s\" 的文件到此服务器" - #: cps/web.py:3605 #, python-format msgid "Failed to store file %(file)s (Permission denied)." @@ -1105,7 +1096,7 @@ msgstr "启用注册" #: cps/templates/config_edit.html:146 msgid "Enable remote login (\"magic link\")" -msgstr "启用远程登录 (\"魔法链接\")" +msgstr "启用远程登录 ('魔法链接')" #: cps/templates/config_edit.html:151 msgid "Use" @@ -1855,15 +1846,13 @@ msgstr "最近下载" #~ msgid "E-Mail: %s" #~ msgstr "" -#~ msgid "" -#~ "Rename title from: \"%(src)s\" to " -#~ "\"%(dest)s\" failed with error: %(error)s" -#~ msgstr "将标题从\"%(src)s\"改为\"%(dest)s\"时失败,出错信息: %(error)s" +#~ msgid "Rename title from: '%(src)s' to '%(dest)s' failed with error: %(error)s" +#~ msgstr "将标题从'%(src)s'改为'%(dest)s'时失败,出错信息: %(error)s" #~ msgid "" -#~ "Rename author from: \"%(src)s\" to " -#~ "\"%(dest)s\" failed with error: %(error)s" -#~ msgstr "将作者从\"%(src)s\"改为\"%(dest)s\"时失败,出错信息: %(error)s" +#~ "Rename author from: '%(src)s' to " +#~ "'%(dest)s' failed with error: %(error)s" +#~ msgstr "将作者从'%(src)s'改为'%(dest)s'时失败,出错信息: %(error)s" #~ msgid "Password for user %(user)s reset" #~ msgstr "用户 %(user)s 的密码已重置" @@ -1871,16 +1860,18 @@ msgstr "最近下载" #~ msgid "Password for user %s reset" #~ msgstr "" -#~ msgid "" -#~ "Rename title from: \"%(src)s\" to " -#~ "\"%(src)s\" failed with error: %(error)s" +#~ msgid "Rename title from: '%(src)s' to '%(src)s' failed with error: %(error)s" #~ msgstr "" -#~ msgid "" -#~ "Rename author from: \"%(src)s\" to " -#~ "\"%(src)s\" failed with error: %(error)s" +#~ msgid "Rename author from: '%(src)s' to '%(src)s' failed with error: %(error)s" #~ msgstr "" #~ msgid "Failed to create path for cover %(cover)s (Permission denied)." #~ msgstr "为封面 %(cover)s 创建路径失败(权限拒绝)。" +#~ msgid "File extension '%s' is not allowed to be uploaded to this server" +#~ msgstr "" + +#~ msgid "File extension \"%(ext)s\" is not allowed to be uploaded to this server" +#~ msgstr "不能上传后缀为 \"%(ext)s\" 的文件到此服务器" + diff --git a/cps/web.py b/cps/web.py index 5cec6d68..3c0954f8 100644 --- a/cps/web.py +++ b/cps/web.py @@ -3281,7 +3281,7 @@ def edit_book(book_id): if '.' in requested_file.filename: file_ext = requested_file.filename.rsplit('.', 1)[-1].lower() if file_ext not in ALLOWED_EXTENSIONS: - flash(_('File extension "%s" is not allowed to be uploaded to this server' % file_ext), + flash(_("File extension '%(ext)s' is not allowed to be uploaded to this server", ext=file_ext), category="error") return redirect(url_for('show_book', book_id=book.id)) else: @@ -3573,7 +3573,7 @@ def upload(): file_ext = requested_file.filename.rsplit('.', 1)[-1].lower() if file_ext not in ALLOWED_EXTENSIONS: flash( - _('File extension "%(ext)s" is not allowed to be uploaded to this server', + _("File extension '%(ext)s' is not allowed to be uploaded to this server", ext=file_ext), category="error") return redirect(url_for('index')) else: diff --git a/messages.pot b/messages.pot index 3ca9bd94..96c53c06 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: 2018-09-08 12:22+0200\n" +"POT-Creation-Date: 2018-09-08 14:49+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -87,12 +87,12 @@ msgstr "" #: cps/helper.py:241 #, python-format -msgid "Rename title from: \"%(src)s\" to \"%(dest)s\" failed with error: %(error)s" +msgid "Rename title from: '%(src)s' to '%(dest)s' failed with error: %(error)s" msgstr "" #: cps/helper.py:250 #, python-format -msgid "Rename author from: \"%(src)s\" to \"%(dest)s\" failed with error: %(error)s" +msgid "Rename author from: '%(src)s' to '%(dest)s' failed with error: %(error)s" msgstr "" #: cps/helper.py:272 cps/helper.py:281 @@ -555,9 +555,9 @@ msgstr "" msgid "edit metadata" msgstr "" -#: cps/web.py:3284 +#: cps/web.py:3284 cps/web.py:3576 #, python-format -msgid "File extension \"%s\" is not allowed to be uploaded to this server" +msgid "File extension '%(ext)s' is not allowed to be uploaded to this server" msgstr "" #: cps/web.py:3288 cps/web.py:3580 @@ -605,11 +605,6 @@ msgstr "" msgid "Error editing book, please check logfile for details" msgstr "" -#: cps/web.py:3576 -#, python-format -msgid "File extension \"%(ext)s\" is not allowed to be uploaded to this server" -msgstr "" - #: cps/web.py:3605 #, python-format msgid "Failed to store file %(file)s (Permission denied)."