mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
Upgrade locales
This commit is contained in:
@@ -425,7 +425,7 @@ class Push implements ControllerProviderInterface
|
|||||||
foreach (array('see_others', 'usr_id', 'agree', 'HD') as $mandatoryparam)
|
foreach (array('see_others', 'usr_id', 'agree', 'HD') as $mandatoryparam)
|
||||||
{
|
{
|
||||||
if (!array_key_exists($mandatoryparam, $participant))
|
if (!array_key_exists($mandatoryparam, $participant))
|
||||||
throw new ControllerException(sprintf(_('Missing mandatory participant parameter %s'), $mandatoryparam));
|
throw new ControllerException(sprintf(_('Missing mandatory parameter %s'), $mandatoryparam));
|
||||||
}
|
}
|
||||||
|
|
||||||
try
|
try
|
||||||
|
@@ -291,7 +291,7 @@
|
|||||||
$('#users_page_form select[name="per_page"]').bind('change', function(){
|
$('#users_page_form select[name="per_page"]').bind('change', function(){
|
||||||
$(this).closest('form').submit();
|
$(this).closest('form').submit();
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#users_reset_rights button').bind('click', function(){
|
$('#users_reset_rights button').bind('click', function(){
|
||||||
var selectedUsers = $("#users tr.selected");
|
var selectedUsers = $("#users tr.selected");
|
||||||
|
|
||||||
@@ -300,16 +300,16 @@
|
|||||||
alert("{% trans 'select at least one user' %}");
|
alert("{% trans 'select at least one user' %}");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
var users = '';
|
var users = '';
|
||||||
$.each(selectedUsers, function(i,n){
|
$.each(selectedUsers, function(i,n){
|
||||||
users += $(n).attr("id").split("_").pop() + ';';
|
users += $(n).attr("id").split("_").pop() + ';';
|
||||||
});
|
});
|
||||||
|
|
||||||
if(confirm("{% trans 'are you sure you want reset rights ?' %}"))
|
if(confirm("{% trans 'are you sure you want reset rights ?' %}"))
|
||||||
{
|
{
|
||||||
$("#users_reset_rights input[name='users']").val(users);
|
$("#users_reset_rights input[name='users']").val(users);
|
||||||
|
|
||||||
var form = $(this).closest('form');
|
var form = $(this).closest('form');
|
||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
@@ -320,7 +320,7 @@
|
|||||||
success: function(data){
|
success: function(data){
|
||||||
if(data.error)
|
if(data.error)
|
||||||
{
|
{
|
||||||
alert("{% trans 'an error occured' %}");
|
alert("{% trans 'An error occured' %}");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -330,21 +330,21 @@
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
function importlist()
|
function importlist()
|
||||||
{
|
{
|
||||||
var myObj = new Object();
|
var myObj = new Object();
|
||||||
myObj.myOpener = self;
|
myObj.myOpener = self;
|
||||||
window.showModalDialog ('/admin/import0.php?rand='+Math.random(),myObj, 'dialogWidth:550px;dialogHeight:330px;center:yes;help:no;status:no;scrollbars:no' );
|
window.showModalDialog ('/admin/import0.php?rand='+Math.random(),myObj, 'dialogWidth:550px;dialogHeight:330px;center:yes;help:no;status:no;scrollbars:no' );
|
||||||
|
|
||||||
}
|
}
|
||||||
function exportlist()
|
function exportlist()
|
||||||
{
|
{
|
||||||
$('#export_form').submit();
|
$('#export_form').submit();
|
||||||
}
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
@@ -10,13 +10,6 @@
|
|||||||
</div>
|
</div>
|
||||||
<hr/>
|
<hr/>
|
||||||
<div>
|
<div>
|
||||||
{% if field.get_type() == 'datetime' %}
|
|
||||||
{% trans 'phraseanet::technique::datetime-edit-explain' %}<br/>
|
|
||||||
{% elseif field.get_type() == 'date' %}
|
|
||||||
{% trans 'phraseanet::technique::date-edit-explain (aaaa/mm/jj)' %}<br/>
|
|
||||||
{% elseif field.get_type() == 'time' %}
|
|
||||||
{% trans 'phraseanet::technique::time-edit-explain (hh:mm:ss)' %}<br/>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% if field.get_source().minLength() > 0 %}
|
{% if field.get_source().minLength() > 0 %}
|
||||||
{% set minLength = field.get_source().minLength() %}
|
{% set minLength = field.get_source().minLength() %}
|
||||||
|
@@ -2,9 +2,9 @@
|
|||||||
<div class="PNB10 container">
|
<div class="PNB10 container">
|
||||||
<div class="PNB" >
|
<div class="PNB" >
|
||||||
<p style="width:100%;text-align:center;margin-top:30px;padding:10px;font-size:14px;font-weight:900">
|
<p style="width:100%;text-align:center;margin-top:30px;padding:10px;font-size:14px;font-weight:900">
|
||||||
{% set bridge_name = api.get_connector().get_name() %}
|
{% set name = api.get_connector().get_name() %}
|
||||||
{% trans %}
|
{% trans %}
|
||||||
{{ bridge_name }} est momentanement indisponible a cause d'un trop grand nombre de requetes
|
{{ name }} est momentanement indisponible a cause d'un trop grand nombre de requetes
|
||||||
{% endtrans %}
|
{% endtrans %}
|
||||||
|
|
||||||
{%trans %}
|
{%trans %}
|
||||||
|
@@ -85,7 +85,7 @@
|
|||||||
<img src="/skins/icons/dublincore.png" tooltipsrc="/prod/tooltip/DCESInfos/{{field.get_databox().get_sbas_id()}}/{{field.get_id()}}/" alt="{% trans 'Ce champ est decrit comme un element DublinCore' %}" class="DCESTips" />
|
<img src="/skins/icons/dublincore.png" tooltipsrc="/prod/tooltip/DCESInfos/{{field.get_databox().get_sbas_id()}}/{{field.get_id()}}/" alt="{% trans 'Ce champ est decrit comme un element DublinCore' %}" class="DCESTips" />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if field.get_thumbtitle %}
|
{% if field.get_thumbtitle %}
|
||||||
<img src="/skins/icons/titre16.png" title="{% trans 'This field is represent the title of the document' %}" />
|
<img src="/skins/icons/titre16.png" title="{% trans 'This field represents the title of the document' %}" />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<span id="spanidEditFieldBox_{{i}}">
|
<span id="spanidEditFieldBox_{{i}}">
|
||||||
{{field.get_name()}} {% if field.is_required() %}<span style="font-weight:bold;font-size:16px;"> * </span>{% endif %} :
|
{{field.get_name()}} {% if field.is_required() %}<span style="font-weight:bold;font-size:16px;"> * </span>{% endif %} :
|
||||||
|
Reference in New Issue
Block a user