Fix twig tags

This commit is contained in:
Romain Neutron
2013-11-21 14:17:12 +01:00
parent 2c9cee15a4
commit e7421e1fdd
230 changed files with 2060 additions and 2060 deletions

View File

@@ -6,7 +6,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="{{ app['locale.I18n'] }}">
<head>
<title>{% trans 'thesaurus:: accepter...' %}</title>
<title>{{ 'thesaurus:: accepter...' | trans }}</title>
<link REL="stylesheet" TYPE="text/css" href="{{ path('minifier', { 'f' : 'skins/thesaurus/thesaurus.css' }) }}" />
<style type="text/css">
.path_separator
@@ -102,32 +102,32 @@
<br/>
<br/>
<br/>
{% trans 'thesaurus:: removed_src' %}
{{ 'thesaurus:: removed_src' | trans }}
<br/>
<br/>
{% trans 'thesaurus:: refresh' %}
{{ 'thesaurus:: refresh' | trans }}
<br/>
<br/>
<br/>
<br/>
<br/>
<input style="position:relative; z-index:2; width:100px" type="button" id="cancel_button" value="{% trans 'boutton::fermer' %}" onclick="self.close();">
<input style="position:relative; z-index:2; width:100px" type="button" id="cancel_button" value="{{ 'boutton::fermer' | trans }}" onclick="self.close();">
{% else %}
{% if not term_found %}
<center>
<br/>
<br/>
<br/>
{% trans 'thesaurus:: removed tgt' %}
{{ 'thesaurus:: removed tgt' | trans }}
<br/>
<br/>
{% trans 'thesaurus:: refresh' %}
{{ 'thesaurus:: refresh' | trans }}
<br/>
<br/>
<br/>
<br/>
<br/>
<input style="position:relative; z-index:2; width:100px" type="button" id="cancel_button" value="{% trans 'boutton::fermer' %}" onclick="self.close();">
<input style="position:relative; z-index:2; width:100px" type="button" id="cancel_button" value="{{ 'boutton::fermer' | trans }}" onclick="self.close();">
{% else %}
{% if acceptable %}
<center>
@@ -139,10 +139,10 @@
<input type="hidden" name="tgt" value="{{ tgt | url_encode }}">
<input type="hidden" name="tgt" value="{{ tgt | url_encode }}">
{% if nts == 0 %}
{% trans 'thesaurus:: Accepter le terme comme' %}
{{ 'thesaurus:: Accepter le terme comme' | trans }}
<br/><br/><h4>{{ fullpath_src | raw }}</h4><br/><br/>
<br/>
<input type='radio' name='as' value='TS' checked>{% trans 'thesaurus:: comme terme specifique' %}
<input type='radio' name='as' value='TS' checked>{{ 'thesaurus:: comme terme specifique' | trans }}
<br/><br/>
<input type='radio' name='as' value='SY'>
{% set fullpath_tgt_raw = fullpath_tgt | raw %}
@@ -152,16 +152,16 @@
<br/>
{% else %}
<br/><br/><h4>{{ fullpath_src | raw }}</h4><br/><br/>
{% trans 'thesaurus:: Accepter la branche comme' %}
&nbsp;{% trans 'thesaurus:: comme terme specifique' %}
{{ 'thesaurus:: Accepter la branche comme' | trans }}
&nbsp;{{ 'thesaurus:: comme terme specifique' | trans }}
<br/><br/><h4>{{ fullpath_tgt | raw }}</h4><br/><br/>
<input type='hidden' name='as' value='TS'>
{% endif %}
<br/>
<br/>
<input style="position:relative; z-index:2; width:100px" type="button" id="ok_button" value="{% trans 'boutton::valider' %}" onclick="ok();">
<input style="position:relative; z-index:2; width:100px" type="button" id="ok_button" value="{{ 'boutton::valider' | trans }}" onclick="ok();">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input style="position:relative; z-index:2; width:100px" type="button" id="cancel_button" value="{% trans 'boutton::annuler' %}" onclick="self.close();">
<input style="position:relative; z-index:2; width:100px" type="button" id="cancel_button" value="{{ 'boutton::annuler' | trans }}" onclick="self.close();">
</form>
</center>
{% else %}
@@ -179,7 +179,7 @@
<br/>
<br/>
<br/>
<input style="position:relative; z-index:2; width:100px" type="button" id="cancel_button" value="{% trans 'boutton::annuler' %}" onclick="self.close();">
<input style="position:relative; z-index:2; width:100px" type="button" id="cancel_button" value="{{ 'boutton::annuler' | trans }}" onclick="self.close();">
{% endif %}
{% endif %}
{% endif %}

View File

@@ -1,7 +1,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="{{ app['locale.I18n'] }}">
<head>
<title>{% trans 'thesaurus:: export au format texte' %}</title>
<title>{{ 'thesaurus:: export au format texte' | trans }}</title>
<link REL="stylesheet" TYPE="text/css" href="{{ path('minifier', { 'f' : 'skins/thesaurus/thesaurus.css' }) }}" />
<script type="text/javascript">
@@ -68,8 +68,8 @@
<table>
<thead>
<tr>
<th>{% trans 'thesaurus:: options d\'export : ' %}</th>
<th>{% trans 'thesaurus:: example' %}</th>
<th>{{ 'thesaurus:: options d\'export : ' | trans }}</th>
<th>{{ 'thesaurus:: example' | trans }}</th>
</tr>
</thead>
<tbody>
@@ -77,28 +77,28 @@
<td valign="top" style="padding:5px">
<div style="white-space:nowrap">
<input type='radio' name='ofm' checked value='text'>
{% trans 'thesaurus:: export au format texte' %}
{{ 'thesaurus:: export au format texte' | trans }}
</div>
<div id='subform_text' style="margin-left:10px;">
<div style="white-space:nowrap">
<input type='radio' name='osl' checked value='1' onclick="chgFormat();">
{% trans 'thesaurus:: exporter avec les synonymes sur la meme ligne' %}
{{ 'thesaurus:: exporter avec les synonymes sur la meme ligne' | trans }}
</div>
<div style="white-space:nowrap">
<input type='radio' name='osl' value='0' onclick="chgFormat();">
{% trans 'thesaurus:: exporter avec une ligne par synonyme' %}
{{ 'thesaurus:: exporter avec une ligne par synonyme' | trans }}
</div>
<div style="white-space:nowrap">
<input type='checkbox' name='iln' value='1' onclick="chgFormat();">
{% trans 'thesaurus:: export : numeroter les lignes ' %}
{{ 'thesaurus:: export : numeroter les lignes ' | trans }}
</div>
<div style="white-space:nowrap">
<input type='checkbox' name='ilg' value='1' onclick="chgFormat();">
{% trans 'thesaurus:: export : inclure la langue' %}
{{ 'thesaurus:: export : inclure la langue' | trans }}
</div>
<div style="white-space:nowrap">
<input type='checkbox' name='hit' value='1' onclick="chgFormat();">
{% trans 'thesaurus:: export : inclure les hits' %}
{{ 'thesaurus:: export : inclure les hits' | trans }}
</div>
</div>
</td>
@@ -110,9 +110,9 @@
</table>
<br/>
<br/>
<input type="button" id="cancel_button" value="{% trans 'boutton::annuler' %}" onclick="clkBut('cancel');" style="width:100px;">
<input type="button" id="cancel_button" value="{{ 'boutton::annuler' | trans }}" onclick="clkBut('cancel');" style="width:100px;">
&nbsp;&nbsp;&nbsp;
<input type="button" id="submit_button" value="{% trans 'boutton::valider' %}" onclick="clkBut('submit');" style="width:100px;">
<input type="button" id="submit_button" value="{{ 'boutton::valider' | trans }}" onclick="clkBut('submit');" style="width:100px;">
</form>
</center>
</body>

View File

@@ -1,7 +1,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="{{ app['locale.I18n'] }}">
<head>
<title>{% trans 'thesaurus:: export au format texte' %}</title>
<title>{{ 'thesaurus:: export au format texte' | trans }}</title>
<link REL="stylesheet" TYPE="text/css" href="{{ path('minifier', { 'f' : 'skins/thesaurus/thesaurus.css' }) }}" />
<script type="text/javascript">
function loaded()

View File

@@ -1,7 +1,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="{{ app['locale.I18n'] }}">
<head>
<title>{% trans 'thesaurus:: export en topics' %}</title>
<title>{{ 'thesaurus:: export en topics' | trans }}</title>
<link REL="stylesheet" TYPE="text/css" href="{{ path('minifier', { 'f' : 'skins/thesaurus/thesaurus.css' }) }}" />
<script type="text/javascript">
var format = '???';
@@ -68,10 +68,10 @@
<div style="padding:10px;">
<div class="x3Dbox">
<span class="title">{% trans 'thesaurus:: exporter' %}</span>
<span class="title">{{ 'thesaurus:: exporter' | trans }}</span>
<div style="white-space:nowrap">
<input type='radio' name='ofm' checked value='tofiles' onclick="chgFormat();">
{% trans 'thesaurus:: exporter vers topics pour toutes les langues' %}
{{ 'thesaurus:: exporter vers topics pour toutes les langues' | trans }}
</div>
<div style="white-space:nowrap">
<input type='radio' name='ofm' value='toscreen' onclick="chgFormat();">
@@ -84,60 +84,60 @@
<br/>
<div class="x3Dbox">
<span class="title">{% trans 'phraseanet:: tri' %}</span>
<span class="title">{{ 'phraseanet:: tri' | trans }}</span>
<div style="white-space:nowrap">
<input type='checkbox' name='srt' checked onclick="chgFormat();">
{% trans 'phraseanet:: tri par date' %}
{{ 'phraseanet:: tri par date' | trans }}
</div>
</div>
<br/>
<div class="x3Dbox">
<span class="title">{% trans 'thesaurus:: recherche' %}</span>
<span class="title">{{ 'thesaurus:: recherche' | trans }}</span>
<div style="white-space:nowrap">
<input type='radio' name='sth' value="1" checked onclick="chgFormat();">
{% trans 'thesaurus:: recherche thesaurus *:"query"' %}
{{ 'thesaurus:: recherche thesaurus *:"query"' | trans }}
</div>
<div style="white-space:nowrap">
<input type='radio' name='sth' value="0" onclick="chgFormat();">
{% trans 'thesaurus:: recherche fulltext' %}
{{ 'thesaurus:: recherche fulltext' | trans }}
</div>
<div style="white-space:nowrap">
<input type='checkbox' name='sand' onclick="chgFormat();">
{% trans 'thesaurus:: question complete (avec operateurs)' %}
{{ 'thesaurus:: question complete (avec operateurs)' | trans }}
</div>
</div>
<br/>
<div class="x3Dbox">
<span class="title">{% trans 'thesaurus:: presentation' %}</span>
<span class="title">{{ 'thesaurus:: presentation' | trans }}</span>
<div style="white-space:nowrap">
<input type='radio' name='obrf' value="from_itf_closable" checked onclick="chgFormat();">
{% trans 'thesaurus:: presentation : branches refermables' %}
{{ 'thesaurus:: presentation : branches refermables' | trans }}
</div>
<div style="white-space:nowrap">
<input type='radio' name='obrf' value="from_itf_static" onclick="chgFormat();">
{% trans 'thesaurus:: presentation : branche ouvertes' %}
{{ 'thesaurus:: presentation : branche ouvertes' | trans }}
</div>
<div style="white-space:nowrap">
<input type='radio' name='obrf' value="all_opened_closable" onclick="chgFormat();">
{% trans 'thesaurus:: tout deployer - refermable' %}
{{ 'thesaurus:: tout deployer - refermable' | trans }}
</div>
<div style="white-space:nowrap">
<input type='radio' name='obrf' value="all_opened_static" onclick="chgFormat();">
{% trans 'thesaurus:: tout deployer - statique' %}
{{ 'thesaurus:: tout deployer - statique' | trans }}
</div>
<div style="white-space:nowrap">
<input type='radio' name='obrf' value="all_closed" onclick="chgFormat();">
{% trans 'thesaurus:: tout fermer' %}
{{ 'thesaurus:: tout fermer' | trans }}
</div>
</div>
</div>
<input type="button" id="cancel_button" value="{% trans 'boutton::annuler' %}" onclick="clkBut('cancel');" style="width:100px;">
<input type="button" id="cancel_button" value="{{ 'boutton::annuler' | trans }}" onclick="clkBut('cancel');" style="width:100px;">
&nbsp;&nbsp;&nbsp;
<input type="button" id="submit_button" value="{% trans 'boutton::valider' %}" onclick="clkBut('submit');" style="width:100px;">
<input type="button" id="submit_button" value="{{ 'boutton::valider' | trans }}" onclick="clkBut('submit');" style="width:100px;">
</form>
</center>
</body>

View File

@@ -1,7 +1,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="{{ app['locale.I18n'] }}">
<head>
<title>{% trans 'thesaurus:: export en topics' %}</title>
<title>{{ 'thesaurus:: export en topics' | trans }}</title>
<link REL="stylesheet" TYPE="text/css" href="{{ path('minifier', { 'f' : 'skins/thesaurus/thesaurus.css' }) }}" />
<style>
.toscreen
@@ -35,7 +35,7 @@
<br/>
<br/>
<br/>
<input type="button" value="{% trans 'boutton::fermer' %}" onclick="self.close();" style="width:100px;">
<input type="button" value="{{ 'boutton::fermer' | trans }}" onclick="self.close();" style="width:100px;">
</center>
{% endif %}
</div>

View File

@@ -7,7 +7,7 @@
<html lang="{{ app['locale.I18n'] }}">
<head>
<base target="_self">
<title>{% trans 'thesaurus:: Importer' %}</title>
<title>{{ 'thesaurus:: Importer' | trans }}</title>
<link REL="stylesheet" TYPE="text/css" href="{{ path('minifier', { 'f' : 'skins/thesaurus/thesaurus.css' }) }}" />
<script type="text/javascript">
function clkBut(button)
@@ -49,26 +49,26 @@
<input type="hidden" name="id" value="{{ id }}" >
<input type="hidden" name="dlg" value="{{ dlg }}" >
<div>
<div style="float:right">{% trans 'thesaurus:: langue par default' %} <img src='/skins/icons/flag_18.gif' /> {{ piv }}</div>
<div style="float:right">{{ 'thesaurus:: langue par default' | trans }} <img src='/skins/icons/flag_18.gif' /> {{ piv }}</div>
</div>
<br/>
{% trans 'Fichier ASCII tabule' %}
{{ 'Fichier ASCII tabule' | trans }}
<input type="file" name="fil" /> (max 16Mo)
<br/>
<div style="text-align:center">
<table>
<tr>
<td style="text-align:left"><input type="checkbox" disabled="disabled" name="dlk" checked="checked">{% trans 'thesaurus:: supprimer les liens des champs tbranch' %}</td>
<td style="text-align:left"><input type="checkbox" disabled="disabled" name="dlk" checked="checked">{{ 'thesaurus:: supprimer les liens des champs tbranch' | trans }}</td>
</tr>
<tr>
<td style="text-align:left"><input type="checkbox" disabled="disabled" name="rdx">{% trans 'thesaurus:: reindexer la base apres l\'import' %}</td>
<td style="text-align:left"><input type="checkbox" disabled="disabled" name="rdx">{{ 'thesaurus:: reindexer la base apres l\'import' | trans }}</td>
</tr>
</table>
<br/>
<input type="button" id="cancel_button" value="{% trans 'boutton::annuler' %}" onclick="clkBut('cancel');" style="width:100px;">
<input type="button" id="cancel_button" value="{{ 'boutton::annuler' | trans }}" onclick="clkBut('cancel');" style="width:100px;">
&nbsp;&nbsp;&nbsp;
<input type="button" id="submit_button" value="{% trans 'boutton::valider' %}" onclick="clkBut('submit');" style="width:100px;">
<input type="button" id="submit_button" value="{{ 'boutton::valider' | trans }}" onclick="clkBut('submit');" style="width:100px;">
</div>
</form>
<iframe style="display:block; height:50px;" name="IFRIM"></iframe>

View File

@@ -2,7 +2,7 @@
<html lang="{{ app['locale.I18n'] }}">
<head>
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<title>{{ app['phraseanet.registry'].get('GV_homeTitle') }} - {% trans 'phraseanet:: thesaurus' %}</title>
<title>{{ app['phraseanet.registry'].get('GV_homeTitle') }} - {{ 'phraseanet:: thesaurus' | trans }}</title>
<link rel="shortcut icon" type="image/x-icon" href="/skins/thesaurus/favicon.ico">
<link REL="stylesheet" TYPE="text/css" href="{{ path('minifier', { 'f' : 'skins/thesaurus/thesaurus.css' }) }}" />
</head>
@@ -15,9 +15,9 @@
{% if count_bases > 0 %}
<form name="fBase" action="{{ path('thesaurus_thesaurus') }}" method="post">
{% trans 'thesaurus:: Editer le thesaurus' %}
{{ 'thesaurus:: Editer le thesaurus' | trans }}
<select name="bid" onchange="ckok();return(true);">
<option value="">{% trans 'phraseanet:: choisir' %}</option>
<option value="">{{ 'phraseanet:: choisir' | trans }}</option>
{% for sbas_id, name in bases %}
<option value="{{ sbas_id }}">{{ name }}</option>
{% endfor %}
@@ -37,7 +37,7 @@
</script>
<table>
<tr>
<td>{% trans 'thesaurus:: langue pivot' %}</td>
<td>{{ 'thesaurus:: langue pivot' | trans }}</td>
{% for code, language in languages %}
<td style="text-align:left">
<input type='radio' onclick="ckok();return(true);" value='{{ code }}' name='piv'>
@@ -48,10 +48,10 @@
</table>
<br/>
<br/>
<input disabled="disabled" id="button_ok" type="submit" style="width:80px;" value="{% trans 'boutton::valider' %}" /><br/>
<input disabled="disabled" id="button_ok" type="submit" style="width:80px;" value="{{ 'boutton::valider' | trans }}" /><br/>
</form>
{% else %}
{% trans 'thesaurus:: Vous n\'avez acces a aucune base' %}
{{ 'thesaurus:: Vous n\'avez acces a aucune base' | trans }}
{% endif %}
</center>
</body>

View File

@@ -1,7 +1,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="{{ app['locale.I18n'] }}">
<head>
<title>{% trans 'thesaurus:: Lier la branche de thesaurus au champ' %}</title>
<title>{{ 'thesaurus:: Lier la branche de thesaurus au champ' | trans }}</title>
<link REL="stylesheet" TYPE="text/css" href="{{ path('minifier', { 'f' : 'skins/thesaurus/thesaurus.css' }) }}" />
@@ -57,9 +57,9 @@
{% endfor %}
</div>
<br/>
<input type="button" id="submit_button" value="{% trans 'boutton::valider' %}" onclick="clkBut('submit');">
<input type="button" id="submit_button" value="{{ 'boutton::valider' | trans }}" onclick="clkBut('submit');">
&nbsp;&nbsp;&nbsp;
<input type="button" id="cancel_button" value="{% trans 'boutton::annuler' %}" onclick="clkBut('cancel');">
<input type="button" id="cancel_button" value="{{ 'boutton::annuler' | trans }}" onclick="clkBut('cancel');">
</form>
</center>
</body>

View File

@@ -1,7 +1,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="{{ app['locale.I18n'] }}">
<head>
<title>{% trans 'thesaurus:: Lier la branche de thesaurus' %}</title>
<title>{{ 'thesaurus:: Lier la branche de thesaurus' | trans }}</title>
<link REL="stylesheet" TYPE="text/css" href="{{ path('minifier', { 'f' : 'skins/thesaurus/thesaurus.css' }) }}" />
@@ -43,19 +43,19 @@
{% endtrans %}
<br/>
{% endif %}
{% trans 'thesaurus:: nouvelle branche' %} : {{ branches['new_branch'] }}
{{ 'thesaurus:: nouvelle branche' | trans }} : {{ branches['new_branch'] }}
<br/>
{% if branches['old_branch'] is not none and '' == branches['new_branch'] %}
<b>{{ fieldname }}</b>{% trans 'thesaurus:: ce champ n\'est plus lie au thesaurus, les termes indexes et candidats seront supprimes' %}
<b>{{ fieldname }}</b>{{ 'thesaurus:: ce champ n\'est plus lie au thesaurus, les termes indexes et candidats seront supprimes' | trans }}
<br/>
<input type="hidden" name="f2unlk[]" value="{{ fieldname }}">
{% endif %}
{% if '' != branches['new_branch'] %}
{% if '' == branches['old_branch'] %}
<b>{{ fieldname }}</b>{% trans 'thesaurus:: ce champ doit etre lie au thesaurus. La reindexation de la base est necessaire' %}
<b>{{ fieldname }}</b>{{ 'thesaurus:: ce champ doit etre lie au thesaurus. La reindexation de la base est necessaire' | trans }}
{% else %}
<b>{{ fieldname }}</b>{% trans 'thesaurus:: le lien au thesaurus doit etre modifie, la reindexation de la base est necessaire' %}
<b>{{ fieldname }}</b>{{ 'thesaurus:: le lien au thesaurus doit etre modifie, la reindexation de la base est necessaire' | trans }}
{% endif %}
<br/>
<input type="hidden" name="fbranch[]" value="{{fieldname}}<{{ branches['new_branch'] }}"/>
@@ -65,14 +65,14 @@
{% if need_reindex %}
<input type="hidden" name="reindex" value="1">
<div style='position:absolute; top:5px; left:0px; width:100%; text-align:center; color:red'>{% trans 'thesaurus:: reindexation necessaire' %}</div>
<div style='position:absolute; top:5px; left:0px; width:100%; text-align:center; color:red'>{{ 'thesaurus:: reindexation necessaire' | trans }}</div>
{% else %}
<div style='position:absolute; top:5px; left:0px; width:100%; text-align:center; color:green'>{% trans 'thesaurus:: pas de reindexation' %}</div>
<div style='position:absolute; top:5px; left:0px; width:100%; text-align:center; color:green'>{{ 'thesaurus:: pas de reindexation' | trans }}</div>
{% endif %}
<br/>
<input type="button" id="submit_button" value="{% trans 'boutton::valider' %}" onclick="clkBut('submit');">
<input type="button" id="submit_button" value="{{ 'boutton::valider' | trans }}" onclick="clkBut('submit');">
&nbsp;&nbsp;&nbsp;
<input type="button" id="cancel_button" value="{% trans 'boutton::annuler' %}" onclick="clkBut('cancel');">
<input type="button" id="cancel_button" value="{{ 'boutton::annuler' | trans }}" onclick="clkBut('cancel');">
</form>
</center>
</body>

View File

@@ -1,7 +1,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="{{ app['locale.I18n'] }}">
<head>
<title>{% trans 'thesaurus:: Lier la branche de thesaurus' %}</title>
<title>{{ 'thesaurus:: Lier la branche de thesaurus' | trans }}</title>
<link REL="stylesheet" TYPE="text/css" href="{{ path('minifier', { 'f' : 'skins/thesaurus/thesaurus.css' }) }}" />
</head>
<body class="dialog">
@@ -32,7 +32,7 @@
{% endfor %}
{% if ctchanged %}
{% trans 'thesaurus:: enregistrement de la liste modifiee des mots candidats.' %}
{{ 'thesaurus:: enregistrement de la liste modifiee des mots candidats.' | trans }}
<br/>
{% endif %}
@@ -44,12 +44,12 @@
{% endfor %}
{% if reindexed %}
{% trans 'thesaurus:: reindexer tous les enregistrements' %}
{{ 'thesaurus:: reindexer tous les enregistrements' | trans }}
<br/>
{% endif %}
</div>
<br/>
<input type="button" value="{% trans 'boutton::fermer' %}" onclick="self.close();">
<input type="button" value="{{ 'boutton::fermer' | trans }}" onclick="self.close();">
</form>
</center>
</body>

View File

@@ -55,12 +55,12 @@
<td><input type="text" style="width:250px;" name="term"></td>
</tr>
<tr>
<td style="text-align:right">{% trans 'thesaurus:: contexte' %} : </td>
<td style="text-align:right">{{ 'thesaurus:: contexte' | trans }} : </td>
<td><b>(</b>&nbsp;</td>
<td><input type="text" style="width:250px;" name="context">&nbsp;<b>)</b></td>
</tr>
<tr>
<td valign="bottom" style="text-align:right">{% trans 'phraseanet:: language' %} :&nbsp;</td>
<td valign="bottom" style="text-align:right">{{ 'phraseanet:: language' | trans }} :&nbsp;</td>
<td></td>
<td valign="bottom">
{% for code, language in languages %}
@@ -75,9 +75,9 @@
</table>
<br/>
<div style="position:absolute; left:0px; bottom:0px; width:100%; text-align:center">
<input type="button" style="width:80px;" id="cancel_button" value="{% trans 'boutton::annuler' %}" onclick="clkBut('cancel');" style="width:80px">
<input type="button" style="width:80px;" id="cancel_button" value="{{ 'boutton::annuler' | trans }}" onclick="clkBut('cancel');" style="width:80px">
&nbsp;&nbsp;
<input type="button" style="width:80px;" id="submit_button" value="{% trans 'boutton::valider' %}" onclick="clkBut('submit');" style="width:80px">
<input type="button" style="width:80px;" id="submit_button" value="{{ 'boutton::valider' | trans }}" onclick="clkBut('submit');" style="width:80px">
<br/>
<br/>
</div>

View File

@@ -1,7 +1,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="{{ app['locale.I18n'] }}">
<head>
<title>{% if typ == "TS" %}{% trans 'thesaurus:: Nouveau terme specifique' %}{% else %}{% trans 'thesaurus:: Nouveau synonyme' %}{% endif %}</title>
<title>{% if typ == "TS" %}{{ 'thesaurus:: Nouveau terme specifique' | trans }}{% else %}{{ 'thesaurus:: Nouveau synonyme' | trans }}{% endif %}</title>
<link REL="stylesheet" TYPE="text/css" href="{{ path('minifier', { 'f' : 'skins/thesaurus/thesaurus.css' }) }}" />
<script type="text/javascript" src="{{ path('minifier', { 'f' : 'skins/thesaurus/xmlhttp.js' }) }}"></script>
</head>
@@ -52,9 +52,9 @@
{{ 'thesaurus:: selectionner la provenance a accepter' | trans }}
{% endif %}
<br/>
<input type="button" id="cancel_button" value="{% trans 'boutton::annuler' %}" onclick="clkBut('cancel');" style="width:100px;">
<input type="button" id="cancel_button" value="{{ 'boutton::annuler' | trans }}" onclick="clkBut('cancel');" style="width:100px;">
&nbsp;&nbsp;&nbsp;
<input type="button" id="submit_button" value="{% trans 'boutton::valider' %}" onclick="clkBut('submit');" style="width:100px;">
<input type="button" id="submit_button" value="{{ 'boutton::valider' | trans }}" onclick="clkBut('submit');" style="width:100px;">
</form>
</center>
{% else %}
@@ -70,7 +70,7 @@
{% set prop_label = 'thesaurus:: n\'est pas present dans les candidats' | trans %}
{% endif %}
<br/>
<h3>{% trans 'thesaurus:: attention :' %}</h3>
<h3>{{ 'thesaurus:: attention :' | trans }}</h3>
<br/>
<br/>
{{ zterm }}
@@ -81,14 +81,14 @@
<form>
<center>
<div class='x3Dbox' style='margin:15px; height:90px; overflow:auto;'>
<input type="radio" name="reindex" value="0" id="rad0" checked><label for="rad0">{% trans 'thesaurus:: Ajouter le terme dans reindexer' %}</label><br/>
<input type="radio" name="reindex" value="0" id="rad0" checked><label for="rad0">{{ 'thesaurus:: Ajouter le terme dans reindexer' | trans }}</label><br/>
<br/>
<input type="radio" name="reindex" value="1" id="rad1"><label for="rad1">{% trans 'thesaurus:: ajouter le terme et reindexer' %}</label><br/>
<input type="radio" name="reindex" value="1" id="rad1"><label for="rad1">{{ 'thesaurus:: ajouter le terme et reindexer' | trans }}</label><br/>
</div>
</center>
<input type="button" id="cancel_button" value="{% trans 'boutton::annuler' %}" onclick="clkBut('cancel');" style="width:100px;">
<input type="button" id="cancel_button" value="{{ 'boutton::annuler' | trans }}" onclick="clkBut('cancel');" style="width:100px;">
&nbsp;&nbsp;&nbsp;
<input type="button" id="submit_button" value="{% trans 'boutton::valider' %}" onclick="clkBut('submit');" style="width:100px;">
<input type="button" id="submit_button" value="{{ 'boutton::valider' | trans }}" onclick="clkBut('submit');" style="width:100px;">
</form>
{% endif %}
</body>

View File

@@ -6,7 +6,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="{{ app['locale.I18n'] }}">
<head>
<title>{% trans 'thesaurus:: Proprietes' %}</title>
<title>{{ 'thesaurus:: Proprietes' | trans }}</title>
<link REL="stylesheet" TYPE="text/css" href="{{ path('minifier', { 'f' : 'skins/thesaurus/thesaurus.css' }) }}" />
<style type="text/css">
a
@@ -45,8 +45,8 @@
{% endfor %}
</div>
<div class="menu" id="syMenu" style="z-index:50">
<a href="javascript:void(0)" id="delete_sy">{% trans 'thesaurus::menu: supprimer' %}</a>
<a href="javascript:void(0)" id="replace_sy" class="disabled">{% trans 'thesaurus:: remplacer' %}</a>
<a href="javascript:void(0)" id="delete_sy">{{ 'thesaurus::menu: supprimer' | trans }}</a>
<a href="javascript:void(0)" id="replace_sy" class="disabled">{{ 'thesaurus:: remplacer' | trans }}</a>
</div>
<div style='text-align:right'>
@@ -75,9 +75,9 @@
<tr>
<th>&nbsp;</th>
<th>&nbsp;</th>
<th>{% trans 'thesaurus:: synonymes' %}</th>
<th>{% trans 'thesaurus:: hits' %}</th>
<th>{% trans 'thesaurus:: ids' %}</th>
<th>{{ 'thesaurus:: synonymes' | trans }}</th>
<th>{{ 'thesaurus:: hits' | trans }}</th>
<th>{{ 'thesaurus:: ids' | trans }}</th>
<th></th>
</tr>
</thead>
@@ -120,7 +120,7 @@
</div>
<center>
<form onsubmit="return(false);">
<input style="position:relative; z-index:2" type="button" id="close_button" value="{% trans 'boutton::fermer' %}" onclick="self.close();">
<input style="position:relative; z-index:2" type="button" id="close_button" value="{{ 'boutton::fermer' | trans }}" onclick="self.close();">
</form>
</center>
<script type="text/javascript">

View File

@@ -1,7 +1,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="{{ app['locale.I18n'] }}">
<head>
<title>{% trans 'Chercher' %}</title>
<title>{{ 'Chercher' | trans }}</title>
<link REL="stylesheet" TYPE="text/css" href="{{ path('minifier', { 'f' : 'skins/thesaurus/thesaurus.css' }) }}" />
<script type="text/javascript">
function clkBut(button)
@@ -38,16 +38,16 @@
<form onsubmit="clkBut('submit');return(false);">
<table>
<tr>
<td>{% trans 'thesaurus:: le terme' %}</td>
<td><input type="radio" name="m" value="equal">{% trans 'thesaurus:: est egal a ' %}</td>
<td>{{ 'thesaurus:: le terme' | trans }}</td>
<td><input type="radio" name="m" value="equal">{{ 'thesaurus:: est egal a ' | trans }}</td>
</tr>
<tr>
<td />
<td><input type="radio" checked name="m" value="begins">{% trans 'thesaurus:: commence par' %}</td>
<td><input type="radio" checked name="m" value="begins">{{ 'thesaurus:: commence par' | trans }}</td>
</tr>
<tr>
<td />
<td><input type="radio" name="m" value="contains">{% trans 'thesaurus:: contient' %}</td>
<td><input type="radio" name="m" value="contains">{{ 'thesaurus:: contient' | trans }}</td>
</tr>
</table>
<br/>
@@ -55,9 +55,9 @@
<br/>
<br/>
<br/>
<input type="button" id="cancel_button" value="{% trans 'boutton::annuler' %}" onclick="clkBut('cancel');" style="width:80px;">
<input type="button" id="cancel_button" value="{{ 'boutton::annuler' | trans }}" onclick="clkBut('cancel');" style="width:80px;">
&nbsp;&nbsp;&nbsp;
<input type="button" id="submit_button" value="{% trans 'boutton::chercher' %}" onclick="clkBut('submit');" disabled style="width:80px;">
<input type="button" id="submit_button" value="{{ 'boutton::chercher' | trans }}" onclick="clkBut('submit');" disabled style="width:80px;">
</form>
</center>
</body>

View File

@@ -1,7 +1,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="{{ app['locale.I18n'] }}">
<head>
<title>{{ app['phraseanet.registry'].get('GV_homeTitle') }} - {% trans 'phraseanet:: thesaurus' %}</title>
<title>{{ app['phraseanet.registry'].get('GV_homeTitle') }} - {{ 'phraseanet:: thesaurus' | trans }}</title>
<style id="STYLES">
DIV.glossaire DIV.r1_
{
@@ -63,7 +63,7 @@
f = document.forms["fBase"];
document.getElementById("T0").innerHTML = document.getElementById("T1").innerHTML = "{% trans 'phraseanet::chargement' %}";
document.getElementById("T0").innerHTML = document.getElementById("T1").innerHTML = "{{ 'phraseanet::chargement' | trans }}";
f.target = "IFR0";
f.submit();
@@ -135,32 +135,32 @@
{% endfor %}
</div>
<div class="menu" id="kctermMenu" style="z-index:50; width:240px;">
<a href="javascript:void(0)" class="" id="kcterm_properties" style="font-weight:700">{% trans 'thesaurus::menu: proprietes' %}</a>
<a href="javascript:void(0)" class="" id="kcterm_reject">{% trans 'thesaurus::menu: refuser' %}</a>
<a href="javascript:void(0)" class="disabled" id="kcterm_accept">{% trans 'thesaurus::menu: accepter' %}</a>
<a href="javascript:void(0)" class="" id="kcterm_properties" style="font-weight:700">{{ 'thesaurus::menu: proprietes' | trans }}</a>
<a href="javascript:void(0)" class="" id="kcterm_reject">{{ 'thesaurus::menu: refuser' | trans }}</a>
<a href="javascript:void(0)" class="disabled" id="kcterm_accept">{{ 'thesaurus::menu: accepter' | trans }}</a>
<div class="line"></div>
<a href="javascript:void(0)" class="" id="kcterm_delete">{% trans 'thesaurus::menu: supprimer' %}</a>
<a href="javascript:void(0)" class="" id="kcterm_delete0hits">{% trans 'thesaurus::menu: supprimer les candidats a 0 hits' %}</a>
<a href="javascript:void(0)" class="" id="kcterm_delete">{{ 'thesaurus::menu: supprimer' | trans }}</a>
<a href="javascript:void(0)" class="" id="kcterm_delete0hits">{{ 'thesaurus::menu: supprimer les candidats a 0 hits' | trans }}</a>
<div class="line"></div>
<a href="javascript:void(0)" class="" id="kcterm_search">{% trans 'thesaurus::menu: chercher' %}</a>
<a href="javascript:void(0)" class="" id="kcterm_export">{% trans 'thesaurus::menu: exporter' %}</a>
<a href="javascript:void(0)" class="" id="kcterm_search">{{ 'thesaurus::menu: chercher' | trans }}</a>
<a href="javascript:void(0)" class="" id="kcterm_export">{{ 'thesaurus::menu: exporter' | trans }}</a>
</div>
<div class="menu" id="kThMenu" style="z-index:50; width:200px;">
<a href="javascript:void(0)" class="" id="kth_import">{% trans 'thesaurus::menu: importer' %}</a>
<a href="javascript:void(0)" class="" id="kth_import">{{ 'thesaurus::menu: importer' | trans }}</a>
</div>
<div class="menu" id="ktermMenu" style="z-index:50; width:200px;">
<a href="javascript:void(0)" class="" id="kterm_properties" style="font-weight:700">{% trans 'thesaurus::menu: proprietes' %}</a>
<a href="javascript:void(0)" class="" id="kterm_newts">{% trans 'thesaurus::menu: Nouveau terme' %}</a>
<a href="javascript:void(0)" class="" id="kterm_newsy">{% trans 'thesaurus::menu: Nouveau synonyme' %}</a>
<a href="javascript:void(0)" class="" id="kterm_delete">{% trans 'thesaurus::menu: supprimer' %}</a>
<a href="javascript:void(0)" class="" id="kterm_properties" style="font-weight:700">{{ 'thesaurus::menu: proprietes' | trans }}</a>
<a href="javascript:void(0)" class="" id="kterm_newts">{{ 'thesaurus::menu: Nouveau terme' | trans }}</a>
<a href="javascript:void(0)" class="" id="kterm_newsy">{{ 'thesaurus::menu: Nouveau synonyme' | trans }}</a>
<a href="javascript:void(0)" class="" id="kterm_delete">{{ 'thesaurus::menu: supprimer' | trans }}</a>
<div class="line"></div>
<a href="javascript:void(0)" class="" id="kterm_search">{% trans 'thesaurus::menu: chercher' %}</a>
<a href="javascript:void(0)" class="" id="kterm_export">{% trans 'thesaurus::menu: exporter' %}</a>
<a href="javascript:void(0)" class="" id="kterm_topics">{% trans 'thesaurus::menu: export topics' %}</a>
<a href="javascript:void(0)" class="" id="kterm_search">{{ 'thesaurus::menu: chercher' | trans }}</a>
<a href="javascript:void(0)" class="" id="kterm_export">{{ 'thesaurus::menu: exporter' | trans }}</a>
<a href="javascript:void(0)" class="" id="kterm_topics">{{ 'thesaurus::menu: export topics' | trans }}</a>
<div class="line"></div>
<a href="javascript:void(0)" class="" id="kterm_link">{% trans 'thesaurus::menu: lier au champ' %}</a>
<a href="javascript:void(0)" class="" id="kterm_link">{{ 'thesaurus::menu: lier au champ' | trans }}</a>
</div>
<form name="fBase" action="{{ path('thesaurus_loadth') }}" method="post" target="?">
@@ -185,7 +185,7 @@
<div id="id_thbox_bck" class="thbox" style="position:absolute; top:28px; left:8px; right:8px; bottom:8px; background-color:#f4f4f4; xoverflow:hidden">
<div class="onglet" style="background-color:#f0f0f0; border-bottom:1px solid #f4f4f4">
<span id="baseName">{% trans 'phraseanet:: thesaurus' %}</span>
<span id="baseName">{{ 'phraseanet:: thesaurus' | trans }}</span>
<a href="javascript:void();" onclick="fixTh();return(false);" style="visibility:hidden;">X</a>
</div>
@@ -193,10 +193,10 @@
<div id="TabT0" style="position:absolute; top:28px; left:0px; bottom:0px; width:40%;">
<div class="thbox" style="position:absolute; top:0px; bottom:8px; left:6px; right:3px;">
<div class="onglet">{% trans 'thesaurus:: onglet stock' %} <a href="javascript:void();" onclick="test('T0');return(false);" style="visibility:hidden;">X</a>
<div class="onglet">{{ 'thesaurus:: onglet stock' | trans }} <a href="javascript:void();" onclick="test('T0');return(false);" style="visibility:hidden;">X</a>
</div>
<div style="width:100%; overflow:hidden">
<input type="checkbox" name="ckShowRejected" onClick="return(chgCkShowRejected());" /><span style="white-space:nowrap; overflow:hidden">{% trans 'thesaurus:: afficher les termes refuses' %}</span>
<input type="checkbox" name="ckShowRejected" onClick="return(chgCkShowRejected());" /><span style="white-space:nowrap; overflow:hidden">{{ 'thesaurus:: afficher les termes refuses' | trans }}</span>
</div>
<div id="TabT0k" style="position:absolute; top:20px; bottom:0px; left:0px; right:0px; overflow:scroll; border:0px #000000 none">
<div id="T0" style="position:absolute; top:0px; left:0px;">
@@ -207,7 +207,7 @@
<div id="TabT1" style="position:absolute; top:28px; right:0px; bottom:0px; width:60%;">
<div class="thbox" style="position:absolute; top:0px; bottom:8px; left:3px; right:6px;">
<div class="onglet"><span id='TabT1Title' style="cursor:pointer">{% trans 'thesaurus:: onglet thesaurus' %}</span>
<div class="onglet"><span id='TabT1Title' style="cursor:pointer">{{ 'thesaurus:: onglet thesaurus' | trans }}</span>
&nbsp;
<a href="javascript:void();" onclick="test('T1');return(false);" style="visibility:hidden;">X</a>
</div>
@@ -403,9 +403,9 @@
allhits = ret.getElementsByTagName("allhits").item(0).firstChild.nodeValue;
if(allhits==0)
msg = "{% trans 'thesaurus:: Supprimer cette branche ?&#10;(les termes concernes remonteront en candidats a la prochaine indexation)' %}";
msg = "{{ 'thesaurus:: Supprimer cette branche ?&#10;(les termes concernes remonteront en candidats a la prochaine indexation)' | trans }}";
else
msg = "{% trans 'thesaurus:: Des reponses sont retournees par cette branche. &#10;Supprimer quand meme ?&#10;(les termes concernes remonteront en candidats a la prochaine indexation)' %}";
msg = "{{ 'thesaurus:: Des reponses sont retournees par cette branche. &#10;Supprimer quand meme ?&#10;(les termes concernes remonteront en candidats a la prochaine indexation)' | trans }}";
if(confirm(msg))
{