Skip to content
Snippets Groups Projects
Commit 5e61238f authored by Michael's avatar Michael
Browse files

Internal error occurred #1

Update two phrases with from "Internal error - Try again!" to "Internal error occurred - Try again!" since it's the most common phrase
parent 06988dd2
Branches
Tags
No related merge requests found
...@@ -260,7 +260,7 @@ extends VerySimpleModel { ...@@ -260,7 +260,7 @@ extends VerySimpleModel {
$id = isset($this->canned_id) ? $this->canned_id : null; $id = isset($this->canned_id) ? $this->canned_id : null;
if ($id && $id != $vars['id']) if ($id && $id != $vars['id'])
$errors['err']=sprintf('%s - %s', __('Internal error'), __('Try again!')); $errors['err']=sprintf('%s - %s', __('Internal error occurred'), __('Try again!'));
if (!$vars['title']) if (!$vars['title'])
$errors['title'] = __('Title required'); $errors['title'] = __('Title required');
......
...@@ -254,7 +254,7 @@ class Page extends VerySimpleModel { ...@@ -254,7 +254,7 @@ class Page extends VerySimpleModel {
} }
if (isset($this->id) && $this->getId() != $vars['id']) if (isset($this->id) && $this->getId() != $vars['id'])
$errors['err'] = sprintf('%s - %s', __('Internal error'), __('Try again!')); $errors['err'] = sprintf('%s - %s', __('Internal error occurred'), __('Try again!'));
if(!$vars['type']) if(!$vars['type'])
$errors['type'] = __('Type is required'); $errors['type'] = __('Type is required');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment