Commit 6d597f96 authored by OzzieIsaacs's avatar OzzieIsaacs

Integrate Iso639 language name translations to russian translation

parent a305b652
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -11,7 +11,6 @@ import logging ...@@ -11,7 +11,6 @@ import logging
from werkzeug.security import generate_password_hash from werkzeug.security import generate_password_hash
from flask_babel import gettext as _ from flask_babel import gettext as _
import json import json
#from builtins import str
dbpath = os.path.join(os.path.normpath(os.getenv("CALIBRE_DBPATH", os.path.dirname(os.path.realpath(__file__)) + os.sep + ".." + os.sep)), "app.db") dbpath = os.path.join(os.path.normpath(os.getenv("CALIBRE_DBPATH", os.path.dirname(os.path.realpath(__file__)) + os.sep + ".." + os.sep)), "app.db")
engine = create_engine('sqlite:///{0}'.format(dbpath), echo=False) engine = create_engine('sqlite:///{0}'.format(dbpath), echo=False)
......
...@@ -8,7 +8,7 @@ msgid "" ...@@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PROJECT VERSION\n" "Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2017-04-14 20:25+0200\n" "POT-Creation-Date: 2017-05-01 16:20+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
...@@ -17,7 +17,7 @@ msgstr "" ...@@ -17,7 +17,7 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.3.4\n" "Generated-By: Babel 2.3.4\n"
#: cps/book_formats.py:113 cps/book_formats.py:117 cps/web.py:1258 #: cps/book_formats.py:118 cps/book_formats.py:122 cps/web.py:1262
msgid "not installed" msgid "not installed"
msgstr "" msgstr ""
...@@ -46,329 +46,329 @@ msgstr "" ...@@ -46,329 +46,329 @@ msgstr ""
msgid "Could not convert epub to mobi" msgid "Could not convert epub to mobi"
msgstr "" msgstr ""
#: cps/ub.py:481 #: cps/ub.py:487
msgid "Guest" msgid "Guest"
msgstr "" msgstr ""
#: cps/web.py:917 #: cps/web.py:921
msgid "Requesting update package" msgid "Requesting update package"
msgstr "" msgstr ""
#: cps/web.py:918 #: cps/web.py:922
msgid "Downloading update package" msgid "Downloading update package"
msgstr "" msgstr ""
#: cps/web.py:919 #: cps/web.py:923
msgid "Unzipping update package" msgid "Unzipping update package"
msgstr "" msgstr ""
#: cps/web.py:920 #: cps/web.py:924
msgid "Files are replaced" msgid "Files are replaced"
msgstr "" msgstr ""
#: cps/web.py:921 #: cps/web.py:925
msgid "Database connections are closed" msgid "Database connections are closed"
msgstr "" msgstr ""
#: cps/web.py:922 #: cps/web.py:926
msgid "Server is stopped" msgid "Server is stopped"
msgstr "" msgstr ""
#: cps/web.py:923 #: cps/web.py:927
msgid "Update finished, please press okay and reload page" msgid "Update finished, please press okay and reload page"
msgstr "" msgstr ""
#: cps/web.py:997 #: cps/web.py:1001
msgid "Latest Books" msgid "Latest Books"
msgstr "" msgstr ""
#: cps/web.py:1028 #: cps/web.py:1032
msgid "Hot Books (most downloaded)" msgid "Hot Books (most downloaded)"
msgstr "" msgstr ""
#: cps/web.py:1038 #: cps/web.py:1042
msgid "Best rated books" msgid "Best rated books"
msgstr "" msgstr ""
#: cps/templates/index.xml:36 cps/web.py:1047 #: cps/templates/index.xml:36 cps/web.py:1051
msgid "Random Books" msgid "Random Books"
msgstr "" msgstr ""
#: cps/web.py:1060 #: cps/web.py:1064
msgid "Author list" msgid "Author list"
msgstr "" msgstr ""
#: cps/web.py:1072 #: cps/web.py:1076
#, python-format #, python-format
msgid "Author: %(name)s" msgid "Author: %(name)s"
msgstr "" msgstr ""
#: cps/web.py:1074 cps/web.py:1102 cps/web.py:1235 cps/web.py:1672 #: cps/web.py:1078 cps/web.py:1106 cps/web.py:1239 cps/web.py:1699
#: cps/web.py:2655 #: cps/web.py:2638
msgid "Error opening eBook. File does not exist or file is not accessible:" msgid "Error opening eBook. File does not exist or file is not accessible:"
msgstr "" msgstr ""
#: cps/templates/index.xml:71 cps/web.py:1088 #: cps/templates/index.xml:71 cps/web.py:1092
msgid "Series list" msgid "Series list"
msgstr "" msgstr ""
#: cps/web.py:1100 #: cps/web.py:1104
#, python-format #, python-format
msgid "Series: %(serie)s" msgid "Series: %(serie)s"
msgstr "" msgstr ""
#: cps/web.py:1133 #: cps/web.py:1137
msgid "Available languages" msgid "Available languages"
msgstr "" msgstr ""
#: cps/web.py:1148 #: cps/web.py:1152
#, python-format #, python-format
msgid "Language: %(name)s" msgid "Language: %(name)s"
msgstr "" msgstr ""
#: cps/templates/index.xml:64 cps/web.py:1161 #: cps/templates/index.xml:64 cps/web.py:1165
msgid "Category list" msgid "Category list"
msgstr "" msgstr ""
#: cps/web.py:1173 #: cps/web.py:1177
#, python-format #, python-format
msgid "Category: %(name)s" msgid "Category: %(name)s"
msgstr "" msgstr ""
#: cps/web.py:1280 #: cps/web.py:1284
msgid "Statistics" msgid "Statistics"
msgstr "" msgstr ""
#: cps/web.py:1415 #: cps/web.py:1442
msgid "Server restarted, please reload page" msgid "Server restarted, please reload page"
msgstr "" msgstr ""
#: cps/web.py:1417 #: cps/web.py:1444
msgid "Performing shutdown of server, please close window" msgid "Performing shutdown of server, please close window"
msgstr "" msgstr ""
#: cps/web.py:1433 #: cps/web.py:1460
msgid "Update done" msgid "Update done"
msgstr "" msgstr ""
#: cps/web.py:1511 cps/web.py:1524 #: cps/web.py:1538 cps/web.py:1551
msgid "search" msgid "search"
msgstr "" msgstr ""
#: cps/web.py:1648 cps/web.py:1655 cps/web.py:1662 cps/web.py:1669 #: cps/web.py:1675 cps/web.py:1682 cps/web.py:1689 cps/web.py:1696
msgid "Read a Book" msgid "Read a Book"
msgstr "" msgstr ""
#: cps/web.py:1725 cps/web.py:2207 #: cps/web.py:1752 cps/web.py:2234
msgid "Please fill out all fields!" msgid "Please fill out all fields!"
msgstr "" msgstr ""
#: cps/web.py:1726 cps/web.py:1742 cps/web.py:1747 cps/web.py:1749 #: cps/web.py:1753 cps/web.py:1769 cps/web.py:1774 cps/web.py:1776
msgid "register" msgid "register"
msgstr "" msgstr ""
#: cps/web.py:1741 #: cps/web.py:1768
msgid "An unknown error occured. Please try again later." msgid "An unknown error occured. Please try again later."
msgstr "" msgstr ""
#: cps/web.py:1746 #: cps/web.py:1773
msgid "This username or email address is already in use." msgid "This username or email address is already in use."
msgstr "" msgstr ""
#: cps/web.py:1764 #: cps/web.py:1791
#, python-format #, python-format
msgid "you are now logged in as: '%(nickname)s'" msgid "you are now logged in as: '%(nickname)s'"
msgstr "" msgstr ""
#: cps/web.py:1769 #: cps/web.py:1796
msgid "Wrong Username or Password" msgid "Wrong Username or Password"
msgstr "" msgstr ""
#: cps/web.py:1771 #: cps/web.py:1798
msgid "login" msgid "login"
msgstr "" msgstr ""
#: cps/web.py:1788 #: cps/web.py:1815
msgid "Please configure the SMTP mail settings first..." msgid "Please configure the SMTP mail settings first..."
msgstr "" msgstr ""
#: cps/web.py:1792 #: cps/web.py:1819
#, python-format #, python-format
msgid "Book successfully send to %(kindlemail)s" msgid "Book successfully send to %(kindlemail)s"
msgstr "" msgstr ""
#: cps/web.py:1796 #: cps/web.py:1823
#, python-format #, python-format
msgid "There was an error sending this book: %(res)s" msgid "There was an error sending this book: %(res)s"
msgstr "" msgstr ""
#: cps/web.py:1798 cps/web.py:2291 #: cps/web.py:1825 cps/web.py:2318
msgid "Please configure your kindle email address first..." msgid "Please configure your kindle email address first..."
msgstr "" msgstr ""
#: cps/web.py:1823 #: cps/web.py:1850
#, python-format #, python-format
msgid "Book has been added to shelf: %(sname)s" msgid "Book has been added to shelf: %(sname)s"
msgstr "" msgstr ""
#: cps/web.py:1843 #: cps/web.py:1870
#, python-format #, python-format
msgid "Book has been removed from shelf: %(sname)s" msgid "Book has been removed from shelf: %(sname)s"
msgstr "" msgstr ""
#: cps/web.py:1861 cps/web.py:1885 #: cps/web.py:1888 cps/web.py:1912
#, python-format #, python-format
msgid "A shelf with the name '%(title)s' already exists." msgid "A shelf with the name '%(title)s' already exists."
msgstr "" msgstr ""
#: cps/web.py:1866 #: cps/web.py:1893
#, python-format #, python-format
msgid "Shelf %(title)s created" msgid "Shelf %(title)s created"
msgstr "" msgstr ""
#: cps/web.py:1868 cps/web.py:1896 #: cps/web.py:1895 cps/web.py:1923
msgid "There was an error" msgid "There was an error"
msgstr "" msgstr ""
#: cps/web.py:1869 cps/web.py:1871 #: cps/web.py:1896 cps/web.py:1898
msgid "create a shelf" msgid "create a shelf"
msgstr "" msgstr ""
#: cps/web.py:1894 #: cps/web.py:1921
#, python-format #, python-format
msgid "Shelf %(title)s changed" msgid "Shelf %(title)s changed"
msgstr "" msgstr ""
#: cps/web.py:1897 cps/web.py:1899 #: cps/web.py:1924 cps/web.py:1926
msgid "Edit a shelf" msgid "Edit a shelf"
msgstr "" msgstr ""
#: cps/web.py:1919 #: cps/web.py:1946
#, python-format #, python-format
msgid "successfully deleted shelf %(name)s" msgid "successfully deleted shelf %(name)s"
msgstr "" msgstr ""
#: cps/web.py:1941 #: cps/web.py:1968
#, python-format #, python-format
msgid "Shelf: '%(name)s'" msgid "Shelf: '%(name)s'"
msgstr "" msgstr ""
#: cps/web.py:1972 #: cps/web.py:1999
#, python-format #, python-format
msgid "Change order of Shelf: '%(name)s'" msgid "Change order of Shelf: '%(name)s'"
msgstr "" msgstr ""
#: cps/web.py:2036 #: cps/web.py:2063
msgid "Found an existing account for this email address." msgid "Found an existing account for this email address."
msgstr "" msgstr ""
#: cps/web.py:2038 cps/web.py:2042 #: cps/web.py:2065 cps/web.py:2069
#, python-format #, python-format
msgid "%(name)s's profile" msgid "%(name)s's profile"
msgstr "" msgstr ""
#: cps/web.py:2039 #: cps/web.py:2066
msgid "Profile updated" msgid "Profile updated"
msgstr "" msgstr ""
#: cps/web.py:2053 #: cps/web.py:2080
msgid "Admin page" msgid "Admin page"
msgstr "" msgstr ""
#: cps/web.py:2161 #: cps/web.py:2188
msgid "Calibre-web configuration updated" msgid "Calibre-web configuration updated"
msgstr "" msgstr ""
#: cps/web.py:2168 cps/web.py:2174 cps/web.py:2188 #: cps/web.py:2195 cps/web.py:2201 cps/web.py:2215
msgid "Basic Configuration" msgid "Basic Configuration"
msgstr "" msgstr ""
#: cps/web.py:2172 #: cps/web.py:2199
msgid "DB location is not valid, please enter correct path" msgid "DB location is not valid, please enter correct path"
msgstr "" msgstr ""
#: cps/templates/admin.html:34 cps/web.py:2209 cps/web.py:2261 #: cps/templates/admin.html:34 cps/web.py:2236 cps/web.py:2288
msgid "Add new user" msgid "Add new user"
msgstr "" msgstr ""
#: cps/web.py:2253 #: cps/web.py:2280
#, python-format #, python-format
msgid "User '%(user)s' created" msgid "User '%(user)s' created"
msgstr "" msgstr ""
#: cps/web.py:2257 #: cps/web.py:2284
msgid "Found an existing account for this email address or nickname." msgid "Found an existing account for this email address or nickname."
msgstr "" msgstr ""
#: cps/web.py:2279 #: cps/web.py:2306
msgid "Mail settings updated" msgid "Mail settings updated"
msgstr "" msgstr ""
#: cps/web.py:2286 #: cps/web.py:2313
#, python-format #, python-format
msgid "Test E-Mail successfully send to %(kindlemail)s" msgid "Test E-Mail successfully send to %(kindlemail)s"
msgstr "" msgstr ""
#: cps/web.py:2289 #: cps/web.py:2316
#, python-format #, python-format
msgid "There was an error sending the Test E-Mail: %(res)s" msgid "There was an error sending the Test E-Mail: %(res)s"
msgstr "" msgstr ""
#: cps/web.py:2293 #: cps/web.py:2320
msgid "E-Mail settings updated" msgid "E-Mail settings updated"
msgstr "" msgstr ""
#: cps/web.py:2294 #: cps/web.py:2321
msgid "Edit mail settings" msgid "Edit mail settings"
msgstr "" msgstr ""
#: cps/web.py:2322 #: cps/web.py:2349
#, python-format #, python-format
msgid "User '%(nick)s' deleted" msgid "User '%(nick)s' deleted"
msgstr "" msgstr ""
#: cps/web.py:2418 #: cps/web.py:2445
#, python-format #, python-format
msgid "User '%(nick)s' updated" msgid "User '%(nick)s' updated"
msgstr "" msgstr ""
#: cps/web.py:2421 #: cps/web.py:2448
msgid "An unknown error occured." msgid "An unknown error occured."
msgstr "" msgstr ""
#: cps/web.py:2424 #: cps/web.py:2451
#, python-format #, python-format
msgid "Edit User %(nick)s" msgid "Edit User %(nick)s"
msgstr "" msgstr ""
#: cps/web.py:2459 cps/web.py:2463 #: cps/web.py:2486 cps/web.py:2490
msgid "unknown" msgid "unknown"
msgstr "" msgstr ""
#: cps/web.py:2650 cps/web.py:2653 cps/web.py:2763 #: cps/web.py:2633 cps/web.py:2636 cps/web.py:2746
msgid "edit metadata" msgid "edit metadata"
msgstr "" msgstr ""
#: cps/web.py:2674 #: cps/web.py:2657
#, python-format #, python-format
msgid "File extension \"%s\" is not allowed to be uploaded to this server" msgid "File extension \"%s\" is not allowed to be uploaded to this server"
msgstr "" msgstr ""
#: cps/web.py:2680 #: cps/web.py:2663
msgid "File to be uploaded must have an extension" msgid "File to be uploaded must have an extension"
msgstr "" msgstr ""
#: cps/web.py:2697 #: cps/web.py:2680
#, python-format #, python-format
msgid "Failed to create path %s (Permission denied)." msgid "Failed to create path %s (Permission denied)."
msgstr "" msgstr ""
#: cps/web.py:2702 #: cps/web.py:2685
#, python-format #, python-format
msgid "Failed to store file %s (Permission denied)." msgid "Failed to store file %s (Permission denied)."
msgstr "" msgstr ""
#: cps/web.py:2707 #: cps/web.py:2690
#, python-format #, python-format
msgid "Failed to delete file %s (Permission denied)." msgid "Failed to delete file %s (Permission denied)."
msgstr "" msgstr ""
...@@ -519,7 +519,7 @@ msgid "Ok" ...@@ -519,7 +519,7 @@ msgid "Ok"
msgstr "" msgstr ""
#: cps/templates/admin.html:103 cps/templates/admin.html:117 #: cps/templates/admin.html:103 cps/templates/admin.html:117
#: cps/templates/book_edit.html:115 cps/templates/book_edit.html:134 #: cps/templates/book_edit.html:115 cps/templates/book_edit.html:137
#: cps/templates/config_edit.html:127 cps/templates/email_edit.html:36 #: cps/templates/config_edit.html:127 cps/templates/email_edit.html:36
#: cps/templates/shelf.html:53 cps/templates/shelf_edit.html:19 #: cps/templates/shelf.html:53 cps/templates/shelf_edit.html:19
#: cps/templates/shelf_order.html:12 cps/templates/user_edit.html:128 #: cps/templates/shelf_order.html:12 cps/templates/user_edit.html:128
...@@ -542,12 +542,12 @@ msgstr "" ...@@ -542,12 +542,12 @@ msgstr ""
msgid "Book Title" msgid "Book Title"
msgstr "" msgstr ""
#: cps/templates/book_edit.html:26 cps/templates/book_edit.html:173 #: cps/templates/book_edit.html:26 cps/templates/book_edit.html:176
#: cps/templates/search_form.html:10 #: cps/templates/search_form.html:10
msgid "Author" msgid "Author"
msgstr "" msgstr ""
#: cps/templates/book_edit.html:30 cps/templates/book_edit.html:175 #: cps/templates/book_edit.html:30 cps/templates/book_edit.html:178
msgid "Description" msgid "Description"
msgstr "" msgstr ""
...@@ -588,7 +588,7 @@ msgstr "" ...@@ -588,7 +588,7 @@ msgstr ""
msgid "view book after edit" msgid "view book after edit"
msgstr "" msgstr ""
#: cps/templates/book_edit.html:113 cps/templates/book_edit.html:146 #: cps/templates/book_edit.html:113 cps/templates/book_edit.html:149
msgid "Get metadata" msgid "Get metadata"
msgstr "" msgstr ""
...@@ -598,60 +598,60 @@ msgstr "" ...@@ -598,60 +598,60 @@ msgstr ""
msgid "Submit" msgid "Submit"
msgstr "" msgstr ""
#: cps/templates/book_edit.html:125 #: cps/templates/book_edit.html:128
msgid "Are really you sure?" msgid "Are really you sure?"
msgstr "" msgstr ""
#: cps/templates/book_edit.html:128 #: cps/templates/book_edit.html:131
msgid "Book will be deleted from Calibre database" msgid "Book will be deleted from Calibre database"
msgstr "" msgstr ""
#: cps/templates/book_edit.html:129 #: cps/templates/book_edit.html:132
msgid "and from hard disk" msgid "and from hard disk"
msgstr "" msgstr ""
#: cps/templates/book_edit.html:133 #: cps/templates/book_edit.html:136
msgid "Delete" msgid "Delete"
msgstr "" msgstr ""
#: cps/templates/book_edit.html:149 #: cps/templates/book_edit.html:152
msgid "Keyword" msgid "Keyword"
msgstr "" msgstr ""
#: cps/templates/book_edit.html:150 #: cps/templates/book_edit.html:153
msgid " Search keyword " msgid " Search keyword "
msgstr "" msgstr ""
#: cps/templates/book_edit.html:152 cps/templates/layout.html:60 #: cps/templates/book_edit.html:155 cps/templates/layout.html:60
msgid "Go!" msgid "Go!"
msgstr "" msgstr ""
#: cps/templates/book_edit.html:153 #: cps/templates/book_edit.html:156
msgid "Click the cover to load metadata to the form" msgid "Click the cover to load metadata to the form"
msgstr "" msgstr ""
#: cps/templates/book_edit.html:157 cps/templates/book_edit.html:170 #: cps/templates/book_edit.html:160 cps/templates/book_edit.html:173
msgid "Loading..." msgid "Loading..."
msgstr "" msgstr ""
#: cps/templates/book_edit.html:160 #: cps/templates/book_edit.html:163
msgid "Close" msgid "Close"
msgstr "" msgstr ""
#: cps/templates/book_edit.html:171 #: cps/templates/book_edit.html:174
msgid "Search error!" msgid "Search error!"
msgstr "" msgstr ""
#: cps/templates/book_edit.html:172 #: cps/templates/book_edit.html:175
msgid "No Result! Please try anonther keyword." msgid "No Result! Please try anonther keyword."
msgstr "" msgstr ""
#: cps/templates/book_edit.html:174 cps/templates/detail.html:76 #: cps/templates/book_edit.html:177 cps/templates/detail.html:76
#: cps/templates/search_form.html:14 #: cps/templates/search_form.html:14
msgid "Publisher" msgid "Publisher"
msgstr "" msgstr ""
#: cps/templates/book_edit.html:176 #: cps/templates/book_edit.html:179
msgid "Source" msgid "Source"
msgstr "" msgstr ""
......
...@@ -12,7 +12,7 @@ Calibre Web is a web app providing a clean interface for browsing, reading and d ...@@ -12,7 +12,7 @@ Calibre Web is a web app providing a clean interface for browsing, reading and d
- full graphical setup - full graphical setup
- User management - User management
- Admin interface - Admin interface
- User Interface in english, french, german, polish, simplified chinese, spanish - User Interface in english, french, german, polish, russian, simplified chinese, spanish
- OPDS feed for eBook reader apps - OPDS feed for eBook reader apps
- Filter and search by titles, authors, tags, series and language - Filter and search by titles, authors, tags, series and language
- Create custom book collection (shelves) - Create custom book collection (shelves)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment