diff --git a/gosa-core/include/class_SnapshotHandler.inc b/gosa-core/include/class_SnapshotHandler.inc
index b26bea8ef49d67b132249706f7747bebbf3b946d..7842e1b919ab34dc4f3847c8756efddc0d290a9e 100644 (file)
/* Create handler */
- function __construct(&$config)
+ function SnapshotHandler(&$config)
{
$this->config = &$config;
$config = $this->config;
if(!session::is_set("snapshotFailMessageSend")){
session::set("snapshotFailMessageSend",TRUE);
msg_dialog::display(_("Configuration error"),
- sprintf(_("The snapshot functionality is enabled, but the required variable '%s' is not set."),
+ sprintf(_("The snapshot functionality is enabled but the required variable '%s' is not set!"),
"snapshotBase"), ERROR_DIALOG);
}
return;
if(!session::is_set("snapshotFailMessageSend")){
session::set("snapshotFailMessageSend",TRUE);
msg_dialog::display(_("Configuration error"),
- sprintf(_("The snapshot functionality is enabled, but the required compression module is missing. Please install '%s'."),"php5-zip / php5-gzip"), ERROR_DIALOG);
+ sprintf(_("The snapshot functionality is enabled but the required PHP compression module is missing: %s!"),"php5-zip / php5-gzip"), ERROR_DIALOG);
}
return;
}
if(!session::is_set("snapshotFailMessageSend")){
session::set("snapshotFailMessageSend",TRUE);
msg_dialog::display(_("Configuration error"),
- sprintf(_("The snapshot functionality is enabled, but the required variable '%s' is not set."),
+ sprintf(_("The snapshot functionality is enabled but the required variable '%s' is not set!"),
$missing), ERROR_DIALOG);
}
return;