diff --git a/modules/xmpp/xmpp.py b/modules/xmpp/xmpp.py index e0576bbb8..fb09eef94 100644 --- a/modules/xmpp/xmpp.py +++ b/modules/xmpp/xmpp.py @@ -20,11 +20,11 @@ SIDE_MENU = { 'items': [ { 'url': reverse_lazy('xmpp:configure'), - 'text': 'Configure XMPP Server' + 'text': _('Configure XMPP Server'), }, { 'url': reverse_lazy('xmpp:register'), - 'text': 'Register XMPP Account' + 'text': _('Register XMPP Account'), } ] } diff --git a/plinth.py b/plinth.py index 6027ea893..f84d4b85a 100755 --- a/plinth.py +++ b/plinth.py @@ -113,7 +113,7 @@ def setup_server(): def configure_django(): """Setup Django configuration in the absense of .settings file""" - # In module_loader.py we reverse URLs for the menu without having a proper + # In module_loader.py we reverse URLs for the menu before having a proper # request. In this case, get_script_prefix (used by reverse) returns the # wrong prefix. Set it here manually to have the correct prefix right away. django.core.urlresolvers.set_script_prefix(cfg.server_dir)