[-] FO : #PSCFV-67 : Translation english updated and english keys update in all languages
This commit is contained in:
@@ -51,8 +51,8 @@ class AdminBackupControllerCore extends AdminController
|
||||
'title' => $this->l('Backup options'),
|
||||
'fields' => array(
|
||||
'PS_BACKUP_ALL' => array(
|
||||
'title' => $this->l('Ignore statistics tables:'),
|
||||
'desc' => $this->l('If enabled, the following tables will NOT be backed up:').'
|
||||
'title' => $this->l('Ignore statistics tables'),
|
||||
'desc' => $this->l('Drop existing tables during import').'
|
||||
<br />'._DB_PREFIX_.'connections, '._DB_PREFIX_.'connections_page, '._DB_PREFIX_.'connections_source, '.
|
||||
_DB_PREFIX_.'guest, '._DB_PREFIX_.'statssearch',
|
||||
'cast' => 'intval',
|
||||
|
||||
@@ -67,7 +67,7 @@ class AdminCustomerPreferencesControllerCore extends AdminController
|
||||
'type' => 'bool'
|
||||
),
|
||||
'PS_PASSWD_TIME_FRONT' => array(
|
||||
'title' => $this->l('Regenerate password:'),
|
||||
'title' => $this->l('Regenerate password'),
|
||||
'desc' => $this->l('Security minimum time to wait to regenerate the password'),
|
||||
'validation' => 'isUnsignedInt',
|
||||
'cast' => 'intval',
|
||||
|
||||
@@ -43,7 +43,7 @@ class AdminEmailsControllerCore extends AdminController
|
||||
'icon' => 'email',
|
||||
'fields' => array(
|
||||
'PS_MAIL_EMAIL_MESSAGE' => array(
|
||||
'title' => $this->l('Send e-mail to:'),
|
||||
'title' => $this->l('Send e-mail to'),
|
||||
'desc' => $this->l('Where customers send messages from order page'),
|
||||
'validation' => 'isUnsignedId',
|
||||
'type' => 'select',
|
||||
|
||||
@@ -85,7 +85,7 @@ class AdminEmployeesControllerCore extends AdminController
|
||||
'title' => $this->l('Employee options'),
|
||||
'fields' => array(
|
||||
'PS_PASSWD_TIME_BACK' => array(
|
||||
'title' => $this->l('Password regeneration:'),
|
||||
'title' => $this->l('Password regeneration'),
|
||||
'desc' => $this->l('Security: minimum time to wait between two password changes'),
|
||||
'cast' => 'intval',
|
||||
'size' => 5,
|
||||
@@ -94,7 +94,7 @@ class AdminEmployeesControllerCore extends AdminController
|
||||
'visibility' => Shop::CONTEXT_ALL
|
||||
),
|
||||
'PS_BO_ALLOW_EMPLOYEE_FORM_LANG' => array(
|
||||
'title' => $this->l('Memorize language used in Admin panel forms:'),
|
||||
'title' => $this->l('Memorize language used in Admin panel forms'),
|
||||
'desc' => $this->l('Allow employees to select a specific language for Admin panel forms'),
|
||||
'cast' => 'intval',
|
||||
'type' => 'select',
|
||||
|
||||
@@ -33,11 +33,11 @@ class AdminGeolocationControllerCore extends AdminController
|
||||
|
||||
$this->fields_options = array(
|
||||
'geolocationConfiguration' => array(
|
||||
'title' => $this->l('Geolocation by IP address:'),
|
||||
'title' => $this->l('Geolocation by IP address'),
|
||||
'icon' => 'world',
|
||||
'fields' => array(
|
||||
'PS_GEOLOCATION_ENABLED' => array(
|
||||
'title' => $this->l('Geolocation by IP address:'),
|
||||
'title' => $this->l('Geolocation by IP address'),
|
||||
'desc' => $this->l('This option allows you, among other things, to restrict access to your shop for certain countries. See below.'),
|
||||
'validation' => 'isUnsignedId',
|
||||
'cast' => 'intval',
|
||||
@@ -51,14 +51,14 @@ class AdminGeolocationControllerCore extends AdminController
|
||||
'description' => $this->l('The following features are only available if you enable the Geolocation by IP address feature.'),
|
||||
'fields' => array(
|
||||
'PS_GEOLOCATION_BEHAVIOR' => array(
|
||||
'title' => $this->l('Geolocation behavior for restricted countries:'),
|
||||
'title' => $this->l('Geolocation behavior for restricted countries'),
|
||||
'type' => 'select',
|
||||
'identifier' => 'key',
|
||||
'list' => array(array('key' => _PS_GEOLOCATION_NO_CATALOG_, 'name' => $this->l('Visitors cannot see your catalog')),
|
||||
array('key' => _PS_GEOLOCATION_NO_ORDER_, 'name' => $this->l('Visitors can see your catalog but cannot place an order'))),
|
||||
),
|
||||
'PS_GEOLOCATION_NA_BEHAVIOR' => array(
|
||||
'title' => $this->l('Geolocation behavior for other countries:'),
|
||||
'title' => $this->l('Geolocation behavior for other countries'),
|
||||
'type' => 'select',
|
||||
'identifier' => 'key',
|
||||
'list' => array(array('key' => '-1', 'name' => $this->l('All features are available')),
|
||||
@@ -72,7 +72,7 @@ class AdminGeolocationControllerCore extends AdminController
|
||||
'icon' => 'world',
|
||||
'description' => $this->l('You can add IP addresses that will always be allowed to access your shop (e.g. Google bots\' IP).'),
|
||||
'fields' => array(
|
||||
'PS_GEOLOCATION_WHITELIST' => array('title' => $this->l('Whitelisted IP addresses:'), 'type' => 'textarea_newlines', 'cols' => 80, 'rows' => 30),
|
||||
'PS_GEOLOCATION_WHITELIST' => array('title' => $this->l('Whitelisted IP addresses'), 'type' => 'textarea_newlines', 'cols' => 80, 'rows' => 30),
|
||||
),
|
||||
'submit' => array(),
|
||||
),
|
||||
|
||||
@@ -85,7 +85,7 @@ class AdminImagesControllerCore extends AdminController
|
||||
'title' => $this->l('Product images'),
|
||||
'fields' => array(
|
||||
'PS_IMAGE_GENERATION_METHOD' => array(
|
||||
'title' => $this->l('Image generated by:'),
|
||||
'title' => $this->l('Image generated by'),
|
||||
'validation' => 'isUnsignedId',
|
||||
'required' => false,
|
||||
'cast' => 'intval',
|
||||
@@ -108,7 +108,7 @@ class AdminImagesControllerCore extends AdminController
|
||||
'visibility' => Shop::CONTEXT_ALL
|
||||
),
|
||||
'PS_PRODUCT_PICTURE_MAX_SIZE' => array(
|
||||
'title' => $this->l('Maximum size of product pictures:'),
|
||||
'title' => $this->l('Maximum size of product pictures'),
|
||||
'desc' => $this->l('The maximum size of pictures uploadable by customers (in Bytes)'),
|
||||
'validation' => 'isUnsignedId',
|
||||
'required' => true,
|
||||
@@ -118,7 +118,7 @@ class AdminImagesControllerCore extends AdminController
|
||||
'visibility' => Shop::CONTEXT_ALL
|
||||
),
|
||||
'PS_PRODUCT_PICTURE_WIDTH' => array(
|
||||
'title' => $this->l('Product picture width:'),
|
||||
'title' => $this->l('Product picture width'),
|
||||
'desc' => $this->l('The maximum width of pictures uploadable by customers'),
|
||||
'validation' => 'isUnsignedId',
|
||||
'required' => true,
|
||||
@@ -128,7 +128,7 @@ class AdminImagesControllerCore extends AdminController
|
||||
'visibility' => Shop::CONTEXT_ALL
|
||||
),
|
||||
'PS_PRODUCT_PICTURE_HEIGHT' => array(
|
||||
'title' => $this->l('Product picture height:'),
|
||||
'title' => $this->l('Product picture height'),
|
||||
'desc' => $this->l('The maximum height of pictures uploadable by customers'),
|
||||
'validation' => 'isUnsignedId',
|
||||
'required' => true,
|
||||
@@ -138,7 +138,7 @@ class AdminImagesControllerCore extends AdminController
|
||||
'visibility' => Shop::CONTEXT_ALL
|
||||
),
|
||||
'PS_LEGACY_IMAGES' => array(
|
||||
'title' => $this->l('Use the legacy image filesystem:'),
|
||||
'title' => $this->l('Use the legacy image filesystem'),
|
||||
'desc' => $this->l('This should be set to yes unless you successfully moved images in Preferences > Images tab'),
|
||||
'validation' => 'isBool',
|
||||
'cast' => 'intval',
|
||||
|
||||
@@ -52,7 +52,7 @@ class AdminLogsControllerCore extends AdminController
|
||||
'title' => $this->l('Logs by e-mail'),
|
||||
'fields' => array(
|
||||
'PS_LOGS_BY_EMAIL' => array(
|
||||
'title' => $this->l('Minimum severity level:'),
|
||||
'title' => $this->l('Minimum severity level'),
|
||||
'desc' => $this->l('Enter "5" if you do not want to receive any e-mails.').'<br />'.$this->l('E-mails will be sent to the shop owner.'),
|
||||
'cast' => 'intval',
|
||||
'type' => 'text',
|
||||
|
||||
@@ -81,7 +81,7 @@ class AdminOrderPreferencesControllerCore extends AdminController
|
||||
'type' => 'bool'
|
||||
),
|
||||
'PS_PURCHASE_MINIMUM' => array(
|
||||
'title' => $this->l('Minimum purchase total required in order to validate order:'),
|
||||
'title' => $this->l('Minimum purchase total required in order to validate order'),
|
||||
'desc' => $this->l('Set to 0 to disable this feature'),
|
||||
'validation' => 'isFloat',
|
||||
'cast' => 'floatval',
|
||||
|
||||
@@ -39,7 +39,7 @@ class AdminPPreferencesControllerCore extends AdminController
|
||||
'title' => $this->l('Products (general)'),
|
||||
'fields' => array(
|
||||
'PS_CATALOG_MODE' => array(
|
||||
'title' => $this->l('Catalog mode:'),
|
||||
'title' => $this->l('Catalog mode'),
|
||||
'desc' => $this->l('When active, all shopping features will be disabled'),
|
||||
'validation' => 'isBool',
|
||||
'cast' => 'intval',
|
||||
@@ -47,7 +47,7 @@ class AdminPPreferencesControllerCore extends AdminController
|
||||
'type' => 'bool'
|
||||
),
|
||||
'PS_COMPARATOR_MAX_ITEM' => array(
|
||||
'title' => $this->l('Set the maximum number of products that can be selected for comparison:'),
|
||||
'title' => $this->l('Set the maximum number of products that can be selected for comparison'),
|
||||
'desc' => $this->l('Set the threshold at which a message will announce the product is close to being out of stock.').' '.$this->l('Set to 0 to disable this feature'),
|
||||
'validation' => 'isUnsignedId',
|
||||
'required' => true,
|
||||
@@ -55,13 +55,13 @@ class AdminPPreferencesControllerCore extends AdminController
|
||||
'type' => 'text'
|
||||
),
|
||||
'PS_NB_DAYS_NEW_PRODUCT' => array(
|
||||
'title' => $this->l('Number of days for which the product is considered \'new\':'),
|
||||
'title' => $this->l('Number of days for which the product is considered \'new\''),
|
||||
'validation' => 'isUnsignedInt',
|
||||
'cast' => 'intval',
|
||||
'type' => 'text'
|
||||
),
|
||||
'PS_CART_REDIRECT' => array(
|
||||
'title' => $this->l('Redirection after adding product to cart:'),
|
||||
'title' => $this->l('Redirection after adding product to cart'),
|
||||
'desc' => $this->l('Only for non-AJAX version of the cart'),
|
||||
'cast' => 'intval',
|
||||
'show' => true,
|
||||
@@ -82,7 +82,7 @@ class AdminPPreferencesControllerCore extends AdminController
|
||||
'suffix' => $this->l('characters'),
|
||||
),
|
||||
'PS_QTY_DISCOUNT_ON_COMBINATION' => array(
|
||||
'title' => $this->l('Quantity discounts based on:'),
|
||||
'title' => $this->l('Quantity discounts based on'),
|
||||
'desc' => $this->l('How to calculate quantity discounts'),
|
||||
'cast' => 'intval',
|
||||
'show' => true,
|
||||
@@ -100,14 +100,14 @@ class AdminPPreferencesControllerCore extends AdminController
|
||||
'title' => $this->l('Pagination'),
|
||||
'fields' => array(
|
||||
'PS_PRODUCTS_PER_PAGE' => array(
|
||||
'title' => $this->l('Products per page:'),
|
||||
'title' => $this->l('Products per page'),
|
||||
'desc' => $this->l('Number of products displayed per page. Default is 10.'),
|
||||
'validation' => 'isUnsignedInt',
|
||||
'cast' => 'intval',
|
||||
'type' => 'text'
|
||||
),
|
||||
'PS_PRODUCTS_ORDER_BY' => array(
|
||||
'title' => $this->l('Default order by:'),
|
||||
'title' => $this->l('Default order by'),
|
||||
'desc' => $this->l('The order in which products are displayed in the product list'),
|
||||
'type' => 'select',
|
||||
'list' => array(
|
||||
@@ -121,7 +121,7 @@ class AdminPPreferencesControllerCore extends AdminController
|
||||
'identifier' => 'id'
|
||||
),
|
||||
'PS_PRODUCTS_ORDER_WAY' => array(
|
||||
'title' => $this->l('Default order method:'),
|
||||
'title' => $this->l('Default order method'),
|
||||
'desc' => $this->l('Default order method for product list'),
|
||||
'type' => 'select',
|
||||
'list' => array(
|
||||
@@ -142,7 +142,7 @@ class AdminPPreferencesControllerCore extends AdminController
|
||||
'title' => $this->l('Product page'),
|
||||
'fields' => array(
|
||||
'PS_DISPLAY_QTIES' => array(
|
||||
'title' => $this->l('Display available quantities on product page:'),
|
||||
'title' => $this->l('Display available quantities on product page'),
|
||||
'desc' => '',
|
||||
'validation' => 'isBool',
|
||||
'cast' => 'intval',
|
||||
@@ -150,7 +150,7 @@ class AdminPPreferencesControllerCore extends AdminController
|
||||
'type' => 'bool'
|
||||
),
|
||||
'PS_LAST_QTIES' => array(
|
||||
'title' => $this->l('Display remaining quantities when qty is lower than:'),
|
||||
'title' => $this->l('Display remaining quantities when qty is lower than'),
|
||||
'desc' => $this->l('Set to 0 to disable this feature'),
|
||||
'validation' => 'isUnsignedId',
|
||||
'required' => true,
|
||||
@@ -158,7 +158,7 @@ class AdminPPreferencesControllerCore extends AdminController
|
||||
'type' => 'text'
|
||||
),
|
||||
'PS_DISPLAY_JQZOOM' => array(
|
||||
'title' => $this->l('Enable JqZoom instead of Thickbox on product page:'),
|
||||
'title' => $this->l('Enable JqZoom instead of Thickbox on product page'),
|
||||
'desc' => '',
|
||||
'validation' => 'isBool',
|
||||
'cast' => 'intval',
|
||||
@@ -166,7 +166,7 @@ class AdminPPreferencesControllerCore extends AdminController
|
||||
'type' => 'bool'
|
||||
),
|
||||
'PS_DISP_UNAVAILABLE_ATTR' => array(
|
||||
'title' => $this->l('Display unavailable product attributes on product page:'),
|
||||
'title' => $this->l('Display unavailable product attributes on product page'),
|
||||
'desc' => '',
|
||||
'validation' => 'isBool',
|
||||
'cast' => 'intval',
|
||||
@@ -174,7 +174,7 @@ class AdminPPreferencesControllerCore extends AdminController
|
||||
'type' => 'bool'
|
||||
),
|
||||
'PS_ATTRIBUTE_CATEGORY_DISPLAY' => array(
|
||||
'title' => $this->l('Display "add to cart" button when product has attributes:'),
|
||||
'title' => $this->l('Display "add to cart" button when product has attributes'),
|
||||
'desc' => $this->l('Display or hide the "add to cart" button on category pages for products that have attributes to force customers to see the product detail'),
|
||||
'validation' => 'isBool',
|
||||
'cast' => 'intval',
|
||||
@@ -186,7 +186,7 @@ class AdminPPreferencesControllerCore extends AdminController
|
||||
'title' => $this->l('Products stock'),
|
||||
'fields' => array(
|
||||
'PS_ORDER_OUT_OF_STOCK' => array(
|
||||
'title' => $this->l('Allow ordering of out-of-stock products:'),
|
||||
'title' => $this->l('Allow ordering of out-of-stock products'),
|
||||
'desc' => $this->l('Add to cart button is hidden when product is unavailable'),
|
||||
'validation' => 'isBool',
|
||||
'cast' => 'intval',
|
||||
@@ -194,7 +194,7 @@ class AdminPPreferencesControllerCore extends AdminController
|
||||
'type' => 'bool'
|
||||
),
|
||||
'PS_STOCK_MANAGEMENT' => array(
|
||||
'title' => $this->l('Enable stock management:'),
|
||||
'title' => $this->l('Enable stock management'),
|
||||
'desc' => '',
|
||||
'validation' => 'isBool',
|
||||
'cast' => 'intval',
|
||||
@@ -206,7 +206,7 @@ class AdminPPreferencesControllerCore extends AdminController
|
||||
)
|
||||
),
|
||||
'PS_ADVANCED_STOCK_MANAGEMENT' => array(
|
||||
'title' => $this->l('Enable advanced stock management:'),
|
||||
'title' => $this->l('Enable advanced stock management'),
|
||||
'desc' => $this->l('Allows you to manage physical stock, warehouses and supply orders.'),
|
||||
'validation' => 'isBool',
|
||||
'cast' => 'intval',
|
||||
|
||||
@@ -41,7 +41,7 @@ class AdminPerformanceControllerCore extends AdminController
|
||||
),
|
||||
array(
|
||||
'type' => 'radio',
|
||||
'label' => $this->l('Templates cache:'),
|
||||
'label' => $this->l('Templates cache'),
|
||||
'name' => 'smarty_force_compile',
|
||||
'class' => 't',
|
||||
'br' => true,
|
||||
@@ -68,7 +68,7 @@ class AdminPerformanceControllerCore extends AdminController
|
||||
),
|
||||
array(
|
||||
'type' => 'radio',
|
||||
'label' => $this->l('Cache:'),
|
||||
'label' => $this->l('Cache'),
|
||||
'name' => 'smarty_cache',
|
||||
'class' => 't',
|
||||
'is_bool' => true,
|
||||
@@ -88,7 +88,7 @@ class AdminPerformanceControllerCore extends AdminController
|
||||
),
|
||||
array(
|
||||
'type' => 'radio',
|
||||
'label' => $this->l('Debug console:'),
|
||||
'label' => $this->l('Debug console'),
|
||||
'name' => 'smarty_console',
|
||||
'class' => 't',
|
||||
'br' => true,
|
||||
@@ -135,7 +135,7 @@ class AdminPerformanceControllerCore extends AdminController
|
||||
),
|
||||
array(
|
||||
'type' => 'radio',
|
||||
'label' => $this->l('Combinations:'),
|
||||
'label' => $this->l('Combinations'),
|
||||
'name' => 'combination',
|
||||
'class' => 't',
|
||||
'is_bool' => true,
|
||||
@@ -152,11 +152,11 @@ class AdminPerformanceControllerCore extends AdminController
|
||||
'label' => $this->l('No')
|
||||
)
|
||||
),
|
||||
'desc' => $this->l('These features will be disabled:')
|
||||
'desc' => $this->l('These features will be disabled')
|
||||
),
|
||||
array(
|
||||
'type' => 'radio',
|
||||
'label' => $this->l('Features:'),
|
||||
'label' => $this->l('Features'),
|
||||
'name' => 'feature',
|
||||
'class' => 't',
|
||||
'is_bool' => true,
|
||||
@@ -172,7 +172,7 @@ class AdminPerformanceControllerCore extends AdminController
|
||||
'label' => $this->l('No')
|
||||
)
|
||||
),
|
||||
'desc' => $this->l('These features will be disabled:')
|
||||
'desc' => $this->l('These features will be disabled')
|
||||
)
|
||||
)
|
||||
);
|
||||
@@ -196,7 +196,7 @@ class AdminPerformanceControllerCore extends AdminController
|
||||
),
|
||||
array(
|
||||
'type' => 'radio',
|
||||
'label' => $this->l('Smart cache for CSS:'),
|
||||
'label' => $this->l('Smart cache for CSS'),
|
||||
'name' => 'PS_CSS_THEME_CACHE',
|
||||
'class' => 't',
|
||||
'br' => true,
|
||||
@@ -336,21 +336,21 @@ class AdminPerformanceControllerCore extends AdminController
|
||||
),
|
||||
array(
|
||||
'type' => 'text',
|
||||
'label' => $this->l('Media server #1:'),
|
||||
'label' => $this->l('Media server #1'),
|
||||
'name' => '_MEDIA_SERVER_1_',
|
||||
'size' => 30,
|
||||
'desc' => $this->l('Name of the second domain of your shop, (e.g. myshop-media-server-1.com). If you do not have another domain, leave this field blank')
|
||||
),
|
||||
array(
|
||||
'type' => 'text',
|
||||
'label' => $this->l('Media server #2:'),
|
||||
'label' => $this->l('Media server #2'),
|
||||
'name' => '_MEDIA_SERVER_2_',
|
||||
'size' => 30,
|
||||
'desc' => $this->l('Name of the third domain of your shop, (e.g. myshop-media-server-2.com). If you do not have another domain, leave this field blank')
|
||||
),
|
||||
array(
|
||||
'type' => 'text',
|
||||
'label' => $this->l('Media server #3:'),
|
||||
'label' => $this->l('Media server #3'),
|
||||
'name' => '_MEDIA_SERVER_3_',
|
||||
'size' => 30,
|
||||
'desc' => $this->l('Name of the fourth domain of your shop, (e.g. myshop-media-server-3.com). If you do not have another domain, leave this field blank')
|
||||
@@ -378,7 +378,7 @@ class AdminPerformanceControllerCore extends AdminController
|
||||
),
|
||||
array(
|
||||
'type' => 'radio',
|
||||
'label' => $this->l('Algorithm:'),
|
||||
'label' => $this->l('Algorithm'),
|
||||
'name' => 'PS_CIPHER_ALGORITHM',
|
||||
'class' => 't',
|
||||
'br' => true,
|
||||
@@ -435,7 +435,7 @@ class AdminPerformanceControllerCore extends AdminController
|
||||
),
|
||||
array(
|
||||
'type' => 'radio',
|
||||
'label' => $this->l('Use cache:'),
|
||||
'label' => $this->l('Use cache'),
|
||||
'name' => 'active',
|
||||
'class' => 't',
|
||||
'is_bool' => true,
|
||||
@@ -455,7 +455,7 @@ class AdminPerformanceControllerCore extends AdminController
|
||||
),
|
||||
array(
|
||||
'type' => 'select',
|
||||
'label' => $this->l('Caching system:'),
|
||||
'label' => $this->l('Caching system'),
|
||||
'name' => 'caching_system',
|
||||
'options' => array(
|
||||
'query' => $caching_system,
|
||||
@@ -465,7 +465,7 @@ class AdminPerformanceControllerCore extends AdminController
|
||||
),
|
||||
array(
|
||||
'type' => 'text',
|
||||
'label' => $this->l('Directory depth:'),
|
||||
'label' => $this->l('Directory depth'),
|
||||
'name' => 'ps_cache_fs_directory_depth',
|
||||
'size' => 30
|
||||
),
|
||||
|
||||
@@ -56,7 +56,7 @@ class AdminRequestSqlControllerCore extends AdminController
|
||||
'title' => $this->l('Settings'),
|
||||
'fields' => array(
|
||||
'PS_ENCODING_FILE_MANAGER_SQL' => array(
|
||||
'title' => $this->l('Select your encoding file by default:'),
|
||||
'title' => $this->l('Select your encoding file by default'),
|
||||
'cast' => 'intval',
|
||||
'type' => 'select',
|
||||
'identifier' => 'value',
|
||||
|
||||
@@ -88,7 +88,7 @@ class AdminSearchConfControllerCore extends AdminController
|
||||
'desc' => $this->l('Enable ajax search for your visitors.').'<br />'.
|
||||
$this->l('With ajax search, the first 10 products matching the user query will appear in real time below the input field.')),
|
||||
'PS_INSTANT_SEARCH' => array(
|
||||
'title' => $this->l('Instant search:'),
|
||||
'title' => $this->l('Instant search'),
|
||||
'validation' => 'isBool',
|
||||
'cast' => 'intval',
|
||||
'type' => 'bool',
|
||||
|
||||
@@ -65,32 +65,32 @@ class AdminStoresControllerCore extends AdminController
|
||||
'title' => $this->l('Parameters'),
|
||||
'fields' => array(
|
||||
'PS_STORES_DISPLAY_FOOTER' => array(
|
||||
'title' => $this->l('Display in the footer:'),
|
||||
'title' => $this->l('Display in the footer'),
|
||||
'desc' => $this->l('Display a link to the store locator in the footer'),
|
||||
'cast' => 'intval',
|
||||
'type' => 'bool'
|
||||
),
|
||||
'PS_STORES_DISPLAY_SITEMAP' => array(
|
||||
'title' => $this->l('Display in the sitemap page:'),
|
||||
'title' => $this->l('Display in the sitemap page'),
|
||||
'desc' => $this->l('Display a link to the store locator in the sitemap page'),
|
||||
'cast' => 'intval',
|
||||
'type' => 'bool'
|
||||
),
|
||||
'PS_STORES_SIMPLIFIED' => array(
|
||||
'title' => $this->l('Show a simplified store locator:'),
|
||||
'title' => $this->l('Show a simplified store locator'),
|
||||
'desc' => $this->l('No map, no search, only a store directory'),
|
||||
'cast' => 'intval',
|
||||
'type' => 'bool'
|
||||
),
|
||||
'PS_STORES_CENTER_LAT' => array(
|
||||
'title' => $this->l('Latitude by default:'),
|
||||
'title' => $this->l('Latitude by default'),
|
||||
'desc' => $this->l('Used for the position by default of the map'),
|
||||
'cast' => 'floatval',
|
||||
'type' => 'text',
|
||||
'size' => '10'
|
||||
),
|
||||
'PS_STORES_CENTER_LONG' => array(
|
||||
'title' => $this->l('Longitude by default:'),
|
||||
'title' => $this->l('Longitude by default'),
|
||||
'desc' => $this->l('Used for the position by default of the map'),
|
||||
'cast' => 'floatval',
|
||||
'type' => 'text',
|
||||
@@ -156,7 +156,7 @@ class AdminStoresControllerCore extends AdminController
|
||||
'input' => array(
|
||||
array(
|
||||
'type' => 'text',
|
||||
'label' => $this->l('Name:'),
|
||||
'label' => $this->l('Name'),
|
||||
'name' => 'name',
|
||||
'size' => 33,
|
||||
'required' => false,
|
||||
@@ -165,27 +165,27 @@ class AdminStoresControllerCore extends AdminController
|
||||
),
|
||||
array(
|
||||
'type' => 'text',
|
||||
'label' => $this->l('Address:'),
|
||||
'label' => $this->l('Address'),
|
||||
'name' => 'address1',
|
||||
'size' => 33,
|
||||
'required' => true
|
||||
),
|
||||
array(
|
||||
'type' => 'text',
|
||||
'label' => $this->l('Address (2):'),
|
||||
'label' => $this->l('Address (2)'),
|
||||
'name' => 'address2',
|
||||
'size' => 33
|
||||
),
|
||||
array(
|
||||
'type' => 'text',
|
||||
'label' => $this->l('Postcode / Zip Code:'),
|
||||
'label' => $this->l('Postcode / Zip Code'),
|
||||
'name' => 'postcode',
|
||||
'size' => 6,
|
||||
'required' => true
|
||||
),
|
||||
array(
|
||||
'type' => 'text',
|
||||
'label' => $this->l('City:'),
|
||||
'label' => $this->l('City'),
|
||||
'name' => 'city',
|
||||
'size' => 33,
|
||||
'class' => 'uppercase',
|
||||
@@ -193,7 +193,7 @@ class AdminStoresControllerCore extends AdminController
|
||||
),
|
||||
array(
|
||||
'type' => 'select',
|
||||
'label' => $this->l('Country:'),
|
||||
'label' => $this->l('Country'),
|
||||
'name' => 'id_country',
|
||||
'required' => true,
|
||||
'default_value' => (int)$this->context->country->id,
|
||||
@@ -205,7 +205,7 @@ class AdminStoresControllerCore extends AdminController
|
||||
),
|
||||
array(
|
||||
'type' => 'select',
|
||||
'label' => $this->l('State:'),
|
||||
'label' => $this->l('State'),
|
||||
'name' => 'id_state',
|
||||
'required' => true,
|
||||
'options' => array(
|
||||
@@ -216,7 +216,7 @@ class AdminStoresControllerCore extends AdminController
|
||||
),
|
||||
array(
|
||||
'type' => 'latitude',
|
||||
'label' => $this->l('Latitude / Longitude:'),
|
||||
'label' => $this->l('Latitude / Longitude'),
|
||||
'name' => 'latitude',
|
||||
'required' => true,
|
||||
'size' => 11,
|
||||
@@ -225,32 +225,32 @@ class AdminStoresControllerCore extends AdminController
|
||||
),
|
||||
array(
|
||||
'type' => 'text',
|
||||
'label' => $this->l('Phone:'),
|
||||
'label' => $this->l('Phone'),
|
||||
'name' => 'phone',
|
||||
'size' => 33
|
||||
),
|
||||
array(
|
||||
'type' => 'text',
|
||||
'label' => $this->l('Fax:'),
|
||||
'label' => $this->l('Fax'),
|
||||
'name' => 'fax',
|
||||
'size' => 33
|
||||
),
|
||||
array(
|
||||
'type' => 'text',
|
||||
'label' => $this->l('E-mail address:'),
|
||||
'label' => $this->l('E-mail address'),
|
||||
'name' => 'email',
|
||||
'size' => 33
|
||||
),
|
||||
array(
|
||||
'type' => 'textarea',
|
||||
'label' => $this->l('Note:'),
|
||||
'label' => $this->l('Note'),
|
||||
'name' => 'note',
|
||||
'cols' => 42,
|
||||
'rows' => 4
|
||||
),
|
||||
array(
|
||||
'type' => 'radio',
|
||||
'label' => $this->l('Status:'),
|
||||
'label' => $this->l('Status'),
|
||||
'name' => 'active',
|
||||
'required' => false,
|
||||
'class' => 't',
|
||||
@@ -273,7 +273,7 @@ class AdminStoresControllerCore extends AdminController
|
||||
'rightCols' => array (
|
||||
'input' => array(
|
||||
'type' => 'file',
|
||||
'label' => $this->l('Picture:'),
|
||||
'label' => $this->l('Picture'),
|
||||
'name' => 'image',
|
||||
'desc' => $this->l('Storefront picture')
|
||||
)
|
||||
@@ -419,14 +419,14 @@ class AdminStoresControllerCore extends AdminController
|
||||
|
||||
$formFields = array(
|
||||
'PS_SHOP_NAME' => array(
|
||||
'title' => $this->l('Shop name:'),
|
||||
'title' => $this->l('Shop name'),
|
||||
'desc' => $this->l('Displayed in e-mails and page titles'),
|
||||
'validation' => 'isGenericName',
|
||||
'required' => true,
|
||||
'size' => 30,
|
||||
'type' => 'text'
|
||||
),
|
||||
'PS_SHOP_EMAIL' => array('title' => $this->l('Shop e-mail:'),
|
||||
'PS_SHOP_EMAIL' => array('title' => $this->l('Shop e-mail'),
|
||||
'desc' => $this->l('Displayed in e-mails sent to customers'),
|
||||
'validation' => 'isEmail',
|
||||
'required' => true,
|
||||
@@ -434,7 +434,7 @@ class AdminStoresControllerCore extends AdminController
|
||||
'type' => 'text'
|
||||
),
|
||||
'PS_SHOP_DETAILS' => array(
|
||||
'title' => $this->l('Registration:'),
|
||||
'title' => $this->l('Registration'),
|
||||
'desc' => $this->l('Shop registration information (e.g. SIRET or RCS)'),
|
||||
'validation' => 'isGenericName',
|
||||
'size' => 30,
|
||||
@@ -443,7 +443,7 @@ class AdminStoresControllerCore extends AdminController
|
||||
'rows' => 5
|
||||
),
|
||||
'PS_SHOP_ADDR1' => array(
|
||||
'title' => $this->l('Shop address line 1:'),
|
||||
'title' => $this->l('Shop address line 1'),
|
||||
'validation' => 'isAddress',
|
||||
'size' => 30,
|
||||
'type' => 'text'
|
||||
@@ -455,19 +455,19 @@ class AdminStoresControllerCore extends AdminController
|
||||
'type' => 'text'
|
||||
),
|
||||
'PS_SHOP_CODE' => array(
|
||||
'title' => $this->l('Postcode / Zip code:'),
|
||||
'title' => $this->l('Postcode / Zip code'),
|
||||
'validation' => 'isGenericName',
|
||||
'size' => 6,
|
||||
'type' => 'text'
|
||||
),
|
||||
'PS_SHOP_CITY' => array(
|
||||
'title' => $this->l('City:'),
|
||||
'title' => $this->l('City'),
|
||||
'validation' => 'isGenericName',
|
||||
'size' => 30,
|
||||
'type' => 'text'
|
||||
),
|
||||
'PS_SHOP_COUNTRY_ID' => array(
|
||||
'title' => $this->l('Country:'),
|
||||
'title' => $this->l('Country'),
|
||||
'validation' => 'isInt',
|
||||
'type' => 'select',
|
||||
'list' => $countryList,
|
||||
@@ -476,7 +476,7 @@ class AdminStoresControllerCore extends AdminController
|
||||
'defaultValue' => (int)$this->context->country->id
|
||||
),
|
||||
'PS_SHOP_STATE_ID' => array(
|
||||
'title' => $this->l('State:'),
|
||||
'title' => $this->l('State'),
|
||||
'validation' => 'isInt',
|
||||
'type' => 'select',
|
||||
'list' => $stateList,
|
||||
@@ -484,13 +484,13 @@ class AdminStoresControllerCore extends AdminController
|
||||
'cast' => 'intval'
|
||||
),
|
||||
'PS_SHOP_PHONE' => array(
|
||||
'title' => $this->l('Phone:'),
|
||||
'title' => $this->l('Phone'),
|
||||
'validation' => 'isGenericName',
|
||||
'size' => 30,
|
||||
'type' => 'text'
|
||||
),
|
||||
'PS_SHOP_FAX' => array(
|
||||
'title' => $this->l('Fax:'),
|
||||
'title' => $this->l('Fax'),
|
||||
'validation' => 'isGenericName',
|
||||
'size' => 30,
|
||||
'type' => 'text'
|
||||
|
||||
@@ -117,13 +117,13 @@ class AdminThemesControllerCore extends AdminController
|
||||
'icon' => 'email',
|
||||
'fields' => array(
|
||||
'PS_LOGO' => array(
|
||||
'title' => $this->l('Header logo:'),
|
||||
'title' => $this->l('Header logo'),
|
||||
'desc' => $this->l('Will appear on main page'),
|
||||
'type' => 'file',
|
||||
'thumb' => _PS_IMG_.Configuration::get('PS_LOGO').'?date='.time()
|
||||
),
|
||||
'PS_LOGO_MAIL' => array(
|
||||
'title' => $this->l('Mail logo:'),
|
||||
'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'),
|
||||
@@ -131,7 +131,7 @@ class AdminThemesControllerCore extends AdminController
|
||||
'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:'),
|
||||
'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'),
|
||||
@@ -139,21 +139,21 @@ class AdminThemesControllerCore extends AdminController
|
||||
'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:'),
|
||||
'title' => $this->l('Favicon'),
|
||||
'hint' => $this->l('Only ICO format allowed'),
|
||||
'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:'),
|
||||
'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'),
|
||||
'type' => 'file',
|
||||
'thumb' => _PS_IMG_.Configuration::get('PS_STORES_ICON').'?date='.time()
|
||||
),
|
||||
'PS_NAVIGATION_PIPE' => array(
|
||||
'title' => $this->l('Navigation pipe:'),
|
||||
'title' => $this->l('Navigation pipe'),
|
||||
'desc' => $this->l('Used for navigation path inside categories/product'),
|
||||
'cast' => 'strval',
|
||||
'type' => 'text',
|
||||
|
||||
@@ -66,7 +66,7 @@ class AdminWebserviceControllerCore extends AdminController
|
||||
'general' => array(
|
||||
'title' => $this->l('Configuration'),
|
||||
'fields' => array(
|
||||
'PS_WEBSERVICE' => array('title' => $this->l('Enable PrestaShop Webservice:'),
|
||||
'PS_WEBSERVICE' => array('title' => $this->l('Enable PrestaShop Webservice'),
|
||||
'desc' => $this->l('Before activating the webservice, you must be sure to: ').
|
||||
'<ol>
|
||||
<li>'.$this->l('be certain that URL rewriting is available on this server').'</li>
|
||||
@@ -75,7 +75,7 @@ class AdminWebserviceControllerCore extends AdminController
|
||||
'cast' => 'intval',
|
||||
'type' => 'bool'),
|
||||
'PS_WEBSERVICE_CGI_HOST' => array(
|
||||
'title' => $this->l('Active mode CGI for PHP:'),
|
||||
'title' => $this->l('Active mode CGI for PHP'),
|
||||
'desc' => $this->l('Be sure PHP is not configured as an Apache module on your server'),
|
||||
'cast' => 'intval',
|
||||
'type' => 'bool'
|
||||
|
||||
Reference in New Issue
Block a user