\n"
"Language: pl\n"
@@ -60,7 +60,7 @@ msgstr "Konfiguracja Calibre-Web została zaktualizowana"
msgid "Basic Configuration"
msgstr "Podstawowa konfiguracja"
-#: cps/admin.py:452 cps/web.py:1054
+#: cps/admin.py:452 cps/web.py:1055
msgid "Please fill out all fields!"
msgstr "Proszę wypełnić wszystkie pola!"
@@ -69,7 +69,7 @@ msgstr "Proszę wypełnić wszystkie pola!"
msgid "Add new user"
msgstr "Dodaj nowego użytkownika"
-#: cps/admin.py:463 cps/web.py:1257
+#: cps/admin.py:463 cps/web.py:1258
msgid "E-mail is not from valid domain"
msgstr "E-mail nie pochodzi z prawidłowej domeny"
@@ -96,7 +96,7 @@ msgstr "Test e-maila zakończony pomyślnie. Wysłano do %(kindlemail)s"
msgid "There was an error sending the Test e-mail: %(res)s"
msgstr "Wystąpił błąd podczas wysyłania e-maila testowego: %(res)s"
-#: cps/admin.py:527 cps/web.py:1037
+#: cps/admin.py:527 cps/web.py:1038
msgid "Please configure your kindle e-mail address first..."
msgstr "Najpierw skonfiguruj adres e-mail Kindla..."
@@ -113,84 +113,88 @@ msgstr "Użytkownik '%(nick)s' został usunięty"
msgid "No admin user remaining, can't delete user"
msgstr "Nie można usunąć użytkownika. Brak na serwerze innego konta z prawami administratora"
-#: cps/admin.py:600 cps/web.py:1283
+#: cps/admin.py:599 cps/web.py:1299
msgid "Found an existing account for this e-mail address."
msgstr "Znaleziono istniejące konto dla tego adresu e-mail."
-#: cps/admin.py:603 cps/admin.py:615
+#: cps/admin.py:602 cps/admin.py:615 cps/admin.py:629 cps/web.py:1274
#, python-format
msgid "Edit User %(nick)s"
msgstr "Edytuj użytkownika %(nick)s"
-#: cps/admin.py:609
+#: cps/admin.py:608 cps/web.py:1267
+msgid "This username is already taken"
+msgstr ""
+
+#: cps/admin.py:623
#, python-format
msgid "User '%(nick)s' updated"
msgstr "Użytkownik '%(nick)s' został zaktualizowany"
-#: cps/admin.py:612
+#: cps/admin.py:626
msgid "An unknown error occured."
msgstr "Wystąpił nieznany błąd."
# ???
-#: cps/admin.py:631
+#: cps/admin.py:645
#, python-format
msgid "Password for user %(user)s reset"
msgstr "Zrestartowano hasło użytkownika %(user)s"
-#: cps/admin.py:634 cps/web.py:1079
+#: cps/admin.py:648 cps/web.py:1080
msgid "An unknown error occurred. Please try again later."
msgstr "Wystąpił nieznany błąd. Spróbuj ponownie później."
-#: cps/admin.py:645
+#: cps/admin.py:659
msgid "Logfile viewer"
msgstr "Przeglądanie plików Logu"
-#: cps/admin.py:680
+#: cps/admin.py:694
msgid "Requesting update package"
msgstr "Żądanie o pakiet aktualizacji"
-#: cps/admin.py:681
+#: cps/admin.py:695
msgid "Downloading update package"
msgstr "Pobieranie pakietu aktualizacji"
-#: cps/admin.py:682
+#: cps/admin.py:696
msgid "Unzipping update package"
msgstr "Rozpakowywanie pakietu aktualizacji"
# ???
-#: cps/admin.py:683
+#: cps/admin.py:697
msgid "Replacing files"
msgstr "Zastępowanie plików"
-#: cps/admin.py:684
+#: cps/admin.py:698
msgid "Database connections are closed"
msgstr "Połączenia z bazą danych zostały zakończone"
-#: cps/admin.py:685
+#: cps/admin.py:699
msgid "Stopping server"
msgstr "Zatrzymywanie serwera"
-#: cps/admin.py:686
+#: cps/admin.py:700
msgid "Update finished, please press okay and reload page"
msgstr "Aktualizacja zakończona, proszę nacisnąć OK i odświeżyć stronę"
-#: cps/admin.py:687 cps/admin.py:688 cps/admin.py:689 cps/admin.py:690
+#: cps/admin.py:701 cps/admin.py:702 cps/admin.py:703 cps/admin.py:704
msgid "Update failed:"
msgstr "Aktualizacja nieudana:"
-#: cps/admin.py:687 cps/updater.py:272 cps/updater.py:457 cps/updater.py:459
+#: cps/admin.py:701 cps/updater.py:272 cps/updater.py:457 cps/updater.py:459
msgid "HTTP Error"
msgstr ""
-#: cps/admin.py:688 cps/updater.py:274 cps/updater.py:461
+#: cps/admin.py:702 cps/updater.py:274 cps/updater.py:461
msgid "Connection error"
msgstr ""
-#: cps/admin.py:689 cps/updater.py:276 cps/updater.py:463
+#: cps/admin.py:703 cps/updater.py:276 cps/updater.py:463
msgid "Timeout while establishing connection"
msgstr "Przekroczono limit czasu podczas nawiązywania połączenia"
-#: cps/admin.py:690 cps/updater.py:278 cps/updater.py:465
+#: cps/admin.py:704 cps/updater.py:278 cps/updater.py:465
msgid "General error"
msgstr ""
@@ -585,7 +589,7 @@ msgid "Show best rated books"
msgstr "Pokaż menu najlepiej ocenione książki"
#: cps/templates/index.xml:46 cps/templates/index.xml:50 cps/ub.py:67
-#: cps/web.py:975
+#: cps/web.py:976
msgid "Read Books"
msgstr "Przeczytane książki"
@@ -594,7 +598,7 @@ msgid "Show read and unread"
msgstr "Pokaż menu przeczytane i nieprzeczytane"
#: cps/templates/index.xml:53 cps/templates/index.xml:57 cps/ub.py:71
-#: cps/web.py:979
+#: cps/web.py:980
msgid "Unread Books"
msgstr "Nieprzeczytane książki"
@@ -696,199 +700,204 @@ msgstr ""
msgid "Click on the button below to update to the latest stable version."
msgstr ""
-#: cps/web.py:458
+#: cps/web.py:459
msgid "Recently Added Books"
msgstr "Ostatnio dodane książki"
-#: cps/web.py:486
+#: cps/web.py:487
msgid "Best rated books"
msgstr "Najlepiej oceniane książki"
-#: cps/templates/index.xml:38 cps/web.py:494
+#: cps/templates/index.xml:38 cps/web.py:495
msgid "Random Books"
msgstr "Losowe książki"
-#: cps/web.py:520
+#: cps/web.py:521
msgid "Books"
msgstr "Książki"
-#: cps/web.py:547
+#: cps/web.py:548
msgid "Hot Books (most downloaded)"
msgstr "Najpopularniejsze książki (najczęściej pobierane)"
-#: cps/web.py:558 cps/web.py:1304 cps/web.py:1392
+#: cps/web.py:559 cps/web.py:1320 cps/web.py:1408
msgid "Error opening eBook. File does not exist or file is not accessible:"
msgstr "Błąd otwierania e-booka. Plik nie istnieje lub plik nie jest dostępny:"
-#: cps/web.py:571
+#: cps/web.py:572
#, python-format
msgid "Author: %(name)s"
msgstr "Autor: %(name)s"
-#: cps/web.py:583
+#: cps/web.py:584
#, python-format
msgid "Publisher: %(name)s"
msgstr "Wydawca: %(name)s"
-#: cps/web.py:594
+#: cps/web.py:595
#, python-format
msgid "Series: %(serie)s"
msgstr "Seria: %(serie)s"
-#: cps/web.py:605
+#: cps/web.py:606
#, python-format
msgid "Rating: %(rating)s stars"
msgstr "Ocena: %(rating)s gwiazdek"
-#: cps/web.py:616
+#: cps/web.py:617
#, python-format
msgid "File format: %(format)s"
msgstr "Format pliku: %(format)s"
-#: cps/web.py:628
+#: cps/web.py:629
#, python-format
msgid "Category: %(name)s"
msgstr "Kategoria: %(name)s"
-#: cps/web.py:645
+#: cps/web.py:646
#, python-format
msgid "Language: %(name)s"
msgstr "Język: %(name)s"
-#: cps/web.py:677
+#: cps/web.py:678
msgid "Publisher list"
msgstr "Lista wydawców"
-#: cps/templates/index.xml:82 cps/web.py:693
+#: cps/templates/index.xml:82 cps/web.py:694
msgid "Series list"
msgstr "Lista serii"
-#: cps/web.py:707
+#: cps/web.py:708
msgid "Ratings list"
msgstr "Lista z ocenami"
-#: cps/web.py:720
+#: cps/web.py:721
msgid "File formats list"
msgstr "Lista formatów"
-#: cps/web.py:748
+#: cps/web.py:749
msgid "Available languages"
msgstr "Dostępne języki"
-#: cps/templates/index.xml:75 cps/web.py:765
+#: cps/templates/index.xml:75 cps/web.py:766
msgid "Category list"
msgstr "Lista kategorii"
-#: cps/templates/layout.html:73 cps/web.py:779
+#: cps/templates/layout.html:73 cps/web.py:780
msgid "Tasks"
msgstr " Zadania"
-#: cps/web.py:850
+#: cps/templates/feed.xml:33 cps/templates/layout.html:44
+#: cps/templates/layout.html:45 cps/web.py:802 cps/web.py:804
+msgid "Search"
+msgstr "Szukaj"
+
+#: cps/web.py:851
msgid "Published after "
msgstr "Opublikowane po "
-#: cps/web.py:857
+#: cps/web.py:858
msgid "Published before "
msgstr "Opublikowane przed "
-#: cps/web.py:871
+#: cps/web.py:872
#, python-format
msgid "Rating <= %(rating)s"
msgstr "Ocena <= %(rating)s"
-#: cps/web.py:873
+#: cps/web.py:874
#, python-format
msgid "Rating >= %(rating)s"
msgstr "Ocena >= %(rating)s"
-#: cps/web.py:933 cps/web.py:943
+#: cps/web.py:934 cps/web.py:944
msgid "search"
msgstr "szukaj"
-#: cps/web.py:1026
+#: cps/web.py:1027
msgid "Please configure the SMTP mail settings first..."
msgstr "Proszę najpierw skonfigurować ustawienia SMTP poczty e-mail..."
-#: cps/web.py:1031
+#: cps/web.py:1032
#, python-format
msgid "Book successfully queued for sending to %(kindlemail)s"
msgstr "Książka została umieszczona w kolejce do wysłania do %(kindlemail)s"
-#: cps/web.py:1035
+#: cps/web.py:1036
#, python-format
msgid "There was an error sending this book: %(res)s"
msgstr "Wystąpił błąd podczas wysyłania tej książki: %(res)s"
-#: cps/web.py:1055 cps/web.py:1080 cps/web.py:1084 cps/web.py:1089
-#: cps/web.py:1093
+#: cps/web.py:1056 cps/web.py:1081 cps/web.py:1085 cps/web.py:1090
+#: cps/web.py:1094
msgid "register"
msgstr "rejestracja"
-#: cps/web.py:1082
+#: cps/web.py:1083
msgid "Your e-mail is not allowed to register"
msgstr "Twój e-mail nie może się zarejestrować"
-#: cps/web.py:1085
+#: cps/web.py:1086
msgid "Confirmation e-mail was send to your e-mail account."
msgstr "Wiadomość e-mail z potwierdzeniem została wysłana na Twoje konto e-mail."
-#: cps/web.py:1088
+#: cps/web.py:1089
msgid "This username or e-mail address is already in use."
msgstr "Ta nazwa użytkownika lub adres e-mail jest już używany."
-#: cps/web.py:1103
+#: cps/web.py:1104
msgid "Cannot activate LDAP authentication"
msgstr "Nie można aktywować uwierzytelniania LDAP"
-#: cps/web.py:1112 cps/web.py:1218
+#: cps/web.py:1113 cps/web.py:1219
#, python-format
msgid "you are now logged in as: '%(nickname)s'"
msgstr "Zalogowałeś się jako: '%(nickname)s'"
-#: cps/web.py:1116
+#: cps/web.py:1117
msgid "Could not login. LDAP server down, please contact your administrator"
msgstr "Brak możliwości zalogowania. Serwer LDAP jest niedostępny, skontaktuj się z administratorem"
-#: cps/web.py:1120 cps/web.py:1128
+#: cps/web.py:1121 cps/web.py:1129
msgid "Wrong Username or Password"
msgstr "Błędna nazwa użytkownika lub hasło"
-#: cps/web.py:1124
+#: cps/web.py:1125
#, python-format
msgid "You are now logged in as: '%(nickname)s'"
msgstr "Jesteś teraz zalogowany jako: '%(nickname)s'"
-#: cps/web.py:1132 cps/web.py:1154
+#: cps/web.py:1133 cps/web.py:1155
msgid "login"
msgstr "logowanie"
-#: cps/web.py:1166 cps/web.py:1197
+#: cps/web.py:1167 cps/web.py:1198
msgid "Token not found"
msgstr "Nie znaleziono tokenu"
-#: cps/web.py:1174 cps/web.py:1205
+#: cps/web.py:1175 cps/web.py:1206
msgid "Token has expired"
msgstr "Token wygasł"
-#: cps/web.py:1182
+#: cps/web.py:1183
msgid "Success! Please return to your device"
msgstr "Powodzenie! Wróć do swojego urządzenia"
-#: cps/web.py:1259 cps/web.py:1286 cps/web.py:1290
+#: cps/web.py:1260 cps/web.py:1302 cps/web.py:1306
#, python-format
msgid "%(name)s's profile"
msgstr "Profil użytkownika %(name)s"
-#: cps/web.py:1288
+#: cps/web.py:1304
msgid "Profile updated"
msgstr "Zaktualizowano profil"
-#: cps/web.py:1314 cps/web.py:1316 cps/web.py:1318 cps/web.py:1324
-#: cps/web.py:1328
+#: cps/web.py:1330 cps/web.py:1332 cps/web.py:1334 cps/web.py:1340
+#: cps/web.py:1344
msgid "Read a Book"
msgstr "Czytaj książkę"
-#: cps/web.py:1338
+#: cps/web.py:1354
msgid "Error opening eBook. File does not exist or file is not accessible."
msgstr "Błąd podczas otwierania eBooka. Plik nie istnieje lub plik jest niedostępny."
@@ -1707,11 +1716,6 @@ msgstr ""
msgid "Next"
msgstr "Następne"
-#: cps/templates/feed.xml:33 cps/templates/layout.html:44
-#: cps/templates/layout.html:45
-msgid "Search"
-msgstr "Szukaj"
-
# | msgid "Create a Shelf"
#: cps/templates/http_error.html:37
#, fuzzy
diff --git a/cps/translations/ru/LC_MESSAGES/messages.po b/cps/translations/ru/LC_MESSAGES/messages.po
index 2b84a6a7..ff42d2dc 100644
--- a/cps/translations/ru/LC_MESSAGES/messages.po
+++ b/cps/translations/ru/LC_MESSAGES/messages.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Calibre-Web\n"
"Report-Msgid-Bugs-To: https://github.com/janeczku/Calibre-Web\n"
-"POT-Creation-Date: 2019-11-16 07:24+0100\n"
+"POT-Creation-Date: 2019-11-16 08:00+0100\n"
"PO-Revision-Date: 2018-12-14 16:26+0300\n"
"Last-Translator: Pavel Korovin \n"
"Language: ru\n"
@@ -58,7 +58,7 @@ msgstr "Конфигурация Calibre-Web обновлена"
msgid "Basic Configuration"
msgstr "Настройки сервера"
-#: cps/admin.py:452 cps/web.py:1054
+#: cps/admin.py:452 cps/web.py:1055
msgid "Please fill out all fields!"
msgstr "Пожалуйста, заполните все поля!"
@@ -67,7 +67,7 @@ msgstr "Пожалуйста, заполните все поля!"
msgid "Add new user"
msgstr "Добавить пользователя"
-#: cps/admin.py:463 cps/web.py:1257
+#: cps/admin.py:463 cps/web.py:1258
msgid "E-mail is not from valid domain"
msgstr "E-mail не из существующей доменной зоны"
@@ -94,7 +94,7 @@ msgstr "Тестовое письмо успешно отправлено на %
msgid "There was an error sending the Test e-mail: %(res)s"
msgstr "Произошла ошибка при отправке тестового письма на: %(res)s"
-#: cps/admin.py:527 cps/web.py:1037
+#: cps/admin.py:527 cps/web.py:1038
msgid "Please configure your kindle e-mail address first..."
msgstr "Пожалуйста, сначала настройте e-mail на вашем kindle..."
@@ -111,82 +111,86 @@ msgstr "Пользователь '%(nick)s' удалён"
msgid "No admin user remaining, can't delete user"
msgstr ""
-#: cps/admin.py:600 cps/web.py:1283
+#: cps/admin.py:599 cps/web.py:1299
msgid "Found an existing account for this e-mail address."
msgstr "Этот адрес электронной почты уже зарегистрирован."
-#: cps/admin.py:603 cps/admin.py:615
+#: cps/admin.py:602 cps/admin.py:615 cps/admin.py:629 cps/web.py:1274
#, python-format
msgid "Edit User %(nick)s"
msgstr "Изменить пользователя %(nick)s"
-#: cps/admin.py:609
+#: cps/admin.py:608 cps/web.py:1267
+msgid "This username is already taken"
+msgstr ""
+
+#: cps/admin.py:623
#, python-format
msgid "User '%(nick)s' updated"
msgstr "Пользователь '%(nick)s' обновлён"
-#: cps/admin.py:612
+#: cps/admin.py:626
msgid "An unknown error occured."
msgstr "Произошла неизвестная ошибка."
-#: cps/admin.py:631
+#: cps/admin.py:645
#, python-format
msgid "Password for user %(user)s reset"
msgstr "Пароль для пользователя %(user)s сброшен"
-#: cps/admin.py:634 cps/web.py:1079
+#: cps/admin.py:648 cps/web.py:1080
msgid "An unknown error occurred. Please try again later."
msgstr "Неизвестная ошибка. Попробуйте позже."
-#: cps/admin.py:645
+#: cps/admin.py:659
msgid "Logfile viewer"
msgstr ""
-#: cps/admin.py:680
+#: cps/admin.py:694
msgid "Requesting update package"
msgstr "Проверка обновлений"
-#: cps/admin.py:681
+#: cps/admin.py:695
msgid "Downloading update package"
msgstr "Загрузка обновлений"
-#: cps/admin.py:682
+#: cps/admin.py:696
msgid "Unzipping update package"
msgstr "Распаковка обновлений"
-#: cps/admin.py:683
+#: cps/admin.py:697
msgid "Replacing files"
msgstr "Замена файлов"
-#: cps/admin.py:684
+#: cps/admin.py:698
msgid "Database connections are closed"
msgstr "Соеднинения с базой данных закрыты"
-#: cps/admin.py:685
+#: cps/admin.py:699
msgid "Stopping server"
msgstr "Остановка сервера"
-#: cps/admin.py:686
+#: cps/admin.py:700
msgid "Update finished, please press okay and reload page"
msgstr "Обновления установлены, нажмите okay и перезагрузите страницу"
-#: cps/admin.py:687 cps/admin.py:688 cps/admin.py:689 cps/admin.py:690
+#: cps/admin.py:701 cps/admin.py:702 cps/admin.py:703 cps/admin.py:704
msgid "Update failed:"
msgstr "Ошибка обновления:"
-#: cps/admin.py:687 cps/updater.py:272 cps/updater.py:457 cps/updater.py:459
+#: cps/admin.py:701 cps/updater.py:272 cps/updater.py:457 cps/updater.py:459
msgid "HTTP Error"
msgstr "Ошибка HTTP"
-#: cps/admin.py:688 cps/updater.py:274 cps/updater.py:461
+#: cps/admin.py:702 cps/updater.py:274 cps/updater.py:461
msgid "Connection error"
msgstr "Ошибка соединения"
-#: cps/admin.py:689 cps/updater.py:276 cps/updater.py:463
+#: cps/admin.py:703 cps/updater.py:276 cps/updater.py:463
msgid "Timeout while establishing connection"
msgstr "Таймаут при установлении соединения"
-#: cps/admin.py:690 cps/updater.py:278 cps/updater.py:465
+#: cps/admin.py:704 cps/updater.py:278 cps/updater.py:465
msgid "General error"
msgstr "Общая ошибка"
@@ -577,7 +581,7 @@ msgid "Show best rated books"
msgstr "Показывать книги с наивысшим рейтингом"
#: cps/templates/index.xml:46 cps/templates/index.xml:50 cps/ub.py:67
-#: cps/web.py:975
+#: cps/web.py:976
msgid "Read Books"
msgstr "Прочитанные Книги"
@@ -586,7 +590,7 @@ msgid "Show read and unread"
msgstr "Показывать прочитанные и непрочитанные"
#: cps/templates/index.xml:53 cps/templates/index.xml:57 cps/ub.py:71
-#: cps/web.py:979
+#: cps/web.py:980
msgid "Unread Books"
msgstr "Непрочитанные Книги"
@@ -688,199 +692,204 @@ msgstr ""
msgid "Click on the button below to update to the latest stable version."
msgstr ""
-#: cps/web.py:458
+#: cps/web.py:459
msgid "Recently Added Books"
msgstr "Недавно Добавленные Книги"
-#: cps/web.py:486
+#: cps/web.py:487
msgid "Best rated books"
msgstr "Книги с наивысшим рейтингом"
-#: cps/templates/index.xml:38 cps/web.py:494
+#: cps/templates/index.xml:38 cps/web.py:495
msgid "Random Books"
msgstr "Случайный выбор"
-#: cps/web.py:520
+#: cps/web.py:521
msgid "Books"
msgstr ""
-#: cps/web.py:547
+#: cps/web.py:548
msgid "Hot Books (most downloaded)"
msgstr "Популярные книги (часто загружаемые)"
-#: cps/web.py:558 cps/web.py:1304 cps/web.py:1392
+#: cps/web.py:559 cps/web.py:1320 cps/web.py:1408
msgid "Error opening eBook. File does not exist or file is not accessible:"
msgstr "Невозможно открыть книгу. Файл не существует или недоступен."
-#: cps/web.py:571
+#: cps/web.py:572
#, python-format
msgid "Author: %(name)s"
msgstr ""
-#: cps/web.py:583
+#: cps/web.py:584
#, python-format
msgid "Publisher: %(name)s"
msgstr "Издатель: %(name)s"
-#: cps/web.py:594
+#: cps/web.py:595
#, python-format
msgid "Series: %(serie)s"
msgstr "Серии: %(serie)s"
-#: cps/web.py:605
+#: cps/web.py:606
#, python-format
msgid "Rating: %(rating)s stars"
msgstr ""
-#: cps/web.py:616
+#: cps/web.py:617
#, python-format
msgid "File format: %(format)s"
msgstr ""
-#: cps/web.py:628
+#: cps/web.py:629
#, python-format
msgid "Category: %(name)s"
msgstr "Категория: %(name)s"
-#: cps/web.py:645
+#: cps/web.py:646
#, python-format
msgid "Language: %(name)s"
msgstr "Язык: %(name)s"
-#: cps/web.py:677
+#: cps/web.py:678
msgid "Publisher list"
msgstr "Список издателей"
-#: cps/templates/index.xml:82 cps/web.py:693
+#: cps/templates/index.xml:82 cps/web.py:694
msgid "Series list"
msgstr "Серии"
-#: cps/web.py:707
+#: cps/web.py:708
msgid "Ratings list"
msgstr ""
-#: cps/web.py:720
+#: cps/web.py:721
msgid "File formats list"
msgstr ""
-#: cps/web.py:748
+#: cps/web.py:749
msgid "Available languages"
msgstr "Доступные языки"
-#: cps/templates/index.xml:75 cps/web.py:765
+#: cps/templates/index.xml:75 cps/web.py:766
msgid "Category list"
msgstr "Категории"
-#: cps/templates/layout.html:73 cps/web.py:779
+#: cps/templates/layout.html:73 cps/web.py:780
msgid "Tasks"
msgstr "Задания"
-#: cps/web.py:850
+#: cps/templates/feed.xml:33 cps/templates/layout.html:44
+#: cps/templates/layout.html:45 cps/web.py:802 cps/web.py:804
+msgid "Search"
+msgstr "Поиск"
+
+#: cps/web.py:851
msgid "Published after "
msgstr "Опубликовано до "
-#: cps/web.py:857
+#: cps/web.py:858
msgid "Published before "
msgstr "Опубликовано после "
-#: cps/web.py:871
+#: cps/web.py:872
#, python-format
msgid "Rating <= %(rating)s"
msgstr "Рейтинг <= %(rating)s"
-#: cps/web.py:873
+#: cps/web.py:874
#, python-format
msgid "Rating >= %(rating)s"
msgstr "Рейтинг >= %(rating)s"
-#: cps/web.py:933 cps/web.py:943
+#: cps/web.py:934 cps/web.py:944
msgid "search"
msgstr "поиск"
-#: cps/web.py:1026
+#: cps/web.py:1027
msgid "Please configure the SMTP mail settings first..."
msgstr "Пожалуйста, сначала сконфигурируйте параметры SMTP"
-#: cps/web.py:1031
+#: cps/web.py:1032
#, python-format
msgid "Book successfully queued for sending to %(kindlemail)s"
msgstr "Книга успешно поставлена в очередь для отправки на %(kindlemail)s"
-#: cps/web.py:1035
+#: cps/web.py:1036
#, python-format
msgid "There was an error sending this book: %(res)s"
msgstr "Ошибка при отправке книги: %(res)s"
-#: cps/web.py:1055 cps/web.py:1080 cps/web.py:1084 cps/web.py:1089
-#: cps/web.py:1093
+#: cps/web.py:1056 cps/web.py:1081 cps/web.py:1085 cps/web.py:1090
+#: cps/web.py:1094
msgid "register"
msgstr "регистрация"
-#: cps/web.py:1082
+#: cps/web.py:1083
msgid "Your e-mail is not allowed to register"
msgstr "Ваш e-mail не подходит для регистрации"
-#: cps/web.py:1085
+#: cps/web.py:1086
msgid "Confirmation e-mail was send to your e-mail account."
msgstr "Письмо с подтверждением отправлено вам на e-mail"
-#: cps/web.py:1088
+#: cps/web.py:1089
msgid "This username or e-mail address is already in use."
msgstr "Этот никнейм или e-mail уже используются"
-#: cps/web.py:1103
+#: cps/web.py:1104
msgid "Cannot activate LDAP authentication"
msgstr ""
-#: cps/web.py:1112 cps/web.py:1218
+#: cps/web.py:1113 cps/web.py:1219
#, python-format
msgid "you are now logged in as: '%(nickname)s'"
msgstr "Вы вошли как пользователь '%(nickname)s'"
-#: cps/web.py:1116
+#: cps/web.py:1117
msgid "Could not login. LDAP server down, please contact your administrator"
msgstr ""
-#: cps/web.py:1120 cps/web.py:1128
+#: cps/web.py:1121 cps/web.py:1129
msgid "Wrong Username or Password"
msgstr "Ошибка в имени пользователя или пароле"
-#: cps/web.py:1124
+#: cps/web.py:1125
#, python-format
msgid "You are now logged in as: '%(nickname)s'"
msgstr ""
-#: cps/web.py:1132 cps/web.py:1154
+#: cps/web.py:1133 cps/web.py:1155
msgid "login"
msgstr "войти"
-#: cps/web.py:1166 cps/web.py:1197
+#: cps/web.py:1167 cps/web.py:1198
msgid "Token not found"
msgstr "Ключ не найден"
-#: cps/web.py:1174 cps/web.py:1205
+#: cps/web.py:1175 cps/web.py:1206
msgid "Token has expired"
msgstr "Ключ просрочен"
-#: cps/web.py:1182
+#: cps/web.py:1183
msgid "Success! Please return to your device"
msgstr "Успешно! Пожалуйста, проверьте свое устройство"
-#: cps/web.py:1259 cps/web.py:1286 cps/web.py:1290
+#: cps/web.py:1260 cps/web.py:1302 cps/web.py:1306
#, python-format
msgid "%(name)s's profile"
msgstr "Профиль %(name)s"
-#: cps/web.py:1288
+#: cps/web.py:1304
msgid "Profile updated"
msgstr "Профиль обновлён"
-#: cps/web.py:1314 cps/web.py:1316 cps/web.py:1318 cps/web.py:1324
-#: cps/web.py:1328
+#: cps/web.py:1330 cps/web.py:1332 cps/web.py:1334 cps/web.py:1340
+#: cps/web.py:1344
msgid "Read a Book"
msgstr "Читать Книгу"
-#: cps/web.py:1338
+#: cps/web.py:1354
msgid "Error opening eBook. File does not exist or file is not accessible."
msgstr ""
@@ -1692,11 +1701,6 @@ msgstr "Вы действительно желаете удалить это п
msgid "Next"
msgstr "Дальше"
-#: cps/templates/feed.xml:33 cps/templates/layout.html:44
-#: cps/templates/layout.html:45
-msgid "Search"
-msgstr "Поиск"
-
#: cps/templates/http_error.html:37
msgid "Create issue"
msgstr ""
diff --git a/cps/translations/sv/LC_MESSAGES/messages.po b/cps/translations/sv/LC_MESSAGES/messages.po
index c3f5f79b..54827211 100644
--- a/cps/translations/sv/LC_MESSAGES/messages.po
+++ b/cps/translations/sv/LC_MESSAGES/messages.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Calibre-Web\n"
"Report-Msgid-Bugs-To: https://github.com/janeczku/Calibre-Web\n"
-"POT-Creation-Date: 2019-11-16 07:24+0100\n"
+"POT-Creation-Date: 2019-11-16 08:00+0100\n"
"PO-Revision-Date: 2019-11-14 18:50+0100\n"
"Last-Translator: Jonatan Nyberg \n"
"Language: sv\n"
@@ -58,7 +58,7 @@ msgstr "Calibre-Web konfiguration uppdaterad"
msgid "Basic Configuration"
msgstr "Grundläggande konfiguration"
-#: cps/admin.py:452 cps/web.py:1054
+#: cps/admin.py:452 cps/web.py:1055
msgid "Please fill out all fields!"
msgstr "Fyll i alla fält!"
@@ -67,7 +67,7 @@ msgstr "Fyll i alla fält!"
msgid "Add new user"
msgstr "Lägg till ny användare"
-#: cps/admin.py:463 cps/web.py:1257
+#: cps/admin.py:463 cps/web.py:1258
msgid "E-mail is not from valid domain"
msgstr "E-posten är inte från giltig domän"
@@ -94,7 +94,7 @@ msgstr "Test-e-post skicka till %(kindlemail)s"
msgid "There was an error sending the Test e-mail: %(res)s"
msgstr "Det gick inte att skicka Testmeddelandet: %(res)s"
-#: cps/admin.py:527 cps/web.py:1037
+#: cps/admin.py:527 cps/web.py:1038
msgid "Please configure your kindle e-mail address first..."
msgstr "Konfigurera din kindle-e-postadress först..."
@@ -111,82 +111,86 @@ msgstr "Användaren '%(nick)s' borttagen"
msgid "No admin user remaining, can't delete user"
msgstr "Ingen adminstratörsanvändare kvar, kan inte ta bort användaren"
-#: cps/admin.py:600 cps/web.py:1283
+#: cps/admin.py:599 cps/web.py:1299
msgid "Found an existing account for this e-mail address."
msgstr "Hittade ett befintligt konto för den här e-postadressen."
-#: cps/admin.py:603 cps/admin.py:615
+#: cps/admin.py:602 cps/admin.py:615 cps/admin.py:629 cps/web.py:1274
#, python-format
msgid "Edit User %(nick)s"
msgstr "Redigera användaren %(nick)s"
-#: cps/admin.py:609
+#: cps/admin.py:608 cps/web.py:1267
+msgid "This username is already taken"
+msgstr ""
+
+#: cps/admin.py:623
#, python-format
msgid "User '%(nick)s' updated"
msgstr "Användaren '%(nick)s' uppdaterad"
-#: cps/admin.py:612
+#: cps/admin.py:626
msgid "An unknown error occured."
msgstr "Ett okänt fel uppstod."
-#: cps/admin.py:631
+#: cps/admin.py:645
#, python-format
msgid "Password for user %(user)s reset"
msgstr "Lösenord för användaren %(user)s återställd"
-#: cps/admin.py:634 cps/web.py:1079
+#: cps/admin.py:648 cps/web.py:1080
msgid "An unknown error occurred. Please try again later."
msgstr "Ett okänt fel uppstod. Försök igen senare."
-#: cps/admin.py:645
+#: cps/admin.py:659
msgid "Logfile viewer"
msgstr "Visaren för lggfiler"
-#: cps/admin.py:680
+#: cps/admin.py:694
msgid "Requesting update package"
msgstr "Begär uppdateringspaketet"
-#: cps/admin.py:681
+#: cps/admin.py:695
msgid "Downloading update package"
msgstr "Hämtar uppdateringspaketet"
-#: cps/admin.py:682
+#: cps/admin.py:696
msgid "Unzipping update package"
msgstr "Packar upp uppdateringspaketet"
-#: cps/admin.py:683
+#: cps/admin.py:697
msgid "Replacing files"
msgstr "Ersätta filer"
-#: cps/admin.py:684
+#: cps/admin.py:698
msgid "Database connections are closed"
msgstr "Databasanslutningarna är stängda"
-#: cps/admin.py:685
+#: cps/admin.py:699
msgid "Stopping server"
msgstr "Stoppar server"
-#: cps/admin.py:686
+#: cps/admin.py:700
msgid "Update finished, please press okay and reload page"
msgstr "Uppdatering klar, tryck på okej och uppdatera sidan"
-#: cps/admin.py:687 cps/admin.py:688 cps/admin.py:689 cps/admin.py:690
+#: cps/admin.py:701 cps/admin.py:702 cps/admin.py:703 cps/admin.py:704
msgid "Update failed:"
msgstr "Uppdateringen misslyckades:"
-#: cps/admin.py:687 cps/updater.py:272 cps/updater.py:457 cps/updater.py:459
+#: cps/admin.py:701 cps/updater.py:272 cps/updater.py:457 cps/updater.py:459
msgid "HTTP Error"
msgstr "HTTP-fel"
-#: cps/admin.py:688 cps/updater.py:274 cps/updater.py:461
+#: cps/admin.py:702 cps/updater.py:274 cps/updater.py:461
msgid "Connection error"
msgstr "Anslutningsfel"
-#: cps/admin.py:689 cps/updater.py:276 cps/updater.py:463
+#: cps/admin.py:703 cps/updater.py:276 cps/updater.py:463
msgid "Timeout while establishing connection"
msgstr "Tiden ute när du etablerade anslutning"
-#: cps/admin.py:690 cps/updater.py:278 cps/updater.py:465
+#: cps/admin.py:704 cps/updater.py:278 cps/updater.py:465
msgid "General error"
msgstr "Allmänt fel"
@@ -577,7 +581,7 @@ msgid "Show best rated books"
msgstr "Visa böcker med bästa betyg"
#: cps/templates/index.xml:46 cps/templates/index.xml:50 cps/ub.py:67
-#: cps/web.py:975
+#: cps/web.py:976
msgid "Read Books"
msgstr "Lästa böcker"
@@ -586,7 +590,7 @@ msgid "Show read and unread"
msgstr "Visa lästa och olästa"
#: cps/templates/index.xml:53 cps/templates/index.xml:57 cps/ub.py:71
-#: cps/web.py:979
+#: cps/web.py:980
msgid "Unread Books"
msgstr "Olästa böcker"
@@ -688,199 +692,204 @@ msgstr "En ny uppdatering är tillgänglig. Klicka på knappen nedan för att up
msgid "Click on the button below to update to the latest stable version."
msgstr "Klicka på knappen nedan för att uppdatera till den senaste stabila versionen."
-#: cps/web.py:458
+#: cps/web.py:459
msgid "Recently Added Books"
msgstr "Nyligen tillagda böcker"
-#: cps/web.py:486
+#: cps/web.py:487
msgid "Best rated books"
msgstr "Bäst rankade böcker"
-#: cps/templates/index.xml:38 cps/web.py:494
+#: cps/templates/index.xml:38 cps/web.py:495
msgid "Random Books"
msgstr "Slumpmässiga böcker"
-#: cps/web.py:520
+#: cps/web.py:521
msgid "Books"
msgstr "Böcker"
-#: cps/web.py:547
+#: cps/web.py:548
msgid "Hot Books (most downloaded)"
msgstr "Heta böcker (mest hämtade)"
-#: cps/web.py:558 cps/web.py:1304 cps/web.py:1392
+#: cps/web.py:559 cps/web.py:1320 cps/web.py:1408
msgid "Error opening eBook. File does not exist or file is not accessible:"
msgstr "Fel vid öppnande av e-bok. Filen finns inte eller filen är inte tillgänglig:"
-#: cps/web.py:571
+#: cps/web.py:572
#, python-format
msgid "Author: %(name)s"
msgstr "Författare: %(name)s"
-#: cps/web.py:583
+#: cps/web.py:584
#, python-format
msgid "Publisher: %(name)s"
msgstr "Förlag: %(name)s"
-#: cps/web.py:594
+#: cps/web.py:595
#, python-format
msgid "Series: %(serie)s"
msgstr "Serier: %(serie)s"
-#: cps/web.py:605
+#: cps/web.py:606
#, python-format
msgid "Rating: %(rating)s stars"
msgstr "Betyg: %(rating)s stars"
-#: cps/web.py:616
+#: cps/web.py:617
#, python-format
msgid "File format: %(format)s"
msgstr "Filformat: %(format)s"
-#: cps/web.py:628
+#: cps/web.py:629
#, python-format
msgid "Category: %(name)s"
msgstr "Kategori: %(name)s"
-#: cps/web.py:645
+#: cps/web.py:646
#, python-format
msgid "Language: %(name)s"
msgstr "Språk: %(name)s"
-#: cps/web.py:677
+#: cps/web.py:678
msgid "Publisher list"
msgstr "Lista över förlag"
-#: cps/templates/index.xml:82 cps/web.py:693
+#: cps/templates/index.xml:82 cps/web.py:694
msgid "Series list"
msgstr "Serielista"
-#: cps/web.py:707
+#: cps/web.py:708
msgid "Ratings list"
msgstr "Betygslista"
-#: cps/web.py:720
+#: cps/web.py:721
msgid "File formats list"
msgstr "Lista över filformat"
-#: cps/web.py:748
+#: cps/web.py:749
msgid "Available languages"
msgstr "Tillgängliga språk"
-#: cps/templates/index.xml:75 cps/web.py:765
+#: cps/templates/index.xml:75 cps/web.py:766
msgid "Category list"
msgstr "Kategorilista"
-#: cps/templates/layout.html:73 cps/web.py:779
+#: cps/templates/layout.html:73 cps/web.py:780
msgid "Tasks"
msgstr "Uppgifter"
-#: cps/web.py:850
+#: cps/templates/feed.xml:33 cps/templates/layout.html:44
+#: cps/templates/layout.html:45 cps/web.py:802 cps/web.py:804
+msgid "Search"
+msgstr "Sök"
+
+#: cps/web.py:851
msgid "Published after "
msgstr "Publicerad efter "
-#: cps/web.py:857
+#: cps/web.py:858
msgid "Published before "
msgstr "Publicerad före "
-#: cps/web.py:871
+#: cps/web.py:872
#, python-format
msgid "Rating <= %(rating)s"
msgstr "Betyg <= %(rating)s"
-#: cps/web.py:873
+#: cps/web.py:874
#, python-format
msgid "Rating >= %(rating)s"
msgstr "Betyg >= %(rating)s"
-#: cps/web.py:933 cps/web.py:943
+#: cps/web.py:934 cps/web.py:944
msgid "search"
msgstr "sök"
-#: cps/web.py:1026
+#: cps/web.py:1027
msgid "Please configure the SMTP mail settings first..."
msgstr "Konfigurera SMTP-postinställningarna först..."
-#: cps/web.py:1031
+#: cps/web.py:1032
#, python-format
msgid "Book successfully queued for sending to %(kindlemail)s"
msgstr "Boken är i kö för att skicka till %(kindlemail)s"
-#: cps/web.py:1035
+#: cps/web.py:1036
#, python-format
msgid "There was an error sending this book: %(res)s"
msgstr "Det gick inte att skicka den här boken: %(res)s"
-#: cps/web.py:1055 cps/web.py:1080 cps/web.py:1084 cps/web.py:1089
-#: cps/web.py:1093
+#: cps/web.py:1056 cps/web.py:1081 cps/web.py:1085 cps/web.py:1090
+#: cps/web.py:1094
msgid "register"
msgstr "registrera"
-#: cps/web.py:1082
+#: cps/web.py:1083
msgid "Your e-mail is not allowed to register"
msgstr "Din e-post är inte tillåten att registrera"
-#: cps/web.py:1085
+#: cps/web.py:1086
msgid "Confirmation e-mail was send to your e-mail account."
msgstr "Bekräftelsemail skickades till ditt e-postkonto."
-#: cps/web.py:1088
+#: cps/web.py:1089
msgid "This username or e-mail address is already in use."
msgstr "Det här användarnamnet eller e-postadressen är redan i bruk."
-#: cps/web.py:1103
+#: cps/web.py:1104
msgid "Cannot activate LDAP authentication"
msgstr "Det går inte att aktivera LDAP-autentisering"
-#: cps/web.py:1112 cps/web.py:1218
+#: cps/web.py:1113 cps/web.py:1219
#, python-format
msgid "you are now logged in as: '%(nickname)s'"
msgstr "du är nu inloggad som: \"%(nickname)s\""
-#: cps/web.py:1116
+#: cps/web.py:1117
msgid "Could not login. LDAP server down, please contact your administrator"
msgstr "Det gick inte att logga in. LDAP-servern är nere, kontakta din administratör"
-#: cps/web.py:1120 cps/web.py:1128
+#: cps/web.py:1121 cps/web.py:1129
msgid "Wrong Username or Password"
msgstr "Fel användarnamn eller lösenord"
-#: cps/web.py:1124
+#: cps/web.py:1125
#, python-format
msgid "You are now logged in as: '%(nickname)s'"
msgstr "Du är nu inloggad som: \"%(nickname)s\""
-#: cps/web.py:1132 cps/web.py:1154
+#: cps/web.py:1133 cps/web.py:1155
msgid "login"
msgstr "logga in"
-#: cps/web.py:1166 cps/web.py:1197
+#: cps/web.py:1167 cps/web.py:1198
msgid "Token not found"
msgstr "Token hittades inte"
-#: cps/web.py:1174 cps/web.py:1205
+#: cps/web.py:1175 cps/web.py:1206
msgid "Token has expired"
msgstr "Token har löpt ut"
-#: cps/web.py:1182
+#: cps/web.py:1183
msgid "Success! Please return to your device"
msgstr "Lyckades! Vänligen återvänd till din enhet"
-#: cps/web.py:1259 cps/web.py:1286 cps/web.py:1290
+#: cps/web.py:1260 cps/web.py:1302 cps/web.py:1306
#, python-format
msgid "%(name)s's profile"
msgstr "%(name)ss profil"
-#: cps/web.py:1288
+#: cps/web.py:1304
msgid "Profile updated"
msgstr "Profilen uppdaterad"
-#: cps/web.py:1314 cps/web.py:1316 cps/web.py:1318 cps/web.py:1324
-#: cps/web.py:1328
+#: cps/web.py:1330 cps/web.py:1332 cps/web.py:1334 cps/web.py:1340
+#: cps/web.py:1344
msgid "Read a Book"
msgstr "Läs en bok"
-#: cps/web.py:1338
+#: cps/web.py:1354
msgid "Error opening eBook. File does not exist or file is not accessible."
msgstr "Fel vid öppningen av e-boken. Filen finns inte eller filen är inte tillgänglig."
@@ -1692,11 +1701,6 @@ msgstr "Är du säker på att du vill ta bort den här domänregeln?"
msgid "Next"
msgstr "Nästa"
-#: cps/templates/feed.xml:33 cps/templates/layout.html:44
-#: cps/templates/layout.html:45
-msgid "Search"
-msgstr "Sök"
-
#: cps/templates/http_error.html:37
msgid "Create issue"
msgstr "Skapa ärende"
diff --git a/cps/translations/uk/LC_MESSAGES/messages.po b/cps/translations/uk/LC_MESSAGES/messages.po
index a7013805..f36dea70 100644
--- a/cps/translations/uk/LC_MESSAGES/messages.po
+++ b/cps/translations/uk/LC_MESSAGES/messages.po
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Calibre-web\n"
"Report-Msgid-Bugs-To: https://github.com/janeczku/calibre-web\n"
-"POT-Creation-Date: 2019-11-16 07:24+0100\n"
+"POT-Creation-Date: 2019-11-16 08:00+0100\n"
"PO-Revision-Date: 2017-04-30 00:47+0300\n"
"Last-Translator: ABIS Team \n"
"Language: uk\n"
@@ -57,7 +57,7 @@ msgstr ""
msgid "Basic Configuration"
msgstr "Настройки сервера"
-#: cps/admin.py:452 cps/web.py:1054
+#: cps/admin.py:452 cps/web.py:1055
msgid "Please fill out all fields!"
msgstr "Будь-ласка, заповніть всі поля!"
@@ -66,7 +66,7 @@ msgstr "Будь-ласка, заповніть всі поля!"
msgid "Add new user"
msgstr "Додати користувача"
-#: cps/admin.py:463 cps/web.py:1257
+#: cps/admin.py:463 cps/web.py:1258
msgid "E-mail is not from valid domain"
msgstr ""
@@ -93,7 +93,7 @@ msgstr ""
msgid "There was an error sending the Test e-mail: %(res)s"
msgstr ""
-#: cps/admin.py:527 cps/web.py:1037
+#: cps/admin.py:527 cps/web.py:1038
msgid "Please configure your kindle e-mail address first..."
msgstr ""
@@ -110,82 +110,86 @@ msgstr "Користувача '%(nick)s' видалено"
msgid "No admin user remaining, can't delete user"
msgstr ""
-#: cps/admin.py:600 cps/web.py:1283
+#: cps/admin.py:599 cps/web.py:1299
msgid "Found an existing account for this e-mail address."
msgstr ""
-#: cps/admin.py:603 cps/admin.py:615
+#: cps/admin.py:602 cps/admin.py:615 cps/admin.py:629 cps/web.py:1274
#, python-format
msgid "Edit User %(nick)s"
msgstr "Змінити користувача %(nick)s"
-#: cps/admin.py:609
+#: cps/admin.py:608 cps/web.py:1267
+msgid "This username is already taken"
+msgstr ""
+
+#: cps/admin.py:623
#, python-format
msgid "User '%(nick)s' updated"
msgstr "Користувача '%(nick)s' оновлено"
-#: cps/admin.py:612
+#: cps/admin.py:626
msgid "An unknown error occured."
msgstr "Сталась невідома помилка"
-#: cps/admin.py:631
+#: cps/admin.py:645
#, python-format
msgid "Password for user %(user)s reset"
msgstr ""
-#: cps/admin.py:634 cps/web.py:1079
+#: cps/admin.py:648 cps/web.py:1080
msgid "An unknown error occurred. Please try again later."
msgstr ""
-#: cps/admin.py:645
+#: cps/admin.py:659
msgid "Logfile viewer"
msgstr ""
-#: cps/admin.py:680
+#: cps/admin.py:694
msgid "Requesting update package"
msgstr "Перевірка оновлень"
-#: cps/admin.py:681
+#: cps/admin.py:695
msgid "Downloading update package"
msgstr "Завантаження оновлень"
-#: cps/admin.py:682
+#: cps/admin.py:696
msgid "Unzipping update package"
msgstr "Розпакування оновлення"
-#: cps/admin.py:683
+#: cps/admin.py:697
msgid "Replacing files"
msgstr ""
-#: cps/admin.py:684
+#: cps/admin.py:698
msgid "Database connections are closed"
msgstr "З'єднання з базою даних закрите"
-#: cps/admin.py:685
+#: cps/admin.py:699
msgid "Stopping server"
msgstr ""
-#: cps/admin.py:686
+#: cps/admin.py:700
msgid "Update finished, please press okay and reload page"
msgstr "Оновлення встановлені, натисніть ok і перезавантажте сторінку"
-#: cps/admin.py:687 cps/admin.py:688 cps/admin.py:689 cps/admin.py:690
+#: cps/admin.py:701 cps/admin.py:702 cps/admin.py:703 cps/admin.py:704
msgid "Update failed:"
msgstr ""
-#: cps/admin.py:687 cps/updater.py:272 cps/updater.py:457 cps/updater.py:459
+#: cps/admin.py:701 cps/updater.py:272 cps/updater.py:457 cps/updater.py:459
msgid "HTTP Error"
msgstr ""
-#: cps/admin.py:688 cps/updater.py:274 cps/updater.py:461
+#: cps/admin.py:702 cps/updater.py:274 cps/updater.py:461
msgid "Connection error"
msgstr ""
-#: cps/admin.py:689 cps/updater.py:276 cps/updater.py:463
+#: cps/admin.py:703 cps/updater.py:276 cps/updater.py:463
msgid "Timeout while establishing connection"
msgstr ""
-#: cps/admin.py:690 cps/updater.py:278 cps/updater.py:465
+#: cps/admin.py:704 cps/updater.py:278 cps/updater.py:465
msgid "General error"
msgstr ""
@@ -576,7 +580,7 @@ msgid "Show best rated books"
msgstr "Показувати книги з найвищим рейтингом"
#: cps/templates/index.xml:46 cps/templates/index.xml:50 cps/ub.py:67
-#: cps/web.py:975
+#: cps/web.py:976
msgid "Read Books"
msgstr "Прочитані книги"
@@ -585,7 +589,7 @@ msgid "Show read and unread"
msgstr "Показувати прочитані та непрочитані книги"
#: cps/templates/index.xml:53 cps/templates/index.xml:57 cps/ub.py:71
-#: cps/web.py:979
+#: cps/web.py:980
msgid "Unread Books"
msgstr "Непрочитані книги"
@@ -687,199 +691,204 @@ msgstr ""
msgid "Click on the button below to update to the latest stable version."
msgstr ""
-#: cps/web.py:458
+#: cps/web.py:459
msgid "Recently Added Books"
msgstr "Нещодавно додані книги"
-#: cps/web.py:486
+#: cps/web.py:487
msgid "Best rated books"
msgstr "Книги з найкращим рейтингом"
-#: cps/templates/index.xml:38 cps/web.py:494
+#: cps/templates/index.xml:38 cps/web.py:495
msgid "Random Books"
msgstr "Випадковий список книг"
-#: cps/web.py:520
+#: cps/web.py:521
msgid "Books"
msgstr ""
-#: cps/web.py:547
+#: cps/web.py:548
msgid "Hot Books (most downloaded)"
msgstr "Популярні книги (найбільш завантажувані)"
-#: cps/web.py:558 cps/web.py:1304 cps/web.py:1392
+#: cps/web.py:559 cps/web.py:1320 cps/web.py:1408
msgid "Error opening eBook. File does not exist or file is not accessible:"
msgstr "Неможливо відкрити книгу. Файл не існує або немає доступу."
-#: cps/web.py:571
+#: cps/web.py:572
#, python-format
msgid "Author: %(name)s"
msgstr ""
-#: cps/web.py:583
+#: cps/web.py:584
#, python-format
msgid "Publisher: %(name)s"
msgstr ""
-#: cps/web.py:594
+#: cps/web.py:595
#, python-format
msgid "Series: %(serie)s"
msgstr "Серії: %(serie)s"
-#: cps/web.py:605
+#: cps/web.py:606
#, python-format
msgid "Rating: %(rating)s stars"
msgstr ""
-#: cps/web.py:616
+#: cps/web.py:617
#, python-format
msgid "File format: %(format)s"
msgstr ""
-#: cps/web.py:628
+#: cps/web.py:629
#, python-format
msgid "Category: %(name)s"
msgstr "Категорія: %(name)s"
-#: cps/web.py:645
+#: cps/web.py:646
#, python-format
msgid "Language: %(name)s"
msgstr "Мова: %(name)s"
-#: cps/web.py:677
+#: cps/web.py:678
msgid "Publisher list"
msgstr ""
-#: cps/templates/index.xml:82 cps/web.py:693
+#: cps/templates/index.xml:82 cps/web.py:694
msgid "Series list"
msgstr "Список серій"
-#: cps/web.py:707
+#: cps/web.py:708
msgid "Ratings list"
msgstr ""
-#: cps/web.py:720
+#: cps/web.py:721
msgid "File formats list"
msgstr ""
-#: cps/web.py:748
+#: cps/web.py:749
msgid "Available languages"
msgstr "Доступні мови"
-#: cps/templates/index.xml:75 cps/web.py:765
+#: cps/templates/index.xml:75 cps/web.py:766
msgid "Category list"
msgstr "Список категорій"
-#: cps/templates/layout.html:73 cps/web.py:779
+#: cps/templates/layout.html:73 cps/web.py:780
msgid "Tasks"
msgstr ""
-#: cps/web.py:850
+#: cps/templates/feed.xml:33 cps/templates/layout.html:44
+#: cps/templates/layout.html:45 cps/web.py:802 cps/web.py:804
+msgid "Search"
+msgstr "Пошук"
+
+#: cps/web.py:851
msgid "Published after "
msgstr ""
-#: cps/web.py:857
+#: cps/web.py:858
msgid "Published before "
msgstr "Опубліковано до"
-#: cps/web.py:871
+#: cps/web.py:872
#, python-format
msgid "Rating <= %(rating)s"
msgstr ""
-#: cps/web.py:873
+#: cps/web.py:874
#, python-format
msgid "Rating >= %(rating)s"
msgstr ""
-#: cps/web.py:933 cps/web.py:943
+#: cps/web.py:934 cps/web.py:944
msgid "search"
msgstr "пошук"
-#: cps/web.py:1026
+#: cps/web.py:1027
msgid "Please configure the SMTP mail settings first..."
msgstr "Будь-ласка, спочатку сконфігуруйте параметри SMTP"
-#: cps/web.py:1031
+#: cps/web.py:1032
#, python-format
msgid "Book successfully queued for sending to %(kindlemail)s"
msgstr ""
-#: cps/web.py:1035
+#: cps/web.py:1036
#, python-format
msgid "There was an error sending this book: %(res)s"
msgstr "Помилка при відправці книги: %(res)s"
-#: cps/web.py:1055 cps/web.py:1080 cps/web.py:1084 cps/web.py:1089
-#: cps/web.py:1093
+#: cps/web.py:1056 cps/web.py:1081 cps/web.py:1085 cps/web.py:1090
+#: cps/web.py:1094
msgid "register"
msgstr "зареєструватись"
-#: cps/web.py:1082
+#: cps/web.py:1083
msgid "Your e-mail is not allowed to register"
msgstr ""
-#: cps/web.py:1085
+#: cps/web.py:1086
msgid "Confirmation e-mail was send to your e-mail account."
msgstr ""
-#: cps/web.py:1088
+#: cps/web.py:1089
msgid "This username or e-mail address is already in use."
msgstr ""
-#: cps/web.py:1103
+#: cps/web.py:1104
msgid "Cannot activate LDAP authentication"
msgstr ""
-#: cps/web.py:1112 cps/web.py:1218
+#: cps/web.py:1113 cps/web.py:1219
#, python-format
msgid "you are now logged in as: '%(nickname)s'"
msgstr "Ви увійшли як користувач: '%(nickname)s'"
-#: cps/web.py:1116
+#: cps/web.py:1117
msgid "Could not login. LDAP server down, please contact your administrator"
msgstr ""
-#: cps/web.py:1120 cps/web.py:1128
+#: cps/web.py:1121 cps/web.py:1129
msgid "Wrong Username or Password"
msgstr "Помилка в імені користувача або паролі"
-#: cps/web.py:1124
+#: cps/web.py:1125
#, python-format
msgid "You are now logged in as: '%(nickname)s'"
msgstr ""
-#: cps/web.py:1132 cps/web.py:1154
+#: cps/web.py:1133 cps/web.py:1155
msgid "login"
msgstr "увійти"
-#: cps/web.py:1166 cps/web.py:1197
+#: cps/web.py:1167 cps/web.py:1198
msgid "Token not found"
msgstr "Токен не знайдено"
-#: cps/web.py:1174 cps/web.py:1205
+#: cps/web.py:1175 cps/web.py:1206
msgid "Token has expired"
msgstr "Час дії токено вичерпано"
-#: cps/web.py:1182
+#: cps/web.py:1183
msgid "Success! Please return to your device"
msgstr "Вдалося! Будь-ласка, поверніться до вашого пристрою"
-#: cps/web.py:1259 cps/web.py:1286 cps/web.py:1290
+#: cps/web.py:1260 cps/web.py:1302 cps/web.py:1306
#, python-format
msgid "%(name)s's profile"
msgstr "Профіль %(name)s"
-#: cps/web.py:1288
+#: cps/web.py:1304
msgid "Profile updated"
msgstr "Профіль оновлено"
-#: cps/web.py:1314 cps/web.py:1316 cps/web.py:1318 cps/web.py:1324
-#: cps/web.py:1328
+#: cps/web.py:1330 cps/web.py:1332 cps/web.py:1334 cps/web.py:1340
+#: cps/web.py:1344
msgid "Read a Book"
msgstr "Читати книгу"
-#: cps/web.py:1338
+#: cps/web.py:1354
msgid "Error opening eBook. File does not exist or file is not accessible."
msgstr ""
@@ -1691,11 +1700,6 @@ msgstr ""
msgid "Next"
msgstr "Далі"
-#: cps/templates/feed.xml:33 cps/templates/layout.html:44
-#: cps/templates/layout.html:45
-msgid "Search"
-msgstr "Пошук"
-
#: cps/templates/http_error.html:37
msgid "Create issue"
msgstr ""
diff --git a/cps/translations/zh_Hans_CN/LC_MESSAGES/messages.po b/cps/translations/zh_Hans_CN/LC_MESSAGES/messages.po
index 2ae78031..9841c9c1 100644
--- a/cps/translations/zh_Hans_CN/LC_MESSAGES/messages.po
+++ b/cps/translations/zh_Hans_CN/LC_MESSAGES/messages.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Calibre-Web\n"
"Report-Msgid-Bugs-To: https://github.com/janeczku/Calibre-Web\n"
-"POT-Creation-Date: 2019-11-16 07:24+0100\n"
+"POT-Creation-Date: 2019-11-16 08:00+0100\n"
"PO-Revision-Date: 2017-01-06 17:00+0000\n"
"Last-Translator: dalin \n"
"Language: zh_Hans_CN\n"
@@ -58,7 +58,7 @@ msgstr "Calibre-Web配置已更新"
msgid "Basic Configuration"
msgstr "基本配置"
-#: cps/admin.py:452 cps/web.py:1054
+#: cps/admin.py:452 cps/web.py:1055
msgid "Please fill out all fields!"
msgstr "请填写所有字段"
@@ -67,7 +67,7 @@ msgstr "请填写所有字段"
msgid "Add new user"
msgstr "添加新用户"
-#: cps/admin.py:463 cps/web.py:1257
+#: cps/admin.py:463 cps/web.py:1258
msgid "E-mail is not from valid domain"
msgstr "邮箱不在有效域中'"
@@ -94,7 +94,7 @@ msgstr "测试邮件已经被成功发到 %(kindlemail)s"
msgid "There was an error sending the Test e-mail: %(res)s"
msgstr "发送测试邮件出错了: %(res)s"
-#: cps/admin.py:527 cps/web.py:1037
+#: cps/admin.py:527 cps/web.py:1038
msgid "Please configure your kindle e-mail address first..."
msgstr "请先配置您的kindle邮箱..."
@@ -111,82 +111,86 @@ msgstr "用户 '%(nick)s' 已被删除"
msgid "No admin user remaining, can't delete user"
msgstr ""
-#: cps/admin.py:600 cps/web.py:1283
+#: cps/admin.py:599 cps/web.py:1299
msgid "Found an existing account for this e-mail address."
msgstr "找到一个已有账号使用这个邮箱。"
-#: cps/admin.py:603 cps/admin.py:615
+#: cps/admin.py:602 cps/admin.py:615 cps/admin.py:629 cps/web.py:1274
#, python-format
msgid "Edit User %(nick)s"
msgstr "编辑用户 %(nick)s"
-#: cps/admin.py:609
+#: cps/admin.py:608 cps/web.py:1267
+msgid "This username is already taken"
+msgstr ""
+
+#: cps/admin.py:623
#, python-format
msgid "User '%(nick)s' updated"
msgstr "用户 '%(nick)s' 已被更新"
-#: cps/admin.py:612
+#: cps/admin.py:626
msgid "An unknown error occured."
msgstr "发生未知错误。"
-#: cps/admin.py:631
+#: cps/admin.py:645
#, python-format
msgid "Password for user %(user)s reset"
msgstr "用户 %(user)s 的密码已重置"
-#: cps/admin.py:634 cps/web.py:1079
+#: cps/admin.py:648 cps/web.py:1080
msgid "An unknown error occurred. Please try again later."
msgstr "发生一个未知错误,请稍后再试。"
-#: cps/admin.py:645
+#: cps/admin.py:659
msgid "Logfile viewer"
msgstr ""
-#: cps/admin.py:680
+#: cps/admin.py:694
msgid "Requesting update package"
msgstr "正在请求更新包"
-#: cps/admin.py:681
+#: cps/admin.py:695
msgid "Downloading update package"
msgstr "正在下载更新包"
-#: cps/admin.py:682
+#: cps/admin.py:696
msgid "Unzipping update package"
msgstr "正在解压更新包"
-#: cps/admin.py:683
+#: cps/admin.py:697
msgid "Replacing files"
msgstr "正在替换文件"
-#: cps/admin.py:684
+#: cps/admin.py:698
msgid "Database connections are closed"
msgstr "数据库连接已关闭"
-#: cps/admin.py:685
+#: cps/admin.py:699
msgid "Stopping server"
msgstr "正在停止服务器"
-#: cps/admin.py:686
+#: cps/admin.py:700
msgid "Update finished, please press okay and reload page"
msgstr "更新完成,请按确定并刷新页面"
-#: cps/admin.py:687 cps/admin.py:688 cps/admin.py:689 cps/admin.py:690
+#: cps/admin.py:701 cps/admin.py:702 cps/admin.py:703 cps/admin.py:704
msgid "Update failed:"
msgstr "更新失败:"
-#: cps/admin.py:687 cps/updater.py:272 cps/updater.py:457 cps/updater.py:459
+#: cps/admin.py:701 cps/updater.py:272 cps/updater.py:457 cps/updater.py:459
msgid "HTTP Error"
msgstr "HTTP错误"
-#: cps/admin.py:688 cps/updater.py:274 cps/updater.py:461
+#: cps/admin.py:702 cps/updater.py:274 cps/updater.py:461
msgid "Connection error"
msgstr "连接错误"
-#: cps/admin.py:689 cps/updater.py:276 cps/updater.py:463
+#: cps/admin.py:703 cps/updater.py:276 cps/updater.py:463
msgid "Timeout while establishing connection"
msgstr "建立连接超时"
-#: cps/admin.py:690 cps/updater.py:278 cps/updater.py:465
+#: cps/admin.py:704 cps/updater.py:278 cps/updater.py:465
msgid "General error"
msgstr "一般错误"
@@ -577,7 +581,7 @@ msgid "Show best rated books"
msgstr "显示最高评分书籍"
#: cps/templates/index.xml:46 cps/templates/index.xml:50 cps/ub.py:67
-#: cps/web.py:975
+#: cps/web.py:976
msgid "Read Books"
msgstr "已读书籍"
@@ -586,7 +590,7 @@ msgid "Show read and unread"
msgstr "显示已读和未读"
#: cps/templates/index.xml:53 cps/templates/index.xml:57 cps/ub.py:71
-#: cps/web.py:979
+#: cps/web.py:980
msgid "Unread Books"
msgstr "未读书籍"
@@ -688,199 +692,204 @@ msgstr ""
msgid "Click on the button below to update to the latest stable version."
msgstr ""
-#: cps/web.py:458
+#: cps/web.py:459
msgid "Recently Added Books"
msgstr "最近添加的书籍"
-#: cps/web.py:486
+#: cps/web.py:487
msgid "Best rated books"
msgstr "最高评分书籍"
-#: cps/templates/index.xml:38 cps/web.py:494
+#: cps/templates/index.xml:38 cps/web.py:495
msgid "Random Books"
msgstr "随机书籍"
-#: cps/web.py:520
+#: cps/web.py:521
msgid "Books"
msgstr ""
-#: cps/web.py:547
+#: cps/web.py:548
msgid "Hot Books (most downloaded)"
msgstr "热门书籍(最多下载)"
-#: cps/web.py:558 cps/web.py:1304 cps/web.py:1392
+#: cps/web.py:559 cps/web.py:1320 cps/web.py:1408
msgid "Error opening eBook. File does not exist or file is not accessible:"
msgstr "无法打开电子书。 文件不存在或者文件不可访问:"
-#: cps/web.py:571
+#: cps/web.py:572
#, python-format
msgid "Author: %(name)s"
msgstr ""
-#: cps/web.py:583
+#: cps/web.py:584
#, python-format
msgid "Publisher: %(name)s"
msgstr "出版社: %(name)s"
-#: cps/web.py:594
+#: cps/web.py:595
#, python-format
msgid "Series: %(serie)s"
msgstr "丛书: %(serie)s"
-#: cps/web.py:605
+#: cps/web.py:606
#, python-format
msgid "Rating: %(rating)s stars"
msgstr ""
-#: cps/web.py:616
+#: cps/web.py:617
#, python-format
msgid "File format: %(format)s"
msgstr ""
-#: cps/web.py:628
+#: cps/web.py:629
#, python-format
msgid "Category: %(name)s"
msgstr "分类: %(name)s"
-#: cps/web.py:645
+#: cps/web.py:646
#, python-format
msgid "Language: %(name)s"
msgstr "语言: %(name)s"
-#: cps/web.py:677
+#: cps/web.py:678
msgid "Publisher list"
msgstr "出版社列表"
-#: cps/templates/index.xml:82 cps/web.py:693
+#: cps/templates/index.xml:82 cps/web.py:694
msgid "Series list"
msgstr "丛书列表"
-#: cps/web.py:707
+#: cps/web.py:708
msgid "Ratings list"
msgstr ""
-#: cps/web.py:720
+#: cps/web.py:721
msgid "File formats list"
msgstr ""
-#: cps/web.py:748
+#: cps/web.py:749
msgid "Available languages"
msgstr "可用语言"
-#: cps/templates/index.xml:75 cps/web.py:765
+#: cps/templates/index.xml:75 cps/web.py:766
msgid "Category list"
msgstr "分类列表"
-#: cps/templates/layout.html:73 cps/web.py:779
+#: cps/templates/layout.html:73 cps/web.py:780
msgid "Tasks"
msgstr "任务"
-#: cps/web.py:850
+#: cps/templates/feed.xml:33 cps/templates/layout.html:44
+#: cps/templates/layout.html:45 cps/web.py:802 cps/web.py:804
+msgid "Search"
+msgstr "搜索"
+
+#: cps/web.py:851
msgid "Published after "
msgstr "出版时晚于 "
-#: cps/web.py:857
+#: cps/web.py:858
msgid "Published before "
msgstr "出版时早于 "
-#: cps/web.py:871
+#: cps/web.py:872
#, python-format
msgid "Rating <= %(rating)s"
msgstr "评分 <= %(rating)s"
-#: cps/web.py:873
+#: cps/web.py:874
#, python-format
msgid "Rating >= %(rating)s"
msgstr "评分 >= %(rating)s"
-#: cps/web.py:933 cps/web.py:943
+#: cps/web.py:934 cps/web.py:944
msgid "search"
msgstr "搜索"
-#: cps/web.py:1026
+#: cps/web.py:1027
msgid "Please configure the SMTP mail settings first..."
msgstr "请先配置SMTP邮箱..."
-#: cps/web.py:1031
+#: cps/web.py:1032
#, python-format
msgid "Book successfully queued for sending to %(kindlemail)s"
msgstr "书籍已经被成功加入 %(kindlemail)s 的发送队列"
-#: cps/web.py:1035
+#: cps/web.py:1036
#, python-format
msgid "There was an error sending this book: %(res)s"
msgstr "发送这本书的时候出现错误: %(res)s"
-#: cps/web.py:1055 cps/web.py:1080 cps/web.py:1084 cps/web.py:1089
-#: cps/web.py:1093
+#: cps/web.py:1056 cps/web.py:1081 cps/web.py:1085 cps/web.py:1090
+#: cps/web.py:1094
msgid "register"
msgstr "注册"
-#: cps/web.py:1082
+#: cps/web.py:1083
msgid "Your e-mail is not allowed to register"
msgstr "您的邮箱不能用来注册"
-#: cps/web.py:1085
+#: cps/web.py:1086
msgid "Confirmation e-mail was send to your e-mail account."
msgstr "确认邮件已经发送到您的邮箱。"
-#: cps/web.py:1088
+#: cps/web.py:1089
msgid "This username or e-mail address is already in use."
msgstr "这个用户名或者邮箱已经被使用。"
-#: cps/web.py:1103
+#: cps/web.py:1104
msgid "Cannot activate LDAP authentication"
msgstr ""
-#: cps/web.py:1112 cps/web.py:1218
+#: cps/web.py:1113 cps/web.py:1219
#, python-format
msgid "you are now logged in as: '%(nickname)s'"
msgstr "您现在已以'%(nickname)s'身份登录"
-#: cps/web.py:1116
+#: cps/web.py:1117
msgid "Could not login. LDAP server down, please contact your administrator"
msgstr ""
-#: cps/web.py:1120 cps/web.py:1128
+#: cps/web.py:1121 cps/web.py:1129
msgid "Wrong Username or Password"
msgstr "用户名或密码错误"
-#: cps/web.py:1124
+#: cps/web.py:1125
#, python-format
msgid "You are now logged in as: '%(nickname)s'"
msgstr ""
-#: cps/web.py:1132 cps/web.py:1154
+#: cps/web.py:1133 cps/web.py:1155
msgid "login"
msgstr "登录"
-#: cps/web.py:1166 cps/web.py:1197
+#: cps/web.py:1167 cps/web.py:1198
msgid "Token not found"
msgstr "找不到Token"
-#: cps/web.py:1174 cps/web.py:1205
+#: cps/web.py:1175 cps/web.py:1206
msgid "Token has expired"
msgstr "Token已过期"
-#: cps/web.py:1182
+#: cps/web.py:1183
msgid "Success! Please return to your device"
msgstr "成功!请返回您的设备"
-#: cps/web.py:1259 cps/web.py:1286 cps/web.py:1290
+#: cps/web.py:1260 cps/web.py:1302 cps/web.py:1306
#, python-format
msgid "%(name)s's profile"
msgstr "%(name)s 的资料"
-#: cps/web.py:1288
+#: cps/web.py:1304
msgid "Profile updated"
msgstr "资料已更新"
-#: cps/web.py:1314 cps/web.py:1316 cps/web.py:1318 cps/web.py:1324
-#: cps/web.py:1328
+#: cps/web.py:1330 cps/web.py:1332 cps/web.py:1334 cps/web.py:1340
+#: cps/web.py:1344
msgid "Read a Book"
msgstr "阅读一本书"
-#: cps/web.py:1338
+#: cps/web.py:1354
msgid "Error opening eBook. File does not exist or file is not accessible."
msgstr ""
@@ -1692,11 +1701,6 @@ msgstr "您确定要删除这条域名规则吗?"
msgid "Next"
msgstr "下一个"
-#: cps/templates/feed.xml:33 cps/templates/layout.html:44
-#: cps/templates/layout.html:45
-msgid "Search"
-msgstr "搜索"
-
#: cps/templates/http_error.html:37
msgid "Create issue"
msgstr ""
diff --git a/cps/web.py b/cps/web.py
index 98efa5a2..00db18b9 100644
--- a/cps/web.py
+++ b/cps/web.py
@@ -38,7 +38,8 @@ from flask import render_template, request, redirect, send_from_directory, make_
from flask_babel import gettext as _
from flask_login import login_user, logout_user, login_required, current_user
from sqlalchemy.exc import IntegrityError
-from sqlalchemy.sql.expression import text, func, true, false, not_, and_
+from sqlalchemy.sql.expression import text, func, true, false, not_, and_, \
+ exists
from werkzeug.exceptions import default_exceptions
from werkzeug.datastructures import Headers
from werkzeug.security import generate_password_hash, check_password_hash
@@ -1258,6 +1259,21 @@ def profile():
return render_title_template("user_edit.html", content=current_user, downloads=downloads,
title=_(u"%(name)s's profile", name=current_user.nickname), page="me",
registered_oauth=oauth_check, oauth_status=oauth_status)
+ if "nickname" in to_save and to_save["nickname"] != current_user.nickname:
+ # Query User nickname, if not existing, change
+ if not ub.session.query(ub.User).filter(ub.User.nickname == to_save["nickname"]).scalar():
+ current_user.nickname = to_save["nickname"]
+ else:
+ flash(_(u"This username is already taken"), category="error")
+ return render_title_template("user_edit.html",
+ translations=translations,
+ languages=languages,
+ new_user=0, content=current_user,
+ downloads=downloads,
+ registered_oauth=oauth_check,
+ title=_(u"Edit User %(nick)s",
+ nick=current_user.nickname),
+ page="edituser")
current_user.email = to_save["email"]
if "show_random" in to_save and to_save["show_random"] == "on":
current_user.random_books = 1
diff --git a/messages.pot b/messages.pot
index f1098cac..6be73bca 100644
--- a/messages.pot
+++ b/messages.pot
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2019-11-16 07:24+0100\n"
+"POT-Creation-Date: 2019-11-16 08:00+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
@@ -57,7 +57,7 @@ msgstr ""
msgid "Basic Configuration"
msgstr ""
-#: cps/admin.py:452 cps/web.py:1054
+#: cps/admin.py:452 cps/web.py:1055
msgid "Please fill out all fields!"
msgstr ""
@@ -66,7 +66,7 @@ msgstr ""
msgid "Add new user"
msgstr ""
-#: cps/admin.py:463 cps/web.py:1257
+#: cps/admin.py:463 cps/web.py:1258
msgid "E-mail is not from valid domain"
msgstr ""
@@ -93,7 +93,7 @@ msgstr ""
msgid "There was an error sending the Test e-mail: %(res)s"
msgstr ""
-#: cps/admin.py:527 cps/web.py:1037
+#: cps/admin.py:527 cps/web.py:1038
msgid "Please configure your kindle e-mail address first..."
msgstr ""
@@ -110,82 +110,86 @@ msgstr ""
msgid "No admin user remaining, can't delete user"
msgstr ""
-#: cps/admin.py:600 cps/web.py:1283
+#: cps/admin.py:599 cps/web.py:1299
msgid "Found an existing account for this e-mail address."
msgstr ""
-#: cps/admin.py:603 cps/admin.py:615
+#: cps/admin.py:602 cps/admin.py:615 cps/admin.py:629 cps/web.py:1274
#, python-format
msgid "Edit User %(nick)s"
msgstr ""
-#: cps/admin.py:609
+#: cps/admin.py:608 cps/web.py:1267
+msgid "This username is already taken"
+msgstr ""
+
+#: cps/admin.py:623
#, python-format
msgid "User '%(nick)s' updated"
msgstr ""
-#: cps/admin.py:612
+#: cps/admin.py:626
msgid "An unknown error occured."
msgstr ""
-#: cps/admin.py:631
+#: cps/admin.py:645
#, python-format
msgid "Password for user %(user)s reset"
msgstr ""
-#: cps/admin.py:634 cps/web.py:1079
+#: cps/admin.py:648 cps/web.py:1080
msgid "An unknown error occurred. Please try again later."
msgstr ""
-#: cps/admin.py:645
+#: cps/admin.py:659
msgid "Logfile viewer"
msgstr ""
-#: cps/admin.py:680
+#: cps/admin.py:694
msgid "Requesting update package"
msgstr ""
-#: cps/admin.py:681
+#: cps/admin.py:695
msgid "Downloading update package"
msgstr ""
-#: cps/admin.py:682
+#: cps/admin.py:696
msgid "Unzipping update package"
msgstr ""
-#: cps/admin.py:683
+#: cps/admin.py:697
msgid "Replacing files"
msgstr ""
-#: cps/admin.py:684
+#: cps/admin.py:698
msgid "Database connections are closed"
msgstr ""
-#: cps/admin.py:685
+#: cps/admin.py:699
msgid "Stopping server"
msgstr ""
-#: cps/admin.py:686
+#: cps/admin.py:700
msgid "Update finished, please press okay and reload page"
msgstr ""
-#: cps/admin.py:687 cps/admin.py:688 cps/admin.py:689 cps/admin.py:690
+#: cps/admin.py:701 cps/admin.py:702 cps/admin.py:703 cps/admin.py:704
msgid "Update failed:"
msgstr ""
-#: cps/admin.py:687 cps/updater.py:272 cps/updater.py:457 cps/updater.py:459
+#: cps/admin.py:701 cps/updater.py:272 cps/updater.py:457 cps/updater.py:459
msgid "HTTP Error"
msgstr ""
-#: cps/admin.py:688 cps/updater.py:274 cps/updater.py:461
+#: cps/admin.py:702 cps/updater.py:274 cps/updater.py:461
msgid "Connection error"
msgstr ""
-#: cps/admin.py:689 cps/updater.py:276 cps/updater.py:463
+#: cps/admin.py:703 cps/updater.py:276 cps/updater.py:463
msgid "Timeout while establishing connection"
msgstr ""
-#: cps/admin.py:690 cps/updater.py:278 cps/updater.py:465
+#: cps/admin.py:704 cps/updater.py:278 cps/updater.py:465
msgid "General error"
msgstr ""
@@ -576,7 +580,7 @@ msgid "Show best rated books"
msgstr ""
#: cps/templates/index.xml:46 cps/templates/index.xml:50 cps/ub.py:67
-#: cps/web.py:975
+#: cps/web.py:976
msgid "Read Books"
msgstr ""
@@ -585,7 +589,7 @@ msgid "Show read and unread"
msgstr ""
#: cps/templates/index.xml:53 cps/templates/index.xml:57 cps/ub.py:71
-#: cps/web.py:979
+#: cps/web.py:980
msgid "Unread Books"
msgstr ""
@@ -687,199 +691,204 @@ msgstr ""
msgid "Click on the button below to update to the latest stable version."
msgstr ""
-#: cps/web.py:458
+#: cps/web.py:459
msgid "Recently Added Books"
msgstr ""
-#: cps/web.py:486
+#: cps/web.py:487
msgid "Best rated books"
msgstr ""
-#: cps/templates/index.xml:38 cps/web.py:494
+#: cps/templates/index.xml:38 cps/web.py:495
msgid "Random Books"
msgstr ""
-#: cps/web.py:520
+#: cps/web.py:521
msgid "Books"
msgstr ""
-#: cps/web.py:547
+#: cps/web.py:548
msgid "Hot Books (most downloaded)"
msgstr ""
-#: cps/web.py:558 cps/web.py:1304 cps/web.py:1392
+#: cps/web.py:559 cps/web.py:1320 cps/web.py:1408
msgid "Error opening eBook. File does not exist or file is not accessible:"
msgstr ""
-#: cps/web.py:571
+#: cps/web.py:572
#, python-format
msgid "Author: %(name)s"
msgstr ""
-#: cps/web.py:583
+#: cps/web.py:584
#, python-format
msgid "Publisher: %(name)s"
msgstr ""
-#: cps/web.py:594
+#: cps/web.py:595
#, python-format
msgid "Series: %(serie)s"
msgstr ""
-#: cps/web.py:605
+#: cps/web.py:606
#, python-format
msgid "Rating: %(rating)s stars"
msgstr ""
-#: cps/web.py:616
+#: cps/web.py:617
#, python-format
msgid "File format: %(format)s"
msgstr ""
-#: cps/web.py:628
+#: cps/web.py:629
#, python-format
msgid "Category: %(name)s"
msgstr ""
-#: cps/web.py:645
+#: cps/web.py:646
#, python-format
msgid "Language: %(name)s"
msgstr ""
-#: cps/web.py:677
+#: cps/web.py:678
msgid "Publisher list"
msgstr ""
-#: cps/templates/index.xml:82 cps/web.py:693
+#: cps/templates/index.xml:82 cps/web.py:694
msgid "Series list"
msgstr ""
-#: cps/web.py:707
+#: cps/web.py:708
msgid "Ratings list"
msgstr ""
-#: cps/web.py:720
+#: cps/web.py:721
msgid "File formats list"
msgstr ""
-#: cps/web.py:748
+#: cps/web.py:749
msgid "Available languages"
msgstr ""
-#: cps/templates/index.xml:75 cps/web.py:765
+#: cps/templates/index.xml:75 cps/web.py:766
msgid "Category list"
msgstr ""
-#: cps/templates/layout.html:73 cps/web.py:779
+#: cps/templates/layout.html:73 cps/web.py:780
msgid "Tasks"
msgstr ""
-#: cps/web.py:850
+#: cps/templates/feed.xml:33 cps/templates/layout.html:44
+#: cps/templates/layout.html:45 cps/web.py:802 cps/web.py:804
+msgid "Search"
+msgstr ""
+
+#: cps/web.py:851
msgid "Published after "
msgstr ""
-#: cps/web.py:857
+#: cps/web.py:858
msgid "Published before "
msgstr ""
-#: cps/web.py:871
+#: cps/web.py:872
#, python-format
msgid "Rating <= %(rating)s"
msgstr ""
-#: cps/web.py:873
+#: cps/web.py:874
#, python-format
msgid "Rating >= %(rating)s"
msgstr ""
-#: cps/web.py:933 cps/web.py:943
+#: cps/web.py:934 cps/web.py:944
msgid "search"
msgstr ""
-#: cps/web.py:1026
+#: cps/web.py:1027
msgid "Please configure the SMTP mail settings first..."
msgstr ""
-#: cps/web.py:1031
+#: cps/web.py:1032
#, python-format
msgid "Book successfully queued for sending to %(kindlemail)s"
msgstr ""
-#: cps/web.py:1035
+#: cps/web.py:1036
#, python-format
msgid "There was an error sending this book: %(res)s"
msgstr ""
-#: cps/web.py:1055 cps/web.py:1080 cps/web.py:1084 cps/web.py:1089
-#: cps/web.py:1093
+#: cps/web.py:1056 cps/web.py:1081 cps/web.py:1085 cps/web.py:1090
+#: cps/web.py:1094
msgid "register"
msgstr ""
-#: cps/web.py:1082
+#: cps/web.py:1083
msgid "Your e-mail is not allowed to register"
msgstr ""
-#: cps/web.py:1085
+#: cps/web.py:1086
msgid "Confirmation e-mail was send to your e-mail account."
msgstr ""
-#: cps/web.py:1088
+#: cps/web.py:1089
msgid "This username or e-mail address is already in use."
msgstr ""
-#: cps/web.py:1103
+#: cps/web.py:1104
msgid "Cannot activate LDAP authentication"
msgstr ""
-#: cps/web.py:1112 cps/web.py:1218
+#: cps/web.py:1113 cps/web.py:1219
#, python-format
msgid "you are now logged in as: '%(nickname)s'"
msgstr ""
-#: cps/web.py:1116
+#: cps/web.py:1117
msgid "Could not login. LDAP server down, please contact your administrator"
msgstr ""
-#: cps/web.py:1120 cps/web.py:1128
+#: cps/web.py:1121 cps/web.py:1129
msgid "Wrong Username or Password"
msgstr ""
-#: cps/web.py:1124
+#: cps/web.py:1125
#, python-format
msgid "You are now logged in as: '%(nickname)s'"
msgstr ""
-#: cps/web.py:1132 cps/web.py:1154
+#: cps/web.py:1133 cps/web.py:1155
msgid "login"
msgstr ""
-#: cps/web.py:1166 cps/web.py:1197
+#: cps/web.py:1167 cps/web.py:1198
msgid "Token not found"
msgstr ""
-#: cps/web.py:1174 cps/web.py:1205
+#: cps/web.py:1175 cps/web.py:1206
msgid "Token has expired"
msgstr ""
-#: cps/web.py:1182
+#: cps/web.py:1183
msgid "Success! Please return to your device"
msgstr ""
-#: cps/web.py:1259 cps/web.py:1286 cps/web.py:1290
+#: cps/web.py:1260 cps/web.py:1302 cps/web.py:1306
#, python-format
msgid "%(name)s's profile"
msgstr ""
-#: cps/web.py:1288
+#: cps/web.py:1304
msgid "Profile updated"
msgstr ""
-#: cps/web.py:1314 cps/web.py:1316 cps/web.py:1318 cps/web.py:1324
-#: cps/web.py:1328
+#: cps/web.py:1330 cps/web.py:1332 cps/web.py:1334 cps/web.py:1340
+#: cps/web.py:1344
msgid "Read a Book"
msgstr ""
-#: cps/web.py:1338
+#: cps/web.py:1354
msgid "Error opening eBook. File does not exist or file is not accessible."
msgstr ""
@@ -1691,11 +1700,6 @@ msgstr ""
msgid "Next"
msgstr ""
-#: cps/templates/feed.xml:33 cps/templates/layout.html:44
-#: cps/templates/layout.html:45
-msgid "Search"
-msgstr ""
-
#: cps/templates/http_error.html:37
msgid "Create issue"
msgstr ""