// Fix incorrect translation strings in tpl
This commit is contained in:
@@ -382,7 +382,7 @@
|
|||||||
<div class="clear"> </div>
|
<div class="clear"> </div>
|
||||||
|
|
||||||
{else}
|
{else}
|
||||||
{l s="Administrator permissions can't be modified."}
|
{l s='Administrator permissions can\'t be modified.'}
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -41,11 +41,11 @@
|
|||||||
<label for="beginDate">{l s='Begin to:'}</label>
|
<label for="beginDate">{l s='Begin to:'}</label>
|
||||||
<div class="margin-form">
|
<div class="margin-form">
|
||||||
<input class="datepicker" id="beginDate_{$type}" type="text" name="beginDate" value="{$begin_date}" />
|
<input class="datepicker" id="beginDate_{$type}" type="text" name="beginDate" value="{$begin_date}" />
|
||||||
<span class="input-error">{l s="The date has not the right format"}</span>
|
<span class="input-error">{l s='The date has not the right format'}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<label for="endDate">{l s='End to:'}</label>
|
<label for="endDate">{l s='End to:'}</label>
|
||||||
<div class="margin-form">
|
<div class="margin-form">
|
||||||
<input class="datepicker" id="endDate_{$type}" type="text" name="endDate" value="{$end_date}" />
|
<input class="datepicker" id="endDate_{$type}" type="text" name="endDate" value="{$end_date}" />
|
||||||
<span class="input-error">{l s="The date has not the right format"}</span>
|
<span class="input-error">{l s='The date has not the right format'}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -26,8 +26,9 @@
|
|||||||
<script>
|
<script>
|
||||||
function confirmProductAttached(productList)
|
function confirmProductAttached(productList)
|
||||||
{
|
{
|
||||||
|
var confirm_text = {l s='This attachment is used by the following products:'}
|
||||||
if (confirm('{$confirm}'))
|
if (confirm('{$confirm}'))
|
||||||
return confirm('{l s="This attachment is used by the following products:"}' + {$product_list[$id]});
|
return confirm(confirm_text + {$product_list[$id]});
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -72,13 +72,13 @@
|
|||||||
{
|
{
|
||||||
$(elt).addClass('unselect_all').removeClass('select_all');
|
$(elt).addClass('unselect_all').removeClass('select_all');
|
||||||
$('ul#sortable_module_'+$(elt).attr('id')).find('input[type="checkbox"]').removeAttr('checked');
|
$('ul#sortable_module_'+$(elt).attr('id')).find('input[type="checkbox"]').removeAttr('checked');
|
||||||
$(elt).html('{l s="Select all"}');
|
$(elt).html('{l s='Select all'}');
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$(elt).addClass('select_all').removeClass('unselect_all');
|
$(elt).addClass('select_all').removeClass('unselect_all');
|
||||||
$('ul#sortable_module_'+$(elt).attr('id')).find('input[type="checkbox"]').attr('checked', 'checked');
|
$('ul#sortable_module_'+$(elt).attr('id')).find('input[type="checkbox"]').attr('checked', 'checked');
|
||||||
$(elt).html('{l s="Unselect all"}');
|
$(elt).html('{l s='Unselect all'}');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -258,12 +258,12 @@
|
|||||||
<tfoot>
|
<tfoot>
|
||||||
<tr>
|
<tr>
|
||||||
<td style="text-align:center">
|
<td style="text-align:center">
|
||||||
<button style="width:100%;margin-top:5px" id="authorize_list" onclick="toogleCheck(this);return false;" class="button">{l s="Select all"}</button>
|
<button style="width:100%;margin-top:5px" id="authorize_list" onclick="toogleCheck(this);return false;" class="button">{l s='Select all'}</button>
|
||||||
<button style="width:100%;margin-top:5px;margin-bottom:5px" onclick="authorizeChecked();return false;" class="button">{l s="<< Unauthorize"}</button>
|
<button style="width:100%;margin-top:5px;margin-bottom:5px" onclick="authorizeChecked();return false;" class="button">{l s='<< Unauthorize'}</button>
|
||||||
</td>
|
</td>
|
||||||
<td style="text-align:center">
|
<td style="text-align:center">
|
||||||
<button style="width:100%;margin-top:5px"id="unauthorize_list" onclick="toogleCheck(this);return false;" class="button">{l s="Select all"}</button>
|
<button style="width:100%;margin-top:5px"id="unauthorize_list" onclick="toogleCheck(this);return false;" class="button">{l s='Select all'}</button>
|
||||||
<button style="width:100%;margin-top:5px;margin-bottom:5px" onclick="unauthorizeChecked();return false;" class="button">{l s="<< Authorize"}</button>
|
<button style="width:100%;margin-top:5px;margin-bottom:5px" onclick="unauthorizeChecked();return false;" class="button">{l s='<< Authorize'}</button>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tfoot>
|
</tfoot>
|
||||||
|
|||||||
@@ -60,7 +60,7 @@
|
|||||||
$('#preview_import').submit(function() {
|
$('#preview_import').submit(function() {
|
||||||
if ($('#truncate').get(0).checked)
|
if ($('#truncate').get(0).checked)
|
||||||
{
|
{
|
||||||
if (confirm('{l s="Are you sure you want to delete"}' + ' ' + $('#entity > option:selected').text().toLowerCase() + '{l s="?"}'))
|
if (confirm('{l s='Are you sure you want to delete'}' + ' ' + $('#entity > option:selected').text().toLowerCase() + '{l s='?'}'))
|
||||||
{
|
{
|
||||||
this.submit();
|
this.submit();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -123,7 +123,7 @@
|
|||||||
data.ajax = 1;
|
data.ajax = 1;
|
||||||
data.controller = "AdminProducts";
|
data.controller = "AdminProducts";
|
||||||
data.action = "productQuantity";
|
data.action = "productQuantity";
|
||||||
showAjaxMsg('{l s="Saving data..."}');
|
showAjaxMsg('{l s='Saving data...'}');
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: "POST",
|
type: "POST",
|
||||||
url: "ajax-tab.php",
|
url: "ajax-tab.php",
|
||||||
@@ -134,14 +134,14 @@
|
|||||||
{
|
{
|
||||||
if (msg.error)
|
if (msg.error)
|
||||||
{
|
{
|
||||||
showAjaxError('{l s="Error durring saving data"}');
|
showAjaxError('{l s='Error durring saving data'}');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
showAjaxSuccess('{l s="Data saved"}');
|
showAjaxSuccess('{l s='Data saved'}');
|
||||||
},
|
},
|
||||||
error: function(msg)
|
error: function(msg)
|
||||||
{
|
{
|
||||||
showAjaxError('{l s="Error durring saving data"}');
|
showAjaxError('{l s='Error durring saving data'}');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -150,7 +150,7 @@
|
|||||||
'<td class="center"><input type="text" name="input_discount_rate_'+product_infos.id+'" value="0" size="5" />%</td>'+
|
'<td class="center"><input type="text" name="input_discount_rate_'+product_infos.id+'" value="0" size="5" />%</td>'+
|
||||||
'<td class="center"><input type="text" name="input_tax_rate_'+product_infos.id+'" value="0" size="5" />%</td>'+
|
'<td class="center"><input type="text" name="input_tax_rate_'+product_infos.id+'" value="0" size="5" />%</td>'+
|
||||||
'<td class="center"><a href="#" class="removeProductFromSupplyOrderLink" id="deletelink|'+product_infos.id+'">'+
|
'<td class="center"><a href="#" class="removeProductFromSupplyOrderLink" id="deletelink|'+product_infos.id+'">'+
|
||||||
'<img src="../img/admin/delete.gif" alt="{l s="Remove this product from the order"}" title="{l s="Remove this product from the order"}" />'+
|
'<img src="../img/admin/delete.gif" alt="{l s='Remove this product from the order'}" title="{l s='Remove this product from the order'}" />'+
|
||||||
'</a></td></tr>'
|
'</a></td></tr>'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@@ -58,7 +58,8 @@ $('document').ready(function(){
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
$('#send_friend_form_error').show();
|
$('#send_friend_form_error').show();
|
||||||
$('#send_friend_form_error').text('{/literal}{l s="You did not fill required fields" mod=sendtoafriend}{literal}');
|
var error_text = {/literal}{l s='You did not fill required fields' mod=sendtoafriend}{literal}
|
||||||
|
$('#send_friend_form_error').text(error_text);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -37,7 +37,7 @@
|
|||||||
{/if}
|
{/if}
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</div>
|
</div>
|
||||||
{$var.lang_sticker} : <a style="color:blue" href="{$var.sticker}">{l s="PDF File"}</a><br/>
|
{$var.lang_sticker} : <a style="color:blue" href="{$var.sticker}">{l s='PDF File'}</a><br/>
|
||||||
{$var.lang_expedition} : {$var.date}<br/>{$var.place}
|
{$var.lang_expedition} : {$var.date}<br/>{$var.place}
|
||||||
{/if}
|
{/if}
|
||||||
</fieldset>
|
</fieldset>
|
||||||
@@ -140,13 +140,13 @@
|
|||||||
<td>
|
<td>
|
||||||
{if $option.is_best_grade}
|
{if $option.is_best_grade}
|
||||||
{if $option.is_best_price}
|
{if $option.is_best_price}
|
||||||
<div class="delivery_option_best delivery_option_icon">{l s="The best price and grade"}</div>
|
<div class="delivery_option_best delivery_option_icon">{l s='The best price and grade'}</div>
|
||||||
{else}
|
{else}
|
||||||
<div class="delivery_option_fast delivery_option_icon">{l s="The faster"}</div>
|
<div class="delivery_option_fast delivery_option_icon">{l s='The faster'}</div>
|
||||||
{/if}
|
{/if}
|
||||||
{else}
|
{else}
|
||||||
{if $option.is_best_price}
|
{if $option.is_best_price}
|
||||||
<div class="delivery_option_best_price delivery_option_icon">{l s="The best price"}</div>
|
<div class="delivery_option_best_price delivery_option_icon">{l s='The best price'}</div>
|
||||||
{/if}
|
{/if}
|
||||||
{/if}
|
{/if}
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
Reference in New Issue
Block a user