Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
douban-api-proxy
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
captainwong
douban-api-proxy
Commits
36d26f20
Commit
36d26f20
authored
Sep 14, 2018
by
OzzieIsaacs
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch '625/625'
Update russian translation
parents
21582f09
03dc179b
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
232 additions
and
246 deletions
+232
-246
messages.mo
cps/translations/ru/LC_MESSAGES/messages.mo
+0
-0
messages.po
cps/translations/ru/LC_MESSAGES/messages.po
+70
-99
worker.py
cps/worker.py
+23
-13
messages.pot
messages.pot
+139
-134
No files found.
cps/translations/ru/LC_MESSAGES/messages.mo
View file @
36d26f20
No preview for this file type
cps/translations/ru/LC_MESSAGES/messages.po
View file @
36d26f20
...
@@ -14,7 +14,7 @@ msgid ""
...
@@ -14,7 +14,7 @@ msgid ""
msgstr ""
msgstr ""
"Project-Id-Version: Calibre-Web\n"
"Project-Id-Version: Calibre-Web\n"
"Report-Msgid-Bugs-To: https://github.com/janeczku/Calibre-Web\n"
"Report-Msgid-Bugs-To: https://github.com/janeczku/Calibre-Web\n"
"POT-Creation-Date: 2018-09-
09 17:57
+0200\n"
"POT-Creation-Date: 2018-09-
14 20:34
+0200\n"
"PO-Revision-Date: 2017-04-30 00:47+0300\n"
"PO-Revision-Date: 2017-04-30 00:47+0300\n"
"Last-Translator: Pavel Korovin <p@tristero.se>\n"
"Last-Translator: Pavel Korovin <p@tristero.se>\n"
"Language: ru\n"
"Language: ru\n"
...
@@ -276,7 +276,7 @@ msgstr "Непрочитанные"
...
@@ -276,7 +276,7 @@ msgstr "Непрочитанные"
msgid "Read a Book"
msgid "Read a Book"
msgstr "Читать книгу"
msgstr "Читать книгу"
#: cps/web.py:2141 cps/web.py:30
19
#: cps/web.py:2141 cps/web.py:30
24
msgid "Please fill out all fields!"
msgid "Please fill out all fields!"
msgstr "Пожалуйста, заполните все поля!"
msgstr "Пожалуйста, заполните все поля!"
...
@@ -285,7 +285,7 @@ msgstr "Пожалуйста, заполните все поля!"
...
@@ -285,7 +285,7 @@ msgstr "Пожалуйста, заполните все поля!"
msgid "register"
msgid "register"
msgstr "зарегистрироваться"
msgstr "зарегистрироваться"
#: cps/web.py:2162 cps/web.py:32
35
#: cps/web.py:2162 cps/web.py:32
40
msgid "An unknown error occurred. Please try again later."
msgid "An unknown error occurred. Please try again later."
msgstr "Неизвестная ошибка. Попробуйте позже."
msgstr "Неизвестная ошибка. Попробуйте позже."
...
@@ -340,7 +340,7 @@ msgstr ""
...
@@ -340,7 +340,7 @@ msgstr ""
msgid "There was an error sending this book: %(res)s"
msgid "There was an error sending this book: %(res)s"
msgstr "Ошибка при отправке книги: %(res)s"
msgstr "Ошибка при отправке книги: %(res)s"
#: cps/web.py:2308 cps/web.py:307
3
#: cps/web.py:2308 cps/web.py:307
8
msgid "Please configure your kindle e-mail address first..."
msgid "Please configure your kindle e-mail address first..."
msgstr "Пожалуйста, сначала настройте e-mail на вашем kindle"
msgstr "Пожалуйста, сначала настройте e-mail на вашем kindle"
...
@@ -419,266 +419,266 @@ msgstr "Изменить книжную полку"
...
@@ -419,266 +419,266 @@ msgstr "Изменить книжную полку"
msgid "successfully deleted shelf %(name)s"
msgid "successfully deleted shelf %(name)s"
msgstr "Книжная полка %(name)s удалена"
msgstr "Книжная полка %(name)s удалена"
#: cps/web.py:255
1
#: cps/web.py:255
6
#, python-format
#, python-format
msgid "Shelf: '%(name)s'"
msgid "Shelf: '%(name)s'"
msgstr "Книжная полка: '%(name)s'"
msgstr "Книжная полка: '%(name)s'"
#: cps/web.py:255
4
#: cps/web.py:255
9
msgid "Error opening shelf. Shelf does not exist or is not accessible"
msgid "Error opening shelf. Shelf does not exist or is not accessible"
msgstr "Ошибка открытия книжной полки. Полка не существует или недоступна"
msgstr "Ошибка открытия книжной полки. Полка не существует или недоступна"
#: cps/web.py:25
85
#: cps/web.py:25
90
#, python-format
#, python-format
msgid "Change order of Shelf: '%(name)s'"
msgid "Change order of Shelf: '%(name)s'"
msgstr "Изменить расположение книжной полки '%(name)s'"
msgstr "Изменить расположение книжной полки '%(name)s'"
#: cps/web.py:261
4 cps/web.py:3025
#: cps/web.py:261
9 cps/web.py:3030
msgid "E-mail is not from valid domain"
msgid "E-mail is not from valid domain"
msgstr "E-mail не из существующей доменной зоны"
msgstr "E-mail не из существующей доменной зоны"
#: cps/web.py:26
16 cps/web.py:2657 cps/web.py:2660
#: cps/web.py:26
21 cps/web.py:2662 cps/web.py:2665
#, python-format
#, python-format
msgid "%(name)s's profile"
msgid "%(name)s's profile"
msgstr "Профиль %(name)s"
msgstr "Профиль %(name)s"
#: cps/web.py:26
55
#: cps/web.py:26
60
msgid "Found an existing account for this e-mail address."
msgid "Found an existing account for this e-mail address."
msgstr ""
msgstr ""
#: cps/web.py:26
58
#: cps/web.py:26
63
msgid "Profile updated"
msgid "Profile updated"
msgstr "Профиль обновлён"
msgstr "Профиль обновлён"
#: cps/web.py:267
0
#: cps/web.py:267
5
msgid "Unknown"
msgid "Unknown"
msgstr "Неизвестно"
msgstr "Неизвестно"
#: cps/web.py:268
4
#: cps/web.py:268
9
msgid "Admin page"
msgid "Admin page"
msgstr "Администрирование"
msgstr "Администрирование"
#: cps/web.py:276
2 cps/web.py:2935
#: cps/web.py:276
7 cps/web.py:2940
msgid "Calibre-Web configuration updated"
msgid "Calibre-Web configuration updated"
msgstr "Конфигурация Calibre-Web обновлена"
msgstr "Конфигурация Calibre-Web обновлена"
#: cps/templates/admin.html:91 cps/web.py:27
75
#: cps/templates/admin.html:91 cps/web.py:27
80
msgid "UI Configuration"
msgid "UI Configuration"
msgstr "Настройка интерфейса"
msgstr "Настройка интерфейса"
#: cps/web.py:279
3
#: cps/web.py:279
8
msgid "Import of optional Google Drive requirements missing"
msgid "Import of optional Google Drive requirements missing"
msgstr ""
msgstr ""
#: cps/web.py:2
796
#: cps/web.py:2
801
msgid "client_secrets.json is missing or not readable"
msgid "client_secrets.json is missing or not readable"
msgstr "client_secrets.json отсутствует или его невозможно прочесть"
msgstr "client_secrets.json отсутствует или его невозможно прочесть"
#: cps/web.py:280
1 cps/web.py:2828
#: cps/web.py:280
6 cps/web.py:2833
msgid "client_secrets.json is not configured for web application"
msgid "client_secrets.json is not configured for web application"
msgstr ""
msgstr ""
#: cps/templates/admin.html:90 cps/web.py:283
1 cps/web.py:2857 cps/web.py:2869
#: cps/templates/admin.html:90 cps/web.py:283
6 cps/web.py:2862 cps/web.py:2874
#: cps/web.py:291
1 cps/web.py:2926 cps/web.py:2943 cps/web.py:2950
#: cps/web.py:291
6 cps/web.py:2931 cps/web.py:2948 cps/web.py:2955
#: cps/web.py:29
67
#: cps/web.py:29
72
msgid "Basic Configuration"
msgid "Basic Configuration"
msgstr "Настройки сервера"
msgstr "Настройки сервера"
#: cps/web.py:285
4
#: cps/web.py:285
9
msgid "Keyfile location is not valid, please enter correct path"
msgid "Keyfile location is not valid, please enter correct path"
msgstr ""
msgstr ""
#: cps/web.py:28
66
#: cps/web.py:28
71
msgid "Certfile location is not valid, please enter correct path"
msgid "Certfile location is not valid, please enter correct path"
msgstr ""
msgstr ""
#: cps/web.py:29
08
#: cps/web.py:29
13
msgid "Logfile location is not valid, please enter correct path"
msgid "Logfile location is not valid, please enter correct path"
msgstr ""
msgstr ""
#: cps/web.py:29
47
#: cps/web.py:29
52
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:31 cps/web.py:302
1 cps/web.py:3027 cps/web.py:3043
#: cps/templates/admin.html:31 cps/web.py:302
6 cps/web.py:3032 cps/web.py:3048
msgid "Add new user"
msgid "Add new user"
msgstr "Добавить пользователя"
msgstr "Добавить пользователя"
#: cps/web.py:303
3
#: cps/web.py:303
8
#, python-format
#, python-format
msgid "User '%(user)s' created"
msgid "User '%(user)s' created"
msgstr "Пользователь '%(user)s' добавлен"
msgstr "Пользователь '%(user)s' добавлен"
#: cps/web.py:30
37
#: cps/web.py:30
42
msgid "Found an existing account for this e-mail address or nickname."
msgid "Found an existing account for this e-mail address or nickname."
msgstr ""
msgstr ""
#: cps/web.py:306
1 cps/web.py:3075
#: cps/web.py:306
6 cps/web.py:3080
msgid "E-mail server settings updated"
msgid "E-mail server settings updated"
msgstr "Настройки E-mail сервера обновлены"
msgstr "Настройки E-mail сервера обновлены"
#: cps/web.py:30
68
#: cps/web.py:30
73
#, 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:307
1
#: cps/web.py:307
6
#, 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:30
76
#: cps/web.py:30
81
msgid "Edit e-mail server settings"
msgid "Edit e-mail server settings"
msgstr "Изменить настройки e-mail сервера"
msgstr "Изменить настройки e-mail сервера"
#: cps/web.py:310
1
#: cps/web.py:310
6
#, python-format
#, python-format
msgid "User '%(nick)s' deleted"
msgid "User '%(nick)s' deleted"
msgstr "Пользователь '%(nick)s' удалён"
msgstr "Пользователь '%(nick)s' удалён"
#: cps/web.py:321
0
#: cps/web.py:321
5
#, python-format
#, python-format
msgid "User '%(nick)s' updated"
msgid "User '%(nick)s' updated"
msgstr "Пользователь '%(nick)s' обновлён"
msgstr "Пользователь '%(nick)s' обновлён"
#: cps/web.py:321
3
#: cps/web.py:321
8
msgid "An unknown error occured."
msgid "An unknown error occured."
msgstr "Произошла неизвестная ошибка."
msgstr "Произошла неизвестная ошибка."
#: cps/web.py:32
15
#: cps/web.py:32
20
#, python-format
#, python-format
msgid "Edit User %(nick)s"
msgid "Edit User %(nick)s"
msgstr "Изменить пользователя %(nick)s"
msgstr "Изменить пользователя %(nick)s"
#: cps/web.py:323
2
#: cps/web.py:323
7
#, python-format
#, python-format
msgid "Password for user %(user)s reset"
msgid "Password for user %(user)s reset"
msgstr "Пароль для пользователя %(user)s сброшен"
msgstr "Пароль для пользователя %(user)s сброшен"
#: cps/web.py:325
2
#: cps/web.py:325
7
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/web.py:32
79 cps/web.py:3555 cps/web.py:3560 cps/web.py:3715
#: cps/web.py:32
85 cps/web.py:3562 cps/web.py:3567 cps/web.py:3722
msgid "edit metadata"
msgid "edit metadata"
msgstr "изменить метаданные"
msgstr "изменить метаданные"
#: cps/web.py:32
89 cps/web.py:3585
#: cps/web.py:32
96 cps/web.py:3592
#, python-format
#, python-format
msgid "File extension '%(ext)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 "Запрещена загрузка файлов с расширением '%(ext)s'"
msgstr "Запрещена загрузка файлов с расширением '%(ext)s'"
#: cps/web.py:3
293 cps/web.py:3589
#: cps/web.py:3
300 cps/web.py:3596
msgid "File to be uploaded must have an extension"
msgid "File to be uploaded must have an extension"
msgstr "Загружаемый файл должен иметь расширение"
msgstr "Загружаемый файл должен иметь расширение"
#: cps/web.py:33
05 cps/web.py:3609
#: cps/web.py:33
12 cps/web.py:3616
#, python-format
#, python-format
msgid "Failed to create path %(path)s (Permission denied)."
msgid "Failed to create path %(path)s (Permission denied)."
msgstr "Ошибка при создании пути %(path)s (доступ запрещён)"
msgstr "Ошибка при создании пути %(path)s (доступ запрещён)"
#: cps/web.py:331
0
#: cps/web.py:331
7
#, python-format
#, python-format
msgid "Failed to store file %(file)s."
msgid "Failed to store file %(file)s."
msgstr ""
msgstr ""
#: cps/web.py:33
26
#: cps/web.py:33
33
#, python-format
#, python-format
msgid "File format %(ext)s added to %(book)s"
msgid "File format %(ext)s added to %(book)s"
msgstr ""
msgstr ""
#: cps/web.py:33
43
#: cps/web.py:33
50
#, python-format
#, python-format
msgid "Failed to create path for cover %(path)s (Permission denied)."
msgid "Failed to create path for cover %(path)s (Permission denied)."
msgstr ""
msgstr ""
#: cps/web.py:335
0
#: cps/web.py:335
7
#, python-format
#, python-format
msgid "Failed to store cover-file %(cover)s."
msgid "Failed to store cover-file %(cover)s."
msgstr ""
msgstr ""
#: cps/web.py:33
53
#: cps/web.py:33
60
msgid "Cover-file is not a valid image file"
msgid "Cover-file is not a valid image file"
msgstr "Файл обложки не соответствует изображению"
msgstr "Файл обложки не соответствует изображению"
#: cps/web.py:337
0 cps/web.py:3374
#: cps/web.py:337
7 cps/web.py:3381
msgid "unknown"
msgid "unknown"
msgstr "неизвестно"
msgstr "неизвестно"
#: cps/web.py:3
396
#: cps/web.py:3
403
msgid "Cover is not a jpg file, can't save"
msgid "Cover is not a jpg file, can't save"
msgstr "Обложка не jpg файл, невозможно сохранить"
msgstr "Обложка не jpg файл, невозможно сохранить"
#: cps/web.py:344
2
#: cps/web.py:344
9
#, python-format
#, python-format
msgid "%(langname)s is not a valid language"
msgid "%(langname)s is not a valid language"
msgstr ""
msgstr ""
#: cps/web.py:35
64
#: cps/web.py:35
71
msgid "Error editing book, please check logfile for details"
msgid "Error editing book, please check logfile for details"
msgstr "Ошибка редактирования книги. Пожалуйста, проверьте лог-файл для дополнительной информации"
msgstr "Ошибка редактирования книги. Пожалуйста, проверьте лог-файл для дополнительной информации"
#: cps/web.py:36
14
#: cps/web.py:36
21
#, python-format
#, python-format
msgid "Failed to store file %(file)s (Permission denied)."
msgid "Failed to store file %(file)s (Permission denied)."
msgstr "Ошибка записи файоа %(file)s (доступ запрещён)"
msgstr "Ошибка записи файоа %(file)s (доступ запрещён)"
#: cps/web.py:36
19
#: cps/web.py:36
26
#, python-format
#, python-format
msgid "Failed to delete file %(file)s (Permission denied)."
msgid "Failed to delete file %(file)s (Permission denied)."
msgstr "Ошибка удаления файла %(file)s (доступ запрещён)"
msgstr "Ошибка удаления файла %(file)s (доступ запрещён)"
#: cps/web.py:370
1
#: cps/web.py:370
8
#, python-format
#, python-format
msgid "File %(file)s uploaded"
msgid "File %(file)s uploaded"
msgstr "Файл %(file)s загружен"
msgstr "Файл %(file)s загружен"
#: cps/web.py:373
1
#: cps/web.py:373
8
msgid "Source or destination format for conversion missing"
msgid "Source or destination format for conversion missing"
msgstr ""
msgstr ""
#: cps/web.py:374
1
#: cps/web.py:374
8
#, python-format
#, python-format
msgid "Book successfully queued for converting to %(book_format)s"
msgid "Book successfully queued for converting to %(book_format)s"
msgstr ""
msgstr ""
#: cps/web.py:37
45
#: cps/web.py:37
52
#, python-format
#, python-format
msgid "There was an error converting this book: %(res)s"
msgid "There was an error converting this book: %(res)s"
msgstr ""
msgstr ""
#: cps/worker.py:215 cps/worker.py:3
87
#: cps/worker.py:215 cps/worker.py:3
98
msgid "Started"
msgid "Started"
msgstr "Начало"
msgstr "Начало"
#: cps/worker.py:2
37
#: cps/worker.py:2
51
#, python-format
#, python-format
msgid "Convertertool %(converter)s not found"
msgid "Convertertool %(converter)s not found"
msgstr ""
msgstr ""
#: cps/worker.py:2
72
#: cps/worker.py:2
87
#, python-format
#, python-format
msgid "Ebook-converter failed: %(error)s"
msgid "Ebook-converter failed: %(error)s"
msgstr ""
msgstr ""
#: cps/worker.py:2
83
#: cps/worker.py:2
98
#, python-format
#, python-format
msgid "Kindlegen failed with Error %(error)s. Message: %(message)s"
msgid "Kindlegen failed with Error %(error)s. Message: %(message)s"
msgstr ""
msgstr ""
#: cps/worker.py:317 cps/worker.py:377 cps/worker.py:438
#: cps/worker.py:355 cps/worker.py:374
msgid "Finished"
msgstr "Закончено"
#: cps/worker.py:344 cps/worker.py:363
msgid "Waiting"
msgid "Waiting"
msgstr "Ожидание"
msgstr "Ожидание"
#: cps/worker.py:3
51
#: cps/worker.py:3
62
msgid "This e-mail has been sent via Calibre-Web."
msgid "This e-mail has been sent via Calibre-Web."
msgstr ""
msgstr ""
#: cps/worker.py:472
#: cps/worker.py:388 cps/worker.py:484
msgid "Finished"
msgstr "Закончено"
#: cps/worker.py:476
msgid "Failed"
msgid "Failed"
msgstr "Неудачно"
msgstr "Неудачно"
...
@@ -692,7 +692,7 @@ msgstr "Имя пользователя"
...
@@ -692,7 +692,7 @@ msgstr "Имя пользователя"
#: cps/templates/admin.html:8
#: cps/templates/admin.html:8
msgid "E-mail"
msgid "E-mail"
msgstr ""
msgstr "
Почта
"
#: cps/templates/admin.html:9
#: cps/templates/admin.html:9
msgid "Kindle"
msgid "Kindle"
...
@@ -1837,35 +1837,6 @@ msgstr "Удалить этого пользователя"
...
@@ -1837,35 +1837,6 @@ msgstr "Удалить этого пользователя"
msgid "Recent Downloads"
msgid "Recent Downloads"
msgstr "Недавние скачивания"
msgstr "Недавние скачивания"
#~ msgid "%s: %s"
#~ msgid "E-mail: %s"
#~ msgstr "%s: %s"
#~ msgid "E-Mail: %s"
#~ msgstr "Почта: %s"
#~ msgstr "Почта: %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"
#~ msgstr ""
#~ msgid "Password for user %(user)s reset"
#~ msgstr "Пароль для пользователя %(user)s сброшен"
#~ msgid "Password for user %s reset"
#~ msgstr "Пароль для пользователя %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"
#~ 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\""
cps/worker.py
View file @
36d26f20
...
@@ -232,10 +232,25 @@ class WorkerThread(threading.Thread):
...
@@ -232,10 +232,25 @@ class WorkerThread(threading.Thread):
bookid
=
self
.
queue
[
self
.
current
][
'bookid'
]
bookid
=
self
.
queue
[
self
.
current
][
'bookid'
]
format_old_ext
=
u'.'
+
self
.
queue
[
self
.
current
][
'settings'
][
'old_book_format'
]
.
lower
()
format_old_ext
=
u'.'
+
self
.
queue
[
self
.
current
][
'settings'
][
'old_book_format'
]
.
lower
()
format_new_ext
=
u'.'
+
self
.
queue
[
self
.
current
][
'settings'
][
'new_book_format'
]
.
lower
()
format_new_ext
=
u'.'
+
self
.
queue
[
self
.
current
][
'settings'
][
'new_book_format'
]
.
lower
()
# check to see if destination format already exists -
# if it does - mark the conversion task as complete and return a success
# this will allow send to kindle workflow to continue to work
if
os
.
path
.
isfile
(
file_path
+
format_new_ext
):
web
.
app
.
logger
.
info
(
"Book id
%
d already converted to
%
s"
,
bookid
,
format_new_ext
)
cur_book
=
web
.
db
.
session
.
query
(
web
.
db
.
Books
)
.
filter
(
web
.
db
.
Books
.
id
==
bookid
)
.
first
()
self
.
queue
[
self
.
current
][
'path'
]
=
file_path
self
.
queue
[
self
.
current
][
'title'
]
=
cur_book
.
title
self
.
_handleSuccess
()
return
file_path
+
format_new_ext
else
:
web
.
app
.
logger
.
info
(
"Book id
%
d - target format of
%
s does not existing. Moving forward with convert."
,
bookid
,
format_new_ext
)
# check if converter-executable is existing
# check if converter-executable is existing
if
not
os
.
path
.
exists
(
web
.
ub
.
config
.
config_converterpath
):
if
not
os
.
path
.
exists
(
web
.
ub
.
config
.
config_converterpath
):
self
.
_handleError
(
_
(
u"Convertertool
%(converter)
s not found"
,
converter
=
web
.
ub
.
config
.
config_converterpath
))
self
.
_handleError
(
_
(
u"Convertertool
%(converter)
s not found"
,
converter
=
web
.
ub
.
config
.
config_converterpath
))
return
return
try
:
try
:
# check which converter to use kindlegen is "1"
# check which converter to use kindlegen is "1"
if
format_old_ext
==
'.epub'
and
format_new_ext
==
'.mobi'
:
if
format_old_ext
==
'.epub'
and
format_new_ext
==
'.mobi'
:
...
@@ -313,11 +328,7 @@ class WorkerThread(threading.Thread):
...
@@ -313,11 +328,7 @@ class WorkerThread(threading.Thread):
self
.
queue
[
self
.
current
][
'title'
]
=
cur_book
.
title
self
.
queue
[
self
.
current
][
'title'
]
=
cur_book
.
title
if
web
.
ub
.
config
.
config_use_google_drive
:
if
web
.
ub
.
config
.
config_use_google_drive
:
os
.
remove
(
file_path
+
format_old_ext
)
os
.
remove
(
file_path
+
format_old_ext
)
self
.
queue
[
self
.
current
][
'status'
]
=
STAT_FINISH_SUCCESS
self
.
_handleSuccess
()
self
.
UIqueue
[
self
.
current
][
'status'
]
=
_
(
'Finished'
)
self
.
UIqueue
[
self
.
current
][
'progress'
]
=
"100
%
"
self
.
UIqueue
[
self
.
current
][
'runtime'
]
=
self
.
_formatRuntime
(
datetime
.
now
()
-
self
.
queue
[
self
.
current
][
'starttime'
])
return
file_path
+
format_new_ext
return
file_path
+
format_new_ext
else
:
else
:
error_message
=
format_new_ext
.
upper
()
+
' format not found on disk'
error_message
=
format_new_ext
.
upper
()
+
' format not found on disk'
...
@@ -434,12 +445,7 @@ class WorkerThread(threading.Thread):
...
@@ -434,12 +445,7 @@ class WorkerThread(threading.Thread):
self
.
asyncSMTP
.
login
(
str
(
obj
[
'settings'
][
"mail_login"
]),
str
(
obj
[
'settings'
][
"mail_password"
]))
self
.
asyncSMTP
.
login
(
str
(
obj
[
'settings'
][
"mail_login"
]),
str
(
obj
[
'settings'
][
"mail_password"
]))
self
.
asyncSMTP
.
sendmail
(
obj
[
'settings'
][
"mail_from"
],
obj
[
'recipent'
],
msg
)
self
.
asyncSMTP
.
sendmail
(
obj
[
'settings'
][
"mail_from"
],
obj
[
'recipent'
],
msg
)
self
.
asyncSMTP
.
quit
()
self
.
asyncSMTP
.
quit
()
self
.
queue
[
self
.
current
][
'status'
]
=
STAT_FINISH_SUCCESS
self
.
_handleSuccess
()
self
.
UIqueue
[
self
.
current
][
'status'
]
=
_
(
'Finished'
)
self
.
UIqueue
[
self
.
current
][
'progress'
]
=
"100
%
"
self
.
UIqueue
[
self
.
current
][
'runtime'
]
=
self
.
_formatRuntime
(
datetime
.
now
()
-
self
.
queue
[
self
.
current
][
'starttime'
])
sys
.
stderr
=
org_stderr
sys
.
stderr
=
org_stderr
except
(
MemoryError
)
as
e
:
except
(
MemoryError
)
as
e
:
...
@@ -452,8 +458,6 @@ class WorkerThread(threading.Thread):
...
@@ -452,8 +458,6 @@ class WorkerThread(threading.Thread):
self
.
_handleError
(
u'Error sending email: '
+
e
.
strerror
)
self
.
_handleError
(
u'Error sending email: '
+
e
.
strerror
)
return
None
return
None
def
_formatRuntime
(
self
,
runtime
):
def
_formatRuntime
(
self
,
runtime
):
self
.
UIqueue
[
self
.
current
][
'rt'
]
=
runtime
.
total_seconds
()
self
.
UIqueue
[
self
.
current
][
'rt'
]
=
runtime
.
total_seconds
()
val
=
re
.
split
(
'
\
:|
\
.'
,
str
(
runtime
))[
0
:
3
]
val
=
re
.
split
(
'
\
:|
\
.'
,
str
(
runtime
))[
0
:
3
]
...
@@ -475,6 +479,12 @@ class WorkerThread(threading.Thread):
...
@@ -475,6 +479,12 @@ class WorkerThread(threading.Thread):
datetime
.
now
()
-
self
.
queue
[
self
.
current
][
'starttime'
])
datetime
.
now
()
-
self
.
queue
[
self
.
current
][
'starttime'
])
self
.
UIqueue
[
self
.
current
][
'message'
]
=
error_message
self
.
UIqueue
[
self
.
current
][
'message'
]
=
error_message
def
_handleSuccess
(
self
):
self
.
queue
[
self
.
current
][
'status'
]
=
STAT_FINISH_SUCCESS
self
.
UIqueue
[
self
.
current
][
'status'
]
=
_
(
'Finished'
)
self
.
UIqueue
[
self
.
current
][
'progress'
]
=
"100
%
"
self
.
UIqueue
[
self
.
current
][
'runtime'
]
=
self
.
_formatRuntime
(
datetime
.
now
()
-
self
.
queue
[
self
.
current
][
'starttime'
])
class
StderrLogger
(
object
):
class
StderrLogger
(
object
):
...
...
messages.pot
View file @
36d26f20
...
@@ -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: 2018-09-
08 20:58
+0200\n"
"POT-Creation-Date: 2018-09-
14 20:34
+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"
...
@@ -113,559 +113,564 @@ msgstr ""
...
@@ -113,559 +113,564 @@ msgstr ""
msgid "Unrar binary file not found"
msgid "Unrar binary file not found"
msgstr ""
msgstr ""
#: cps/web.py:11
1
7
#: cps/web.py:11
2
7
msgid "Requesting update package"
msgid "Requesting update package"
msgstr ""
msgstr ""
#: cps/web.py:11
1
8
#: cps/web.py:11
2
8
msgid "Downloading update package"
msgid "Downloading update package"
msgstr ""
msgstr ""
#: cps/web.py:11
1
9
#: cps/web.py:11
2
9
msgid "Unzipping update package"
msgid "Unzipping update package"
msgstr ""
msgstr ""
#: cps/web.py:11
2
0
#: cps/web.py:11
3
0
msgid "Files are replaced"
msgid "Files are replaced"
msgstr ""
msgstr ""
#: cps/web.py:11
2
1
#: cps/web.py:11
3
1
msgid "Database connections are closed"
msgid "Database connections are closed"
msgstr ""
msgstr ""
#: cps/web.py:11
2
2
#: cps/web.py:11
3
2
msgid "Server is stopped"
msgid "Server is stopped"
msgstr ""
msgstr ""
#: cps/web.py:11
2
3
#: cps/web.py:11
3
3
msgid "Update finished, please press okay and reload page"
msgid "Update finished, please press okay and reload page"
msgstr ""
msgstr ""
#: cps/web.py:11
4
3
#: cps/web.py:11
5
3
msgid "Recently Added Books"
msgid "Recently Added Books"
msgstr ""
msgstr ""
#: cps/web.py:11
5
3
#: cps/web.py:11
6
3
msgid "Newest Books"
msgid "Newest Books"
msgstr ""
msgstr ""
#: cps/web.py:11
6
5
#: cps/web.py:11
7
5
msgid "Oldest Books"
msgid "Oldest Books"
msgstr ""
msgstr ""
#: cps/web.py:11
7
7
#: cps/web.py:11
8
7
msgid "Books (A-Z)"
msgid "Books (A-Z)"
msgstr ""
msgstr ""
#: cps/web.py:11
8
8
#: cps/web.py:11
9
8
msgid "Books (Z-A)"
msgid "Books (Z-A)"
msgstr ""
msgstr ""
#: cps/web.py:12
1
7
#: cps/web.py:12
2
7
msgid "Hot Books (most downloaded)"
msgid "Hot Books (most downloaded)"
msgstr ""
msgstr ""
#: cps/web.py:12
3
0
#: cps/web.py:12
4
0
msgid "Best rated books"
msgid "Best rated books"
msgstr ""
msgstr ""
#: cps/templates/index.xml:36 cps/web.py:12
4
2
#: cps/templates/index.xml:36 cps/web.py:12
5
2
msgid "Random Books"
msgid "Random Books"
msgstr ""
msgstr ""
#: cps/web.py:12
5
7
#: cps/web.py:12
6
7
msgid "Author list"
msgid "Author list"
msgstr ""
msgstr ""
#: cps/web.py:12
69 cps/web.py:1332 cps/web.py:1487 cps/web.py:203
9
#: cps/web.py:12
79 cps/web.py:1342 cps/web.py:1497 cps/web.py:204
9
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:73 cps/web.py:13
1
6
#: cps/templates/index.xml:73 cps/web.py:13
2
6
msgid "Series list"
msgid "Series list"
msgstr ""
msgstr ""
#: cps/web.py:13
3
0
#: cps/web.py:13
4
0
#, python-format
#, python-format
msgid "Series: %(serie)s"
msgid "Series: %(serie)s"
msgstr ""
msgstr ""
#: cps/web.py:13
5
7
#: cps/web.py:13
6
7
msgid "Available languages"
msgid "Available languages"
msgstr ""
msgstr ""
#: cps/web.py:13
7
4
#: cps/web.py:13
8
4
#, python-format
#, python-format
msgid "Language: %(name)s"
msgid "Language: %(name)s"
msgstr ""
msgstr ""
#: cps/templates/index.xml:66 cps/web.py:13
8
5
#: cps/templates/index.xml:66 cps/web.py:13
9
5
msgid "Category list"
msgid "Category list"
msgstr ""
msgstr ""
#: cps/web.py:1
39
9
#: cps/web.py:1
40
9
#, python-format
#, python-format
msgid "Category: %(name)s"
msgid "Category: %(name)s"
msgstr ""
msgstr ""
#: cps/templates/layout.html:71 cps/web.py:15
3
8
#: cps/templates/layout.html:71 cps/web.py:15
4
8
msgid "Tasks"
msgid "Tasks"
msgstr ""
msgstr ""
#: cps/web.py:15
6
8
#: cps/web.py:15
7
8
msgid "Statistics"
msgid "Statistics"
msgstr ""
msgstr ""
#: cps/web.py:16
7
3
#: cps/web.py:16
8
3
msgid "Callback domain is not verified, please follow steps to verify domain in google developer console"
msgid "Callback domain is not verified, please follow steps to verify domain in google developer console"
msgstr ""
msgstr ""
#: cps/web.py:17
4
8
#: cps/web.py:17
5
8
msgid "Server restarted, please reload page"
msgid "Server restarted, please reload page"
msgstr ""
msgstr ""
#: cps/web.py:17
5
1
#: cps/web.py:17
6
1
msgid "Performing shutdown of server, please close window"
msgid "Performing shutdown of server, please close window"
msgstr ""
msgstr ""
#: cps/web.py:17
7
0
#: cps/web.py:17
8
0
msgid "Update done"
msgid "Update done"
msgstr ""
msgstr ""
#: cps/web.py:18
4
0
#: cps/web.py:18
5
0
msgid "Published after "
msgid "Published after "
msgstr ""
msgstr ""
#: cps/web.py:18
4
7
#: cps/web.py:18
5
7
msgid "Published before "
msgid "Published before "
msgstr ""
msgstr ""
#: cps/web.py:18
6
1
#: cps/web.py:18
7
1
#, python-format
#, python-format
msgid "Rating <= %(rating)s"
msgid "Rating <= %(rating)s"
msgstr ""
msgstr ""
#: cps/web.py:18
6
3
#: cps/web.py:18
7
3
#, python-format
#, python-format
msgid "Rating >= %(rating)s"
msgid "Rating >= %(rating)s"
msgstr ""
msgstr ""
#: cps/web.py:19
22 cps/web.py:193
1
#: cps/web.py:19
32 cps/web.py:194
1
msgid "search"
msgid "search"
msgstr ""
msgstr ""
#: cps/templates/index.xml:44 cps/templates/index.xml:48
#: cps/templates/index.xml:44 cps/templates/index.xml:48
#: cps/templates/layout.html:146 cps/web.py:
199
8
#: cps/templates/layout.html:146 cps/web.py:
200
8
msgid "Read Books"
msgid "Read Books"
msgstr ""
msgstr ""
#: cps/templates/index.xml:52 cps/templates/index.xml:56
#: cps/templates/index.xml:52 cps/templates/index.xml:56
#: cps/templates/layout.html:148 cps/web.py:20
0
1
#: cps/templates/layout.html:148 cps/web.py:20
1
1
msgid "Unread Books"
msgid "Unread Books"
msgstr ""
msgstr ""
#: cps/web.py:20
49 cps/web.py:2051 cps/web.py:2053 cps/web.py:206
5
#: cps/web.py:20
59 cps/web.py:2061 cps/web.py:2063 cps/web.py:207
5
msgid "Read a Book"
msgid "Read a Book"
msgstr ""
msgstr ""
#: cps/web.py:21
31 cps/web.py:3009
#: cps/web.py:21
41 cps/web.py:3024
msgid "Please fill out all fields!"
msgid "Please fill out all fields!"
msgstr ""
msgstr ""
#: cps/web.py:21
32 cps/web.py:2153 cps/web.py:2157 cps/web.py:216
2
#: cps/web.py:21
42 cps/web.py:2163 cps/web.py:2167 cps/web.py:217
2
#: cps/web.py:21
6
4
#: cps/web.py:21
7
4
msgid "register"
msgid "register"
msgstr ""
msgstr ""
#: cps/web.py:21
52 cps/web.py:3225
#: cps/web.py:21
62 cps/web.py:3240
msgid "An unknown error occurred. Please try again later."
msgid "An unknown error occurred. Please try again later."
msgstr ""
msgstr ""
#: cps/web.py:21
5
5
#: cps/web.py:21
6
5
msgid "Your e-mail is not allowed to register"
msgid "Your e-mail is not allowed to register"
msgstr ""
msgstr ""
#: cps/web.py:21
5
8
#: cps/web.py:21
6
8
msgid "Confirmation e-mail was send to your e-mail account."
msgid "Confirmation e-mail was send to your e-mail account."
msgstr ""
msgstr ""
#: cps/web.py:21
6
1
#: cps/web.py:21
7
1
msgid "This username or e-mail address is already in use."
msgid "This username or e-mail address is already in use."
msgstr ""
msgstr ""
#: cps/web.py:21
78 cps/web.py:227
4
#: cps/web.py:21
88 cps/web.py:228
4
#, 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:21
8
3
#: cps/web.py:21
9
3
msgid "Wrong Username or Password"
msgid "Wrong Username or Password"
msgstr ""
msgstr ""
#: cps/web.py:21
89 cps/web.py:221
0
#: cps/web.py:21
99 cps/web.py:222
0
msgid "login"
msgid "login"
msgstr ""
msgstr ""
#: cps/web.py:22
22 cps/web.py:225
3
#: cps/web.py:22
32 cps/web.py:226
3
msgid "Token not found"
msgid "Token not found"
msgstr ""
msgstr ""
#: cps/web.py:22
30 cps/web.py:226
1
#: cps/web.py:22
40 cps/web.py:227
1
msgid "Token has expired"
msgid "Token has expired"
msgstr ""
msgstr ""
#: cps/web.py:22
3
8
#: cps/web.py:22
4
8
msgid "Success! Please return to your device"
msgid "Success! Please return to your device"
msgstr ""
msgstr ""
#: cps/web.py:22
8
8
#: cps/web.py:22
9
8
msgid "Please configure the SMTP mail settings first..."
msgid "Please configure the SMTP mail settings first..."
msgstr ""
msgstr ""
#: cps/web.py:2
29
2
#: cps/web.py:2
30
2
#, python-format
#, python-format
msgid "Book successfully queued for sending to %(kindlemail)s"
msgid "Book successfully queued for sending to %(kindlemail)s"
msgstr ""
msgstr ""
#: cps/web.py:2
29
6
#: cps/web.py:2
30
6
#, 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:2
298 cps/web.py:3063
#: cps/web.py:2
308 cps/web.py:3078
msgid "Please configure your kindle e-mail address first..."
msgid "Please configure your kindle e-mail address first..."
msgstr ""
msgstr ""
#: cps/web.py:23
4
2
#: cps/web.py:23
5
2
#, 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:23
5
3
#: cps/web.py:23
6
3
msgid "Invalid shelf specified"
msgid "Invalid shelf specified"
msgstr ""
msgstr ""
#: cps/web.py:23
5
8
#: cps/web.py:23
6
8
#, python-format
#, python-format
msgid "You are not allowed to add a book to the the shelf: %(name)s"
msgid "You are not allowed to add a book to the the shelf: %(name)s"
msgstr ""
msgstr ""
#: cps/web.py:23
6
3
#: cps/web.py:23
7
3
msgid "User is not allowed to edit public shelves"
msgid "User is not allowed to edit public shelves"
msgstr ""
msgstr ""
#: cps/web.py:23
8
1
#: cps/web.py:23
9
1
#, python-format
#, python-format
msgid "Books are already part of the shelf: %(name)s"
msgid "Books are already part of the shelf: %(name)s"
msgstr ""
msgstr ""
#: cps/web.py:2
39
5
#: cps/web.py:2
40
5
#, python-format
#, python-format
msgid "Books have been added to shelf: %(sname)s"
msgid "Books have been added to shelf: %(sname)s"
msgstr ""
msgstr ""
#: cps/web.py:2
39
7
#: cps/web.py:2
40
7
#, python-format
#, python-format
msgid "Could not add books to shelf: %(sname)s"
msgid "Could not add books to shelf: %(sname)s"
msgstr ""
msgstr ""
#: cps/web.py:24
3
4
#: cps/web.py:24
4
4
#, 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:24
4
0
#: cps/web.py:24
5
0
#, python-format
#, python-format
msgid "Sorry you are not allowed to remove a book from this shelf: %(sname)s"
msgid "Sorry you are not allowed to remove a book from this shelf: %(sname)s"
msgstr ""
msgstr ""
#: cps/web.py:24
60 cps/web.py:248
4
#: cps/web.py:24
70 cps/web.py:249
4
#, 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:24
6
5
#: cps/web.py:24
7
5
#, python-format
#, python-format
msgid "Shelf %(title)s created"
msgid "Shelf %(title)s created"
msgstr ""
msgstr ""
#: cps/web.py:24
67 cps/web.py:249
5
#: cps/web.py:24
77 cps/web.py:250
5
msgid "There was an error"
msgid "There was an error"
msgstr ""
msgstr ""
#: cps/web.py:24
68 cps/web.py:247
0
#: cps/web.py:24
78 cps/web.py:248
0
msgid "create a shelf"
msgid "create a shelf"
msgstr ""
msgstr ""
#: cps/web.py:2
49
3
#: cps/web.py:2
50
3
#, python-format
#, python-format
msgid "Shelf %(title)s changed"
msgid "Shelf %(title)s changed"
msgstr ""
msgstr ""
#: cps/web.py:2
496 cps/web.py:249
8
#: cps/web.py:2
506 cps/web.py:250
8
msgid "Edit a shelf"
msgid "Edit a shelf"
msgstr ""
msgstr ""
#: cps/web.py:25
1
9
#: cps/web.py:25
2
9
#, python-format
#, python-format
msgid "successfully deleted shelf %(name)s"
msgid "successfully deleted shelf %(name)s"
msgstr ""
msgstr ""
#: cps/web.py:25
41
#: cps/web.py:25
56
#, python-format
#, python-format
msgid "Shelf: '%(name)s'"
msgid "Shelf: '%(name)s'"
msgstr ""
msgstr ""
#: cps/web.py:25
44
#: cps/web.py:25
59
msgid "Error opening shelf. Shelf does not exist or is not accessible"
msgid "Error opening shelf. Shelf does not exist or is not accessible"
msgstr ""
msgstr ""
#: cps/web.py:25
75
#: cps/web.py:25
90
#, python-format
#, python-format
msgid "Change order of Shelf: '%(name)s'"
msgid "Change order of Shelf: '%(name)s'"
msgstr ""
msgstr ""
#: cps/web.py:26
04 cps/web.py:3015
#: cps/web.py:26
19 cps/web.py:3030
msgid "E-mail is not from valid domain"
msgid "E-mail is not from valid domain"
msgstr ""
msgstr ""
#: cps/web.py:26
06 cps/web.py:2647 cps/web.py:2650
#: cps/web.py:26
21 cps/web.py:2662 cps/web.py:2665
#, python-format
#, python-format
msgid "%(name)s's profile"
msgid "%(name)s's profile"
msgstr ""
msgstr ""
#: cps/web.py:26
45
#: cps/web.py:26
60
msgid "Found an existing account for this e-mail address."
msgid "Found an existing account for this e-mail address."
msgstr ""
msgstr ""
#: cps/web.py:26
48
#: cps/web.py:26
63
msgid "Profile updated"
msgid "Profile updated"
msgstr ""
msgstr ""
#: cps/web.py:26
60
#: cps/web.py:26
75
msgid "Unknown"
msgid "Unknown"
msgstr ""
msgstr ""
#: cps/web.py:26
74
#: cps/web.py:26
89
msgid "Admin page"
msgid "Admin page"
msgstr ""
msgstr ""
#: cps/web.py:27
52 cps/web.py:2925
#: cps/web.py:27
67 cps/web.py:2940
msgid "Calibre-Web configuration updated"
msgid "Calibre-Web configuration updated"
msgstr ""
msgstr ""
#: cps/templates/admin.html:91 cps/web.py:27
65
#: cps/templates/admin.html:91 cps/web.py:27
80
msgid "UI Configuration"
msgid "UI Configuration"
msgstr ""
msgstr ""
#: cps/web.py:27
83
#: cps/web.py:27
98
msgid "Import of optional Google Drive requirements missing"
msgid "Import of optional Google Drive requirements missing"
msgstr ""
msgstr ""
#: cps/web.py:2
786
#: cps/web.py:2
801
msgid "client_secrets.json is missing or not readable"
msgid "client_secrets.json is missing or not readable"
msgstr ""
msgstr ""
#: cps/web.py:2
791 cps/web.py:2818
#: cps/web.py:2
806 cps/web.py:2833
msgid "client_secrets.json is not configured for web application"
msgid "client_secrets.json is not configured for web application"
msgstr ""
msgstr ""
#: cps/templates/admin.html:90 cps/web.py:28
21 cps/web.py:2847 cps/web.py:2859
#: cps/templates/admin.html:90 cps/web.py:28
36 cps/web.py:2862 cps/web.py:2874
#: cps/web.py:29
01 cps/web.py:2916 cps/web.py:2933 cps/web.py:2940
#: cps/web.py:29
16 cps/web.py:2931 cps/web.py:2948 cps/web.py:2955
#: cps/web.py:29
57
#: cps/web.py:29
72
msgid "Basic Configuration"
msgid "Basic Configuration"
msgstr ""
msgstr ""
#: cps/web.py:28
44
#: cps/web.py:28
59
msgid "Keyfile location is not valid, please enter correct path"
msgid "Keyfile location is not valid, please enter correct path"
msgstr ""
msgstr ""
#: cps/web.py:28
56
#: cps/web.py:28
71
msgid "Certfile location is not valid, please enter correct path"
msgid "Certfile location is not valid, please enter correct path"
msgstr ""
msgstr ""
#: cps/web.py:2
898
#: cps/web.py:2
913
msgid "Logfile location is not valid, please enter correct path"
msgid "Logfile location is not valid, please enter correct path"
msgstr ""
msgstr ""
#: cps/web.py:29
37
#: cps/web.py:29
52
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:31 cps/web.py:30
11 cps/web.py:3017 cps/web.py:3033
#: cps/templates/admin.html:31 cps/web.py:30
26 cps/web.py:3032 cps/web.py:3048
msgid "Add new user"
msgid "Add new user"
msgstr ""
msgstr ""
#: cps/web.py:30
23
#: cps/web.py:30
38
#, python-format
#, python-format
msgid "User '%(user)s' created"
msgid "User '%(user)s' created"
msgstr ""
msgstr ""
#: cps/web.py:30
27
#: cps/web.py:30
42
msgid "Found an existing account for this e-mail address or nickname."
msgid "Found an existing account for this e-mail address or nickname."
msgstr ""
msgstr ""
#: cps/web.py:30
51 cps/web.py:3065
#: cps/web.py:30
66 cps/web.py:3080
msgid "E-mail server settings updated"
msgid "E-mail server settings updated"
msgstr ""
msgstr ""
#: cps/web.py:30
58
#: cps/web.py:30
73
#, 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:30
61
#: cps/web.py:30
76
#, 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:30
66
#: cps/web.py:30
81
msgid "Edit e-mail server settings"
msgid "Edit e-mail server settings"
msgstr ""
msgstr ""
#: cps/web.py:3
091
#: cps/web.py:3
106
#, python-format
#, python-format
msgid "User '%(nick)s' deleted"
msgid "User '%(nick)s' deleted"
msgstr ""
msgstr ""
#: cps/web.py:32
00
#: cps/web.py:32
15
#, python-format
#, python-format
msgid "User '%(nick)s' updated"
msgid "User '%(nick)s' updated"
msgstr ""
msgstr ""
#: cps/web.py:32
03
#: cps/web.py:32
18
msgid "An unknown error occured."
msgid "An unknown error occured."
msgstr ""
msgstr ""
#: cps/web.py:32
05
#: cps/web.py:32
20
#, python-format
#, python-format
msgid "Edit User %(nick)s"
msgid "Edit User %(nick)s"
msgstr ""
msgstr ""
#: cps/web.py:32
22
#: cps/web.py:32
37
#, python-format
#, python-format
msgid "Password for user %(user)s reset"
msgid "Password for user %(user)s reset"
msgstr ""
msgstr ""
#: cps/web.py:32
42
#: cps/web.py:32
57
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/web.py:32
73 cps/web.py:3549 cps/web.py:3554 cps/web.py:3709
#: cps/web.py:32
85 cps/web.py:3562 cps/web.py:3567 cps/web.py:3722
msgid "edit metadata"
msgid "edit metadata"
msgstr ""
msgstr ""
#: cps/web.py:32
87 cps/web.py:3579
#: cps/web.py:32
96 cps/web.py:3592
#, python-format
#, python-format
msgid "File extension '%(ext)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 ""
msgstr ""
#: cps/web.py:3
291 cps/web.py:3583
#: cps/web.py:3
300 cps/web.py:3596
msgid "File to be uploaded must have an extension"
msgid "File to be uploaded must have an extension"
msgstr ""
msgstr ""
#: cps/web.py:33
03 cps/web.py:3603
#: cps/web.py:33
12 cps/web.py:3616
#, python-format
#, python-format
msgid "Failed to create path %(path)s (Permission denied)."
msgid "Failed to create path %(path)s (Permission denied)."
msgstr ""
msgstr ""
#: cps/web.py:33
08
#: cps/web.py:33
17
#, python-format
#, python-format
msgid "Failed to store file %(file)s."
msgid "Failed to store file %(file)s."
msgstr ""
msgstr ""
#: cps/web.py:33
24
#: cps/web.py:33
33
#, python-format
#, python-format
msgid "File format %(ext)s added to %(book)s"
msgid "File format %(ext)s added to %(book)s"
msgstr ""
msgstr ""
#: cps/web.py:33
42
#: cps/web.py:33
50
#, python-format
#, python-format
msgid "Failed to create path for cover %(path)s (Permission denied)."
msgid "Failed to create path for cover %(path)s (Permission denied)."
msgstr ""
msgstr ""
#: cps/web.py:33
49
#: cps/web.py:33
57
#, python-format
#, python-format
msgid "Failed to store cover-file %(cover)s."
msgid "Failed to store cover-file %(cover)s."
msgstr ""
msgstr ""
#: cps/web.py:33
52
#: cps/web.py:33
60
msgid "Cover-file is not a valid image file"
msgid "Cover-file is not a valid image file"
msgstr ""
msgstr ""
#: cps/web.py:33
65 cps/web.py:3369
#: cps/web.py:33
77 cps/web.py:3381
msgid "unknown"
msgid "unknown"
msgstr ""
msgstr ""
#: cps/web.py:3
391
#: cps/web.py:3
403
msgid "Cover is not a jpg file, can't save"
msgid "Cover is not a jpg file, can't save"
msgstr ""
msgstr ""
#: cps/web.py:3558
#: cps/web.py:3449
#, python-format
msgid "%(langname)s is not a valid language"
msgstr ""
#: cps/web.py:3571
msgid "Error editing book, please check logfile for details"
msgid "Error editing book, please check logfile for details"
msgstr ""
msgstr ""
#: cps/web.py:36
08
#: cps/web.py:36
21
#, python-format
#, python-format
msgid "Failed to store file %(file)s (Permission denied)."
msgid "Failed to store file %(file)s (Permission denied)."
msgstr ""
msgstr ""
#: cps/web.py:36
13
#: cps/web.py:36
26
#, python-format
#, python-format
msgid "Failed to delete file %(file)s (Permission denied)."
msgid "Failed to delete file %(file)s (Permission denied)."
msgstr ""
msgstr ""
#: cps/web.py:3
695
#: cps/web.py:3
708
#, python-format
#, python-format
msgid "File %(file)s uploaded"
msgid "File %(file)s uploaded"
msgstr ""
msgstr ""
#: cps/web.py:37
25
#: cps/web.py:37
38
msgid "Source or destination format for conversion missing"
msgid "Source or destination format for conversion missing"
msgstr ""
msgstr ""
#: cps/web.py:37
35
#: cps/web.py:37
48
#, python-format
#, python-format
msgid "Book successfully queued for converting to %(book_format)s"
msgid "Book successfully queued for converting to %(book_format)s"
msgstr ""
msgstr ""
#: cps/web.py:37
39
#: cps/web.py:37
52
#, python-format
#, python-format
msgid "There was an error converting this book: %(res)s"
msgid "There was an error converting this book: %(res)s"
msgstr ""
msgstr ""
#: cps/worker.py:215 cps/worker.py:3
87
#: cps/worker.py:215 cps/worker.py:3
98
msgid "Started"
msgid "Started"
msgstr ""
msgstr ""
#: cps/worker.py:2
37
#: cps/worker.py:2
51
#, python-format
#, python-format
msgid "Convertertool %(converter)s not found"
msgid "Convertertool %(converter)s not found"
msgstr ""
msgstr ""
#: cps/worker.py:2
72
#: cps/worker.py:2
87
#, python-format
#, python-format
msgid "Ebook-converter failed: %(error)s"
msgid "Ebook-converter failed: %(error)s"
msgstr ""
msgstr ""
#: cps/worker.py:2
83
#: cps/worker.py:2
98
#, python-format
#, python-format
msgid "Kindlegen failed with Error %(error)s. Message: %(message)s"
msgid "Kindlegen failed with Error %(error)s. Message: %(message)s"
msgstr ""
msgstr ""
#: cps/worker.py:317 cps/worker.py:377 cps/worker.py:438
#: cps/worker.py:355 cps/worker.py:374
msgid "Finished"
msgstr ""
#: cps/worker.py:344 cps/worker.py:363
msgid "Waiting"
msgid "Waiting"
msgstr ""
msgstr ""
#: cps/worker.py:3
51
#: cps/worker.py:3
62
msgid "This e-mail has been sent via Calibre-Web."
msgid "This e-mail has been sent via Calibre-Web."
msgstr ""
msgstr ""
#: cps/worker.py:472
#: cps/worker.py:388 cps/worker.py:484
msgid "Finished"
msgstr ""
#: cps/worker.py:476
msgid "Failed"
msgid "Failed"
msgstr ""
msgstr ""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment