summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ebb500a)
raw | patch | inline | side by side (parent: ebb500a)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Sun, 25 Apr 2010 17:51:24 +0000 (17:51 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Sun, 25 Apr 2010 17:51:24 +0000 (17:51 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17826 594d385d-05f5-0310-b6e9-bd551577e9d8
17 files changed:
diff --git a/gosa-core/include/class_SnapShotDialog.inc b/gosa-core/include/class_SnapShotDialog.inc
index ee47a29b8f5dd00db776cf94bcc86889d5bd8fd2..8ef45f59a4d2ab354f4e9c0285ebf48b74866d2a 100644 (file)
if($found){
$this->del_dn = $entry;
$smarty= get_smarty();
- $smarty->assign("info", sprintf(_("You're about to delete the snapshot '%s'."), LDAP::fix($this->del_dn)));
+ $smarty->assign("info", sprintf(_("You are about to delete the snapshot '%s'."), LDAP::fix($this->del_dn)));
return($smarty->fetch (get_template_path('removeEntries.tpl')));
}
}
$data = $lData = array();
foreach($list_of_elements as $entry){
$actions= image('images/lists/restore.png','RestoreSnapShot_%KEY',_("Restore snapshot"));
- $actions.= image('images/lists/trash.png','RemoveSnapShot_%KEY',_("Remove snapshot"));
+ $actions.= image('images/lists/trash.png','RemoveSnapShot_%KEY',_("Delete snapshot"));
$time_stamp = date(_("Y-m-d, H:i:s"),preg_replace("/\-.*$/","",$entry['gosaSnapshotTimestamp'][0]));
$display_data = $entry['description'][0];
$data[$entry['dn']] = $entry;
diff --git a/gosa-core/include/class_SnapshotHandler.inc b/gosa-core/include/class_SnapshotHandler.inc
index d371db5fcdd3d0b142a28ac27612722598b8abf1..7842e1b919ab34dc4f3847c8756efddc0d290a9e 100644 (file)
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;
index 73d4784c7d3535d8fb6357d0cc3cff87eac3e4a1..853893edcd486e35178ebc96cee973e92e7d3f23 100644 (file)
$summary= '<i>'._("No ACL settings for this category!").'</i>';
} else {
$summary= trim($summary,", ");
- $summary= " ".sprintf(_("Contains ACLs for these objects: %s"), $summary);
+ $summary= " ".sprintf(_("ACLs for: %s"), $summary);
}
$actions ="";
/* Role selector if scope is base */
if ($this->aclType == 'role'){
- $smarty->assign('roleSelector', "Role selector");#, $this->buildRoleSelector($this->myAclObjects));
$smarty->assign('roleSelector', $this->buildRoleSelector($this->roles));
}
}
if ($this->dialogState == 'edit'){
- $smarty->assign('headline', sprintf(_("Edit ACL for '%s' - scope is '%s'"), $this->aclObjects[$this->aclObject], $this->aclTypes[$this->aclType]));
+ $smarty->assign('headline', sprintf(_("Edit ACL for '%s' with scope '%s'"), $this->aclObjects[$this->aclObject], $this->aclTypes[$this->aclType]));
/* Collect objects for selected category */
foreach ($this->ocMapping[$this->aclObject] as $idx => $class){
if($entry['type'] == "role"){
if(isset($this->roles[$entry['acl']])){
- $summary.= sprintf(_("Role: %s"), $this->roles[$entry['acl']]['cn']);
+ $summary.= sprintf(_("ACL role: %s"), $this->roles[$entry['acl']]['cn']);
}else{
- $summary.= sprintf(_("Role: %s"), "<i>"._("unknown role")."</i>");
+ $summary.= sprintf(_("ACL role: %s"), "<i>"._("unknown ACL role")."</i>");
}
}else{
foreach ($entry['acl'] as $name => $object){
"objectClass" => array("gosaAcl","gosaRole"))),
"plProvidedAcls"=> array(
"gosaAclEntry" => _("ACL Entries")
-// "description" => _("Role description")
)
));
index cd588c3bd7e9918aea485842ff468be5cd7af75f..807930531a516f8ccac1552f17974d322dabca5f 100644 (file)
/* If cert is loaded correctly and is PEM now, we could read some data out of it */
if(count($this->info()) <=1) {
$this->certificate();
- $this->error = _("Cannot load certificate - only PEM/DER is supported!");
+ $this->error = _("Cannot load certificate: only PEM and DER are supported!");
/* Reset*/
return(false);
}
index 64995adaccc80e487f2f38ca4820d03437a501b2..96a18940a8d4b23b93f0800b82fa755f58de8b2e 100644 (file)
/* Check for connection */
if (is_null($this->ldap) || (is_int($this->ldap) && $this->ldap == 0)){
$smarty= get_smarty();
- msg_dialog::display(_("LDAP error"), _("Cannot bind to LDAP. Please contact the system administrator."), FATAL_ERROR_DIALOG);
+ msg_dialog::display(_("LDAP error"), _("Cannot bind to LDAP!"), FATAL_ERROR_DIALOG);
exit();
}
/* Check contributed config version and current config version.
*/
if(($this->config_version == "NOT SET") || ($this->config_version != $current && !empty($this->config_version))){
- msg_dialog::display(_("Configuration"),_("The configuration file you are using seems to be outdated. Please move the GOsa configuration file away to run the GOsa setup again."));
+ msg_dialog::display(_("Configuration"),_("The configuration file you are using is outdated. Please move the GOsa configuration file away to run the GOsa setup again."));
}
}
index d75f800b42443a3ffe4c4d92c146aaeeaf5ea445..3d6649cc716b60777c4dd761b50b0d7ed845e125 100644 (file)
if($this->max_ldap_query_time){
$diff = microtime(true) - $start;
if($diff > $this->max_ldap_query_time){
- msg_dialog::display(_("Performance warning"), sprintf(_("LDAP performance is poor: last query took about %.2fs!"), $diff), WARNING_DIALOG);
+ msg_dialog::display(_("Performance warning"), sprintf(_("LDAP performance is poor: last query took %.2fs!"), $diff), WARNING_DIALOG);
}
}
if($this->max_ldap_query_time){
$diff = microtime(true) - $start;
if($diff > $this->max_ldap_query_time){
- msg_dialog::display(_("Performance warning"), sprintf(_("LDAP performance is poor: last query took about %.2fs!"), $diff), WARNING_DIALOG);
+ msg_dialog::display(_("Performance warning"), sprintf(_("LDAP performance is poor: last query took %.2fs!"), $diff), WARNING_DIALOG);
}
}
/* Bail out, if we've nothing to do... */
if ($ocname == ""){
- msg_dialog::display(_("Internal error"), sprintf(_("Cannot automatically create subtrees with RDN '%s': no object class found!"),$type), FATAL_ERROR_DIALOG);
+ msg_dialog::display(_("Internal error"), sprintf(_("Cannot automatically create subtrees with RDN '%s': no object class found"),$type), FATAL_ERROR_DIALOG);
exit();
}
} else {
$adderror= $this->get_additional_error();
if ($adderror != ""){
- $error= $this->error." (".$this->get_additional_error().", ".sprintf(_("while operating on '%s' using LDAP server '%s'"), $this->basedn, $this->hostname).")";
+ $error= $this->error." (".$this->get_additional_error().", ".sprintf(_("while operating on %s using LDAP server %s"), "<b>".$this->basedn."</b>", "<b>".$this->hostname."</b>").")";
} else {
- $error= $this->error." (".sprintf(_("while operating on LDAP server %s"), $this->hostname).")";
+ $error= $this->error." (".sprintf(_("while operating on LDAP server %s"), "<b>".$this->hostname."</b>").")";
}
return $error;
}
/* Every block must begin with a dn */
if($dn != "dn") {
- $error= sprintf(_("This is not a valid DN: '%s'. A block for import should begin with 'dn: ...' in line %s"), $line, $current_line);
+ $error= sprintf(_("Invalid DN '%s': block to be imported should start with 'dn: ...' in line %s"), $line, "<b>".$current_line."</b>");
return -2;
}
/* If we can't Import, return with a file error */
if(!$this->import_single_entry($srp, $single,$usemodify,$usermdir) ) {
- $error= sprintf(_("Error while importing dn: '%s', please check your LDIF from line %s on!"), $line,
+ $error= sprintf(_("Error while importing DN '%s': please check LDIF from line %s on!"), $line,
$current_line);
return UNKNOWN_TOKEN_IN_LDIF_FILE; }
}
index c636d7f5b53a7b110bad8c4621366876ebf5b188..9f5c8c6b90c12e58f9850260eb981651faf9699a 100644 (file)
isset($config['sortType'])) {
$this->sortAttribute= $config['sortAttribute'];
$this->sortType= $config['sortType'];
- $sorter= " ".image("images/lists/sort-".($this->sortDirection[$index]?"up":"down").".png", null, $this->sortDirection[$index]?_("Up"):_("Down"), "text-top");
+ $sorter= " ".image("images/lists/sort-".($this->sortDirection[$index]?"up":"down").".png", null, $this->sortDirection[$index]?_("Sort ascending"):_("Sort descending"), "text-top");
}
$sortable= (isset($config['sortAttribute']));
/* Draw back button */
if($enableBack){
- $result["BACK"]= image('images/lists/back.png', 'BACK', _("Go up one department"));
+ $result["BACK"]= image('images/lists/back.png', 'BACK', _("Go to preceding level"));
}else{
- $result["BACK"]= image('images/lists/back-grey.png', null, _("Go up one department"));
+ $result["BACK"]= image('images/lists/back-grey.png', null, _("Go to preceding level"));
}
/* Draw home button */
/* Draw home button */
if($enableHome){
- $result["HOME"]= image('images/lists/home.png', 'HOME', _("Go to users department"));
+ $result["HOME"]= image('images/lists/home.png', 'HOME', _("Go to current users level"));
}else{
- $result["HOME"]= image('images/lists/home-grey.png', null, _("Go to users department"));
+ $result["HOME"]= image('images/lists/home-grey.png', null, _("Go to current users level"));
}
// Draw snapshot button
if($ui->allow_snapshot_create($dn, $category)){
- $result.= image('images/snapshot.png', "listing_snapshot_$row", _("Create a new snapshot from this object"));
+ $result.= image('images/snapshot.png', "listing_snapshot_$row", _("Create new snapshot for this object"));
}else{
$result.= image('images/empty.png');
}
index ebaeff5a611b0eaf079a05c1f0ed3c178a1336aa..fad74e4506fc1a7d4b7157c9f0305846046b3397 100644 (file)
}
if(!isset($entry['objecttype']) || empty($entry['objecttype'])){
- $msgs[] = _("Specified objectType is empty or invalid!");
+ $msgs[] = _("Specified 'objectType' is empty or invalid!");
}
return($msgs);
index e7f93e01a65388f4686cb4d96e3f91039cc17c52..6915a6e0dfcc50872faaa94affc4a018556f0ea2 100644 (file)
$this->dialogObject->parent = &$this;
}else{
- msg_dialog::display(_("Permission"),sprintf(_("You are not allowed to create a snapshot for %s."),$entry),
+ msg_dialog::display(_("Permission"),sprintf(_("You are not allowed to create a snapshot for %s!"),$entry),
ERROR_DIALOG);
}
}
@DEBUG (DEBUG_TRACE, __LINE__, __FUNCTION__, __FILE__,$this->dn,"Snaptshot restored!");
$this->closeDialogs();
}else{
- msg_dialog::display(_("Permission"),sprintf(_("You are not allowed to restore a snapshot for %s."),$entry),
+ msg_dialog::display(_("Permission"),sprintf(_("You are not allowed to restore a snapshot for %s!"),$entry),
ERROR_DIALOG);
}
}
$this->dialogObject->display_restore_dialog = true;
$this->dialogObject->parent = &$this;
}else{
- msg_dialog::display(_("Permission"),sprintf(_("You are not allowed to restore a snapshot for %s."),$entry),
+ msg_dialog::display(_("Permission"),sprintf(_("You are not allowed to restore a snapshot for %s!"),$entry),
ERROR_DIALOG);
}
}else{
$this->dialogObject->display_restore_dialog = true;
$this->dialogObject->parent = &$this;
}else{
- msg_dialog::display(_("Permission"),sprintf(_("You are not allowed to restore a snapshot for %s."),$entry),
+ msg_dialog::display(_("Permission"),sprintf(_("You are not allowed to restore a snapshot for %s!"),$entry),
ERROR_DIALOG);
}
}
$this->tabObject->parent = &$this;
@DEBUG (DEBUG_TRACE, __LINE__, __FUNCTION__, __FILE__,$this->dn,"Create new entry initiated!");
} else {
- msg_dialog::display(_("Error"), sprintf(_("No tab declaration for '%s' found in your configuration file. Cannot create plugin instance!"), $tabType), ERROR_DIALOG);
+ msg_dialog::display(_("Error"), sprintf(_("No tab definition for '%s' found in configuration file: cannot create plugin instance!"), $tabType), ERROR_DIALOG);
}
}
}
index af39e67d72956abc368808cdf6179ba01236735d..a6cbc9410df2aa1652403bcd071599be471e8e62 100644 (file)
{
foreach($this->a_handles as $i_id => $o_handle){
if($o_handle->password_change_needed() && isset($o_handle->by_object['user'])){
- new msg_dialog(_("Password reset"),_("The user password was resetted, please set a new password value!"),WARNING_DIALOG);
+ new msg_dialog(_("Reset password"),_("The user password has been reset. Please set a new password!"),WARNING_DIALOG);
change_password ($o_handle->dn, "",0, $o_handle->by_object['user']->pw_storage);
}
}
index 5af5652297a8c8bd417dc9bb3c9e37553d105532..267e22c9e811aabc25382e1488ef822ec174799d 100644 (file)
$current_csn = getEntryCSN($this->dn);
if($current_csn != $this->entryCSN && !empty($this->entryCSN) && !empty($current_csn)){
$this->entryCSN = $current_csn;
- $message[] = _("The object has changed since opened in GOsa. All changes that may be done by others get lost if you save this entry!");
+ $message[] = _("The current object has been altered while beeing edited. If you save this entry, changes that have been made by others will be discarded!");
}
}
return ($message);
$ldap->cd($this->config->current['BASE']);
$ldap->create_missing_trees(preg_replace("/^[^,]+,/","",$dst_dn));
if (!$ldap->rename_dn($src_dn,$dst_dn)){
-# msg_dialog::display(_("LDAP error"), msgPool::ldaperror($ldap->get_error(), $src_dn, "", get_class()));
- new log("debug","Ldap Protocol v3 implementation error, ldap_rename failed, falling back to manual copy.","FROM: $src_dn -- TO: $dst_dn",array(),$ldap->get_error());
+ new log("debug","LDAP protocol v3 implementation error, ldap_rename failed, falling back to manual copy.","FROM: $src_dn -- TO: $dst_dn",array(),$ldap->get_error());
@DEBUG(DEBUG_LDAP,__LINE__,__FUNCTION__,__FILE__,"Rename failed FROM: $src_dn -- TO: $dst_dn",
"Ldap Protocol v3 implementation error, falling back to maunal method.");
return(FALSE);
if(!empty($entry) && $ui->allow_snapshot_create($entry,$this->parent->acl_module)){
$this->snapDialog = new SnapShotDialog($this->config,$entry,$this);
}else{
- msg_dialog::display(_("Permission"),sprintf(_("You are not allowed to create a snapshot for %s."),$entry),ERROR_DIALOG);
+ msg_dialog::display(_("Permission"),sprintf(_("You are not allowed to create a snapshot for %s!"),$entry),ERROR_DIALOG);
}
}
$this->snapDialog = new SnapShotDialog($this->config,$entry,$this);
$this->snapDialog->display_restore_dialog = true;
}else{
- msg_dialog::display(_("Permission"),sprintf(_("You are not allowed to restore a snapshot for %s."),$entry),ERROR_DIALOG);
+ msg_dialog::display(_("Permission"),sprintf(_("You are not allowed to restore a snapshot for %s!"),$entry),ERROR_DIALOG);
}
}
$this->snapDialog->display_restore_dialog = true;
$this->snapDialog->display_all_removed_objects = true;
}else{
- msg_dialog::display(_("Permission"),sprintf(_("You are not allowed to restore a snapshot for %s."),$base),ERROR_DIALOG);
+ msg_dialog::display(_("Permission"),sprintf(_("You are not allowed to restore a snapshot for %s!"),$base),ERROR_DIALOG);
}
}
$this->restore_snapshot($entry);
$this->snapDialog = NULL;
}else{
- msg_dialog::display(_("Permission"),sprintf(_("You are not allowed to restore a snapshot for %s."),$entry),ERROR_DIALOG);
+ msg_dialog::display(_("Permission"),sprintf(_("You are not allowed to restore a snapshot for %s!"),$entry),ERROR_DIALOG);
}
}
}
/* Acls for this object must be adjusted */
if($found){
- $debug_info= _("Changing ACL dn")." : <br> -"._("from")." <b> ".
- $old_dn."</b><br> -"._("to")." <b>".$new_dn."</b><br>";
+ $debug_info= sprintf(_("Changing ACL DN from %s to %s"), "<b>".$old_dn."</b>", "<b>".$new_dn."</b>");
@DEBUG (DEBUG_ACL, __LINE__, __FUNCTION__, __FILE__,$debug_info,"ACL");
$update[$attrs['dn']] =array();
if($ui->allow_snapshot_create($base,$category)){
$str.= "<input class='center' type='image' src='images/snapshot.png'
alt='"._("Create snapshot")."' name='CreateSnapShotDialog_".base64_encode($base)."'
- title='"._("Create a new snapshot from this object")."'> ";
+ title='"._("Create new snapshot for this object")."'> ";
}else{
$str = "<img class='center' src='images/empty.png' alt=' '> ";
}
if($cut){
if($ui->is_cutable($base,$category,$class)){
$action .= "<input class='center' type='image'
- src='images/lists/cut.png' alt='"._("cut")."' name='cut_%KEY%' title='"._("Cut this entry")."'> ";
+ src='images/lists/cut.png' alt='"._("Cut")."' name='cut_%KEY%' title='"._("Cut this entry")."'> ";
}else{
$action.="<img src='images/empty.png' alt=' ' class='center'> ";
}
if($copy){
if($ui->is_copyable($base,$category,$class)){
$action.= "<input class='center' type='image'
- src='images/lists/copy.png' alt='"._("copy")."' name='copy_%KEY%' title='"._("Copy this entry")."'> ";
+ src='images/lists/copy.png' alt='"._("Copy")."' name='copy_%KEY%' title='"._("Copy this entry")."'> ";
}else{
$action.="<img src='images/empty.png' alt=' ' class='center'> ";
}
index cd8ad201b63706bc593ae35d4f1e87a71491b91c..ee593b34ba9b2a60c558783e523a4539d22cbe5d 100644 (file)
if (!isset($plug['CLASS'])){
msg_dialog::display(
_("Configuration error"),
- _("The configuration format has changed. Please re-run setup!"),
+ _("The configuration format has changed: please run the setup again!"),
FATAL_ERROR_DIALOG);
exit();
}
$this->menu .=
"\n <script language='javascript' type='text/javascript'>".
"\n function openPlugin(id){".
- "\n return question(\""._("You are currently editing a database entry. Do you want to dismiss the changes?")."\",".
+ "\n return question(\""._("You are currently editing a database entry. Do you want to discard the changes?")."\",".
"\n \"main.php?plug=\" + id + \"&reset=1\");".
"\n }".
"\n </script>\n";
index 9d298cd9eabdf7b9a2933f39fcafe2aec58a8418..7d8524c7383d7f3488002c2ad8c9dcc27d69a47f 100644 (file)
/* Sanity check */
if (!session::channel_exists($channel)){
- msg_dialog::display(_("Internal error"), _("Requested channel does not exist! Please contact your Administrator."), FATAL_ERROR_DIALOG);
+ msg_dialog::display(_("Internal error"), _("Requested channel does not exist!"), FATAL_ERROR_DIALOG);
}
$channel= "gch_".$channel;
} else {
/* Sanity check */
if (!session::channel_exists($channel)){
- msg_dialog::display(_("Internal error"), _("Requested channel does not exist! Please contact your Administrator."), FATAL_ERROR_DIALOG);
+ msg_dialog::display(_("Internal error"), _("Requested channel does not exist!"), FATAL_ERROR_DIALOG);
}
$_SESSION[$channel][$name] = $value;
}
/* Sanity check */
if (!session::channel_exists($channel)){
- msg_dialog::display(_("Internal error"), _("Requested channel does not exist! Please contact your Administrator."), FATAL_ERROR_DIALOG);
+ msg_dialog::display(_("Internal error"), _("Requested channel does not exist!"), FATAL_ERROR_DIALOG);
}
$channel= "gch_".$channel;
index 4442e1c5017729efdbccdfd6513655a279c079e7..919e6e0374f5d6dedc5e3057183b865500f09198 100644 (file)
public function setEncryptionKey($key)
{
if(!function_exists("mcrypt_get_iv_size")){
- $this->set_error(_("The mcrypt module was not found. Please install php5-mcrypt."));
+ $this->set_error(_("No PHP mcrypt module found!"));
$this->ckey = "";
$this->b_encrypt = FALSE;
}
$this->handle = @fsockopen($this->host, $this->port, $this->errno, $this->errstr, $this->timeout);
if(!$this->handle){
$this->handle = NULL;
- $this->set_error(sprintf(_("Socket connection to host '%s:%s' failed: %s"),$this->host,$this->port,$this->errstr));
+ $this->set_error(sprintf(_("Socket connection to '%s:%s' failed: %s"),$this->host,$this->port,$this->errstr));
}else{
$this->b_data_send = TRUE;
}
}
if((microtime(TRUE) - $start) > $this->timeout ){
- $this->set_error(sprintf(_("Socket timeout of %s seconds reached."),$this->timeout));
+ $this->set_error(sprintf(_("Socket timeout of %s seconds reached!"),$this->timeout));
break;
}
}
diff --git a/gosa-core/include/class_sortableListing.inc b/gosa-core/include/class_sortableListing.inc
index 3c8ad5917ed60483c2db3459f5df196eaba053d4..4642d086c61709c2bf742a178a999a23a79ccd46 100644 (file)
$link= "href='?plug=".$_GET['plug']."&PID=".$this->id."&act=SORT_$i'";
$sorter= "";
if ($i == $this->sortColumn){
- $sorter= " ".image("images/lists/sort-".($this->sortDirection[$i]?"up":"down").".png", null, $this->sortDirection[$i]?_("Up"):_("Down"));
+ $sorter= " ".image("images/lists/sort-".($this->sortDirection[$i]?"up":"down").".png", null, $this->sortDirection[$i]?_("Sort ascending"):_("Sort descending"));
}
if ($this->reorderable) {
index ccc3f7c715f9ee98d79341ab7ff5bbd3cebe9c23..ac772eeeff46e04221f6cf5f8fc582bcd8839521 100644 (file)
if(!count($data)) {
$data[] = array("CLASS" => 'plugin',"NAME" => 'Error');
msg_dialog::display(_("Error"),
- sprintf(_("No plugin definitions found to initialize '%s', please check your configuration file."),get_class($this)),
+ sprintf(_("No plugin definition for '%s' found: please check the configuration file!"),get_class($this)),
"ERROR_DIALOG");
}
diff --git a/gosa-core/include/class_userFilterEditor.inc b/gosa-core/include/class_userFilterEditor.inc
index b4caa39d4b93940d74a2f799415a5729bf55563c..00f34f9cfe6e10daeef2c97926c57929e989d43f 100644 (file)
$o = substr_count($f, '(');
$c = substr_count($f, ')');
if($o != $c){
- $msgs[] = sprintf(_("Please check your filter #%s. You have '%s' opening and '%s' closing brackets!"), ($key+1),$o, $c);
+ $msgs[] = sprintf(_("Error in filter #%s: %s opening and %s closing brackets detected!"), ($key+1),$o, $c);
}
}