summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b57949f)
raw | patch | inline | side by side (parent: b57949f)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 7 Mar 2008 10:19:48 +0000 (10:19 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 7 Mar 2008 10:19:48 +0000 (10:19 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9427 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/utils/class_msgPool.inc | patch | blob | history |
index c3624c82ce520bbf1b45f879e1eb83c81c0a8521..cf25cd10f2b1cdb33f9fa95d463874dfd2b28c39 100644 (file)
return sprintf(_("Missing %s PHP extension!"), $name);
}
+
+ public static function cancelButton()
+ {
+ return sprintf(_("Cancel"));
+ }
+
+
+ public static function okButton()
+ {
+ return sprintf(_("Ok"));
+ }
+
+
+ public static function applyButton()
+ {
+ return sprintf(_("Apply"));
+ }
+
+
+ public static function saveButton()
+ {
+ return sprintf(_("Save"));
+ }
+
+
+ public static function addButton($what= "")
+ {
+ return $what == "" ? sprintf(_("Add"): sprintf(_("Add %s"), $what));
+ }
+
+
+ public static function delButton($what= "")
+ {
+ return $what == "" ? sprintf(_("Delete"): sprintf(_("Delete %s"), $what));
+ }
+
+
+ public static function setButton($what= "")
+ {
+ return $what == "" ? sprintf(_("Set"): sprintf(_("Set %s"), $what));
+ }
+
+
+ public static function editButton($what= "")
+ {
+ return $what == "" ? sprintf(_("Edit..."): sprintf(_("Edit %s..."), $what));
+ }
+
}