Fix some not localized error messages
This commit is contained in:
parent
9daf32495a
commit
14fae65553
1 changed files with 2 additions and 2 deletions
|
@ -1505,11 +1505,11 @@ class calendar extends rcube_plugin
|
|||
}
|
||||
else {
|
||||
if ($err == UPLOAD_ERR_INI_SIZE || $err == UPLOAD_ERR_FORM_SIZE) {
|
||||
$msg = $this->gettext(array('name' => 'filesizeerror', 'vars' => array(
|
||||
$msg = $this->rc->gettext(array('name' => 'filesizeerror', 'vars' => array(
|
||||
'size' => $this->rc->show_bytes(parse_bytes(ini_get('upload_max_filesize'))))));
|
||||
}
|
||||
else {
|
||||
$msg = $this->gettext('fileuploaderror');
|
||||
$msg = $this->rc->gettext('fileuploaderror');
|
||||
}
|
||||
|
||||
$this->rc->output->command('plugin.import_error', array('message' => $msg));
|
||||
|
|
Loading…
Add table
Reference in a new issue