diff --git a/include/class.staff.php b/include/class.staff.php index 7f627982c4f1ab8f98f98a47df3817e38c182450..e5ed7e77555e5bb72f1376d10de92bc9b579569d 100644 --- a/include/class.staff.php +++ b/include/class.staff.php @@ -969,7 +969,7 @@ implements AuthenticatedUser, EmailContact, TemplateVariable { $vars['lastname']=Format::striptags($vars['lastname']); if (isset($this->staff_id) && $this->getId() != $vars['id']) - $errors['err']=__('Internal Error'); + $errors['err']=__('Internal error occurred'); if(!$vars['firstname']) $errors['firstname']=__('First name required'); diff --git a/scp/staff.php b/scp/staff.php index df2854e854cefa8a5d335725240383ce14b08914..5ee374366f74a87fb97bb8af0d20f34fe29c3e52 100644 --- a/scp/staff.php +++ b/scp/staff.php @@ -137,7 +137,7 @@ if($_POST){ || !Dept::lookup($_POST['dept_id']) || !Role::lookup($_POST['role_id']) ) { - $errors['err'] = 'Internal error.'; + $errors['err'] = __('Internal error occurred'); break; } foreach ($members as $s) { diff --git a/setup/inc/class.installer.php b/setup/inc/class.installer.php index b382aa0f6b71cf5326574a3bf4e27172fcecd54a..1a198325548faafda964b654f26423e7ad828844 100644 --- a/setup/inc/class.installer.php +++ b/setup/inc/class.installer.php @@ -146,7 +146,7 @@ class Installer extends SetupWizard { $schemaFile = INC_DIR."streams/$stream/install-mysql.sql"; if (!file_exists($schemaFile) || !($fp2 = fopen($schemaFile, 'rb'))) $this->errors['err'] = sprintf( - __('%s: Internal Error - please make sure your download is the latest (#1)'), + __('%s: Internal error occurred - please make sure your download is the latest (#1)'), $stream); elseif ( // TODO: Make the hash algo configurable in the streams