first commit
This commit is contained in:
34
classes/lang/AttributeGroupLang.php
Normal file
34
classes/lang/AttributeGroupLang.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright since 2007 PrestaShop SA and Contributors
|
||||
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/OSL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to https://devdocs.prestashop.com/ for more information.
|
||||
*
|
||||
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
||||
*/
|
||||
class AttributeGroupLangCore extends DataLangCore
|
||||
{
|
||||
// Don't replace domain in init() with $this->domain for translation parsing
|
||||
protected $domain = 'Shop.Demo.Catalog';
|
||||
|
||||
protected $keys = ['id_attribute_group'];
|
||||
|
||||
protected $fieldsToUpdate = ['name', 'public_name'];
|
||||
}
|
||||
34
classes/lang/AttributeLang.php
Normal file
34
classes/lang/AttributeLang.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright since 2007 PrestaShop SA and Contributors
|
||||
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/OSL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to https://devdocs.prestashop.com/ for more information.
|
||||
*
|
||||
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
||||
*/
|
||||
class AttributeLangCore extends DataLangCore
|
||||
{
|
||||
// Don't replace domain in init() with $this->domain for translation parsing
|
||||
protected $domain = 'Shop.Demo.Catalog';
|
||||
|
||||
protected $keys = ['id_attribute'];
|
||||
|
||||
protected $fieldsToUpdate = ['name'];
|
||||
}
|
||||
34
classes/lang/CarrierLang.php
Normal file
34
classes/lang/CarrierLang.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright since 2007 PrestaShop SA and Contributors
|
||||
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/OSL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to https://devdocs.prestashop.com/ for more information.
|
||||
*
|
||||
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
||||
*/
|
||||
class CarrierLangCore extends DataLangCore
|
||||
{
|
||||
// Don't replace domain in init() with $this->domain for translation parsing
|
||||
protected $domain = 'Admin.Shipping.Feature';
|
||||
|
||||
protected $keys = ['id_carrier', 'id_shop'];
|
||||
|
||||
protected $fieldsToUpdate = ['delay'];
|
||||
}
|
||||
53
classes/lang/CategoryLang.php
Normal file
53
classes/lang/CategoryLang.php
Normal file
@@ -0,0 +1,53 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright since 2007 PrestaShop SA and Contributors
|
||||
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/OSL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to https://devdocs.prestashop.com/ for more information.
|
||||
*
|
||||
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
||||
*/
|
||||
class CategoryLangCore extends DataLangCore
|
||||
{
|
||||
// Don't replace domain in init() with $this->domain for translation parsing
|
||||
protected $domain = 'Admin.Catalog.Feature';
|
||||
|
||||
protected $keys = ['id_category', 'id_shop'];
|
||||
|
||||
protected $fieldsToUpdate = ['name', 'link_rewrite'];
|
||||
|
||||
public function getFieldValue($field, $value)
|
||||
{
|
||||
if ($field == 'link_rewrite') {
|
||||
$replacements = [
|
||||
'home' => 'Home',
|
||||
'root' => 'Root',
|
||||
];
|
||||
$value = str_replace(array_keys($replacements), array_values($replacements), $value);
|
||||
}
|
||||
|
||||
$value = parent::getFieldValue($field, $value);
|
||||
|
||||
if ($field == 'link_rewrite') {
|
||||
$value = $this->slugify($value);
|
||||
}
|
||||
|
||||
return $value;
|
||||
}
|
||||
}
|
||||
52
classes/lang/CmsCategoryLang.php
Normal file
52
classes/lang/CmsCategoryLang.php
Normal file
@@ -0,0 +1,52 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright since 2007 PrestaShop SA and Contributors
|
||||
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/OSL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to https://devdocs.prestashop.com/ for more information.
|
||||
*
|
||||
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
||||
*/
|
||||
class CmsCategoryLangCore extends DataLangCore
|
||||
{
|
||||
// Don't replace domain in init() with $this->domain for translation parsing
|
||||
protected $domain = 'Admin.Catalog.Feature';
|
||||
|
||||
protected $keys = ['id_cms_category', 'id_shop'];
|
||||
|
||||
protected $fieldsToUpdate = ['name', 'link_rewrite'];
|
||||
|
||||
public function getFieldValue($field, $value)
|
||||
{
|
||||
if ($field == 'link_rewrite') {
|
||||
$replacements = [
|
||||
'home' => 'Home',
|
||||
];
|
||||
$value = str_replace(array_keys($replacements), array_values($replacements), $value);
|
||||
}
|
||||
|
||||
$value = parent::getFieldValue($field, $value);
|
||||
|
||||
if ($field == 'link_rewrite') {
|
||||
$value = $this->slugify($value);
|
||||
}
|
||||
|
||||
return $value;
|
||||
}
|
||||
}
|
||||
34
classes/lang/ConfigurationLang.php
Normal file
34
classes/lang/ConfigurationLang.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright since 2007 PrestaShop SA and Contributors
|
||||
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/OSL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to https://devdocs.prestashop.com/ for more information.
|
||||
*
|
||||
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
||||
*/
|
||||
class ConfigurationLangCore extends DataLangCore
|
||||
{
|
||||
// Don't replace domain in init() with $this->domain for translation parsing
|
||||
protected $domain = 'Admin.Shopparameters.Feature';
|
||||
|
||||
protected $keys = ['id_configuration'];
|
||||
|
||||
protected $fieldsToUpdate = ['value'];
|
||||
}
|
||||
34
classes/lang/ContactLang.php
Normal file
34
classes/lang/ContactLang.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright since 2007 PrestaShop SA and Contributors
|
||||
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/OSL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to https://devdocs.prestashop.com/ for more information.
|
||||
*
|
||||
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
||||
*/
|
||||
class ContactLangCore extends DataLangCore
|
||||
{
|
||||
// Don't replace domain in init() with $this->domain for translation parsing
|
||||
protected $domain = 'Admin.Shopparameters.Feature';
|
||||
|
||||
protected $keys = ['id_contact'];
|
||||
|
||||
protected $fieldsToUpdate = ['name', 'description'];
|
||||
}
|
||||
143
classes/lang/DataLang.php
Normal file
143
classes/lang/DataLang.php
Normal file
@@ -0,0 +1,143 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright since 2007 PrestaShop SA and Contributors
|
||||
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/OSL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to https://devdocs.prestashop.com/ for more information.
|
||||
*
|
||||
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
||||
*/
|
||||
|
||||
use Doctrine\Common\Inflector\Inflector;
|
||||
use PrestaShop\PrestaShop\Adapter\SymfonyContainer;
|
||||
use PrestaShopBundle\Translation\TranslatorInterface;
|
||||
|
||||
/**
|
||||
* DataLang classes are used by Language
|
||||
* to update existing entities in the database whenever a new language is installed.
|
||||
* Each *Lang subclass corresponds to a database table.
|
||||
*
|
||||
* @see Language::updateMultilangFromClass()
|
||||
*/
|
||||
class DataLangCore
|
||||
{
|
||||
/** @var TranslatorInterface */
|
||||
protected $translator;
|
||||
|
||||
/** @var string Locale to translate to */
|
||||
protected $locale;
|
||||
|
||||
/** @var string[] Table primary key */
|
||||
protected $keys;
|
||||
|
||||
/** @var string[] Database fields to translate */
|
||||
protected $fieldsToUpdate;
|
||||
|
||||
/** @var string Default translation domain */
|
||||
protected $domain;
|
||||
|
||||
/**
|
||||
* @param string $locale
|
||||
* @param TranslatorInterface|null $translator If defined, use this translator
|
||||
*/
|
||||
public function __construct($locale, ?TranslatorInterface $translator = null)
|
||||
{
|
||||
$this->locale = $locale;
|
||||
|
||||
$this->translator = $translator instanceof TranslatorInterface
|
||||
? $translator
|
||||
: SymfonyContainer::getInstance()->get('translator');
|
||||
|
||||
$isAdminContext = defined('_PS_ADMIN_DIR_');
|
||||
|
||||
if (!$this->translator->isLanguageLoaded($this->locale)) {
|
||||
SymfonyContainer::getInstance()->get('prestashop.translation.translator_language_loader')
|
||||
->setIsAdminContext($isAdminContext)
|
||||
->loadLanguage($this->translator, $this->locale);
|
||||
$this->translator->getCatalogue($this->locale);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Translates a value to the current locale
|
||||
*
|
||||
* @param string $field Name of the database field to translate
|
||||
* @param string $value Value to translate
|
||||
*
|
||||
* @return string Translated value
|
||||
*/
|
||||
public function getFieldValue($field, $value)
|
||||
{
|
||||
return $this->translator->trans($value, [], $this->domain, $this->locale);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the table primary key
|
||||
*
|
||||
* @return string[]
|
||||
*/
|
||||
public function getKeys()
|
||||
{
|
||||
return $this->keys;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the list of database fields to update
|
||||
*
|
||||
* @return string[]
|
||||
*/
|
||||
public function getFieldsToUpdate()
|
||||
{
|
||||
return $this->fieldsToUpdate;
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a slug from the provided string
|
||||
*
|
||||
* @param string $string
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function slugify($string)
|
||||
{
|
||||
return strtolower(str_replace(' ', '-', Tools::replaceAccentedChars($string)));
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the default translation domain
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getDomain()
|
||||
{
|
||||
return $this->domain;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the table name where the translations are to be performed
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getTableName(): string
|
||||
{
|
||||
$shortClassName = substr(strrchr('\\' . get_class($this), '\\'), 1);
|
||||
|
||||
return Inflector::tableize($shortClassName);
|
||||
}
|
||||
}
|
||||
34
classes/lang/FeatureLang.php
Normal file
34
classes/lang/FeatureLang.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright since 2007 PrestaShop SA and Contributors
|
||||
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/OSL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to https://devdocs.prestashop.com/ for more information.
|
||||
*
|
||||
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
||||
*/
|
||||
class FeatureLangCore extends DataLangCore
|
||||
{
|
||||
// Don't replace domain in init() with $this->domain for translation parsing
|
||||
protected $domain = 'Shop.Demo.Catalog';
|
||||
|
||||
protected $keys = ['id_feature'];
|
||||
|
||||
protected $fieldsToUpdate = ['name'];
|
||||
}
|
||||
34
classes/lang/FeatureValueLang.php
Normal file
34
classes/lang/FeatureValueLang.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright since 2007 PrestaShop SA and Contributors
|
||||
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/OSL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to https://devdocs.prestashop.com/ for more information.
|
||||
*
|
||||
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
||||
*/
|
||||
class FeatureValueLangCore extends DataLangCore
|
||||
{
|
||||
// Don't replace domain in init() with $this->domain for translation parsing
|
||||
protected $domain = 'Shop.Demo.Catalog';
|
||||
|
||||
protected $keys = ['id_feature_value'];
|
||||
|
||||
protected $fieldsToUpdate = ['value'];
|
||||
}
|
||||
34
classes/lang/GenderLang.php
Normal file
34
classes/lang/GenderLang.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright since 2007 PrestaShop SA and Contributors
|
||||
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/OSL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to https://devdocs.prestashop.com/ for more information.
|
||||
*
|
||||
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
||||
*/
|
||||
class GenderLangCore extends DataLangCore
|
||||
{
|
||||
// Don't replace domain in init() with $this->domain for translation parsing
|
||||
protected $domain = 'Admin.Shopparameters.Feature';
|
||||
|
||||
protected $keys = ['id_gender'];
|
||||
|
||||
protected $fieldsToUpdate = ['name'];
|
||||
}
|
||||
34
classes/lang/GroupLang.php
Normal file
34
classes/lang/GroupLang.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright since 2007 PrestaShop SA and Contributors
|
||||
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/OSL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to https://devdocs.prestashop.com/ for more information.
|
||||
*
|
||||
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
||||
*/
|
||||
class GroupLangCore extends DataLangCore
|
||||
{
|
||||
// Don't replace domain in init() with $this->domain for translation parsing
|
||||
protected $domain = 'Admin.Shopparameters.Feature';
|
||||
|
||||
protected $keys = ['id_group'];
|
||||
|
||||
protected $fieldsToUpdate = ['name'];
|
||||
}
|
||||
28
classes/lang/KeysReference/AttributeGroupLang.php
Normal file
28
classes/lang/KeysReference/AttributeGroupLang.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright since 2007 PrestaShop SA and Contributors
|
||||
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/OSL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to https://devdocs.prestashop.com/ for more information.
|
||||
*
|
||||
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
||||
*/
|
||||
trans('Size', 'Shop.Demo.Catalog');
|
||||
trans('Shoe size', 'Shop.Demo.Catalog');
|
||||
trans('Color', 'Shop.Demo.Catalog');
|
||||
49
classes/lang/KeysReference/AttributeLang.php
Normal file
49
classes/lang/KeysReference/AttributeLang.php
Normal file
@@ -0,0 +1,49 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright since 2007 PrestaShop SA and Contributors
|
||||
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/OSL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to https://devdocs.prestashop.com/ for more information.
|
||||
*
|
||||
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
||||
*/
|
||||
trans('S', 'Shop.Demo.Catalog');
|
||||
trans('M', 'Shop.Demo.Catalog');
|
||||
trans('L', 'Shop.Demo.Catalog');
|
||||
trans('One size', 'Shop.Demo.Catalog');
|
||||
trans('Grey', 'Shop.Demo.Catalog');
|
||||
trans('Taupe', 'Shop.Demo.Catalog');
|
||||
trans('Beige', 'Shop.Demo.Catalog');
|
||||
trans('White', 'Shop.Demo.Catalog');
|
||||
trans('Off White', 'Shop.Demo.Catalog');
|
||||
trans('Red', 'Shop.Demo.Catalog');
|
||||
trans('Black', 'Shop.Demo.Catalog');
|
||||
trans('Camel', 'Shop.Demo.Catalog');
|
||||
trans('Orange', 'Shop.Demo.Catalog');
|
||||
trans('Blue', 'Shop.Demo.Catalog');
|
||||
trans('Green', 'Shop.Demo.Catalog');
|
||||
trans('Yellow', 'Shop.Demo.Catalog');
|
||||
trans('Brown', 'Shop.Demo.Catalog');
|
||||
trans('35', 'Shop.Demo.Catalog');
|
||||
trans('36', 'Shop.Demo.Catalog');
|
||||
trans('37', 'Shop.Demo.Catalog');
|
||||
trans('38', 'Shop.Demo.Catalog');
|
||||
trans('39', 'Shop.Demo.Catalog');
|
||||
trans('40', 'Shop.Demo.Catalog');
|
||||
trans('Pink', 'Shop.Demo.Catalog');
|
||||
27
classes/lang/KeysReference/CarrierLang.php
Normal file
27
classes/lang/KeysReference/CarrierLang.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright since 2007 PrestaShop SA and Contributors
|
||||
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/OSL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to https://devdocs.prestashop.com/ for more information.
|
||||
*
|
||||
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
||||
*/
|
||||
trans('Pick up in-store', 'Admin.Shipping.Feature');
|
||||
trans('Delivery next day!', 'Admin.Shipping.Feature');
|
||||
27
classes/lang/KeysReference/CategoryLang.php
Normal file
27
classes/lang/KeysReference/CategoryLang.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright since 2007 PrestaShop SA and Contributors
|
||||
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/OSL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to https://devdocs.prestashop.com/ for more information.
|
||||
*
|
||||
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
||||
*/
|
||||
trans('Root', 'Admin.Catalog.Feature');
|
||||
trans('Home', 'Admin.Catalog.Feature');
|
||||
26
classes/lang/KeysReference/CmsCategoryLang.php
Normal file
26
classes/lang/KeysReference/CmsCategoryLang.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright since 2007 PrestaShop SA and Contributors
|
||||
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/OSL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to https://devdocs.prestashop.com/ for more information.
|
||||
*
|
||||
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
||||
*/
|
||||
trans('Home', 'Admin.Catalog.Feature');
|
||||
68
classes/lang/KeysReference/ConfigurationLang.php
Normal file
68
classes/lang/KeysReference/ConfigurationLang.php
Normal file
@@ -0,0 +1,68 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright since 2007 PrestaShop SA and Contributors
|
||||
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/OSL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to https://devdocs.prestashop.com/ for more information.
|
||||
*
|
||||
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
||||
*/
|
||||
trans(
|
||||
'Dear Customer,
|
||||
|
||||
Regards,
|
||||
Customer service',
|
||||
'Admin.Shopparameters.Feature'
|
||||
);
|
||||
|
||||
trans(
|
||||
'We are currently updating our shop and will be back really soon.
|
||||
Thanks for your patience.',
|
||||
'Admin.Shopparameters.Feature'
|
||||
);
|
||||
|
||||
// PS_INVOICE_PREFIX on configuration_lang table
|
||||
trans('#IN', 'Admin.Shopparameters.Feature');
|
||||
|
||||
// PS_DELIVERY_PREFIX on configuration_lang table
|
||||
trans('#DE', 'Admin.Shopparameters.Feature');
|
||||
|
||||
// PS_RETURN_PREFIX on configuration_lang table
|
||||
trans('#RE', 'Admin.Shopparameters.Feature');
|
||||
|
||||
// PS_RETURN_PREFIX on configuration_lang table - No translate word per word but adapting for your language
|
||||
trans(
|
||||
'a|about|above|after|again|against|all|am|an|and|any|are|aren|as|at|be|because|been|before|being|below|between|both|but|by|can|cannot|could|couldn|did|didn|do|does|doesn|doing|don|down|during|each|few|for|from|further|had|hadn|has|hasn|have|haven|having|he|ll|her|here|hers|herself|him|himself|his|how|ve|if|in|into|is|isn|it|its|itself|let|me|more|most|mustn|my|myself|no|nor|not|of|off|on|once|only|or|other|ought|our|ours|ourselves|out|over|own|same|shan|she|should|shouldn|so|some|such|than|that|the|their|theirs|them|themselves|then|there|these|they|re|this|those|through|to|too|under|until|up|very|was|wasn|we|were|weren|what|when|where|which|while|who|whom|why|with|won|would|wouldn|you|your|yours|yourself|yourselves',
|
||||
'Admin.Shopparameters.Feature'
|
||||
);
|
||||
|
||||
// NW_CONDITIONS on configuration_lang table - From ps_emailsubscription module
|
||||
trans(
|
||||
'You may unsubscribe at any moment. For that purpose, please find our contact info in the legal notice.',
|
||||
'Admin.Shopparameters.Feature'
|
||||
);
|
||||
|
||||
// PS_LABEL_IN_STOCK_PRODUCTS on configuration_lang table
|
||||
trans('In Stock', 'Admin.Shopparameters.Feature');
|
||||
|
||||
// PS_LABEL_OOS_PRODUCTS_BOA on configuration_lang table
|
||||
trans('Product available for orders', 'Admin.Shopparameters.Feature');
|
||||
|
||||
// PS_LABEL_OOS_PRODUCTS_BOD on configuration_lang table
|
||||
trans('Out-of-Stock', 'Admin.Shopparameters.Feature');
|
||||
30
classes/lang/KeysReference/ContactLang.php
Normal file
30
classes/lang/KeysReference/ContactLang.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright since 2007 PrestaShop SA and Contributors
|
||||
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/OSL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to https://devdocs.prestashop.com/ for more information.
|
||||
*
|
||||
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
||||
*/
|
||||
trans('Webmaster', 'Admin.Shopparameters.Feature');
|
||||
trans('Customer service', 'Admin.Shopparameters.Feature');
|
||||
trans('If a technical problem occurs on this website', 'Admin.Shopparameters.Feature');
|
||||
|
||||
trans('For any question about a product, an order', 'Admin.Shopparameters.Feature');
|
||||
30
classes/lang/KeysReference/FeatureFlagLang.php
Normal file
30
classes/lang/KeysReference/FeatureFlagLang.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright since 2007 PrestaShop SA and Contributors
|
||||
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/OSL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to https://devdocs.prestashop.com/ for more information.
|
||||
*
|
||||
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
||||
*/
|
||||
trans('Experimental product page', 'Admin.Advparameters.Feature');
|
||||
trans(
|
||||
'This page benefits from increased performance and includes new features such as a new combination management system. Please note this is a work in progress and some features are not available yet.',
|
||||
'Admin.Advparameters.Help'
|
||||
);
|
||||
32
classes/lang/KeysReference/FeatureLang.php
Normal file
32
classes/lang/KeysReference/FeatureLang.php
Normal file
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright since 2007 PrestaShop SA and Contributors
|
||||
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/OSL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to https://devdocs.prestashop.com/ for more information.
|
||||
*
|
||||
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
||||
*/
|
||||
trans('Height', 'Shop.Demo.Catalog');
|
||||
trans('Width', 'Shop.Demo.Catalog');
|
||||
trans('Depth', 'Shop.Demo.Catalog');
|
||||
trans('Weight', 'Shop.Demo.Catalog');
|
||||
trans('Compositions', 'Shop.Demo.Catalog');
|
||||
trans('Styles', 'Shop.Demo.Catalog');
|
||||
trans('Properties', 'Shop.Demo.Catalog');
|
||||
90
classes/lang/KeysReference/FeatureValueLang.php
Normal file
90
classes/lang/KeysReference/FeatureValueLang.php
Normal file
@@ -0,0 +1,90 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright since 2007 PrestaShop SA and Contributors
|
||||
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/OSL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to https://devdocs.prestashop.com/ for more information.
|
||||
*
|
||||
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
||||
*/
|
||||
trans('Polyester', 'Shop.Demo.Catalog');
|
||||
|
||||
trans('Wool', 'Shop.Demo.Catalog');
|
||||
|
||||
trans('Viscose', 'Shop.Demo.Catalog');
|
||||
|
||||
trans('Elastane', 'Shop.Demo.Catalog');
|
||||
|
||||
trans('Cotton', 'Shop.Demo.Catalog');
|
||||
|
||||
trans('Silk', 'Shop.Demo.Catalog');
|
||||
|
||||
trans('Suede', 'Shop.Demo.Catalog');
|
||||
|
||||
trans('Straw', 'Shop.Demo.Catalog');
|
||||
|
||||
trans('Leather', 'Shop.Demo.Catalog');
|
||||
|
||||
trans('Classic', 'Shop.Demo.Catalog');
|
||||
|
||||
trans('Casual', 'Shop.Demo.Catalog');
|
||||
|
||||
trans('Military', 'Shop.Demo.Catalog');
|
||||
|
||||
trans('Girly', 'Shop.Demo.Catalog');
|
||||
|
||||
trans('Rock', 'Shop.Demo.Catalog');
|
||||
|
||||
trans('Basic', 'Shop.Demo.Catalog');
|
||||
|
||||
trans('Dressy', 'Shop.Demo.Catalog');
|
||||
|
||||
trans('Short Sleeve', 'Shop.Demo.Catalog');
|
||||
|
||||
trans('Colorful Dress', 'Shop.Demo.Catalog');
|
||||
|
||||
trans('Short Dress', 'Shop.Demo.Catalog');
|
||||
|
||||
trans('Midi Dress', 'Shop.Demo.Catalog');
|
||||
|
||||
trans('Maxi Dress', 'Shop.Demo.Catalog');
|
||||
|
||||
trans('2.75 in', 'Shop.Demo.Catalog');
|
||||
|
||||
trans('2.06 in', 'Shop.Demo.Catalog');
|
||||
|
||||
trans('49.2 g', 'Shop.Demo.Catalog');
|
||||
|
||||
trans('0.26 in', 'Shop.Demo.Catalog');
|
||||
|
||||
trans('1.07 in', 'Shop.Demo.Catalog');
|
||||
|
||||
trans('1.62 in', 'Shop.Demo.Catalog');
|
||||
|
||||
trans('15.5 g', 'Shop.Demo.Catalog');
|
||||
|
||||
trans('0.41 in (clip included)', 'Shop.Demo.Catalog');
|
||||
|
||||
trans('4.33 in', 'Shop.Demo.Catalog');
|
||||
|
||||
trans('2.76 in', 'Shop.Demo.Catalog');
|
||||
|
||||
trans('120g', 'Shop.Demo.Catalog');
|
||||
|
||||
trans('0.31 in', 'Shop.Demo.Catalog');
|
||||
27
classes/lang/KeysReference/GenderLang.php
Normal file
27
classes/lang/KeysReference/GenderLang.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright since 2007 PrestaShop SA and Contributors
|
||||
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/OSL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to https://devdocs.prestashop.com/ for more information.
|
||||
*
|
||||
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
||||
*/
|
||||
trans('Mr.', 'Admin.Shopparameters.Feature');
|
||||
trans('Mrs.', 'Admin.Shopparameters.Feature');
|
||||
28
classes/lang/KeysReference/GroupLang.php
Normal file
28
classes/lang/KeysReference/GroupLang.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright since 2007 PrestaShop SA and Contributors
|
||||
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/OSL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to https://devdocs.prestashop.com/ for more information.
|
||||
*
|
||||
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
||||
*/
|
||||
trans('Visitor', 'Admin.Shopparameters.Feature');
|
||||
trans('Guest', 'Admin.Shopparameters.Feature');
|
||||
trans('Customer', 'Admin.Shopparameters.Feature');
|
||||
92
classes/lang/KeysReference/MetaLang.php
Normal file
92
classes/lang/KeysReference/MetaLang.php
Normal file
@@ -0,0 +1,92 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright since 2007 PrestaShop SA and Contributors
|
||||
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/OSL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to https://devdocs.prestashop.com/ for more information.
|
||||
*
|
||||
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
||||
*/
|
||||
trans('404 error', 'Shop.Navigation');
|
||||
trans('Best sales', 'Shop.Navigation');
|
||||
trans('Contact us', 'Shop.Navigation');
|
||||
trans('Manufacturers', 'Shop.Navigation');
|
||||
trans('New products', 'Shop.Navigation');
|
||||
trans('Forgot your password', 'Shop.Navigation');
|
||||
trans('Prices drop', 'Shop.Navigation');
|
||||
trans('Sitemap', 'Shop.Navigation');
|
||||
trans('Suppliers', 'Shop.Navigation');
|
||||
trans('Address', 'Shop.Navigation');
|
||||
trans('Addresses', 'Shop.Navigation');
|
||||
trans('Login', 'Shop.Navigation');
|
||||
trans('Cart', 'Shop.Navigation');
|
||||
trans('Discount', 'Shop.Navigation');
|
||||
trans('Order history', 'Shop.Navigation');
|
||||
trans('Identity', 'Shop.Navigation');
|
||||
trans('My account', 'Shop.Navigation');
|
||||
trans('Order follow', 'Shop.Navigation');
|
||||
trans('Credit slip', 'Shop.Navigation');
|
||||
trans('Order', 'Shop.Navigation');
|
||||
trans('Search', 'Shop.Navigation');
|
||||
trans('Stores', 'Shop.Navigation');
|
||||
trans('Guest tracking', 'Shop.Navigation');
|
||||
trans('Order confirmation', 'Shop.Navigation');
|
||||
trans('This page cannot be found', 'Shop.Navigation');
|
||||
|
||||
trans('Our best sales', 'Shop.Navigation');
|
||||
|
||||
trans('Use our form to contact us', 'Shop.Navigation');
|
||||
|
||||
trans('Shop powered by PrestaShop', 'Shop.Navigation');
|
||||
|
||||
trans('Brand list', 'Shop.Navigation');
|
||||
|
||||
trans('Our new products', 'Shop.Navigation');
|
||||
|
||||
trans('Enter the e-mail address you use to sign in to receive an e-mail with a new password', 'Shop.Navigation');
|
||||
|
||||
trans('On-sale products', 'Shop.Navigation');
|
||||
|
||||
trans('Lost ? Find what your are looking for', 'Shop.Navigation');
|
||||
|
||||
trans('Suppliers list', 'Shop.Navigation');
|
||||
trans('page-not-found', 'Shop.Navigation');
|
||||
trans('best-sales', 'Shop.Navigation');
|
||||
trans('contact-us', 'Shop.Navigation');
|
||||
trans('manufacturers', 'Shop.Navigation');
|
||||
trans('new-products', 'Shop.Navigation');
|
||||
trans('password-recovery', 'Shop.Navigation');
|
||||
trans('prices-drop', 'Shop.Navigation');
|
||||
trans('sitemap', 'Shop.Navigation');
|
||||
trans('supplier', 'Shop.Navigation');
|
||||
trans('address', 'Shop.Navigation');
|
||||
trans('addresses', 'Shop.Navigation');
|
||||
trans('login', 'Shop.Navigation');
|
||||
trans('cart', 'Shop.Navigation');
|
||||
trans('discount', 'Shop.Navigation');
|
||||
trans('order-history', 'Shop.Navigation');
|
||||
trans('identity', 'Shop.Navigation');
|
||||
trans('my-account', 'Shop.Navigation');
|
||||
trans('order-follow', 'Shop.Navigation');
|
||||
trans('credit-slip', 'Shop.Navigation');
|
||||
trans('order', 'Shop.Navigation');
|
||||
trans('search', 'Shop.Navigation');
|
||||
trans('stores', 'Shop.Navigation');
|
||||
trans('guest-tracking', 'Shop.Navigation');
|
||||
trans('order-confirmation', 'Shop.Navigation');
|
||||
30
classes/lang/KeysReference/OrderMessageLang.php
Normal file
30
classes/lang/KeysReference/OrderMessageLang.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright since 2007 PrestaShop SA and Contributors
|
||||
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/OSL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to https://devdocs.prestashop.com/ for more information.
|
||||
*
|
||||
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
||||
*/
|
||||
trans('Delay', 'Admin.Orderscustomers.Feature');
|
||||
trans(
|
||||
"Hi,\n\nUnfortunately, an item on your order is currently out of stock. This may cause a slight delay in delivery.\nPlease accept our apologies and rest assured that we are working hard to rectify this.\n\nBest regards,",
|
||||
'Admin.Orderscustomers.Feature'
|
||||
);
|
||||
30
classes/lang/KeysReference/OrderReturnStateLang.php
Normal file
30
classes/lang/KeysReference/OrderReturnStateLang.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright since 2007 PrestaShop SA and Contributors
|
||||
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/OSL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to https://devdocs.prestashop.com/ for more information.
|
||||
*
|
||||
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
||||
*/
|
||||
trans('Waiting for confirmation', 'Admin.Orderscustomers.Feature');
|
||||
trans('Waiting for package', 'Admin.Orderscustomers.Feature');
|
||||
trans('Package received', 'Admin.Orderscustomers.Feature');
|
||||
trans('Return denied', 'Admin.Orderscustomers.Feature');
|
||||
trans('Return completed', 'Admin.Orderscustomers.Feature');
|
||||
50
classes/lang/KeysReference/OrderStateLang.php
Normal file
50
classes/lang/KeysReference/OrderStateLang.php
Normal file
@@ -0,0 +1,50 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright since 2007 PrestaShop SA and Contributors
|
||||
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/OSL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to https://devdocs.prestashop.com/ for more information.
|
||||
*
|
||||
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
||||
*/
|
||||
trans('Awaiting check payment', 'Admin.Orderscustomers.Feature');
|
||||
|
||||
trans('Payment accepted', 'Admin.Orderscustomers.Feature');
|
||||
|
||||
trans('Processing in progress', 'Admin.Orderscustomers.Feature');
|
||||
|
||||
trans('Shipped', 'Admin.Orderscustomers.Feature');
|
||||
|
||||
trans('Delivered', 'Admin.Orderscustomers.Feature');
|
||||
|
||||
trans('Canceled', 'Admin.Orderscustomers.Feature');
|
||||
|
||||
trans('Refunded', 'Admin.Orderscustomers.Feature');
|
||||
|
||||
trans('Payment error', 'Admin.Orderscustomers.Feature');
|
||||
|
||||
trans('On backorder (paid)', 'Admin.Orderscustomers.Feature');
|
||||
|
||||
trans('On backorder (not paid)', 'Admin.Orderscustomers.Feature');
|
||||
|
||||
trans('Awaiting bank wire payment', 'Admin.Orderscustomers.Feature');
|
||||
|
||||
trans('Remote payment accepted', 'Admin.Orderscustomers.Feature');
|
||||
|
||||
trans('Awaiting Cash On Delivery validation', 'Admin.Orderscustomers.Feature');
|
||||
29
classes/lang/KeysReference/ProfileLang.php
Normal file
29
classes/lang/KeysReference/ProfileLang.php
Normal file
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright since 2007 PrestaShop SA and Contributors
|
||||
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/OSL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to https://devdocs.prestashop.com/ for more information.
|
||||
*
|
||||
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
||||
*/
|
||||
trans('SuperAdmin', 'Admin.Advparameters.Feature');
|
||||
trans('Logistician', 'Admin.Advparameters.Feature');
|
||||
trans('Translator', 'Admin.Advparameters.Feature');
|
||||
trans('Salesman', 'Admin.Advparameters.Feature');
|
||||
33
classes/lang/KeysReference/QuickAccessLang.php
Normal file
33
classes/lang/KeysReference/QuickAccessLang.php
Normal file
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright since 2007 PrestaShop SA and Contributors
|
||||
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/OSL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to https://devdocs.prestashop.com/ for more information.
|
||||
*
|
||||
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
||||
*/
|
||||
trans('Home', 'Admin.Navigation.Header');
|
||||
trans('My Shop', 'Admin.Navigation.Header');
|
||||
trans('New category', 'Admin.Navigation.Header');
|
||||
trans('New product', 'Admin.Navigation.Header');
|
||||
trans('New voucher', 'Admin.Navigation.Header');
|
||||
trans('Orders', 'Admin.Navigation.Header');
|
||||
trans('Installed modules', 'Admin.Navigation.Header');
|
||||
trans('Catalog evaluation', 'Admin.Navigation.Header');
|
||||
29
classes/lang/KeysReference/RiskLang.php
Normal file
29
classes/lang/KeysReference/RiskLang.php
Normal file
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright since 2007 PrestaShop SA and Contributors
|
||||
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/OSL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to https://devdocs.prestashop.com/ for more information.
|
||||
*
|
||||
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
||||
*/
|
||||
trans('None', 'Admin.Orderscustomers.Feature');
|
||||
trans('Low', 'Admin.Orderscustomers.Feature');
|
||||
trans('Medium', 'Admin.Orderscustomers.Feature');
|
||||
trans('High', 'Admin.Orderscustomers.Feature');
|
||||
42
classes/lang/KeysReference/StockMvtReasonLang.php
Normal file
42
classes/lang/KeysReference/StockMvtReasonLang.php
Normal file
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright since 2007 PrestaShop SA and Contributors
|
||||
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/OSL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to https://devdocs.prestashop.com/ for more information.
|
||||
*
|
||||
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
||||
*/
|
||||
trans('Increase', 'Admin.Catalog.Feature');
|
||||
|
||||
trans('Decrease', 'Admin.Catalog.Feature');
|
||||
|
||||
trans('Customer Order', 'Admin.Catalog.Feature');
|
||||
|
||||
trans('Adjustment following an inventory of stock', 'Admin.Catalog.Feature');
|
||||
|
||||
trans('Transfer to another warehouse', 'Admin.Catalog.Feature');
|
||||
|
||||
trans('Transfer from another warehouse', 'Admin.Catalog.Feature');
|
||||
|
||||
trans('Supply Order', 'Admin.Catalog.Feature');
|
||||
|
||||
trans('Product Return', 'Admin.Catalog.Feature');
|
||||
|
||||
trans('Manual Entry', 'Admin.Catalog.Feature');
|
||||
36
classes/lang/KeysReference/SupplyOrderStateLang.php
Normal file
36
classes/lang/KeysReference/SupplyOrderStateLang.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright since 2007 PrestaShop SA and Contributors
|
||||
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/OSL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to https://devdocs.prestashop.com/ for more information.
|
||||
*
|
||||
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
||||
*/
|
||||
trans('1 - Creation in progress', 'Admin.Orderscustomers.Feature');
|
||||
|
||||
trans('2 - Order validated', 'Admin.Orderscustomers.Feature');
|
||||
|
||||
trans('3 - Pending receipt', 'Admin.Orderscustomers.Feature');
|
||||
|
||||
trans('4 - Order received in part', 'Admin.Orderscustomers.Feature');
|
||||
|
||||
trans('5 - Order received completely', 'Admin.Orderscustomers.Feature');
|
||||
|
||||
trans('6 - Order canceled', 'Admin.Orderscustomers.Feature');
|
||||
141
classes/lang/KeysReference/TabLang.php
Normal file
141
classes/lang/KeysReference/TabLang.php
Normal file
@@ -0,0 +1,141 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright since 2007 PrestaShop SA and Contributors
|
||||
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/OSL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to https://devdocs.prestashop.com/ for more information.
|
||||
*
|
||||
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
||||
*/
|
||||
trans('Sell', 'Admin.Navigation.Menu');
|
||||
trans('Improve', 'Admin.Navigation.Menu');
|
||||
trans('Configure', 'Admin.Navigation.Menu');
|
||||
trans('More', 'Admin.Navigation.Menu');
|
||||
trans('Addresses', 'Admin.Navigation.Menu');
|
||||
trans('Administration', 'Admin.Navigation.Menu');
|
||||
trans('Modules & Services', 'Admin.Navigation.Menu');
|
||||
trans('Advanced Parameters', 'Admin.Navigation.Menu');
|
||||
trans('Files', 'Admin.Navigation.Menu');
|
||||
trans('Attributes & Features', 'Admin.Navigation.Menu');
|
||||
trans('Attributes', 'Admin.Navigation.Menu');
|
||||
trans('Carriers', 'Admin.Navigation.Menu');
|
||||
trans('Carrier', 'Admin.Navigation.Menu');
|
||||
trans('Cart Rules', 'Admin.Navigation.Menu');
|
||||
trans('Catalog Price Rules', 'Admin.Navigation.Menu');
|
||||
trans('Module Catalog', 'Admin.Navigation.Menu');
|
||||
trans('Categories', 'Admin.Navigation.Menu');
|
||||
trans('Page Categories', 'Admin.Navigation.Menu');
|
||||
trans('Pages', 'Admin.Navigation.Menu');
|
||||
trans('Combinations Generator', 'Admin.Navigation.Menu');
|
||||
trans('Configuration', 'Admin.Navigation.Menu');
|
||||
trans('Contact', 'Admin.Navigation.Menu');
|
||||
trans('Contacts', 'Admin.Navigation.Menu');
|
||||
trans('Countries', 'Admin.Navigation.Menu');
|
||||
trans('Credit Slips', 'Admin.Navigation.Menu');
|
||||
trans('Import', 'Admin.Navigation.Menu');
|
||||
trans('Currencies', 'Admin.Navigation.Menu');
|
||||
trans('Customer Service', 'Admin.Navigation.Menu');
|
||||
trans('Customer Settings', 'Admin.Navigation.Menu');
|
||||
trans('Customers', 'Admin.Navigation.Menu');
|
||||
trans('Dashboard', 'Admin.Navigation.Menu');
|
||||
trans('Database', 'Admin.Navigation.Menu');
|
||||
trans('DB Backup', 'Admin.Navigation.Menu');
|
||||
trans('Delivery Slips', 'Admin.Navigation.Menu');
|
||||
trans('Email', 'Admin.Navigation.Menu');
|
||||
trans('Employees', 'Admin.Navigation.Menu');
|
||||
trans('Team', 'Admin.Navigation.Menu');
|
||||
trans('Features', 'Admin.Navigation.Menu');
|
||||
trans('General', 'Admin.Navigation.Menu');
|
||||
trans('Geolocation', 'Admin.Navigation.Menu');
|
||||
trans('Groups', 'Admin.Navigation.Menu');
|
||||
trans('Image Settings', 'Admin.Navigation.Menu');
|
||||
trans('Images', 'Admin.Navigation.Menu');
|
||||
trans('Information', 'Admin.Navigation.Menu');
|
||||
trans('Instant Stock Status', 'Admin.Navigation.Menu');
|
||||
trans('International', 'Admin.Navigation.Menu');
|
||||
trans('Invoices', 'Admin.Navigation.Menu');
|
||||
trans('Languages', 'Admin.Navigation.Menu');
|
||||
trans('Localization', 'Admin.Navigation.Menu');
|
||||
trans('Locations', 'Admin.Navigation.Menu');
|
||||
trans('Login', 'Admin.Navigation.Menu');
|
||||
trans('Logs', 'Admin.Navigation.Menu');
|
||||
trans('Design', 'Admin.Navigation.Menu');
|
||||
trans('Maintenance', 'Admin.Navigation.Menu');
|
||||
trans('Brands & Suppliers', 'Admin.Navigation.Menu');
|
||||
trans('Brands', 'Admin.Navigation.Menu');
|
||||
trans('Marketing', 'Admin.Navigation.Menu');
|
||||
trans('Menus', 'Admin.Navigation.Menu');
|
||||
trans('Merchandise Returns', 'Admin.Navigation.Menu');
|
||||
trans('Modules', 'Admin.Navigation.Menu');
|
||||
trans('Monitoring', 'Admin.Navigation.Menu');
|
||||
trans('Multistore', 'Admin.Navigation.Menu');
|
||||
trans('Order Messages', 'Admin.Navigation.Menu');
|
||||
trans('Order Settings', 'Admin.Navigation.Menu');
|
||||
trans('Orders', 'Admin.Navigation.Menu');
|
||||
trans('Outstanding', 'Admin.Navigation.Menu');
|
||||
trans('Payment Methods', 'Admin.Navigation.Menu');
|
||||
trans('Preferences', 'Admin.Navigation.Menu');
|
||||
trans('Payment', 'Admin.Navigation.Menu');
|
||||
trans('Performance', 'Admin.Navigation.Menu');
|
||||
trans('Permissions', 'Admin.Navigation.Menu');
|
||||
trans('Positions', 'Admin.Navigation.Menu');
|
||||
trans('Discounts', 'Admin.Navigation.Menu');
|
||||
trans('Product Settings', 'Admin.Navigation.Menu');
|
||||
trans('Products', 'Admin.Navigation.Menu');
|
||||
trans('Profiles', 'Admin.Navigation.Menu');
|
||||
trans('Quick Access', 'Admin.Navigation.Menu');
|
||||
trans('Referrers', 'Admin.Navigation.Menu');
|
||||
trans('Search', 'Admin.Navigation.Menu');
|
||||
trans('Search Engines', 'Admin.Navigation.Menu');
|
||||
trans('SEO & URLs', 'Admin.Navigation.Menu');
|
||||
trans('Shipping', 'Admin.Navigation.Menu');
|
||||
trans('Shop Parameters', 'Admin.Navigation.Menu');
|
||||
trans('Shop URLs', 'Admin.Navigation.Menu');
|
||||
trans('Shopping Carts', 'Admin.Navigation.Menu');
|
||||
trans('Shops', 'Admin.Navigation.Menu');
|
||||
trans('SQL Manager', 'Admin.Navigation.Menu');
|
||||
trans('States', 'Admin.Navigation.Menu');
|
||||
trans('Stats', 'Admin.Navigation.Menu');
|
||||
trans('Statuses', 'Admin.Navigation.Menu');
|
||||
trans('Stock Coverage', 'Admin.Navigation.Menu');
|
||||
trans('Stock Management', 'Admin.Navigation.Menu');
|
||||
trans('Stock Movement', 'Admin.Navigation.Menu');
|
||||
trans('Stock', 'Admin.Navigation.Menu');
|
||||
trans('Stores', 'Admin.Navigation.Menu');
|
||||
trans('Suppliers', 'Admin.Navigation.Menu');
|
||||
trans('Supply orders', 'Admin.Navigation.Menu');
|
||||
trans('Tags', 'Admin.Navigation.Menu');
|
||||
trans('Taxes', 'Admin.Navigation.Menu');
|
||||
trans('Tax Rules', 'Admin.Navigation.Menu');
|
||||
trans('Theme Catalog', 'Admin.Navigation.Menu');
|
||||
trans('Theme & Logo', 'Admin.Navigation.Menu');
|
||||
trans('Titles', 'Admin.Navigation.Menu');
|
||||
trans('Traffic & SEO', 'Admin.Navigation.Menu');
|
||||
trans('Translations', 'Admin.Navigation.Menu');
|
||||
trans('Warehouses', 'Admin.Navigation.Menu');
|
||||
trans('Webservice', 'Admin.Navigation.Menu');
|
||||
trans('Zones', 'Admin.Navigation.Menu');
|
||||
trans('Modules Catalog', 'Admin.Navigation.Menu');
|
||||
trans('Module Manager', 'Admin.Navigation.Menu');
|
||||
trans('Experimental Features', 'Admin.Navigation.Menu');
|
||||
|
||||
// subtab
|
||||
trans('Modules', 'Admin.Navigation.Menu');
|
||||
trans('Updates', 'Admin.Navigation.Menu');
|
||||
trans('Alerts', 'Admin.Navigation.Menu');
|
||||
37
classes/lang/KeysReference/ThemeLang.php
Normal file
37
classes/lang/KeysReference/ThemeLang.php
Normal file
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright since 2007 PrestaShop SA and Contributors
|
||||
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/OSL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to https://devdocs.prestashop.com/ for more information.
|
||||
*
|
||||
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
||||
*/
|
||||
trans('Full width', 'Admin.Design.Feature');
|
||||
trans('Three columns', 'Admin.Design.Feature');
|
||||
trans('Two columns, small left column', 'Admin.Design.Feature');
|
||||
trans('Two columns, small right column', 'Admin.Design.Feature');
|
||||
|
||||
trans('No side columns, ideal for distraction-free pages such as product pages.', 'Admin.Design.Feature');
|
||||
|
||||
trans('One large central column and 2 side columns.', 'Admin.Design.Feature');
|
||||
|
||||
trans('Two columns with a small left column.', 'Admin.Design.Feature');
|
||||
|
||||
trans('Two columns with a small right column.', 'Admin.Design.Feature');
|
||||
34
classes/lang/MetaLang.php
Normal file
34
classes/lang/MetaLang.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright since 2007 PrestaShop SA and Contributors
|
||||
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/OSL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to https://devdocs.prestashop.com/ for more information.
|
||||
*
|
||||
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
||||
*/
|
||||
class MetaLangCore extends DataLangCore
|
||||
{
|
||||
// Don't replace domain in init() with $this->domain for translation parsing
|
||||
protected $domain = 'Shop.Navigation';
|
||||
|
||||
protected $keys = ['id_meta', 'id_shop'];
|
||||
|
||||
protected $fieldsToUpdate = ['title', 'description', 'url_rewrite'];
|
||||
}
|
||||
34
classes/lang/OrderMessageLang.php
Normal file
34
classes/lang/OrderMessageLang.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright since 2007 PrestaShop SA and Contributors
|
||||
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/OSL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to https://devdocs.prestashop.com/ for more information.
|
||||
*
|
||||
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
||||
*/
|
||||
class OrderMessageLangCore extends DataLangCore
|
||||
{
|
||||
// Don't replace domain in init() with $this->domain for translation parsing
|
||||
protected $domain = 'Admin.Orderscustomers.Feature';
|
||||
|
||||
protected $keys = ['id_order_message'];
|
||||
|
||||
protected $fieldsToUpdate = ['name', 'message'];
|
||||
}
|
||||
34
classes/lang/OrderReturnStateLang.php
Normal file
34
classes/lang/OrderReturnStateLang.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright since 2007 PrestaShop SA and Contributors
|
||||
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/OSL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to https://devdocs.prestashop.com/ for more information.
|
||||
*
|
||||
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
||||
*/
|
||||
class OrderReturnStateLangCore extends DataLangCore
|
||||
{
|
||||
// Don't replace domain in init() with $this->domain for translation parsing
|
||||
protected $domain = 'Admin.Orderscustomers.Feature';
|
||||
|
||||
protected $keys = ['id_order_return_state'];
|
||||
|
||||
protected $fieldsToUpdate = ['name'];
|
||||
}
|
||||
34
classes/lang/OrderStateLang.php
Normal file
34
classes/lang/OrderStateLang.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright since 2007 PrestaShop SA and Contributors
|
||||
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/OSL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to https://devdocs.prestashop.com/ for more information.
|
||||
*
|
||||
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
||||
*/
|
||||
class OrderStateLangCore extends DataLangCore
|
||||
{
|
||||
// Don't replace domain in init() with $this->domain for translation parsing
|
||||
protected $domain = 'Admin.Orderscustomers.Feature';
|
||||
|
||||
protected $keys = ['id_order_state'];
|
||||
|
||||
protected $fieldsToUpdate = ['name'];
|
||||
}
|
||||
34
classes/lang/ProfileLang.php
Normal file
34
classes/lang/ProfileLang.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright since 2007 PrestaShop SA and Contributors
|
||||
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/OSL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to https://devdocs.prestashop.com/ for more information.
|
||||
*
|
||||
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
||||
*/
|
||||
class ProfileLangCore extends DataLangCore
|
||||
{
|
||||
// Don't replace domain in init() with $this->domain for translation parsing
|
||||
protected $domain = 'Admin.Advparameters.Feature';
|
||||
|
||||
protected $keys = ['id_profile'];
|
||||
|
||||
protected $fieldsToUpdate = ['name'];
|
||||
}
|
||||
34
classes/lang/QuickAccessLang.php
Normal file
34
classes/lang/QuickAccessLang.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright since 2007 PrestaShop SA and Contributors
|
||||
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/OSL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to https://devdocs.prestashop.com/ for more information.
|
||||
*
|
||||
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
||||
*/
|
||||
class QuickAccessLangCore extends DataLangCore
|
||||
{
|
||||
// Don't replace domain in init() with $this->domain for translation parsing
|
||||
protected $domain = 'Admin.Navigation.Header';
|
||||
|
||||
protected $keys = ['id_quick_access'];
|
||||
|
||||
protected $fieldsToUpdate = ['name'];
|
||||
}
|
||||
34
classes/lang/RiskLang.php
Normal file
34
classes/lang/RiskLang.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright since 2007 PrestaShop SA and Contributors
|
||||
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/OSL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to https://devdocs.prestashop.com/ for more information.
|
||||
*
|
||||
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
||||
*/
|
||||
class RiskLangCore extends DataLangCore
|
||||
{
|
||||
// Don't replace domain in init() with $this->domain for translation parsing
|
||||
protected $domain = 'Admin.Orderscustomers.Feature';
|
||||
|
||||
protected $keys = ['id_risk'];
|
||||
|
||||
protected $fieldsToUpdate = ['name'];
|
||||
}
|
||||
34
classes/lang/StockMvtReasonLang.php
Normal file
34
classes/lang/StockMvtReasonLang.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright since 2007 PrestaShop SA and Contributors
|
||||
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/OSL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to https://devdocs.prestashop.com/ for more information.
|
||||
*
|
||||
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
||||
*/
|
||||
class StockMvtReasonLangCore extends DataLangCore
|
||||
{
|
||||
// Don't replace domain in init() with $this->domain for translation parsing
|
||||
protected $domain = 'Admin.Catalog.Feature';
|
||||
|
||||
protected $keys = ['id_stock_mvt_reason'];
|
||||
|
||||
protected $fieldsToUpdate = ['name'];
|
||||
}
|
||||
34
classes/lang/SupplyOrderStateLang.php
Normal file
34
classes/lang/SupplyOrderStateLang.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright since 2007 PrestaShop SA and Contributors
|
||||
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/OSL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to https://devdocs.prestashop.com/ for more information.
|
||||
*
|
||||
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
||||
*/
|
||||
class SupplyOrderStateLangCore extends DataLangCore
|
||||
{
|
||||
// Don't replace domain in init() with $this->domain for translation parsing
|
||||
protected $domain = 'Admin.Orderscustomers.Feature';
|
||||
|
||||
protected $keys = ['id_supply_order_state'];
|
||||
|
||||
protected $fieldsToUpdate = ['name'];
|
||||
}
|
||||
57
classes/lang/TabLang.php
Normal file
57
classes/lang/TabLang.php
Normal file
@@ -0,0 +1,57 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright since 2007 PrestaShop SA and Contributors
|
||||
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/OSL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to https://devdocs.prestashop.com/ for more information.
|
||||
*
|
||||
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
||||
*/
|
||||
|
||||
/**
|
||||
* Translates content from the tab entity
|
||||
*/
|
||||
class TabLangCore extends DataLangCore
|
||||
{
|
||||
protected $domain = 'Admin.Navigation.Menu';
|
||||
|
||||
protected $keys = ['id_tab'];
|
||||
|
||||
protected $fieldsToUpdate = ['name'];
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getFieldValue($field, $value)
|
||||
{
|
||||
$domain = '';
|
||||
if (is_array($value)) {
|
||||
list($message, $domain) = $value;
|
||||
} else {
|
||||
$message = $value;
|
||||
}
|
||||
|
||||
return $this->translator->trans(
|
||||
$message,
|
||||
[],
|
||||
(!empty($domain)) ? $domain : $this->domain,
|
||||
$this->locale
|
||||
);
|
||||
}
|
||||
}
|
||||
34
classes/lang/ThemeLang.php
Normal file
34
classes/lang/ThemeLang.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright since 2007 PrestaShop SA and Contributors
|
||||
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.md.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/OSL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to https://devdocs.prestashop.com/ for more information.
|
||||
*
|
||||
* @author PrestaShop SA and Contributors <contact@prestashop.com>
|
||||
* @copyright Since 2007 PrestaShop SA and Contributors
|
||||
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
||||
*/
|
||||
class ThemeLangCore extends DataLangCore
|
||||
{
|
||||
// Don't replace domain in init() with $this->domain for translation parsing
|
||||
protected $domain = 'Admin.Design.Feature';
|
||||
|
||||
protected $keys = [];
|
||||
|
||||
protected $fieldsToUpdate = ['name', 'description'];
|
||||
}
|
||||
Reference in New Issue
Block a user