updating documentation and translation

This commit is contained in:
fonfon 2014-07-11 03:14:45 +03:00
parent 1cf1cb2e90
commit f7c425384d
2 changed files with 3 additions and 3 deletions

View File

@ -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'),
}
]
}

View File

@ -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)