Browse files

Fix jumpstart syntax errors. Closes #933.

  • Loading branch information...
onyxfish committed Nov 30, 2013
1 parent b057bd9 commit b01dc364ea0b55c026ad9709142e87a7635f80d1
Showing with 7 additions and 7 deletions.
  1. +1 −1 docs/i18n.rst
  2. +1 −1 docs/upgrades.rst
  3. +5 −5 jumpstart/
@@ -25,7 +25,7 @@ PANDA was originally developed in English but has since been translated into oth
Changing the translation of your PANDA after initial setup will require you to :doc:`SSH into your server <ssh>`. Once logged in edit the file ``/opt/panda/`` and change ``LANGUAGE_CODE='en'`` to, for example, ``LANGUAGE_CODE='de'`` for German.
-After making these changes, restart your PANDA with ``sudo service nginx restart``.
+After making these changes, restart your PANDA with ``sudo service uwsgi restart``.
Translating PANDA into your language
@@ -18,7 +18,7 @@ The following release are in **reverse** version order. They **must** be perform
To upgrade your PANDA from the 1.1.0 release to the 1.1.1 release, :doc:`SSH <ssh>` into your server and execute the following commands::
- wget
+ wget
sudo bash
Your PANDA will be stopped, the upgrade will be applied and it will then be restarted. A log of this process will be put in ``/var/log/panda-upgrade-1.1.1.log``.
@@ -8,7 +8,7 @@
from django.conf import settings
from django.shortcuts import render_to_response
from django.template import RequestContext
-from django.utils.translation import gettext_noop
+from django.utils.translation import ugettext as _
from pytz import common_timezones
from tastypie.models import ApiKey
@@ -35,10 +35,10 @@ def jumpstart(request):
context = RequestContext(request, {
'settings': settings,
'languages': (
- ('en', gettext_noop('English'))
- ('de', gettext_noop('German'))
- ('es', gettext_noop('Spanish'))
- ('it', gettext_noop('Italian'))
+ ('en', _('English')),
+ ('de', _('German')),
+ ('es', _('Spanish')),
+ ('it', _('Italian'))
'timezones': common_timezones

0 comments on commit b01dc36

Please sign in to comment.