Commit 9cd8e82a authored by Martin Matějek's avatar Martin Matějek

fixup! fixup! fixup! Refactoring of gettext translations

parent c3d9be0c
......@@ -84,7 +84,7 @@ class NotificationSkeleton:
def _set_jinja_translation(self, lang):
self.jinja_env.install_gettext_translations(
gettext.translation("notifylib-{}".self.plugin_name, localedir='/usr/share/locale', languages=[lang], fallback=True)
gettext.translation("notifylib-{}".format(self.plugin_name), localedir='/usr/share/locale', languages=[lang], fallback=True)
)
def render(self, data, media_type, lang):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment