Changeset 18b22416cec1e66118ed751ce09d356e1244790c
- Timestamp:
- 07/18/10 23:18:41 (7 weeks ago)
- Author:
- Jim Garrison <jim@…>
- Children:
- 1ac722c6fd28bd66ae795cfa679e87a531911a95
- Parents:
- 0f2016100c23792984b8cda9f2eccfe225a53dec
- git-committer:
- Jim Garrison <jim@jimgarrison.org> / 2010-07-18T20:18:41Z-0700
- Message:
-
work on UI language selector
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r6e5aa8d
|
r18b22416
|
|
| 66 | 66 | <div id="ductus_footer"> |
| 67 | 67 | <hr/> |
| 68 | | <p>{% blocktrans %}{{ ductus_site_name }} is powered by <a href="http://ductus.us/">Ductus</a>.{% endblocktrans %}</p> |
| 69 | 68 | <form action="{% url django.views.i18n.set_language %}" method="post"> |
| 70 | 69 | <p> |
| | 70 | {% trans "user interface language:" %} |
| 71 | 71 | <input name="next" type="hidden" value="{{ request.escaped_full_path }}" /> |
| 72 | 72 | <select name="language"> |
| 73 | 73 | {% for lang in LANGUAGES %} |
| 74 | | <option value="{{ lang.0 }}"{% ifequal lang.0 LANGUAGE_CODE %} selected="selected"{% endifequal %}>{{ lang.0 }} {{ lang.1 }}</option>{% endfor %} |
| | 74 | <option value="{{ lang.0 }}"{% ifequal lang.0 LANGUAGE_CODE %} selected="selected"{% endifequal %}>{{ lang.0 }} {% trans lang.1 %}</option>{% endfor %} |
| 75 | 75 | </select> |
| 76 | | <input type="submit" value="{% trans "Go" %}" /> |
| | 76 | <input type="submit" value="{% trans "Go" %}"/> |
| 77 | 77 | </p> |
| 78 | 78 | </form> |
| | 79 | <p>{% blocktrans %}{{ ductus_site_name }} is powered by <a href="http://ductus.us/">Ductus</a>.{% endblocktrans %}</p> |
| 79 | 80 | </div> |
| 80 | 81 | </footer> |