- {% trans 'phraseanet:: language' %} : |
+ {{ 'phraseanet:: language' %} : |
|
{% for code, language in flags %}
@@ -620,13 +620,13 @@
$("#SEARCH_DLG").dialog("option", "buttons",
[
{
- text:"{% trans 'boutton::annuler' %}",
+ text:"{{ 'boutton::annuler' %}",
click: function() {
$(this).dialog("close");
}
} ,
{
- text:"{% trans 'boutton::chercher' %}",
+ text:"{{ 'boutton::chercher' %}",
click:function() {
var zdialog = $(this);
var nid = cbParm.id.substr(4).replace(".", "\\.", "g");
@@ -1012,19 +1012,19 @@
case "kterm_newsy": // nouveau synonyme
var typ = menuelem_id=="kterm_newts" ? "TS" : "SY";
$("#NEWSY_DLG .label").html(
- typ=="TS" ? "{% trans 'thesaurus:: terme' %}" : "{% trans 'thesaurus:: synonyme' %}"
+ typ=="TS" ? "{{ 'thesaurus:: terme' | trans }}" : "{{ 'thesaurus:: synonyme' | trans }}"
);
- $("#NEWSY_DLG").dialog("option", "title", typ=="TS" ? "{% trans 'thesaurus:: Nouveau terme' %}" : "{% trans 'thesaurus:: Nouveau synonyme' %}");
+ $("#NEWSY_DLG").dialog("option", "title", typ=="TS" ? "{{ 'thesaurus:: Nouveau terme' | trans }}" : "{{ 'thesaurus:: Nouveau synonyme' | trans }}");
$("#NEWSY_DLG").dialog("option", "buttons",
[
{
- text:"{% trans 'boutton::annuler' %}",
+ text:"{{ 'boutton::annuler' | trans }}",
click: function() {
$(this).dialog("close");
}
} ,
{
- text:"{% trans 'boutton::valider' %}",
+ text:"{{ 'boutton::valider' | trans }}",
click:function() {
var zdialog = $(this);
var myObj = { "win":window };
@@ -1117,13 +1117,13 @@
$("#SEARCH_DLG").dialog("option", "buttons",
[
{
- text:"{% trans 'boutton::annuler' %}",
+ text:"{{ 'boutton::annuler' | trans }}",
click: function() {
$(this).dialog("close");
}
} ,
{
- text:"{% trans 'boutton::chercher' %}",
+ text:"{{ 'boutton::chercher' | trans }}",
click:function() {
var zdialog = $(this);
var nid = cbParm.id.substr(4).replace(".", "\\.", "g");
|