Unified translations

Update translations for release
This commit is contained in:
Ozzie Isaacs
2021-05-16 09:37:45 +02:00
parent dafc68f049
commit 20b84a9459
46 changed files with 2641 additions and 3260 deletions

View File

@ -287,7 +287,7 @@ def list_users():
for user in users:
if user.default_language == "all":
user.default = _("all")
user.default = _("All")
else:
user.default = LC.parse(user.default_language).get_language_name(get_locale())
@ -1414,7 +1414,7 @@ def _handle_edit_user(to_save, content, languages, translations, kobo_support):
except IntegrityError as ex:
ub.session.rollback()
log.error("An unknown error occurred while changing user: {}".format(str(ex)))
flash(_(u"An unknown error occurred."), category="error")
flash(_(u"An unknown error occurred. Please try again later."), category="error")
except OperationalError:
ub.session.rollback()
log.error("Settings DB is not Writeable")
@ -1465,7 +1465,7 @@ def update_mailsettings():
elif to_save.get("gmail"):
try:
config.mail_gmail_token = services.gmail.setup_gmail(config.mail_gmail_token)
flash(_(u"G-Mail Account Verification Successful"), category="success")
flash(_(u"Gmail Account Verification Successful"), category="success")
except Exception as ex:
flash(str(ex), category="error")
log.error(ex)