summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ed4a33b)
raw | patch | inline | side by side (parent: ed4a33b)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Sun, 16 Mar 2008 13:20:47 +0000 (13:20 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Sun, 16 Mar 2008 13:20:47 +0000 (13:20 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9881 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/utils/class_msgPool.inc | patch | blob | history |
index d17b87da27bfe734e9a4d052c40b60860556d961..f69d7edede3e31d70546b574bde119b78cb870be 100644 (file)
return sprintf(_("Communication failure with the infrastructure service: %s"), "<br><br>"._("Error").": ".$error);
}
+
+ function stillInUse($type, $objects= array())
+ {
+ if (!is_array($objects)){
+ return sprintf(_("This '%s' is still in use by this object: %s"), $type, "<br><br>".$objects);
+ }
+ if (count($objects) == 1){
+ return sprintf(_("This '%s' is still in use by this object: %s"), $type, "<br><br>".msgPool::buildList($objects));
+ }
+ return sprintf(_("This '%s' is still in use by these objects: %s"), $type, "<br><br>".msgPool::buildList($objects));
+ }
+
+
+ function cannotReadFile($file)
+ {
+ return sprintf(_("Cannot open file '%s' for reading!"), $file);
+ }
+
+
}
// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
?>