From 5e61238f83f783dbf8b62df854ee6c4e0d0ea144 Mon Sep 17 00:00:00 2001
From: Michael <Chefkeks@users.noreply.github.com>
Date: Fri, 3 Jun 2016 08:44:45 +0200
Subject: [PATCH] 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
---
 include/class.canned.php | 2 +-
 include/class.page.php   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/class.canned.php b/include/class.canned.php
index 8e8cafdd5..1bd329edd 100644
--- a/include/class.canned.php
+++ b/include/class.canned.php
@@ -260,7 +260,7 @@ extends VerySimpleModel {
 
         $id = isset($this->canned_id) ? $this->canned_id : null;
         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'])
             $errors['title'] = __('Title required');
diff --git a/include/class.page.php b/include/class.page.php
index 88648cd62..af77ef82e 100644
--- a/include/class.page.php
+++ b/include/class.page.php
@@ -254,7 +254,7 @@ class Page extends VerySimpleModel {
         }
 
         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'])
             $errors['type'] = __('Type is required');
-- 
GitLab