mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-07-29 12:09:37 +00:00
updating documentation and translation
This commit is contained in:
parent
1cf1cb2e90
commit
f7c425384d
@ -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'),
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user