Merge pull request #1019 from djfm/translations

Translations
This commit is contained in:
Jérôme Nadaud
2013-11-22 09:12:55 -08:00
4 changed files with 20 additions and 19 deletions
@@ -26,9 +26,9 @@
<script>
var dashboard_ajax_url = '{$link->getAdminLink('AdminDashboard')}';
var adminstats_ajax_url = '{$link->getAdminLink('AdminStats')}';
var no_results_translation = '{l s='No result' js='1'}';
var no_results_translation = '{l s='No result' js=1}';
var dashboard_use_push = '{$dashboard_use_push|intval}';
var read_more = '{l s='Read more' js='1'}';
var read_more = '{l s='Read more' js=1}';
</script>
<div id="dashboard">
@@ -25,7 +25,7 @@
{extends file="helpers/view/view.tpl"}
{block name="override_tpl"}
<script type="text/javascript">
var errorEmpty = '{l s='Please name your matching configuration to save.' js=1}';
var errorEmpty = '{l s='Please name your mapping configuration in order to save it.' js=1}';
var token = '{$token}';
var current = 0;
function showTable(nb)
@@ -64,18 +64,12 @@
</script>
<div id="container-customer" class="panel">
<h3><i class="icon-list-alt"></i> {l s='View your data'}</h3>
<div class="alert alert-info">
<p>{l s='Please map each column of your source CSV file to one of the destination columns.'}</p>
</div>
<div class="form-horizontal">
<div class="form-group">
<label class="control-label col-lg-3">{l s='Save and load your configuration for importing files'} : </label>
<div class="col-lg-7">
<input type="text" name="newImportMatchs" id="newImportMatchs" />
</div>
<div class="col-lg-2">
<a id="saveImportMatchs" class="btn btn-default" href="#"><i class="icon-save"></i> {l s='Save'}</a>
</div>
</div>
<div class="form-group" {if !$import_matchs}style="display:none"{/if}>
<label class="control-label col-lg-3">{l s='Matches'} : </label>
<label class="control-label col-lg-3">{l s='Load a mapping configuration'}</label>
<div id="selectDivImportMatchs" class="col-lg-7">
<select id="valueImportMatchs">
{foreach $import_matchs as $match}
@@ -88,9 +82,15 @@
<a id="deleteImportMatchs" href="#" class="btn btn-default"><i class="icon-remove"></i> {l s='Delete'}</a>
</div>
</div>
</div>
<div class="row">
<p>{l s='Please set the value type of each column'}</p>
<div class="form-group">
<label class="control-label col-lg-3">{l s='Save your mapping configuration'}</label>
<div class="col-lg-7">
<input type="text" name="newImportMatchs" id="newImportMatchs" />
</div>
<div class="col-lg-2">
<a id="saveImportMatchs" class="btn btn-default" href="#"><i class="icon-save"></i> {l s='Save'}</a>
</div>
</div>
</div>
<div id="error_duplicate_type" class="alert alert-warning" style="display:none;">
{l s='Columns cannot have the same value type'}
@@ -117,8 +117,9 @@
<input type="hidden" name="multiple_value_separator" value="{$fields_value.multiple_value_separator}" />
<div class="form-group">
<label class="control-label col-lg-3">{l s='Lines to skip'}</label>
<div class="col-lg-9">
<div class="col-lg-7">
<input type="text" size="2" name="skip" value="1" />
<p class="help-block">{l s='This number indicates how many of the first lines of your CSV file should be skipped when importing the data. For instance set it to 1 if the first row of your file contains headers.'}</p>
</div>
</div>
<div class="form-group">
+1 -1
View File
@@ -96,7 +96,7 @@ class AddShareThis extends Module
</div>
<div class="form-group">
<div class="col-lg-9 col-lg-push-3">
<p class="help-block">'.$this->l('Key in your account statistic http://sharethis.com').'</p>
<p class="help-block">'.$this->l('You will find this key in your account settings on http://sharethis.com.').'</p>
</div>
</div>
<div class="form-group">
+1 -1
View File
@@ -354,7 +354,7 @@ class Dashactivity extends Module
);
$fields_form['form']['input'][] = array(
'label' => $this->l('Cart as active'),
'label' => $this->l('Cart active'),
'desc' => $this->l('Default time range to consider a Shopping cart as active (default 30, max 120)'),
'name' => 'DASHACTIVITY_CART_ACTIVE',
'type' => 'select',