// changed English strings, especially focusing on colons harmonization
This commit is contained in:
@@ -67,7 +67,7 @@ class AdminCustomerThreadsControllerCore extends AdminController
|
||||
'tmpTableFilter' => true,
|
||||
),
|
||||
'email' => array(
|
||||
'title' => $this->l('Email:'),
|
||||
'title' => $this->l('Email'),
|
||||
'width' => 100,
|
||||
'filter_key' => 'a!email',
|
||||
),
|
||||
@@ -256,8 +256,8 @@ class AdminCustomerThreadsControllerCore extends AdminController
|
||||
$params = array(
|
||||
$this->l('Total threads') => $all = CustomerThread::getTotalCustomerThreads(),
|
||||
$this->l('Threads pending') => $pending = CustomerThread::getTotalCustomerThreads('status LIKE "%pending%"'),
|
||||
$this->l('Total customer messages') => CustomerMessage::getTotalCustomerMessages('id_employee = 0'),
|
||||
$this->l('Total employee messages') => CustomerMessage::getTotalCustomerMessages('id_employee != 0'),
|
||||
$this->l('Total number of customer messages') => CustomerMessage::getTotalCustomerMessages('id_employee = 0'),
|
||||
$this->l('Total number of employee messages') => CustomerMessage::getTotalCustomerMessages('id_employee != 0'),
|
||||
$this->l('Unread threads') => $unread = CustomerThread::getTotalCustomerThreads('status = "open"'),
|
||||
$this->l('Closed threads') => $all - ($unread + $pending)
|
||||
);
|
||||
@@ -368,7 +368,7 @@ class AdminCustomerThreadsControllerCore extends AdminController
|
||||
}
|
||||
}
|
||||
else
|
||||
$this->errors[] = '<div class="alert error">'.Tools::displayError('E-mail invalid.').'</div>';
|
||||
$this->errors[] = '<div class="alert error">'.Tools::displayError('The email address is invalid.').'</div>';
|
||||
}
|
||||
if (Tools::isSubmit('submitReply'))
|
||||
{
|
||||
@@ -380,7 +380,7 @@ class AdminCustomerThreadsControllerCore extends AdminController
|
||||
$cm->message = Tools::htmlentitiesutf8(Tools::getValue('reply_message'));
|
||||
$cm->ip_address = ip2long($_SERVER['REMOTE_ADDR']);
|
||||
if (isset($_FILES) && !empty($_FILES['joinFile']['name']) && $_FILES['joinFile']['error'] != 0)
|
||||
$this->errors[] = Tools::displayError('An error occurred with the file upload.');
|
||||
$this->errors[] = Tools::displayError('An error occurred during the file upload process.');
|
||||
elseif ($cm->add())
|
||||
{
|
||||
$file_attachment = null;
|
||||
@@ -424,7 +424,7 @@ class AdminCustomerThreadsControllerCore extends AdminController
|
||||
);
|
||||
}
|
||||
else
|
||||
$this->errors[] = Tools::displayError('An error occurred, your message was not sent. Please contact your system administrator.');
|
||||
$this->errors[] = Tools::displayError('An error occurred. Your message was not sent. Please contact your system administrator.');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -659,7 +659,7 @@ class AdminCustomerThreadsControllerCore extends AdminController
|
||||
public function updateOptionPsSavImapOpt($value)
|
||||
{
|
||||
if ($this->tabAccess['edit'] != '1')
|
||||
throw new PrestaShopException(Tools::displayError('You do not have permission to edit here.'));
|
||||
throw new PrestaShopException(Tools::displayError('You do not have permission to edit this.'));
|
||||
|
||||
if (!$this->errors && $value)
|
||||
Configuration::updateValue('PS_SAV_IMAP_OPT', implode('', $value));
|
||||
@@ -668,7 +668,7 @@ class AdminCustomerThreadsControllerCore extends AdminController
|
||||
public function ajaxProcessMarkAsRead()
|
||||
{
|
||||
if ($this->tabAccess['edit'] != '1')
|
||||
throw new PrestaShopException(Tools::displayError('You do not have permission to edit here.'));
|
||||
throw new PrestaShopException(Tools::displayError('You do not have permission to edit this.'));
|
||||
|
||||
$id_thread = Tools::getValue('id_thread');
|
||||
$messages = CustomerThread::getMessageCustomerThreads($id_thread);
|
||||
@@ -679,7 +679,7 @@ class AdminCustomerThreadsControllerCore extends AdminController
|
||||
public function ajaxProcessSyncImap()
|
||||
{
|
||||
if ($this->tabAccess['edit'] != '1')
|
||||
throw new PrestaShopException(Tools::displayError('You do not have permission to edit here.'));
|
||||
throw new PrestaShopException(Tools::displayError('You do not have permission to edit this.'));
|
||||
|
||||
if (Tools::isSubmit('syncImapMail'))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user