From f7c425384d904749b363c5082c50e6aa69528ba4 Mon Sep 17 00:00:00 2001 From: fonfon Date: Fri, 11 Jul 2014 03:14:45 +0300 Subject: [PATCH] updating documentation and translation --- modules/xmpp/xmpp.py | 4 ++-- plinth.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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)