diff --git a/cps/templates/admin.html b/cps/templates/admin.html index f36ecd9c..5cbaf07e 100644 --- a/cps/templates/admin.html +++ b/cps/templates/admin.html @@ -8,10 +8,10 @@ {{_('Email')}} {{_('Kindle')}} {{_('DLS')}} - {{_('Admin')}} - {{_('Download')}} - {{_('Upload')}} - {{_('Edit')}} + {{_('Admin')}} + {{_('Download')}} + {{_('Upload')}} + {{_('Edit')}} {% for user in content %} {% if not user.role_anonymous() or config.config_anonbrowse %} @@ -20,10 +20,10 @@ {{user.email}} {{user.kindle_mail}} {{user.downloads.count()}} - {% if user.role_admin() %}{% else %}{% endif %} - {% if user.role_download() %}{% else %}{% endif %} - {% if user.role_upload() %}{% else %}{% endif %} - {% if user.role_edit() %}{% else %}{% endif %} + {% if user.role_admin() %}{% else %}{% endif %} + {% if user.role_download() %}{% else %}{% endif %} + {% if user.role_upload() %}{% else %}{% endif %} + {% if user.role_edit() %}{% else %}{% endif %} {% endif %} {% endfor %} @@ -36,14 +36,14 @@ {{_('SMTP port')}} {{_('SSL')}} {{_('SMTP login')}} - {{_('From mail')}} + {{_('From mail')}} {{email.mail_server}} {{email.mail_port}} {% if email.mail_use_ssl %}{% else %}{% endif %} {{email.mail_login}} - {{email.mail_from}} + {{email.mail_from}}
{{_('Change SMTP settings')}}
@@ -54,7 +54,7 @@
{{config.config_calibre_dir}}
-
{{_('Log Level')}}
+
{{_('Log level')}}
{{config.get_Log_Level()}}
@@ -71,14 +71,18 @@
{{_('Uploading')}}
{% if config.config_uploading %}{% else %}{% endif %}
+
+
{{_('Anonymous browsing')}}
+
{% if config.config_anonbrowse %}{% else %}{% endif %}
+
{{_('Public registration')}}
{% if config.config_public_reg %}{% else %}{% endif %}
-
{{_('Remote Login')}}
+
{{_('Remote login')}}
{% if config.config_remote_login %}{% else %}{% endif %}
-
+
diff --git a/cps/translations/de/LC_MESSAGES/messages.po b/cps/translations/de/LC_MESSAGES/messages.po index b0b3a348..6834a0b7 100644 --- a/cps/translations/de/LC_MESSAGES/messages.po +++ b/cps/translations/de/LC_MESSAGES/messages.po @@ -765,7 +765,7 @@ msgid "Public registration" msgstr "Öffentliche Registrierung" #: cps/templates/admin.html:79 cps/templates/remote_login.html:4 -msgid "Remote Login" +msgid "Remote login" msgstr "Remote Login" #: cps/templates/admin.html:89 @@ -1060,7 +1060,7 @@ msgstr "Öffentliche Registrierung aktivieren" #: cps/templates/config_edit.html:146 msgid "Enable remote login (\"magic link\")" -msgstr "Remote login aktivieren (\"Magischer Link\")" +msgstr "Remote Login aktivieren (\"Magischer Link\")" #: cps/templates/config_edit.html:151 msgid "Use" diff --git a/cps/translations/es/LC_MESSAGES/messages.po b/cps/translations/es/LC_MESSAGES/messages.po index 9c56c7c8..69a576b6 100644 --- a/cps/translations/es/LC_MESSAGES/messages.po +++ b/cps/translations/es/LC_MESSAGES/messages.po @@ -746,7 +746,7 @@ msgid "Public registration" msgstr "Registro público" #: cps/templates/admin.html:79 cps/templates/remote_login.html:4 -msgid "Remote Login" +msgid "Remote login" msgstr "" #: cps/templates/admin.html:89 diff --git a/cps/translations/fr/LC_MESSAGES/messages.po b/cps/translations/fr/LC_MESSAGES/messages.po index 3920914a..5515bd5a 100644 --- a/cps/translations/fr/LC_MESSAGES/messages.po +++ b/cps/translations/fr/LC_MESSAGES/messages.po @@ -756,7 +756,7 @@ msgid "Public registration" msgstr "Inscription public" #: cps/templates/admin.html:79 cps/templates/remote_login.html:4 -msgid "Remote Login" +msgid "Remote login" msgstr "" #: cps/templates/admin.html:89 diff --git a/cps/translations/it/LC_MESSAGES/messages.po b/cps/translations/it/LC_MESSAGES/messages.po index 259d1b6f..b096d84a 100644 --- a/cps/translations/it/LC_MESSAGES/messages.po +++ b/cps/translations/it/LC_MESSAGES/messages.po @@ -752,7 +752,7 @@ msgid "Public registration" msgstr "Registrazione pubblica" #: cps/templates/admin.html:79 cps/templates/remote_login.html:4 -msgid "Remote Login" +msgid "Remote login" msgstr "Login remoto" #: cps/templates/admin.html:89 diff --git a/cps/translations/ja/LC_MESSAGES/messages.po b/cps/translations/ja/LC_MESSAGES/messages.po index d38958f6..6463d048 100644 --- a/cps/translations/ja/LC_MESSAGES/messages.po +++ b/cps/translations/ja/LC_MESSAGES/messages.po @@ -741,7 +741,7 @@ msgid "Public registration" msgstr "公的登録" #: cps/templates/admin.html:79 cps/templates/remote_login.html:4 -msgid "Remote Login" +msgid "Remote login" msgstr "遠距離ログイン" #: cps/templates/admin.html:89 diff --git a/cps/translations/km/LC_MESSAGES/messages.po b/cps/translations/km/LC_MESSAGES/messages.po index e0fac864..67dd1d90 100644 --- a/cps/translations/km/LC_MESSAGES/messages.po +++ b/cps/translations/km/LC_MESSAGES/messages.po @@ -742,7 +742,7 @@ msgid "Public registration" msgstr "ការចុះឈ្មាះសាធារណៈ" #: cps/templates/admin.html:79 cps/templates/remote_login.html:4 -msgid "Remote Login" +msgid "Remote login" msgstr "ការចូលប្រើប្រាស់ពីចម្ងាយ" #: cps/templates/admin.html:89 diff --git a/cps/translations/nl/LC_MESSAGES/messages.po b/cps/translations/nl/LC_MESSAGES/messages.po index 3447d9e6..92d5e08c 100644 --- a/cps/translations/nl/LC_MESSAGES/messages.po +++ b/cps/translations/nl/LC_MESSAGES/messages.po @@ -758,7 +758,7 @@ msgid "Public registration" msgstr "Publieke registratie" #: cps/templates/admin.html:79 cps/templates/remote_login.html:4 -msgid "Remote Login" +msgid "Remote login" msgstr "Login op afstand" #: cps/templates/admin.html:89 diff --git a/cps/translations/pl/LC_MESSAGES/messages.po b/cps/translations/pl/LC_MESSAGES/messages.po index c093f3bd..27096401 100644 --- a/cps/translations/pl/LC_MESSAGES/messages.po +++ b/cps/translations/pl/LC_MESSAGES/messages.po @@ -745,7 +745,7 @@ msgid "Public registration" msgstr "Publiczna rejestracja" #: cps/templates/admin.html:79 cps/templates/remote_login.html:4 -msgid "Remote Login" +msgid "Remote login" msgstr "" #: cps/templates/admin.html:89 diff --git a/cps/translations/ru/LC_MESSAGES/messages.po b/cps/translations/ru/LC_MESSAGES/messages.po index 46532801..2ad9dac0 100644 --- a/cps/translations/ru/LC_MESSAGES/messages.po +++ b/cps/translations/ru/LC_MESSAGES/messages.po @@ -747,7 +747,7 @@ msgid "Public registration" msgstr "Публичная регистрация" #: cps/templates/admin.html:79 cps/templates/remote_login.html:4 -msgid "Remote Login" +msgid "Remote login" msgstr "" #: cps/templates/admin.html:89 diff --git a/cps/translations/zh_Hans_CN/LC_MESSAGES/messages.po b/cps/translations/zh_Hans_CN/LC_MESSAGES/messages.po index 4e326adc..9984fe44 100644 --- a/cps/translations/zh_Hans_CN/LC_MESSAGES/messages.po +++ b/cps/translations/zh_Hans_CN/LC_MESSAGES/messages.po @@ -747,7 +747,7 @@ msgid "Public registration" msgstr "开放注册" #: cps/templates/admin.html:79 cps/templates/remote_login.html:4 -msgid "Remote Login" +msgid "Remote login" msgstr "远程登录" #: cps/templates/admin.html:89 diff --git a/cps/web.py b/cps/web.py index 27bcd8c6..d7b95cd5 100644 --- a/cps/web.py +++ b/cps/web.py @@ -3184,7 +3184,7 @@ def edit_book(book_id): title=_(u"edit metadata"), page="editbook") # Update book - edited_books_id = {} + edited_books_id = set() # Check and handle Uploaded file if 'btn-upload-format' in request.files: