//Changed English strings using the translationsenglish module.
This commit is contained in:
@@ -104,8 +104,8 @@ class AdminThemesControllerCore extends AdminController
|
||||
|
||||
$this->fields_options = array(
|
||||
'theme' => array(
|
||||
'title' => sprintf($this->l('Select theme for shop %s'), $this->context->shop->name),
|
||||
'description' => (!$this->can_display_themes) ? $this->l('You must select a shop from the above list if you want to select a theme') : '',
|
||||
'title' => sprintf($this->l('Select a theme for shop %s'), $this->context->shop->name),
|
||||
'description' => (!$this->can_display_themes) ? $this->l('You must select a shop from the above list if you wish to choose a theme.') : '',
|
||||
'fields' => array(
|
||||
'theme_for_shop' => array(
|
||||
'type' => 'theme',
|
||||
@@ -137,51 +137,51 @@ class AdminThemesControllerCore extends AdminController
|
||||
'PS_LOGO_MAIL' => array(
|
||||
'title' => $this->l('Mail logo'),
|
||||
'desc' =>
|
||||
((Configuration::get('PS_LOGO_MAIL') === false) ? '<span class="light-warning">'.$this->l('Warning: No e-mail logo defined, the header logo is used instead.').'</span><br />' : '').
|
||||
$this->l('Will appear on e-mail headers. If undefined, the Header logo will be used'),
|
||||
((Configuration::get('PS_LOGO_MAIL') === false) ? '<span class="light-warning">'.$this->l('Warning: No email logo has been indentified. The header logo will be used instead.').'</span><br />' : '').
|
||||
$this->l('Will appear on email headers. If undefined, the header logo will be used.'),
|
||||
'type' => 'file',
|
||||
'thumb' => (Configuration::get('PS_LOGO_MAIL') !== false && file_exists(_PS_IMG_DIR_.Configuration::get('PS_LOGO_MAIL'))) ? _PS_IMG_.Configuration::get('PS_LOGO_MAIL').'?date='.time() : _PS_IMG_.Configuration::get('PS_LOGO').'?date='.time()
|
||||
),
|
||||
'PS_LOGO_INVOICE' => array(
|
||||
'title' => $this->l('Invoice logo'),
|
||||
'desc' =>
|
||||
((Configuration::get('PS_LOGO_INVOICE') === false) ? '<span class="light-warning">'.$this->l('Warning: No invoice logo defined, the header logo is used instead.').'</span><br />' : '').
|
||||
$this->l('Will appear on invoice headers. If undefined, the Header logo will be used'),
|
||||
((Configuration::get('PS_LOGO_INVOICE') === false) ? '<span class="light-warning">'.$this->l('Warning: No invoice logo has been defined. The header logo will be used instead.').'</span><br />' : '').
|
||||
$this->l('Will appear on invoice headers. If undefined, the header logo will be used.'),
|
||||
'type' => 'file',
|
||||
'thumb' => (Configuration::get('PS_LOGO_INVOICE') !== false && file_exists(_PS_IMG_DIR_.Configuration::get('PS_LOGO_INVOICE'))) ? _PS_IMG_.Configuration::get('PS_LOGO_INVOICE').'?date='.time() : _PS_IMG_.Configuration::get('PS_LOGO').'?date='.time()
|
||||
),
|
||||
'PS_FAVICON' => array(
|
||||
'title' => $this->l('Favicon'),
|
||||
'hint' => $this->l('Only ICO format allowed'),
|
||||
'desc' => $this->l('Will appear in the address bar of your web browser'),
|
||||
'desc' => $this->l('Will appear in the address bar of your web browser.'),
|
||||
'type' => 'file',
|
||||
'thumb' => _PS_IMG_.Configuration::get('PS_FAVICON').'?date='.time()
|
||||
),
|
||||
'PS_STORES_ICON' => array(
|
||||
'title' => $this->l('Store icon'),
|
||||
'hint' => $this->l('Only GIF format allowed'),
|
||||
'desc' => $this->l('Will appear on the store locator (inside Google Maps)').'<br />'.$this->l('Suggested size: 30x30, Transparent GIF'),
|
||||
'hint' => $this->l('Only GIF format allowed.'),
|
||||
'desc' => $this->l('Will appear on the store locator (inside Google Maps).').'<br />'.$this->l('Suggested size: 30x30, Transparent GIF'),
|
||||
'type' => 'file',
|
||||
'thumb' => _PS_IMG_.Configuration::get('PS_STORES_ICON').'?date='.time()
|
||||
),
|
||||
'PS_NAVIGATION_PIPE' => array(
|
||||
'title' => $this->l('Navigation pipe'),
|
||||
'desc' => $this->l('Used for navigation path inside categories/product'),
|
||||
'desc' => $this->l('Used for the navigation path inside categories/product.'),
|
||||
'cast' => 'strval',
|
||||
'type' => 'text',
|
||||
'size' => 20
|
||||
),
|
||||
'PS_ALLOW_MOBILE_DEVICE' => array(
|
||||
'title' => $this->l('Enable mobile theme'),
|
||||
'desc' => $this->l('Allows visitors browsing on a mobile device or on a touchpad, to have a light version of website'),
|
||||
'title' => $this->l('Enable the mobile theme.'),
|
||||
'desc' => $this->l('Allows visitors browsing on mobile devices to view a lighter version of your website.'),
|
||||
'type' => 'radio',
|
||||
'required' => true,
|
||||
'validation' => 'isGenericName',
|
||||
'choices' => array(
|
||||
0 => $this->l('I want to disable it'),
|
||||
1 => $this->l('I want to enable it only on mobiles devices'),
|
||||
2 => $this->l('I want to enable it only on touchpads'),
|
||||
3 => $this->l('I want to enable it on mobile and touchpad devices')
|
||||
0 => $this->l('I\'d like to disable it, please. '),
|
||||
1 => $this->l('I\'d like to enable it only on smart phones.'),
|
||||
2 => $this->l('I\'d like to enable it only on tablets.'),
|
||||
3 => $this->l('I\'d like to enable it on both smart phones and tablets.')
|
||||
)
|
||||
),
|
||||
'PS_MAIL_COLOR' => array(
|
||||
@@ -285,7 +285,7 @@ class AdminThemesControllerCore extends AdminController
|
||||
'type' => 'select',
|
||||
'name' => 'based_on',
|
||||
'label' => $this->l('Copy missing files from existing theme:'),
|
||||
'desc' => $this->l('If you create a new theme, it\'s recommended to use default theme files.'),
|
||||
'desc' => $this->l('If you create a new theme, it\'s recommended that you use default theme files.'),
|
||||
'options' => array(
|
||||
'id' => 'id', 'name' => 'name',
|
||||
'default' => array('value' => 0, 'label' => ' - '),
|
||||
@@ -361,7 +361,7 @@ class AdminThemesControllerCore extends AdminController
|
||||
{
|
||||
$res &= mkdir(_PS_ALL_THEMES_DIR_.$new_dir, Theme::$access_rights);
|
||||
if ($res)
|
||||
$this->confirmations[] = $this->l('Directory successfully created');
|
||||
$this->confirmations[] = $this->l('The directory was successfully created.');
|
||||
}
|
||||
|
||||
if (0 !== $id_based = (int)Tools::getValue('based_on'))
|
||||
@@ -384,7 +384,7 @@ class AdminThemesControllerCore extends AdminController
|
||||
|
||||
if ($obj && $obj->isUsed())
|
||||
{
|
||||
$this->errors[] = $this->l('This theme is already used by at least one shop. Please choose another theme first.');
|
||||
$this->errors[] = $this->l('The theme is already being used by at least one shop. Please choose another theme before continuing.');
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user