mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
Use symfony translator
This commit is contained in:
@@ -146,9 +146,7 @@
|
||||
<br/><br/>
|
||||
<input type='radio' name='as' value='SY'>
|
||||
{% set fullpath_tgt_raw = fullpath_tgt | raw %}
|
||||
{% trans with {'%fullpath_tgt_raw%' : fullpath_tgt_raw} %}
|
||||
thesaurus:: comme synonyme de %fullpath_tgt_raw%
|
||||
{% endtrans %}
|
||||
{% trans with {'%fullpath_tgt_raw%' : fullpath_tgt_raw} %}thesaurus:: comme synonyme de %fullpath_tgt_raw%{% endtrans %}
|
||||
<br/>
|
||||
{% else %}
|
||||
<br/><br/><h4>{{ fullpath_src | raw }}</h4><br/><br/>
|
||||
@@ -169,9 +167,7 @@
|
||||
<br/>
|
||||
<br/>
|
||||
<br/>
|
||||
{% trans with {'%cfield%' : cfield} %}
|
||||
thesaurus:: A cet emplacement du thesaurus , un candidat du champ %cfield% ne peut etre accepte
|
||||
{% endtrans %}
|
||||
{% trans with {'%cfield%' : cfield} %}thesaurus:: A cet emplacement du thesaurus , un candidat du champ %cfield% ne peut etre accepte{% endtrans %}
|
||||
<br/>
|
||||
<br/>
|
||||
<br/>
|
||||
|
@@ -68,7 +68,7 @@
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{{ 'thesaurus:: options d\'export : ' | trans }}</th>
|
||||
<th>{{ 'thesaurus:: options d\'export :' | trans }}</th>
|
||||
<th>{{ 'thesaurus:: example' | trans }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -90,7 +90,7 @@
|
||||
</div>
|
||||
<div style="white-space:nowrap">
|
||||
<input type='checkbox' name='iln' value='1' onclick="chgFormat();">
|
||||
{{ 'thesaurus:: export : numeroter les lignes ' | trans }}
|
||||
{{ 'thesaurus:: export : numeroter les lignes' | trans }}
|
||||
</div>
|
||||
<div style="white-space:nowrap">
|
||||
<input type='checkbox' name='ilg' value='1' onclick="chgFormat();">
|
||||
|
@@ -75,9 +75,7 @@
|
||||
</div>
|
||||
<div style="white-space:nowrap">
|
||||
<input type='radio' name='ofm' value='toscreen' onclick="chgFormat();">
|
||||
{% trans with {'%piv%' : piv} %}
|
||||
thesaurus:: exporter a l'ecran pour la langue %piv%
|
||||
{% endtrans %}
|
||||
{% trans with {'%piv%' : piv} %}thesaurus:: exporter a l'ecran pour la langue %piv%{% endtrans %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@@ -47,9 +47,7 @@
|
||||
<input type="hidden" name="tid" value="{{ tid }}">
|
||||
|
||||
{% set branch = "<br/><b>" ~ fullBranch ~ "</b><br/>" %}
|
||||
{% trans with {'%branch%' : branch} %}
|
||||
thesaurus:: Lier la branche de thesaurus au champ %branch%
|
||||
{% endtrans %}
|
||||
{% trans with {'%branch%' : branch} %}thesaurus:: Lier la branche de thesaurus au champ %branch%{% endtrans %}
|
||||
|
||||
<div style="width:70%; height:200px; overflow:scroll;" class="x3Dbox">
|
||||
{% for fieldname, checked in fieldnames %}
|
||||
|
@@ -38,9 +38,7 @@
|
||||
{% if branches['old_branch'] %}
|
||||
{% set old_branch = branches['old_branch'] %}
|
||||
<b>{{ fieldname }}</b>
|
||||
{% trans with {'%old_branch%' : old_branch} %}
|
||||
thesaurus:: Ce champ a ete modifie ; ancienne branche : %old_branch% }}
|
||||
{% endtrans %}
|
||||
{% trans with {'%old_branch%' : old_branch} %}thesaurus:: Ce champ a ete modifie ; ancienne branche : %old_branch% }}{% endtrans %}
|
||||
<br/>
|
||||
{% endif %}
|
||||
{{ 'thesaurus:: nouvelle branche' | trans }} : {{ branches['new_branch'] }}
|
||||
|
@@ -12,22 +12,16 @@
|
||||
<form onsubmit="return(false);">
|
||||
<div style="width:70%; height:200px; overflow:scroll;" class="x3Dbox">
|
||||
{% for field in field2del %}
|
||||
{% trans with {'%field%' : field} %}
|
||||
thesaurus:: suppression du lien du champ %field%
|
||||
{% endtrans %}
|
||||
{% trans with {'%field%' : field} %}thesaurus:: suppression du lien du champ %field%{% endtrans %}
|
||||
<br/>
|
||||
{% endfor %}
|
||||
{% for candidate in candidates2del %}
|
||||
{% set field = candidate2del["field"] %}
|
||||
{% trans with {'%field%' : field} %}
|
||||
thesaurus:: suppression de la branche de mot candidats pour le champ %field%
|
||||
{% endtrans %}
|
||||
{% trans with {'%field%' : field} %}thesaurus:: suppression de la branche de mot candidats pour le champ %field%{% endtrans %}
|
||||
<br/>
|
||||
{% endfor %}
|
||||
{% for field in branch2del %}
|
||||
{% trans with {'%field%' : field} %}
|
||||
thesaurus:: suppression de la branche de mot candidats pour le champ %field%
|
||||
{% endtrans %}
|
||||
{% trans with {'%field%' : field} %}thesaurus:: suppression de la branche de mot candidats pour le champ %field%{% endtrans %}
|
||||
<br/>
|
||||
{% endfor %}
|
||||
|
||||
@@ -37,9 +31,7 @@
|
||||
{% endif %}
|
||||
|
||||
{% for field in field2del %}
|
||||
{% trans with {'%field%' : field} %}
|
||||
thesaurus:: suppression des indexes vers le thesaurus pour le champ %field%
|
||||
{% endtrans %}
|
||||
{% trans with {'%field%' : field} %}thesaurus:: suppression des indexes vers le thesaurus pour le champ %field%{% endtrans %}
|
||||
<br/>
|
||||
{% endfor %}
|
||||
|
||||
|
@@ -30,7 +30,7 @@
|
||||
'</DIV>';
|
||||
{% else %}
|
||||
|
||||
if(confirm("{{ "Thesaurus ou CTerms invalide\n effacer (OK) ou quitter (Annuler) ?" | trans | e('js') }}"))
|
||||
if(confirm("{{ "Thesaurus ou CTerms invalide" | trans | e('js') }}\n{{ "effacer (OK) ou quitter (Annuler) ?" | trans | e('js') }}"))
|
||||
{
|
||||
parent.document.forms['fBase'].repair.value = "on";
|
||||
parent.document.forms['fBase'].submit();
|
||||
@@ -40,4 +40,4 @@
|
||||
parent.window.close();
|
||||
}
|
||||
{% endif %}
|
||||
</script>
|
||||
</script>
|
||||
|
@@ -14,23 +14,19 @@
|
||||
|
||||
{% if context is not none %}
|
||||
{% set zterm %}
|
||||
{% trans with {'%term%' : term, '%context%' : context} %}
|
||||
thesaurus:: le terme %term% avec contexte %context%
|
||||
{% endtrans %}
|
||||
{% trans with {'%term%' : term, '%context%' : context} %}thesaurus:: le terme %term% avec contexte %context%{% endtrans %}
|
||||
{% endset %}
|
||||
{% else %}
|
||||
{% set zterm %}
|
||||
{% trans with {'%term%' : term} %}
|
||||
thesaurus:: le terme %term% sans contexte
|
||||
{% endtrans %}
|
||||
{% trans with {'%term%' : term} %}thesaurus:: le terme %term% sans contexte{% endtrans %}
|
||||
{% endset %}
|
||||
{% endif %}
|
||||
|
||||
{% if nb_candidates_ok > 0 %}
|
||||
{% if nb_candidates_ok == 1 %}
|
||||
{% set prop_label = 'thesaurus:: est deja candidat en provenance du champ acceptable : ' | trans %}
|
||||
{% set prop_label = 'thesaurus:: est deja candidat en provenance du champ acceptable :' | trans %}
|
||||
{% else %}
|
||||
{% set prop_label = 'thesaurus:: est deja candidat en provenance des champs acceptables : ' | trans %}
|
||||
{% set prop_label = 'thesaurus:: est deja candidat en provenance des champs acceptables :' | trans %}
|
||||
{% endif %}
|
||||
<br/>
|
||||
<br/>
|
||||
|
@@ -56,9 +56,7 @@
|
||||
{% if typ == "CT" %}
|
||||
<br/>
|
||||
{% elseif typ == "TH" %}
|
||||
{% trans with {'%hits%' : hits} %}
|
||||
thesaurus:: %hits% reponses retournees
|
||||
{% endtrans %}
|
||||
{% trans with {'%hits%' : hits} %}thesaurus:: %hits% reponses retournees{% endtrans %}
|
||||
<br/>
|
||||
<br/>
|
||||
{% endif %}
|
||||
|
@@ -39,7 +39,7 @@
|
||||
<table>
|
||||
<tr>
|
||||
<td>{{ 'thesaurus:: le terme' | trans }}</td>
|
||||
<td><input type="radio" name="m" value="equal">{{ 'thesaurus:: est egal a ' | trans }}</td>
|
||||
<td><input type="radio" name="m" value="equal">{{ 'thesaurus:: est egal a' | trans }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td />
|
||||
|
Reference in New Issue
Block a user