From: cajus Date: Thu, 21 Feb 2008 08:00:11 +0000 (+0000) Subject: Fixed error messages X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3d245a958e3120bb3aaea1d8839df1ac7a3d596d;p=gosa.git Fixed error messages git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9001 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/html/main.php b/gosa-core/html/main.php index aa980c563..0521f8981 100644 --- a/gosa-core/html/main.php +++ b/gosa-core/html/main.php @@ -146,8 +146,8 @@ if (!session::is_set('plist')){ if (is_readable("$BASE_DIR/$path")){ require_once("$BASE_DIR/$path"); } else { - msg_dialog::display(_("Could not locate file."), - sprintf(_("Fatal error: cannot locate file '%s' - please run '%s' to fix this"), + msg_dialog::display(_("Fatal error"), + sprintf(_("Cannot locate file '%s' - please run '%s' to fix this"), "$BASE_DIR/$path", "update-gosa"), FATAL_ERROR_DIALOG); exit; } diff --git a/gosa-core/include/class_msg_dialog.inc b/gosa-core/include/class_msg_dialog.inc index 3e52c1f68..004c029d5 100644 --- a/gosa-core/include/class_msg_dialog.inc +++ b/gosa-core/include/class_msg_dialog.inc @@ -86,7 +86,7 @@ class msg_dialog {t}Error{/t} - Fatal Error - GOsa execution abortet - ".$this->s_Title."
+ ".$this->s_Title."
".$this->s_Message."

"._("Please fix the above error and reload the page.")."