1.1 --- a/pymove3d.py Sun Jan 19 09:21:55 2014 +0100
1.2 +++ b/pymove3d.py Sun Jan 19 09:45:04 2014 +0100
1.3 @@ -23,10 +23,10 @@
1.4 app.config['BABEL_DEFAULT_LOCALE'] = 'de'
1.5
1.6 def get_topmenue():
1.7 - menue = [('/competition', u'Competition'),
1.8 - ('/task', 'Task'),
1.9 - ('/submission', u'Submission'),
1.10 - ('/coursematerial', u'Coursematerial'),
1.11 + menue = [('/competition', _(u'Competition')),
1.12 + ('/task', _(u'Task')),
1.13 + ('/submission', _(u'Submission')),
1.14 + ('/coursematerial', _(u'Coursematerial')),
1.15 ]
1.16 return menue
1.17
2.1 --- a/templates/theme.html Sun Jan 19 09:21:55 2014 +0100
2.2 +++ b/templates/theme.html Sun Jan 19 09:45:04 2014 +0100
2.3 @@ -43,7 +43,7 @@
2.4 <ul class="nav navbar-nav navbar-right">
2.5 {% for href, caption in get_topmenue(): %}
2.6 {%- if href[1:] == act -%}
2.7 - <li class="active">{% else %} <li>{% endif %}<a href="{{ href }}" >{{ _(caption) }}</a></li>
2.8 + <li class="active">{% else %} <li>{% endif %}<a href="{{ href }}" >{{ caption }}</a></li>
2.9 {% endfor %}
2.10 <li class="module-language"><a class="link-yellow" href="./de">DE</a></li>
2.11 <li><a class="link-yellow" href="./en">EN</a></li>