Added posibility to change settings db via command line for multiple instances (#247)

This commit is contained in:
OzzieIsaacs
2017-12-02 11:15:51 +01:00
parent 152f7857c9
commit b74a075aa6
16 changed files with 1730 additions and 1484 deletions
+191 -171
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-30 16:45+0100\n"
"POT-Creation-Date: 2017-12-02 11:12+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,7 +17,7 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.5.1\n"
#: cps/book_formats.py:119 cps/book_formats.py:123 cps/web.py:1401
#: cps/book_formats.py:119 cps/book_formats.py:123 cps/web.py:1450
msgid "not installed"
msgstr ""
@@ -71,378 +71,382 @@ msgstr ""
msgid "Rename author from: \"%s\" to \"%s\" failed with error: %s"
msgstr ""
#: cps/ub.py:577
#: cps/ub.py:649
msgid "Guest"
msgstr ""
#: cps/web.py:967
#: cps/web.py:1016
msgid "Requesting update package"
msgstr ""
#: cps/web.py:968
#: cps/web.py:1017
msgid "Downloading update package"
msgstr ""
#: cps/web.py:969
#: cps/web.py:1018
msgid "Unzipping update package"
msgstr ""
#: cps/web.py:970
#: cps/web.py:1019
msgid "Files are replaced"
msgstr ""
#: cps/web.py:971
#: cps/web.py:1020
msgid "Database connections are closed"
msgstr ""
#: cps/web.py:972
#: cps/web.py:1021
msgid "Server is stopped"
msgstr ""
#: cps/web.py:973
#: cps/web.py:1022
msgid "Update finished, please press okay and reload page"
msgstr ""
#: cps/web.py:1047
#: cps/web.py:1096
msgid "Recently Added Books"
msgstr ""
#: cps/web.py:1057
#: cps/web.py:1106
msgid "Newest Books"
msgstr ""
#: cps/web.py:1069
#: cps/web.py:1118
msgid "Oldest Books"
msgstr ""
#: cps/web.py:1081
#: cps/web.py:1130
msgid "Books (A-Z)"
msgstr ""
#: cps/web.py:1092
#: cps/web.py:1141
msgid "Books (Z-A)"
msgstr ""
#: cps/web.py:1120
#: cps/web.py:1169
msgid "Hot Books (most downloaded)"
msgstr ""
#: cps/web.py:1133
#: cps/web.py:1182
msgid "Best rated books"
msgstr ""
#: cps/templates/index.xml:32 cps/web.py:1144
#: cps/templates/index.xml:32 cps/web.py:1193
msgid "Random Books"
msgstr ""
#: cps/web.py:1158
#: cps/web.py:1207
msgid "Author list"
msgstr ""
#: cps/web.py:1170 cps/web.py:1228 cps/web.py:1358 cps/web.py:1827
#: cps/web.py:1219 cps/web.py:1277 cps/web.py:1407 cps/web.py:1876
msgid "Error opening eBook. File does not exist or file is not accessible:"
msgstr ""
#: cps/templates/index.xml:64 cps/web.py:1212
#: cps/templates/index.xml:64 cps/web.py:1261
msgid "Series list"
msgstr ""
#: cps/web.py:1226
#: cps/web.py:1275
#, python-format
msgid "Series: %(serie)s"
msgstr ""
#: cps/web.py:1259
#: cps/web.py:1308
msgid "Available languages"
msgstr ""
#: cps/web.py:1276
#: cps/web.py:1325
#, python-format
msgid "Language: %(name)s"
msgstr ""
#: cps/templates/index.xml:58 cps/web.py:1286
#: cps/templates/index.xml:58 cps/web.py:1335
msgid "Category list"
msgstr ""
#: cps/web.py:1300
#: cps/web.py:1349
#, python-format
msgid "Category: %(name)s"
msgstr ""
#: cps/web.py:1412
#: cps/web.py:1461
msgid "Excecution permissions missing"
msgstr ""
#: cps/web.py:1426
#: cps/web.py:1475
msgid "Statistics"
msgstr ""
#: cps/web.py:1591
#: cps/web.py:1640
msgid "Server restarted, please reload page"
msgstr ""
#: cps/web.py:1593
#: cps/web.py:1642
msgid "Performing shutdown of server, please close window"
msgstr ""
#: cps/web.py:1609
#: cps/web.py:1658
msgid "Update done"
msgstr ""
#: cps/web.py:1691 cps/web.py:1704
#: cps/web.py:1740 cps/web.py:1753
msgid "search"
msgstr ""
#: cps/templates/index.xml:39 cps/templates/index.xml:42
#: cps/templates/layout.html:132 cps/web.py:1782
#: cps/templates/layout.html:132 cps/web.py:1831
msgid "Read Books"
msgstr ""
#: cps/templates/index.xml:46 cps/templates/index.xml:49
#: cps/templates/layout.html:134 cps/web.py:1785
#: cps/templates/layout.html:134 cps/web.py:1834
msgid "Unread Books"
msgstr ""
#: cps/web.py:1860 cps/web.py:1862 cps/web.py:1864 cps/web.py:1873
#: cps/web.py:1909 cps/web.py:1911 cps/web.py:1913 cps/web.py:1922
msgid "Read a Book"
msgstr ""
#: cps/web.py:1925 cps/web.py:2556
#: cps/web.py:1974 cps/web.py:2644
msgid "Please fill out all fields!"
msgstr ""
#: cps/web.py:1926 cps/web.py:1942 cps/web.py:1947 cps/web.py:1949
#: cps/web.py:1975 cps/web.py:1992 cps/web.py:1997 cps/web.py:1999
msgid "register"
msgstr ""
#: cps/web.py:1941
#: cps/web.py:1991
msgid "An unknown error occured. Please try again later."
msgstr ""
#: cps/web.py:1946
#: cps/web.py:1996
msgid "This username or email address is already in use."
msgstr ""
#: cps/web.py:1965 cps/web.py:2061
#: cps/web.py:2015 cps/web.py:2111
#, python-format
msgid "you are now logged in as: '%(nickname)s'"
msgstr ""
#: cps/web.py:1970
#: cps/web.py:2020
msgid "Wrong Username or Password"
msgstr ""
#: cps/web.py:1976 cps/web.py:1997
#: cps/web.py:2026 cps/web.py:2047
msgid "login"
msgstr ""
#: cps/web.py:2009 cps/web.py:2040
#: cps/web.py:2059 cps/web.py:2090
msgid "Token not found"
msgstr ""
#: cps/web.py:2017 cps/web.py:2048
#: cps/web.py:2067 cps/web.py:2098
msgid "Token has expired"
msgstr ""
#: cps/web.py:2025
#: cps/web.py:2075
msgid "Success! Please return to your device"
msgstr ""
#: cps/web.py:2075
#: cps/web.py:2125
msgid "Please configure the SMTP mail settings first..."
msgstr ""
#: cps/web.py:2079
#, python-format
msgid "Book successfully send to %(kindlemail)s"
msgstr ""
#: cps/web.py:2083
#, python-format
msgid "There was an error sending this book: %(res)s"
msgstr ""
#: cps/web.py:2085 cps/web.py:2641
msgid "Please configure your kindle email address first..."
msgstr ""
#: cps/web.py:2129
#, python-format
msgid "Book successfully send to %(kindlemail)s"
msgstr ""
#: cps/web.py:2133
#, python-format
msgid "There was an error sending this book: %(res)s"
msgstr ""
#: cps/web.py:2135 cps/web.py:2730
msgid "Please configure your kindle email address first..."
msgstr ""
#: cps/web.py:2179
#, python-format
msgid "Book has been added to shelf: %(sname)s"
msgstr ""
#: cps/web.py:2166
#: cps/web.py:2216
#, python-format
msgid "Book has been removed from shelf: %(sname)s"
msgstr ""
#: cps/web.py:2185 cps/web.py:2209
#: cps/web.py:2235 cps/web.py:2259
#, python-format
msgid "A shelf with the name '%(title)s' already exists."
msgstr ""
#: cps/web.py:2190
#: cps/web.py:2240
#, python-format
msgid "Shelf %(title)s created"
msgstr ""
#: cps/web.py:2192 cps/web.py:2220
#: cps/web.py:2242 cps/web.py:2270
msgid "There was an error"
msgstr ""
#: cps/web.py:2193 cps/web.py:2195
#: cps/web.py:2243 cps/web.py:2245
msgid "create a shelf"
msgstr ""
#: cps/web.py:2218
#: cps/web.py:2268
#, python-format
msgid "Shelf %(title)s changed"
msgstr ""
#: cps/web.py:2221 cps/web.py:2223
#: cps/web.py:2271 cps/web.py:2273
msgid "Edit a shelf"
msgstr ""
#: cps/web.py:2244
#: cps/web.py:2294
#, python-format
msgid "successfully deleted shelf %(name)s"
msgstr ""
#: cps/web.py:2266
#: cps/web.py:2316
#, python-format
msgid "Shelf: '%(name)s'"
msgstr ""
#: cps/web.py:2269
#: cps/web.py:2319
msgid "Error opening shelf. Shelf does not exist or is not accessible"
msgstr ""
#: cps/web.py:2300
#: cps/web.py:2350
#, python-format
msgid "Change order of Shelf: '%(name)s'"
msgstr ""
#: cps/web.py:2369
#: cps/web.py:2419
msgid "Found an existing account for this email address."
msgstr ""
#: cps/web.py:2371 cps/web.py:2375
#: cps/web.py:2421 cps/web.py:2425
#, python-format
msgid "%(name)s's profile"
msgstr ""
#: cps/web.py:2372
#: cps/web.py:2422
msgid "Profile updated"
msgstr ""
#: cps/web.py:2386
#: cps/web.py:2436
msgid "Admin page"
msgstr ""
#: cps/web.py:2510
msgid "Calibre-web configuration updated"
#: cps/web.py:2583
msgid "Logfile location is not valid, please enter correct path"
msgstr ""
#: cps/web.py:2517 cps/web.py:2523 cps/web.py:2537
#: cps/web.py:2586 cps/web.py:2605 cps/web.py:2611 cps/web.py:2625
msgid "Basic Configuration"
msgstr ""
#: cps/web.py:2521
#: cps/web.py:2598
msgid "Calibre-web configuration updated"
msgstr ""
#: cps/web.py:2609
msgid "DB location is not valid, please enter correct path"
msgstr ""
#: cps/templates/admin.html:34 cps/web.py:2558 cps/web.py:2611
#: cps/templates/admin.html:34 cps/web.py:2646 cps/web.py:2700
msgid "Add new user"
msgstr ""
#: cps/web.py:2603
#: cps/web.py:2691
#, python-format
msgid "User '%(user)s' created"
msgstr ""
#: cps/web.py:2607
#: cps/web.py:2695
msgid "Found an existing account for this email address or nickname."
msgstr ""
#: cps/web.py:2629
#: cps/web.py:2718
msgid "Mail settings updated"
msgstr ""
#: cps/web.py:2636
#: cps/web.py:2725
#, python-format
msgid "Test E-Mail successfully send to %(kindlemail)s"
msgstr ""
#: cps/web.py:2639
#: cps/web.py:2728
#, python-format
msgid "There was an error sending the Test E-Mail: %(res)s"
msgstr ""
#: cps/web.py:2643
#: cps/web.py:2732
msgid "E-Mail settings updated"
msgstr ""
#: cps/web.py:2644
#: cps/web.py:2733
msgid "Edit mail settings"
msgstr ""
#: cps/web.py:2673
#: cps/web.py:2762
#, python-format
msgid "User '%(nick)s' deleted"
msgstr ""
#: cps/web.py:2781
#: cps/web.py:2870
#, python-format
msgid "User '%(nick)s' updated"
msgstr ""
#: cps/web.py:2784
#: cps/web.py:2873
msgid "An unknown error occured."
msgstr ""
#: cps/web.py:2787
#: cps/web.py:2876
#, python-format
msgid "Edit User %(nick)s"
msgstr ""
#: cps/web.py:2803
#: cps/web.py:2892
msgid "Error opening eBook. File does not exist or file is not accessible"
msgstr ""
#: cps/web.py:2818 cps/web.py:3026 cps/web.py:3031 cps/web.py:3174
#: cps/web.py:2907 cps/web.py:3115 cps/web.py:3120 cps/web.py:3263
msgid "edit metadata"
msgstr ""
#: cps/web.py:2828 cps/web.py:3068
#: cps/web.py:2917 cps/web.py:3157
#, python-format
msgid "File extension \"%s\" is not allowed to be uploaded to this server"
msgstr ""
#: cps/web.py:2839
#: cps/web.py:2928
#, python-format
msgid "Failed to store file %s."
msgstr ""
#: cps/web.py:2861 cps/web.py:2865
#: cps/web.py:2950 cps/web.py:2954
msgid "unknown"
msgstr ""
#: cps/web.py:3074
#: cps/web.py:3163
msgid "File to be uploaded must have an extension"
msgstr ""
#: cps/web.py:3093
#: cps/web.py:3182
#, python-format
msgid "Failed to create path %s (Permission denied)."
msgstr ""
#: cps/web.py:3098
#: cps/web.py:3187
#, python-format
msgid "Failed to store file %s (Permission denied)."
msgstr ""
#: cps/web.py:3103
#: cps/web.py:3192
#, python-format
msgid "Failed to delete file %s (Permission denied)."
msgstr ""
@@ -599,7 +603,7 @@ msgstr ""
#: cps/templates/admin.html:105 cps/templates/admin.html:119
#: cps/templates/book_edit.html:135 cps/templates/book_edit.html:157
#: cps/templates/config_edit.html:156 cps/templates/email_edit.html:36
#: cps/templates/config_edit.html:211 cps/templates/email_edit.html:36
#: cps/templates/shelf.html:60 cps/templates/shelf_edit.html:19
#: cps/templates/shelf_order.html:12 cps/templates/user_edit.html:139
msgid "Back"
@@ -692,7 +696,7 @@ msgstr ""
msgid "Get metadata"
msgstr ""
#: cps/templates/book_edit.html:134 cps/templates/config_edit.html:154
#: cps/templates/book_edit.html:134 cps/templates/config_edit.html:209
#: cps/templates/login.html:20 cps/templates/search_form.html:79
#: cps/templates/shelf_edit.html:17 cps/templates/user_edit.html:137
msgid "Submit"
@@ -808,71 +812,123 @@ msgstr ""
msgid "Tags for Mature Content"
msgstr ""
#: cps/templates/config_edit.html:93
#: cps/templates/config_edit.html:92
msgid "Location and name of logfile (calibre-web.log for no entry)"
msgstr ""
#: cps/templates/config_edit.html:98
msgid "Enable uploading"
msgstr ""
#: cps/templates/config_edit.html:97
#: cps/templates/config_edit.html:102
msgid "Enable anonymous browsing"
msgstr ""
#: cps/templates/config_edit.html:101
#: cps/templates/config_edit.html:106
msgid "Enable public registration"
msgstr ""
#: cps/templates/config_edit.html:105
#: cps/templates/config_edit.html:110
msgid "Enable remote login (\"magic link\")"
msgstr ""
#: cps/templates/config_edit.html:110
#: cps/templates/config_edit.html:115
msgid "Use"
msgstr ""
#: cps/templates/config_edit.html:111
#: cps/templates/config_edit.html:116
msgid "Obtain an API Key"
msgstr ""
#: cps/templates/config_edit.html:115
#: cps/templates/config_edit.html:120
msgid "Goodreads API Key"
msgstr ""
#: cps/templates/config_edit.html:119
#: cps/templates/config_edit.html:124
msgid "Goodreads API Secret"
msgstr ""
#: cps/templates/config_edit.html:125
#: cps/templates/config_edit.html:129
msgid "Default Settings for new users"
msgstr ""
#: cps/templates/config_edit.html:128 cps/templates/user_edit.html:94
#: cps/templates/config_edit.html:132 cps/templates/user_edit.html:94
msgid "Admin user"
msgstr ""
#: cps/templates/config_edit.html:132 cps/templates/user_edit.html:103
#: cps/templates/config_edit.html:136 cps/templates/user_edit.html:103
msgid "Allow Downloads"
msgstr ""
#: cps/templates/config_edit.html:136 cps/templates/user_edit.html:107
#: cps/templates/config_edit.html:140 cps/templates/user_edit.html:107
msgid "Allow Uploads"
msgstr ""
#: cps/templates/config_edit.html:140 cps/templates/user_edit.html:111
#: cps/templates/config_edit.html:144 cps/templates/user_edit.html:111
msgid "Allow Edit"
msgstr ""
#: cps/templates/config_edit.html:144 cps/templates/user_edit.html:115
#: cps/templates/config_edit.html:148 cps/templates/user_edit.html:115
msgid "Allow Delete books"
msgstr ""
#: cps/templates/config_edit.html:148 cps/templates/user_edit.html:120
#: cps/templates/config_edit.html:152 cps/templates/user_edit.html:120
msgid "Allow Changing Password"
msgstr ""
#: cps/templates/config_edit.html:152 cps/templates/user_edit.html:124
#: cps/templates/config_edit.html:156 cps/templates/user_edit.html:124
msgid "Allow Editing Public Shelfs"
msgstr ""
#: cps/templates/config_edit.html:159 cps/templates/layout.html:76
#: cps/templates/config_edit.html:160
msgid "Default visiblities for new users"
msgstr ""
#: cps/templates/config_edit.html:164 cps/templates/user_edit.html:46
msgid "Show random books"
msgstr ""
#: cps/templates/config_edit.html:168 cps/templates/user_edit.html:50
msgid "Show recent books"
msgstr ""
#: cps/templates/config_edit.html:172 cps/templates/user_edit.html:54
msgid "Show sorted books"
msgstr ""
#: cps/templates/config_edit.html:176 cps/templates/user_edit.html:58
msgid "Show hot books"
msgstr ""
#: cps/templates/config_edit.html:180 cps/templates/user_edit.html:62
msgid "Show best rated books"
msgstr ""
#: cps/templates/config_edit.html:184 cps/templates/user_edit.html:66
msgid "Show language selection"
msgstr ""
#: cps/templates/config_edit.html:188 cps/templates/user_edit.html:70
msgid "Show series selection"
msgstr ""
#: cps/templates/config_edit.html:192 cps/templates/user_edit.html:74
msgid "Show category selection"
msgstr ""
#: cps/templates/config_edit.html:196 cps/templates/user_edit.html:78
msgid "Show author selection"
msgstr ""
#: cps/templates/config_edit.html:200 cps/templates/user_edit.html:82
msgid "Show read and unread"
msgstr ""
#: cps/templates/config_edit.html:204 cps/templates/user_edit.html:86
msgid "Show random books in detail view"
msgstr ""
#: cps/templates/config_edit.html:214 cps/templates/layout.html:76
#: cps/templates/login.html:4
msgid "Login"
msgstr ""
@@ -1002,6 +1058,22 @@ msgstr ""
msgid "Books ordered by series"
msgstr ""
#: cps/templates/index.xml:70 cps/templates/layout.html:152
msgid "Public Shelves"
msgstr ""
#: cps/templates/index.xml:73
msgid "Books organized in public shelfs, visible to everyone"
msgstr ""
#: cps/templates/index.xml:77 cps/templates/layout.html:156
msgid "Your Shelves"
msgstr ""
#: cps/templates/index.xml:80
msgid "User's own shelfs, only visible to the current user himself"
msgstr ""
#: cps/templates/layout.html:30
msgid "Toggle navigation"
msgstr ""
@@ -1063,14 +1135,6 @@ msgstr ""
msgid "Languages"
msgstr ""
#: cps/templates/layout.html:152
msgid "Public Shelves"
msgstr ""
#: cps/templates/layout.html:156
msgid "Your Shelves"
msgstr ""
#: cps/templates/layout.html:161
msgid "Create a Shelf"
msgstr ""
@@ -1253,50 +1317,6 @@ msgstr ""
msgid "Show all"
msgstr ""
#: cps/templates/user_edit.html:46
msgid "Show random books"
msgstr ""
#: cps/templates/user_edit.html:50
msgid "Show recent books"
msgstr ""
#: cps/templates/user_edit.html:54
msgid "Show sorted books"
msgstr ""
#: cps/templates/user_edit.html:58
msgid "Show hot books"
msgstr ""
#: cps/templates/user_edit.html:62
msgid "Show best rated books"
msgstr ""
#: cps/templates/user_edit.html:66
msgid "Show language selection"
msgstr ""
#: cps/templates/user_edit.html:70
msgid "Show series selection"
msgstr ""
#: cps/templates/user_edit.html:74
msgid "Show category selection"
msgstr ""
#: cps/templates/user_edit.html:78
msgid "Show author selection"
msgstr ""
#: cps/templates/user_edit.html:82
msgid "Show read and unread"
msgstr ""
#: cps/templates/user_edit.html:86
msgid "Show random books in detail view"
msgstr ""
#: cps/templates/user_edit.html:98
msgid "Show mature content"
msgstr ""