Update templates to fit the new translator

This commit is contained in:
Romain Neutron
2013-11-21 19:00:17 +01:00
parent e4c43b8622
commit 16c1930ca0
87 changed files with 361 additions and 317 deletions

View File

@@ -146,8 +146,8 @@
<br/><br/>
<input type='radio' name='as' value='SY'>
{% set fullpath_tgt_raw = fullpath_tgt | raw %}
{% trans %}
thesaurus:: comme synonyme de {{ fullpath_tgt_raw }}
{% trans with {'%fullpath_tgt_raw%' : fullpath_tgt_raw} %}
thesaurus:: comme synonyme de %fullpath_tgt_raw%
{% endtrans %}
<br/>
{% else %}
@@ -169,8 +169,8 @@
<br/>
<br/>
<br/>
{% trans %}
thesaurus:: A cet emplacement du thesaurus , un candidat du champ {{ cfield }} ne peut etre accepte
{% trans with {'%cfield%' : cfield} %}
thesaurus:: A cet emplacement du thesaurus , un candidat du champ %cfield% ne peut etre accepte
{% endtrans %}
<br/>
<br/>

View File

@@ -75,8 +75,8 @@
</div>
<div style="white-space:nowrap">
<input type='radio' name='ofm' value='toscreen' onclick="chgFormat();">
{% trans %}
thesaurus:: exporter a l'ecran pour la langue {{ piv }}
{% trans with {'%piv%' : piv} %}
thesaurus:: exporter a l'ecran pour la langue %piv%
{% endtrans %}
</div>
</div>

View File

@@ -47,8 +47,8 @@
<input type="hidden" name="tid" value="{{ tid }}">
{% set branch = "<br/><b>" ~ fullBranch ~ "</b><br/>" %}
{% trans %}
thesaurus:: Lier la branche de thesaurus au champ {{ branch }}
{% trans with {'%branch%' : branch} %}
thesaurus:: Lier la branche de thesaurus au champ %branch%
{% endtrans %}
<div style="width:70%; height:200px; overflow:scroll;" class="x3Dbox">

View File

@@ -38,8 +38,8 @@
{% if branches['old_branch'] %}
{% set old_branch = branches['old_branch'] %}
<b>{{ fieldname }}</b>
{% trans %}
thesaurus:: Ce champ a ete modifie ; ancienne branche : {{ old_branch }}
{% trans with {'%old_branch%' : old_branch} %}
thesaurus:: Ce champ a ete modifie ; ancienne branche : %old_branch% }}
{% endtrans %}
<br/>
{% endif %}

View File

@@ -12,21 +12,21 @@
<form onsubmit="return(false);">
<div style="width:70%; height:200px; overflow:scroll;" class="x3Dbox">
{% for field in field2del %}
{% trans %}
thesaurus:: suppression du lien du champ {{ field }}
{% trans with {'%field%' : field} %}
thesaurus:: suppression du lien du champ %field%
{% endtrans %}
<br/>
{% endfor %}
{% for candidate in candidates2del %}
{% set field = candidate2del["field"] %}
{% trans %}
thesaurus:: suppression de la branche de mot candidats pour le champ {{ field }}
{% trans with {'%field%' : field} %}
thesaurus:: suppression de la branche de mot candidats pour le champ %field%
{% endtrans %}
<br/>
{% endfor %}
{% for field in branch2del %}
{% trans %}
thesaurus:: suppression de la branche de mot candidats pour le champ {{ field }}
{% trans with {'%field%' : field} %}
thesaurus:: suppression de la branche de mot candidats pour le champ %field%
{% endtrans %}
<br/>
{% endfor %}
@@ -37,8 +37,8 @@
{% endif %}
{% for field in field2del %}
{% trans %}
thesaurus:: suppression des indexes vers le thesaurus pour le champ {{ field }}
{% trans with {'%field%' : field} %}
thesaurus:: suppression des indexes vers le thesaurus pour le champ %field%
{% endtrans %}
<br/>
{% endfor %}

View File

@@ -14,14 +14,14 @@
{% if context is not none %}
{% set zterm %}
{% trans %}
thesaurus:: le terme {{ term }} avec contexte {{ context }}
{% trans with {'%term%' : term, '%context%' : context} %}
thesaurus:: le terme %term% avec contexte %context%
{% endtrans %}
{% endset %}
{% else %}
{% set zterm %}
{% trans %}
thesaurus:: le terme {{ term }} sans contexte
{% trans with {'%term%' : term} %}
thesaurus:: le terme %term% sans contexte
{% endtrans %}
{% endset %}
{% endif %}

View File

@@ -56,8 +56,8 @@
{% if typ == "CT" %}
<br/>
{% elseif typ == "TH" %}
{% trans %}
thesaurus:: {{ hits }} reponses retournees
{% trans with {'%hits%' : hits} %}
thesaurus:: %hits% reponses retournees
{% endtrans %}
<br/>
<br/>