Code

Ticket #1585: index.2.diff

File index.2.diff, 589 bytes (added by ubernostrum, 8 years ago)

Patch where i18n will actually work

Line 
1Index: index.html
2===================================================================
3--- index.html  (revision 2620)
4+++ index.html  (working copy)
5@@ -13,7 +13,7 @@
6 {% if app_list %}
7     {% for app in app_list %}
8         <div class="module">
9-        <table summary="{% blocktrans %}Models available in {{ app.name }} application.{% endblocktrans %}">
10+        <table summary="{% blocktrans with app.name as name %}Models available in the {{ name }} application.{% endblocktrans %}">
11         {% for model in app.models %}
12           <caption>{{ app.name }}</caption>
13             <tr>