Merge pull request #1005 from djfm/css
// adjust markup in AdminTranslationsController
This commit is contained in:
@@ -66,7 +66,7 @@
|
||||
<i class="icon-file-text"></i>
|
||||
{l s='Modify translations'}
|
||||
</h3>
|
||||
<p class="alert alert-warning">
|
||||
<p class="alert alert-info">
|
||||
{l s='Here you can modify translations for every line of code inside PrestaShop.'}<br />
|
||||
{l s='First, select a section (such as Back Office or Installed modules), and then click the flag representing the language you want to edit.'}
|
||||
</p>
|
||||
@@ -120,28 +120,39 @@
|
||||
<i class="icon-download"></i>
|
||||
{l s='Add / Update a language'}
|
||||
</h3>
|
||||
<div id="submitAddLangContent" class="row">
|
||||
<p class="alert alert-warning">
|
||||
<div id="submitAddLangContent" class="form-group">
|
||||
<p class="alert alert-info">
|
||||
{l s='You can add or update a language directly from the PrestaShop website here:'}<br/>
|
||||
{l s='If you choose to update an existing language pack, all of your previous customization\'s in the theme named "Default" will be lost. This includes Front Office expressions and default email templates.'}
|
||||
</p>
|
||||
{if $packs_to_update || $packs_to_install}
|
||||
<label class="control-label col-lg-3" for="params_import_language">{l s='Please select the language you want to add or update:'}</label>
|
||||
<div class="col-lg-4">
|
||||
<select id="params_import_language" name="params_import_language">
|
||||
<optgroup label="{l s='Update a language'}">
|
||||
{foreach $packs_to_update as $lang_pack}
|
||||
<option value="{$lang_pack['iso_code']}|{$lang_pack['version']}">{$lang_pack['name']}</option>
|
||||
{/foreach}
|
||||
</optgroup>
|
||||
<optgroup label="{l s='Add a language'}">
|
||||
{foreach $packs_to_install as $lang_pack}
|
||||
<option value="{$lang_pack['iso_code']}|{$lang_pack['version']}">{$lang_pack['name']}</option>
|
||||
{/foreach}
|
||||
</optgroup>
|
||||
</select>
|
||||
<div class="col-lg-9">
|
||||
<div class="row">
|
||||
<div class="col-sm-8">
|
||||
<select id="params_import_language" name="params_import_language">
|
||||
<optgroup label="{l s='Update a language'}">
|
||||
{foreach $packs_to_update as $lang_pack}
|
||||
<option value="{$lang_pack['iso_code']}|{$lang_pack['version']}">{$lang_pack['name']}</option>
|
||||
{/foreach}
|
||||
</optgroup>
|
||||
<optgroup label="{l s='Add a language'}">
|
||||
{foreach $packs_to_install as $lang_pack}
|
||||
<option value="{$lang_pack['iso_code']}|{$lang_pack['version']}">{$lang_pack['name']}</option>
|
||||
{/foreach}
|
||||
</optgroup>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-sm-4">
|
||||
<button type="submit" name="submitAddLanguage" class="btn btn-default">
|
||||
<i class="icon-plus"></i>
|
||||
{l s='Add or update a language'}
|
||||
</button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<input type="submit" value="{l s='Add or update a language'}" name="submitAddLanguage" class="btn btn-default" />
|
||||
|
||||
{else}
|
||||
<p class="text-danger">{l s='Cannot connect to the PrestaShop website to get the language list.'}</p>
|
||||
{/if}
|
||||
@@ -155,7 +166,7 @@
|
||||
<i class="icon-download"></i>
|
||||
{l s='Import a language pack manually'}
|
||||
</h3>
|
||||
<p class="alert alert-warning">
|
||||
<p class="alert alert-info">
|
||||
{l s='If the language file format is: isocode.gzip (e.g. us.gzip), and the language corresponding to this package does not exist, it will automatically be created.'}
|
||||
{l s='Warning: This will replace all of the existing data inside the destination language.'}
|
||||
</p>
|
||||
@@ -202,7 +213,7 @@
|
||||
<i class="icon-upload"></i>
|
||||
{l s='Export a language'}
|
||||
</h3>
|
||||
<p class="alert alert-warning">
|
||||
<p class="alert alert-info">
|
||||
{l s='Export data from one language to a file (language pack).'}<br />
|
||||
{l s='Choose which theme you\'d like to export your translations to. '}
|
||||
</p>
|
||||
@@ -240,7 +251,7 @@
|
||||
<i class="icon-copy"></i>
|
||||
{l s='Copy'}
|
||||
</h3>
|
||||
<p class="alert alert-warning">
|
||||
<p class="alert alert-info">
|
||||
{l s='Copies data from one language to another.'}<br />
|
||||
{l s='Warning: This will replace all of the existing data inside the destination language.'}<br />
|
||||
{l s='If necessary'}, <b><a href="{$url_create_language}" class="btn btn-link"><i class="icon-external-link-sign"></i> {l s='you must first create a new language.'}</a></b>.
|
||||
|
||||
Reference in New Issue
Block a user