backend loop translation

This commit is contained in:
Etienne Roudeix
2013-08-26 14:05:29 +02:00
parent 96b3de7c84
commit 9174e5154e
19 changed files with 380 additions and 304 deletions

View File

@@ -1,12 +1,12 @@
<h2>ALL ATTRIBUTES AND THEIR AVAILABILITY</h2>
<ul>
{loop name="attr" type="attribute" order="manual"}
{loop name="attr" type="attribute" order="manual" lang="2" backend_context="true"}
<li>
#TITLE
{if #IS_TRANSLATED == 1}#TITLE{else}to be translated{/if}
<ul>
{loop name="attrav" type="attribute_availability" order="manual" attribute="#ID"}
<li>#TITLE</li>
{loop name="attrav" type="attribute_availability" order="manual" attribute="#ID" lang="3"}
<li>{if #IS_TRANSLATED == 1}#TITLE{else}to be translated{/if}</li>
{/loop}
</ul>
</li>