summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1b75332)
raw | patch | inline | side by side (parent: 1b75332)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 14 Mar 2008 10:29:06 +0000 (10:29 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 14 Mar 2008 10:29:06 +0000 (10:29 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9819 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/admin/systems/services/repository/class_servRepositorySetup.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/admin/systems/services/repository/class_servRepositorySetup.inc b/gosa-plugins/goto/admin/systems/services/repository/class_servRepositorySetup.inc
index 9501212fa88cdc7f0c0722ff6638df5d7aa9f66f..d67efece5f1ff3ac52b3adbc8941524c8a84fe43 100644 (file)
$message= plugin::check();
if(empty($this->Release)){
- $message[]=_("Please enter a value for 'release'.");
+ $message[]= msgPool::required(_("Release"));
}
if(empty($this->Url)){
- $message[] = _("Please specify a valid value for 'url'.");
+ $message[] = msgPool::required(_("Url"));
}
return ($message);
if(!empty($cmd)){
$res = shell_exec($cmd);
$res2 = trim($res);
- if(!$res){
- print_red(sprintf(_("Can't execute specified REPOSITORY_HOOK '%s'. Please check your gosa.conf."),$cmd));
- }elseif(empty($res2)){
- print_red(sprintf(_("The specified REPOSITORY_HOOK '%s', specified in your gosa.conf, returns an empty string."),$cmd));
+ if(!$res || empty($res2)){
+ print_red( msgPool::cmdexecfailed("REPOSITORY_HOOK",$cmd,_("Repository service")));
}else{
$tmp = split("\n",$res);
foreach($tmp as $hook){