// Fix update english key of translations in all files
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14143 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -39,13 +39,13 @@ class AdminInvoicesControllerCore extends AdminController
|
||||
'fields' => array(
|
||||
'PS_INVOICE' => array(
|
||||
'title' => $this->l('Enable invoices:'),
|
||||
'desc' => $this->l('Select whether or not to activate invoices for your shop'),
|
||||
'desc' => $this->l('If enabled, your customers will be able to receive an invoice for their purchases'),
|
||||
'cast' => 'intval',
|
||||
'type' => 'bool'
|
||||
),
|
||||
'PS_INVOICE_PREFIX' => array(
|
||||
'title' => $this->l('Invoice prefix:'),
|
||||
'desc' => $this->l('Prefix used for invoices'),
|
||||
'desc' => $this->l('Prefix used for invoice name (e.g. IN00001)'),
|
||||
'size' => 6,
|
||||
'type' => 'textLang'
|
||||
),
|
||||
@@ -57,7 +57,7 @@ class AdminInvoicesControllerCore extends AdminController
|
||||
'cast' => 'intval'
|
||||
),
|
||||
'PS_INVOICE_FREE_TEXT' => array(
|
||||
'title' => $this->l('Free Text:'),
|
||||
'title' => $this->l('Footer Text:'),
|
||||
'desc' => $this->l('This text will appear at the bottom of the invoice'),
|
||||
'size' => 6,
|
||||
'type' => 'textareaLang',
|
||||
@@ -73,7 +73,7 @@ class AdminInvoicesControllerCore extends AdminController
|
||||
),
|
||||
'PS_PDF_USE_CACHE' => array(
|
||||
'title' => $this->l('Use disk as cache for PDF invoices'),
|
||||
'desc' => $this->l('Save memory but slow down the rendering process.'),
|
||||
'desc' => $this->l('Saves memory but slows down the rendering process.'),
|
||||
'validation' => 'isBool',
|
||||
'cast' => 'intval',
|
||||
'type' => 'bool'
|
||||
@@ -99,7 +99,7 @@ class AdminInvoicesControllerCore extends AdminController
|
||||
'size' => 20,
|
||||
'maxlength' => 10,
|
||||
'required' => true,
|
||||
'desc' => $this->l('Format: 2007-12-31 (inclusive)')
|
||||
'desc' => $this->l('Format: 2011-12-31 (inclusive)')
|
||||
),
|
||||
array(
|
||||
'type' => 'date',
|
||||
@@ -108,7 +108,7 @@ class AdminInvoicesControllerCore extends AdminController
|
||||
'size' => 20,
|
||||
'maxlength' => 10,
|
||||
'required' => true,
|
||||
'desc' => $this->l('Format: 2008-12-31 (inclusive)')
|
||||
'desc' => $this->l('Format: 2012-12-31 (inclusive)')
|
||||
)
|
||||
),
|
||||
'submit' => array(
|
||||
@@ -132,7 +132,7 @@ class AdminInvoicesControllerCore extends AdminController
|
||||
{
|
||||
$this->fields_form = array(
|
||||
'legend' => array(
|
||||
'title' => $this->l('By statuses'),
|
||||
'title' => $this->l('By order status'),
|
||||
'image' => '../img/admin/pdf.gif'
|
||||
),
|
||||
'input' => array(
|
||||
@@ -216,10 +216,10 @@ class AdminInvoicesControllerCore extends AdminController
|
||||
if (Tools::getValue('submitAddinvoice_date'))
|
||||
{
|
||||
if (!Validate::isDate(Tools::getValue('date_from')))
|
||||
$this->errors[] = $this->l('Invalid from date');
|
||||
$this->errors[] = $this->l('Invalid \\"From:\\" date');
|
||||
|
||||
if (!Validate::isDate(Tools::getValue('date_to')))
|
||||
$this->errors[] = $this->l('Invalid end date');
|
||||
$this->errors[] = $this->l('Invalid \\"To:\\" date');
|
||||
|
||||
if (!count($this->errors))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user