Improved error handling for renaming authors and titles (changes related to filesystem and not only to database)

This commit is contained in:
OzzieIsaacs
2017-11-30 16:49:46 +01:00
parent b4aede78bc
commit f1fac28203
18 changed files with 1249 additions and 1124 deletions
+107 -97
View File
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2017-11-12 14:54+0100\n"
"POT-Creation-Date: 2017-11-30 16:45+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"
@@ -17,180 +17,190 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.5.1\n"
#: cps/book_formats.py:118 cps/book_formats.py:122 cps/web.py:1398
#: cps/book_formats.py:119 cps/book_formats.py:123 cps/web.py:1401
msgid "not installed"
msgstr ""
#: cps/helper.py:77
#: cps/helper.py:78
#, python-format
msgid "kindlegen binary %(kindlepath)s not found"
msgstr ""
#: cps/helper.py:83
#: cps/helper.py:84
#, python-format
msgid "epub format not found for book id: %(book)d"
msgstr ""
#: cps/helper.py:93
#: cps/helper.py:94
msgid "kindlegen failed, no execution permissions"
msgstr ""
#: cps/helper.py:108
#: cps/helper.py:109
#, python-format
msgid "Kindlegen failed with Error %(error)s. Message: %(message)s"
msgstr ""
#: cps/helper.py:187
#: cps/helper.py:188
#, python-format
msgid "Failed to send mail: %s"
msgstr ""
#: cps/helper.py:194
#: cps/helper.py:195
msgid "Calibre-web test email"
msgstr ""
#: cps/helper.py:195 cps/helper.py:207
#: cps/helper.py:196 cps/helper.py:208
msgid "This email has been sent via calibre web."
msgstr ""
#: cps/helper.py:204 cps/templates/detail.html:43
#: cps/helper.py:205 cps/templates/detail.html:43
msgid "Send to Kindle"
msgstr ""
#: cps/helper.py:224 cps/helper.py:238
#: cps/helper.py:225 cps/helper.py:239
msgid "Could not find any formats suitable for sending by email"
msgstr ""
#: cps/helper.py:338
#, python-format
msgid "Rename title from: \"%s\" to \"%s\" failed with error: %s"
msgstr ""
#: cps/helper.py:347
#, python-format
msgid "Rename author from: \"%s\" to \"%s\" failed with error: %s"
msgstr ""
#: cps/ub.py:577
msgid "Guest"
msgstr ""
#: cps/web.py:964
#: cps/web.py:967
msgid "Requesting update package"
msgstr ""
#: cps/web.py:965
#: cps/web.py:968
msgid "Downloading update package"
msgstr ""
#: cps/web.py:966
#: cps/web.py:969
msgid "Unzipping update package"
msgstr ""
#: cps/web.py:967
#: cps/web.py:970
msgid "Files are replaced"
msgstr ""
#: cps/web.py:968
#: cps/web.py:971
msgid "Database connections are closed"
msgstr ""
#: cps/web.py:969
#: cps/web.py:972
msgid "Server is stopped"
msgstr ""
#: cps/web.py:970
#: cps/web.py:973
msgid "Update finished, please press okay and reload page"
msgstr ""
#: cps/web.py:1044
#: cps/web.py:1047
msgid "Recently Added Books"
msgstr ""
#: cps/web.py:1054
#: cps/web.py:1057
msgid "Newest Books"
msgstr ""
#: cps/web.py:1065
#: cps/web.py:1069
msgid "Oldest Books"
msgstr ""
#: cps/web.py:1077
#: cps/web.py:1081
msgid "Books (A-Z)"
msgstr ""
#: cps/web.py:1088
#: cps/web.py:1092
msgid "Books (Z-A)"
msgstr ""
#: cps/web.py:1116
#: cps/web.py:1120
msgid "Hot Books (most downloaded)"
msgstr ""
#: cps/web.py:1129
#: cps/web.py:1133
msgid "Best rated books"
msgstr ""
#: cps/templates/index.xml:32 cps/web.py:1140
#: cps/templates/index.xml:32 cps/web.py:1144
msgid "Random Books"
msgstr ""
#: cps/web.py:1154
#: cps/web.py:1158
msgid "Author list"
msgstr ""
#: cps/web.py:1166 cps/web.py:1225 cps/web.py:1355 cps/web.py:1827
#: cps/web.py:1170 cps/web.py:1228 cps/web.py:1358 cps/web.py:1827
msgid "Error opening eBook. File does not exist or file is not accessible:"
msgstr ""
#: cps/templates/index.xml:64 cps/web.py:1209
#: cps/templates/index.xml:64 cps/web.py:1212
msgid "Series list"
msgstr ""
#: cps/web.py:1223
#: cps/web.py:1226
#, python-format
msgid "Series: %(serie)s"
msgstr ""
#: cps/web.py:1256
#: cps/web.py:1259
msgid "Available languages"
msgstr ""
#: cps/web.py:1273
#: cps/web.py:1276
#, python-format
msgid "Language: %(name)s"
msgstr ""
#: cps/templates/index.xml:58 cps/web.py:1283
#: cps/templates/index.xml:58 cps/web.py:1286
msgid "Category list"
msgstr ""
#: cps/web.py:1297
#: cps/web.py:1300
#, python-format
msgid "Category: %(name)s"
msgstr ""
#: cps/web.py:1409
#: cps/web.py:1412
msgid "Excecution permissions missing"
msgstr ""
#: cps/web.py:1423
#: cps/web.py:1426
msgid "Statistics"
msgstr ""
#: cps/web.py:1587
#: cps/web.py:1591
msgid "Server restarted, please reload page"
msgstr ""
#: cps/web.py:1589
#: cps/web.py:1593
msgid "Performing shutdown of server, please close window"
msgstr ""
#: cps/web.py:1605
#: cps/web.py:1609
msgid "Update done"
msgstr ""
#: cps/web.py:1687 cps/web.py:1700
#: cps/web.py:1691 cps/web.py:1704
msgid "search"
msgstr ""
#: cps/templates/index.xml:39 cps/templates/index.xml:42
#: cps/templates/layout.html:131 cps/web.py:1782
#: cps/templates/layout.html:132 cps/web.py:1782
msgid "Read Books"
msgstr ""
#: cps/templates/index.xml:45 cps/templates/index.xml:48
#: cps/templates/layout.html:132 cps/web.py:1785
#: cps/templates/index.xml:46 cps/templates/index.xml:49
#: cps/templates/layout.html:134 cps/web.py:1785
msgid "Unread Books"
msgstr ""
@@ -198,7 +208,7 @@ msgstr ""
msgid "Read a Book"
msgstr ""
#: cps/web.py:1925 cps/web.py:2555
#: cps/web.py:1925 cps/web.py:2556
msgid "Please fill out all fields!"
msgstr ""
@@ -253,7 +263,7 @@ msgstr ""
msgid "There was an error sending this book: %(res)s"
msgstr ""
#: cps/web.py:2085 cps/web.py:2640
#: cps/web.py:2085 cps/web.py:2641
msgid "Please configure your kindle email address first..."
msgstr ""
@@ -262,177 +272,177 @@ msgstr ""
msgid "Book has been added to shelf: %(sname)s"
msgstr ""
#: cps/web.py:2164
#: cps/web.py:2166
#, python-format
msgid "Book has been removed from shelf: %(sname)s"
msgstr ""
#: cps/web.py:2183 cps/web.py:2207
#: cps/web.py:2185 cps/web.py:2209
#, python-format
msgid "A shelf with the name '%(title)s' already exists."
msgstr ""
#: cps/web.py:2188
#: cps/web.py:2190
#, python-format
msgid "Shelf %(title)s created"
msgstr ""
#: cps/web.py:2190 cps/web.py:2218
#: cps/web.py:2192 cps/web.py:2220
msgid "There was an error"
msgstr ""
#: cps/web.py:2191 cps/web.py:2193
#: cps/web.py:2193 cps/web.py:2195
msgid "create a shelf"
msgstr ""
#: cps/web.py:2216
#: cps/web.py:2218
#, python-format
msgid "Shelf %(title)s changed"
msgstr ""
#: cps/web.py:2219 cps/web.py:2221
#: cps/web.py:2221 cps/web.py:2223
msgid "Edit a shelf"
msgstr ""
#: cps/web.py:2242
#: cps/web.py:2244
#, python-format
msgid "successfully deleted shelf %(name)s"
msgstr ""
#: cps/web.py:2264
#: cps/web.py:2266
#, python-format
msgid "Shelf: '%(name)s'"
msgstr ""
#: cps/web.py:2267
#: cps/web.py:2269
msgid "Error opening shelf. Shelf does not exist or is not accessible"
msgstr ""
#: cps/web.py:2299
#: cps/web.py:2300
#, python-format
msgid "Change order of Shelf: '%(name)s'"
msgstr ""
#: cps/web.py:2368
#: cps/web.py:2369
msgid "Found an existing account for this email address."
msgstr ""
#: cps/web.py:2370 cps/web.py:2374
#: cps/web.py:2371 cps/web.py:2375
#, python-format
msgid "%(name)s's profile"
msgstr ""
#: cps/web.py:2371
#: cps/web.py:2372
msgid "Profile updated"
msgstr ""
#: cps/web.py:2385
#: cps/web.py:2386
msgid "Admin page"
msgstr ""
#: cps/web.py:2509
#: cps/web.py:2510
msgid "Calibre-web configuration updated"
msgstr ""
#: cps/web.py:2516 cps/web.py:2522 cps/web.py:2536
#: cps/web.py:2517 cps/web.py:2523 cps/web.py:2537
msgid "Basic Configuration"
msgstr ""
#: cps/web.py:2520
#: cps/web.py:2521
msgid "DB location is not valid, please enter correct path"
msgstr ""
#: cps/templates/admin.html:34 cps/web.py:2557 cps/web.py:2610
#: cps/templates/admin.html:34 cps/web.py:2558 cps/web.py:2611
msgid "Add new user"
msgstr ""
#: cps/web.py:2602
#: cps/web.py:2603
#, python-format
msgid "User '%(user)s' created"
msgstr ""
#: cps/web.py:2606
#: cps/web.py:2607
msgid "Found an existing account for this email address or nickname."
msgstr ""
#: cps/web.py:2628
#: cps/web.py:2629
msgid "Mail settings updated"
msgstr ""
#: cps/web.py:2635
#: cps/web.py:2636
#, python-format
msgid "Test E-Mail successfully send to %(kindlemail)s"
msgstr ""
#: cps/web.py:2638
#: cps/web.py:2639
#, python-format
msgid "There was an error sending the Test E-Mail: %(res)s"
msgstr ""
#: cps/web.py:2642
#: cps/web.py:2643
msgid "E-Mail settings updated"
msgstr ""
#: cps/web.py:2643
#: cps/web.py:2644
msgid "Edit mail settings"
msgstr ""
#: cps/web.py:2672
#: cps/web.py:2673
#, python-format
msgid "User '%(nick)s' deleted"
msgstr ""
#: cps/web.py:2780
#: cps/web.py:2781
#, python-format
msgid "User '%(nick)s' updated"
msgstr ""
#: cps/web.py:2783
#: cps/web.py:2784
msgid "An unknown error occured."
msgstr ""
#: cps/web.py:2786
#: cps/web.py:2787
#, python-format
msgid "Edit User %(nick)s"
msgstr ""
#: cps/web.py:2802
#: cps/web.py:2803
msgid "Error opening eBook. File does not exist or file is not accessible"
msgstr ""
#: cps/web.py:2817 cps/web.py:3018 cps/web.py:3161
#: cps/web.py:2818 cps/web.py:3026 cps/web.py:3031 cps/web.py:3174
msgid "edit metadata"
msgstr ""
#: cps/web.py:2827 cps/web.py:3055
#: cps/web.py:2828 cps/web.py:3068
#, python-format
msgid "File extension \"%s\" is not allowed to be uploaded to this server"
msgstr ""
#: cps/web.py:2838
#: cps/web.py:2839
#, python-format
msgid "Failed to store file %s."
msgstr ""
#: cps/web.py:2858 cps/web.py:2862
#: cps/web.py:2861 cps/web.py:2865
msgid "unknown"
msgstr ""
#: cps/web.py:3061
#: cps/web.py:3074
msgid "File to be uploaded must have an extension"
msgstr ""
#: cps/web.py:3080
#: cps/web.py:3093
#, python-format
msgid "Failed to create path %s (Permission denied)."
msgstr ""
#: cps/web.py:3085
#: cps/web.py:3098
#, python-format
msgid "Failed to store file %s (Permission denied)."
msgstr ""
#: cps/web.py:3090
#: cps/web.py:3103
#, python-format
msgid "Failed to delete file %s (Permission denied)."
msgstr ""
@@ -637,7 +647,7 @@ msgstr ""
msgid "Tags"
msgstr ""
#: cps/templates/book_edit.html:39 cps/templates/layout.html:141
#: cps/templates/book_edit.html:39 cps/templates/layout.html:143
#: cps/templates/search_form.html:37
msgid "Series"
msgstr ""
@@ -724,7 +734,7 @@ msgstr ""
msgid "Loading..."
msgstr ""
#: cps/templates/book_edit.html:196 cps/templates/layout.html:205
#: cps/templates/book_edit.html:196 cps/templates/layout.html:207
msgid "Close"
msgstr ""
@@ -931,7 +941,7 @@ msgstr ""
msgid "Save settings and send Test E-Mail"
msgstr ""
#: cps/templates/feed.xml:20 cps/templates/layout.html:189
#: cps/templates/feed.xml:20 cps/templates/layout.html:191
msgid "Next"
msgstr ""
@@ -976,7 +986,7 @@ msgstr ""
msgid "Show Random Books"
msgstr ""
#: cps/templates/index.xml:52 cps/templates/layout.html:144
#: cps/templates/index.xml:52 cps/templates/layout.html:146
msgid "Authors"
msgstr ""
@@ -1041,39 +1051,39 @@ msgstr ""
msgid "Descending"
msgstr ""
#: cps/templates/layout.html:135
#: cps/templates/layout.html:137
msgid "Discover"
msgstr ""
#: cps/templates/layout.html:138
#: cps/templates/layout.html:140
msgid "Categories"
msgstr ""
#: cps/templates/layout.html:147 cps/templates/search_form.html:58
#: cps/templates/layout.html:149 cps/templates/search_form.html:58
msgid "Languages"
msgstr ""
#: cps/templates/layout.html:150
#: cps/templates/layout.html:152
msgid "Public Shelves"
msgstr ""
#: cps/templates/layout.html:154
#: cps/templates/layout.html:156
msgid "Your Shelves"
msgstr ""
#: cps/templates/layout.html:159
#: cps/templates/layout.html:161
msgid "Create a Shelf"
msgstr ""
#: cps/templates/layout.html:160 cps/templates/stats.html:3
#: cps/templates/layout.html:162 cps/templates/stats.html:3
msgid "About"
msgstr ""
#: cps/templates/layout.html:174
#: cps/templates/layout.html:176
msgid "Previous"
msgstr ""
#: cps/templates/layout.html:201
#: cps/templates/layout.html:203
msgid "Book Details"
msgstr ""