Commit 7cca923c authored by Martin Matějek's avatar Martin Matějek

fixup! fixup! Refactoring of gettext translations

parent ee37ac84
......@@ -84,7 +84,7 @@ class NotificationSkeleton:
def _set_jinja_translation(self, lang):
self.jinja_env.install_gettext_translations(
gettext.translation("notification-system", localedir='/usr/share/locale', languages=[lang], fallback=True)
gettext.translation("notifylib-{}".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