[*] BO : now you could translate a mobile theme
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17070 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
{elseif isset($category)}
|
||||
<div class="block-cms">
|
||||
{if isset($sub_category) & !empty($sub_category)}
|
||||
<h3 class="bg">{l s='List of sub categories in '}{$category->name}{l s=':'}</h3>
|
||||
<h3 class="bg">{l s='List of sub categories in %s:' sprintf=$category->name}</h3>
|
||||
<ul data-role="listview" data-inset="true">
|
||||
{foreach from=$sub_category item=subcategory}
|
||||
<li>
|
||||
@@ -50,7 +50,7 @@
|
||||
</ul>
|
||||
{/if}
|
||||
{if isset($cms_pages) & !empty($cms_pages)}
|
||||
<h3 class="bg">{l s='List of pages in '}{$category->name}{l s=':'}</h3>
|
||||
<h3 class="bg">{l s='List of pages in %s:' sprintf=$category->name}</h3>
|
||||
<ul data-role="listview" data-inset="true">
|
||||
{foreach from=$cms_pages item=cmspages}
|
||||
<li>
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
}
|
||||
$(function()
|
||||
{
|
||||
var errorTitle = '{/literal}{if $errors|@count > 1}{l s='There are'}{else}{l s='There is'}{/if} {$errors|@count} {if $errors|@count > 1}{l s='errors'}{else}{l s='error'}{/if} :{literal}';
|
||||
var errorTitle = '{/literal}{if $errors|@count > 1}{l s='There are %d errors:' sprintf=$errors|@count}{else}{l s='There is %d error:' sprintf=$errors|@count}{/if}:{literal}';
|
||||
var errorMessage = '<ol>';
|
||||
{/literal}
|
||||
{foreach from=$errors key=k item=error}
|
||||
|
||||
@@ -36,9 +36,11 @@
|
||||
<span class="bold">
|
||||
{if $nbManufacturers == 0}{l s='There are no manufacturers.'}
|
||||
{else}
|
||||
{if $nbManufacturers == 1}{l s='There is'}{else}{l s='There are'}{/if} 
|
||||
{$nbManufacturers} 
|
||||
{if $nbManufacturers == 1}{l s='manufacturer.'}{else}{l s='manufacturers.'}{/if}
|
||||
{if $nbManufacturers == 1}
|
||||
{l s='There is %d manufacturer.' sprintf=$nbManufacturers}
|
||||
{else}
|
||||
{l s='There are %d manufacturers.' sprintf=$nbManufacturers}
|
||||
{/if}
|
||||
{/if}
|
||||
</span>{/strip}
|
||||
</p>
|
||||
@@ -51,7 +53,11 @@
|
||||
<img src="{$img_manu_dir}{$manufacturer.image|escape:'htmlall':'UTF-8'}-medium.jpg" alt="" width="80" />
|
||||
<h3>{$manufacturer.name|truncate:60:'...'|escape:'htmlall':'UTF-8'}</h3>
|
||||
<p>
|
||||
{$manufacturer.nb_products|intval} {if $manufacturer.nb_products == 1}{l s='product'}{else}{l s='products'}{/if}
|
||||
{if $manufacturer.nb_products == 1}
|
||||
{l s='%d product' sprintf=$manufacturer.nb_products|intval}
|
||||
{else}
|
||||
{l s='%d products' sprintf=$manufacturer.nb_products|intval}
|
||||
{/if}
|
||||
</p>
|
||||
{if $manufacturer.nb_products > 0}</a>{/if}
|
||||
</li>
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
<div id="product_reference" {if isset($groups) OR !$product->reference}style="display: none;"{/if}>
|
||||
<br />
|
||||
<label for="product_reference">{l s='Reference :'} </label>
|
||||
<label for="product_reference">{l s='Reference:'} </label>
|
||||
<span class="editable">{$product->reference|escape:'htmlall':'UTF-8'}</span>
|
||||
<br />
|
||||
</div>
|
||||
|
||||
@@ -34,11 +34,14 @@
|
||||
{else}
|
||||
<p class="nbrmanufacturer">{strip}
|
||||
<span class="bold">
|
||||
{if $nbSuppliers == 0}{l s='There are no suppliers.'}
|
||||
{if $nbSuppliers == 0}
|
||||
{l s='There are no suppliers.'}
|
||||
{else}
|
||||
{if $nbSuppliers == 1}{l s='There is'}{else}{l s='There are'}{/if} 
|
||||
{$nbSuppliers} 
|
||||
{if $nbSuppliers == 1}{l s='supplier.'}{else}{l s='suppliers.'}{/if}
|
||||
{if $nbSuppliers == 1}
|
||||
{l s='There is %d supplier.' sprintf=$nbSuppliers}
|
||||
{else}
|
||||
{l s='There are %d suppliers.' sprintf=$nbSuppliers}
|
||||
{/if}
|
||||
{/if}
|
||||
</span>{/strip}
|
||||
</p>
|
||||
@@ -55,7 +58,11 @@
|
||||
<!-- name -->
|
||||
<h3>{$supplier.name|truncate:60:'...'|escape:'htmlall':'UTF-8'}</h3>
|
||||
<p>
|
||||
{$supplier.nb_products|intval} {if $supplier.nb_products == 1}{l s='product'}{else}{l s='products'}{/if}
|
||||
{if $supplier.nb_products == 1}
|
||||
{l s='%d product' sprintf=$supplier.nb_products|intval}
|
||||
{else}
|
||||
{l s='%d products' sprintf=$supplier.nb_products|intval}
|
||||
{/if}
|
||||
</p>
|
||||
{if $supplier.nb_products > 0}</a>{/if}
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user