Permalink
Browse files

Fix gettext format string

  • Loading branch information...
Georgeto committed Feb 11, 2019
1 parent d734dea commit 4a4f7324509432fa30f83bb636e1400a932610b6
@@ -106,7 +106,7 @@ def exceptionhandler_ldap(ex):
@bp_generic.app_errorhandler(BackendError)
def exceptionhandler_backend(ex: BackendError):
flash(gettext("Fehler bei der Kommunikation mit unserem Server"
" (Backend '%(name)')", name=ex.backend_name),
" (Backend '%(name)s')", name=ex.backend_name),
'error')
logger.critical(
'Backend error: %s', ex.backend_name,
Binary file not shown.
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2019-01-24 11:19+0100\n"
"POT-Creation-Date: 2019-02-11 02:40+0100\n"
"PO-Revision-Date: 2014-08-01 19:22+0200\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: de\n"
@@ -206,7 +206,8 @@ msgstr ""
msgid "Verbindung zum LDAP-Server konnte nicht hergestellt werden!"
msgstr ""

msgid "Fehler bei der Kommunikation mit unserem Server (Backend '%(name)')"
#, python-format
msgid "Fehler bei der Kommunikation mit unserem Server (Backend '%(name)s')"
msgstr ""

msgid "Anmeldedaten fehlerhaft!"
Binary file not shown.
@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Sipa\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2019-01-24 11:19+0100\n"
"PO-Revision-Date: 2019-01-24 11:19+0100\n"
"POT-Creation-Date: 2019-02-11 02:40+0100\n"
"PO-Revision-Date: 2019-02-11 02:41+0100\n"
"Last-Translator: Lukas Juhrich <lukasjuhrich@wh2.tu-dresden.de>\n"
"Language: en\n"
"Language-Team: \n"
@@ -213,8 +213,9 @@ msgstr ""
msgid "Verbindung zum LDAP-Server konnte nicht hergestellt werden!"
msgstr "Connection to LDAP server could not be established!"

msgid "Fehler bei der Kommunikation mit unserem Server (Backend '%(name)')"
msgstr "Error during communication with the backend server ('%(name)')"
#, python-format
msgid "Fehler bei der Kommunikation mit unserem Server (Backend '%(name)s')"
msgstr "Error during communication with the backend server ('%(name)s')"

msgid "Anmeldedaten fehlerhaft!"
msgstr "Authentication data incorrect!"

0 comments on commit 4a4f732

Please sign in to comment.