lang stuff

This commit is contained in:
Andy Miller
2018-09-29 21:36:53 -06:00
parent 2f3e5ffe37
commit 33c4c3a1db
2 changed files with 10 additions and 1 deletions

View File

@@ -652,7 +652,7 @@ class AdminController extends AdminBaseController
if (!$this->admin->authorize($xss_whitelist)) {
if ($issue = Utils::detectXss($data['content'])) {
$this->admin->setMessage('Save failed: Found potential XSS code of type: <strong>' . $issue . '</strong>, please remove or disable the XSS filter in <strong>Configuration</strong> / <strong>Security</strong>.',
$this->admin->setMessage(sprintf($this->admin->translate('PLUGIN_ADMIN.XSS_ISSUE'), $issue),
'error');
return false;
}