pymove3d.py
changeset 145 95d788307e42
parent 144 3b768d0f09ef
child 146 2e05b89881ed
     1.1 --- a/pymove3d.py	Sat Jan 18 21:05:22 2014 +0100
     1.2 +++ b/pymove3d.py	Sun Jan 19 07:53:05 2014 +0100
     1.3 @@ -20,14 +20,15 @@
     1.4  app = Flask(__name__)
     1.5  babel = Babel(app)
     1.6  
     1.7 +app.config['BABEL_DEFAULT_LOCALE'] = 'de'
     1.8 +
     1.9  def get_topmenue():
    1.10 -    topmenue = [('/competition', _('Competition')),
    1.11 -                ('/task', _('Task')),
    1.12 -                ('/submission', _('Submission')),
    1.13 -                ('/coursematerial', _('Coursematerial')),
    1.14 -                ]
    1.15 -    
    1.16 -    return topmenue
    1.17 +    menue =  [('/competition', u'Competition'),
    1.18 +              ('/task', 'Task'),
    1.19 +              ('/submission', u'Submission'),
    1.20 +              ('/coursematerial', u'Coursematerial'),
    1.21 +              ]
    1.22 +    return menue
    1.23  
    1.24  app.jinja_env.globals.update(get_topmenue=get_topmenue)
    1.25  
Impressum Datenschutzerklärung