Upgrade locales

This commit is contained in:
Romain Neutron
2012-03-19 18:08:28 +01:00
parent f9f973e04a
commit 79889eba2b
5 changed files with 14 additions and 21 deletions

View File

@@ -425,7 +425,7 @@ class Push implements ControllerProviderInterface
foreach (array('see_others', 'usr_id', 'agree', 'HD') as $mandatoryparam)
{
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

View File

@@ -291,7 +291,7 @@
$('#users_page_form select[name="per_page"]').bind('change', function(){
$(this).closest('form').submit();
});
$('#users_reset_rights button').bind('click', function(){
var selectedUsers = $("#users tr.selected");
@@ -300,16 +300,16 @@
alert("{% trans 'select at least one user' %}");
return;
}
var users = '';
$.each(selectedUsers, function(i,n){
users += $(n).attr("id").split("_").pop() + ';';
});
if(confirm("{% trans 'are you sure you want reset rights ?' %}"))
{
$("#users_reset_rights input[name='users']").val(users);
var form = $(this).closest('form');
$.ajax({
@@ -320,7 +320,7 @@
success: function(data){
if(data.error)
{
alert("{% trans 'an error occured' %}");
alert("{% trans 'An error occured' %}");
}
else
{
@@ -330,21 +330,21 @@
});
}
});
});
function importlist()
{
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' );
}
function exportlist()
{
$('#export_form').submit();
}
</script>
</div>
{% endblock %}

View File

@@ -10,13 +10,6 @@
</div>
<hr/>
<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 %}
{% set minLength = field.get_source().minLength() %}

View File

@@ -2,9 +2,9 @@
<div class="PNB10 container">
<div class="PNB" >
<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 %}
{{ 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 %}
{%trans %}

View File

@@ -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" />
{% endif %}
{% 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 %}
<span id="spanidEditFieldBox_{{i}}">
{{field.get_name()}} {% if field.is_required() %}<span style="font-weight:bold;font-size:16px;"> * </span>{% endif %} :