From: opensides Date: Thu, 17 Sep 2009 13:51:35 +0000 (+0000) Subject: - dh-make-gosa doesnt allow upercase in package name (Closes #703) X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e34f08af1e4bbc6bb3c0162518ad8c8816e90d52;p=gosa.git - dh-make-gosa doesnt allow upercase in package name (Closes #703) git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14271 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/roleManagement/admin/roleManagement/class_divListRole.inc b/gosa-plugins/roleManagement/admin/roleManagement/class_divListRole.inc deleted file mode 100644 index 5048751b8..000000000 --- a/gosa-plugins/roleManagement/admin/roleManagement/class_divListRole.inc +++ /dev/null @@ -1,232 +0,0 @@ -parent = $parent; - $this->ui = get_userinfo(); - - // Dynamic action col, depending on snapshot icons - $action_col_size = 90; - if($this->parent->snapshotEnabled()){ - $action_col_size += 38; - } - - // Set list strings - $this->SetTitle(_("List of roles")); - $this->SetSummary(_("List of roles")); - $this->EnableAplhabet(true); - - // Result page will look like a headpage - $this->SetHeadpageMode(); - - // Disable buttonsm - $this->EnableCloseButton(false); - $this->EnableSaveButton (false); - - // Add checkbox: Toggle all selected / deselected - $chk = ""; - - // Set Page col headers - $this->AddHeader(array("string" => $chk,"attach"=>"style='width:20px;'")); - $this->AddHeader(array("string" => " ", "attach" => "style='text-align:center;width:20px;'")); - $this->AddHeader(array("string" => _("Role")." / "._("Department"), "attach" => "style=''")); - $this->AddHeader(array("string" => _("Actions"), - "attach" => "style='width:".$action_col_size."px;border-right:0px;text-align:right;'")); - - // Add SubSearch checkbox - //$this->AddCheckBox(SEPERATOR); - $this->AddCheckBox("SubSearch", msgPool::selectToView("","subsearch"), - msgPool::selectToView("","subsearch_small"), false); - - // Add regex user input field - $this->AddRegex ("Regex", _("Regular expression for matching role names"), "*" , true); - } - - - function GenHeader() - { - /* Get all departments within this subtree */ - $ui= get_userinfo(); - $first = ""; - $found = FALSE; - $base = $this->config->current['BASE']; - $options = $this->create_department_list($this->module); - - /* Add a seperator after displaying c&p and snapshot icons ? */ - $add_sep = false; - - /* Get copy & paste icon */ - $acls = $ui->get_permissions($this->selectedBase,"roles/roleGeneric"); - $acl_all= $ui->has_complete_category_acls($this->selectedBase,"roles"); - - /* Add default header */ - $listhead = MultiSelectWindow::get_default_header(); - - /* Add department selector */ - $listhead .= _("Base")." ". - "  "; - - /* Create Layers menu */ - $s = ".|"._("Actions")."|\n"; - - /* Append create options */ - if(preg_match("/c/",$acls)) { - $s .= "..|". - " "._("Create")."|\n"; - $s.= "...|". - " "._("Role")."|role_new|\n"; - } - - /* Multiple options */ - $s.= "..|---|\n"; - $s.= "..|". - " "._("Remove")."|"."remove_multiple_roles|\n"; - - /* Add Copy & Paste header */ - $s .= $this->parent->get_copypaste_header($this->selectedBase,$this->module); - - /* Add snapshot icons */ - $s .= $this->parent->get_snapshot_header($this->selectedBase,$this->module); - - $this->SetDropDownHeaderMenu($s); - $this->SetListHeader($listhead); - } - - - function execute() - { - $this->ClearElementsList(); - $this->GenHeader(); - } - - function setEntries($list) - { - // Defining Links - $editlink = "%s"; - - // Dynamic action col, depending on snapshot icons - $action_col_size = 90; - if($this->parent->snapshotEnabled()){ - $action_col_size += 38; - } - - $ui = get_userinfo(); - - // Assigning roles - foreach($list as $key => $val){ - - // Get object permissions - $acl = $ui->get_permissions($val['dn'],"roles/roleGeneric"); - $acl_all= $ui->has_complete_category_acls($val['dn'],"roles"); - - - // Add copy & cut functionality */ - $actions = $this->parent->get_copypaste_action($val['dn'],"ogroups","ogroup"); - - // Create edit and remove icon buttons - $actions.= ""; - - $actions.= $this->parent->get_snapshot_action($val['dn'],$this->module); - if(preg_match("/d/",$acl)){ - $actions.= ""; - }else{ - $actions.= " "; - } - - // Append role descriptio, if available - $title = "title='".preg_replace('/ /', ' ', LDAP::fix($val['dn']))."'"; - if(!isset($val['description'][0])){ - $desc = ""; - }else{ - $desc = " - [ ".$val['description'][0]." ]"; - } - - // Cutted entry are displayed in a light grey as indication. - $display = $val['cn'][0].$desc; - if($this->parent->CopyPasteHandler){ - foreach($this->parent->CopyPasteHandler->queue as $queue_key => $queue_data){ - if($queue_data['dn'] == $val['dn']) { - $display = "".$display.""; - break; - } - } - } - - // Append the entry to the divlist - $field0 = array("string" => "" , - "attach" => "style='width:20px;'"); - $field1 = array("string" => ""._("Role")."", - "attach" => "style='text-align:center;width: 20px;'"); - $field2 = array("string" => sprintf($editlink,$key,$display), - "attach" => "style='' ".$title); - $field4 = array("string" => preg_replace("/%KEY%/", $key, $actions), - "attach" => "style='width:".$action_col_size."px;border-right:0px;text-align:right;'"); - - $this->AddElement(array($field0,$field1,$field2,$field4)); - } - - - // Create the list summary - $num_deps=0; - if(!$this->SubSearch){ - $num_deps = count($this->Added_Departments); - } - $num_objs = count($list); - $num_obj_str = _("Number of listed roles"); - $num_dep_str = _("Number of listed departments"); - $str = "".$num_obj_str." ".$num_objs."    "; - $str.= "".$num_dep_str." ".$num_deps."    "; - $this->set_List_Bottom_Info($str); - } -} -// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: -?> diff --git a/gosa-plugins/roleManagement/admin/roleManagement/class_occupantSelect.inc b/gosa-plugins/roleManagement/admin/roleManagement/class_occupantSelect.inc deleted file mode 100644 index 7fc690e9f..000000000 --- a/gosa-plugins/roleManagement/admin/roleManagement/class_occupantSelect.inc +++ /dev/null @@ -1,163 +0,0 @@ -config = $config; - $this->dn = $dn; - $this->parent = $parent; - $this->skipEntries = $parent->getOccupants(); - - /* Get global filter config */ - if (!session::is_set("roleAddOccupantFilter")){ - $ui= get_userinfo(); - $base= get_base_from_people($ui->dn); - $roleAddOccupantFilter= array( - "dselect" => $base, - "subtrees" => FALSE, - "regex" => "*"); - session::set("roleAddOccupantFilter", $roleAddOccupantFilter); - } - - } - - - function execute() - { - /* Save data */ - $roleAddOccupantFilter= session::get("roleAddOccupantFilter"); - if(isset($_POST['occupantSearched'])){ - - $roleAddOccupantFilter['subtrees'] = false; - if(isset($_POST['subtrees'])){ - $roleAddOccupantFilter['subtrees'] = "checked"; - } - - foreach( array("dselect", "regex") as $type){ - if (isset($_POST[$type])){ - $roleAddOccupantFilter[$type]= $_POST[$type]; - } - } - } - if (isset($_GET['search'])){ - $s= mb_substr($_GET['search'], 0, 1, "UTF8")."*"; - if ($s == "**"){ - $s= "*"; - } - $roleAddOccupantFilter['regex']= $s; - } - session::set("roleAddOccupantFilter", $roleAddOccupantFilter); - - $smarty = get_smarty(); - $smarty->assign("search_image", get_template_path('images/lists/search.png')); - $smarty->assign("launchimage", get_template_path('images/lists/action.png')); - $smarty->assign("tree_image", get_template_path('images/lists/search-subtree.png')); - $smarty->assign("deplist", $this->config->idepartments); - $smarty->assign("alphabet", generate_alphabet()); - $smarty->assign("hint", print_sizelimit_warning()); - $smarty->assign("apply", apply_filter()); - $smarty->assign("objects", $this->getObjects()); - foreach( array("dselect", "regex", "subtrees") as $type){ - $smarty->assign("$type", $roleAddOccupantFilter[$type]); - } - return($smarty->fetch(get_template_path("occupantSelect.tpl",TRUE, dirname(__FILE__)))); - } - - - function getObjects() - { - - // Initialize variables - $ldap = $this->config->get_ldap_link(); - $roleAddOccupantFilter= session::get("roleAddOccupantFilter"); - $regex = $roleAddOccupantFilter['regex']; - - // Detect the base to be use for ldap search - if($roleAddOccupantFilter['subtrees']){ - $base = $roleAddOccupantFilter['dselect']; - }else{ - $base = get_people_ou().$roleAddOccupantFilter['dselect']; - } - - // Set search flags flat/subsearch - $Get_list_flags = 0; - if($roleAddOccupantFilter['subtrees'] == "checked"){ - $Get_list_flags |= GL_SUBSEARCH; - } - - // Search for matching user objects. - $filter = "(&(objectClass=gosaAccount)(!(uid=*$))(|(uid=$regex)(cn=$regex)))"; - $res = get_list($filter, "users/user" , $base, - array("description", "objectClass", "sn", "givenName", "uid","cn"),$Get_list_flags); - - // Collect data. - $this->objects = array(); - foreach($res as $attrs){ - - // Skip entries which are already part of our role - if(in_array($attrs['dn'], $this->skipEntries)) continue; - - $name = $attrs['cn'][0]; - $dn = $attrs['dn']; - if (isset($attrs["description"][0])){ - $name .= " [".$attrs["description"][0]."]"; - } - - $entry = array(); - $entry['attrs'] = $attrs; - $entry['name'] = $name; - $entry['dn'] = $dn; - $this->objects[] = $entry; - } - uksort ($this->objects, 'strnatcasecmp'); - reset ($this->objects); - - // Create HTML content - $temp = ""; - foreach ($this->objects as $key => $value){ - $temp.= " - \n"; - } - return ($temp); - } - - - function save() - { - $ret = array(); - if(isset($_POST['objects'])){ - $objects = $_POST['objects']; - foreach($objects as $id){ - $ret[] = $this->objects[$id]; - } - } - return($ret); - } -} - -// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: -?> diff --git a/gosa-plugins/roleManagement/admin/roleManagement/class_roleGeneric.inc b/gosa-plugins/roleManagement/admin/roleManagement/class_roleGeneric.inc deleted file mode 100644 index 6674ddf94..000000000 --- a/gosa-plugins/roleManagement/admin/roleManagement/class_roleGeneric.inc +++ /dev/null @@ -1,404 +0,0 @@ -attrs - var $roleOccCache = array(); - - // A list of attributes managed by this plugin - var $attributes = array("cn","description", - "telephoneNumber","facsimileTelephoneNumber","roleOccupant"); - - - /* Initialize the class - */ - function __construct($config,$dn){ - plugin::plugin($config,$dn); - $this->is_account = TRUE; - - // Initialize list of occupants - $this->roleOccupant = array(); - if(isset($this->attrs['roleOccupant'])){ - for($i=0;$i<$this->attrs['roleOccupant']['count']; $i++){ - $this->roleOccupant[] = $this->attrs['roleOccupant'][$i]; - } - } - - // Detect the objects base - if ($this->dn == "new"){ - $this->base = session::get('CurrentMainBase'); - } else { - $this->base= preg_replace("/^[^,]+,".preg_quote(get_ou("roleRDN"), '/i')."/","",$this->dn); - } - - // Keep track of naming attribute modifications - $this->orig_base = $this->base; - $this->orig_dn = $dn; - $this->orig_cn = $this->cn; - - // Reload the occupant cache. - $this->reload(); - } - - - /* Keep occupant cache up to date. - * Else, we may have entries we can't display. - */ - function reload() - { - // Entries can't be added twice. - $attrs = array("description", "objectClass", "uid","cn"); - $this->roleOccupant = array_unique($this->roleOccupant); - $this->roleOccupant = array_values($this->roleOccupant); - - $ldap = $this->config->get_ldap_link(); - foreach($this->roleOccupant as $dn){ - if(!isset($this->roleOccCache[$dn])){ - if($ldap->dn_exists($dn)){ - $ldap->cat($dn, $attrs); - - $tmp = $ldap->fetch(); - if(!isset($tmp['cn'])){ - - // Extract the namingAttribute out of the dn. - $cn = preg_replace("/^[^=]*+=([^,]*).*$/","\\1",$tmp['dn']); - if(isset($tmp['uid'])){ - $cn = $tmp['uid'][0]; - } - if(isset($tmp['description'])){ - $cn.= " [".$tmp['description'][0]."]"; - } - $tmp['cn'][0] = $cn; - } - - $this->roleOccCache[$dn] = $tmp; - } - } - } - - } - - - function getOccupants(){ - return($this->roleOccupant); - } - - /* Generate HTML output of this plugin. - */ - function execute() - { - // Get list of possible ldap bases, will be selectable in the ui. - $tmp = $this->allowedBasesToMoveTo(); - - - /*************** - * Dialog handling - ***************/ - - if(isset($_POST['edit_membership']) && !$this->dialog instanceOf plugin){ - $this->dialog = new occupantSelect($this->config,$this->dn,$this); - } - if(isset($_POST['delete_membership']) && !$this->dialog instanceOf plugin){ - if(isset($_POST['members'])){ - foreach($_POST['members'] as $id){ - if(isset($this->roleOccupant[$id])){ - unset($this->roleOccupant[$id]); - } - } - $this->reload(); - } - } - - if(isset($_POST['add_object_cancel']) && $this->dialog instanceOf plugin){ - $this->dialog = NULL; - } - if(isset($_POST['add_object_finish']) && $this->dialog instanceOf plugin){ - $ret = $this->dialog->save(); - foreach($ret as $key => $entry){ - $this->roleOccupant[] = $entry['dn']; - $this->roleOccCache[$entry['dn']] = $entry['attrs']; - } - $this->reload(); - $this->dialog = NULL; - } - - if($this->dialog instanceOf plugin){ - $this->dialog->save_object(); - return($this->dialog->execute()); - } - - - /*************** - * Template handling - ***************/ - - // Get smarty instance and assign required variables. - $smarty = get_smarty(); - $smarty->assign("bases", $tmp); - $smarty->assign("base_select",$this->base); - $smarty->assign("members",$this->convert_list()); - foreach($this->attributes as $attr){ - $smarty->assign($attr,$this->$attr); - } - - // Assign current permissions for each attribute. - $tmp = $this->plInfo(); - foreach($tmp['plProvidedAcls'] as $attr => $desc){ - $smarty->assign($attr."ACL",$this->getacl($attr)); - } - return($smarty->fetch(get_template_path('roleGeneric.tpl',TRUE,dirname(__FILE__)))); - } - - - /* Check user input and return a list of 'invalid input' messages. - */ - function check() - { - $message = plugin::check(); - - // Set the new acl base - if($this->dn == "new") { - $this->set_acl_base($this->base); - } - - // Check if we are allowed to create/move this user - if($this->orig_dn == "new" && !$this->acl_is_createable($this->base)){ - $message[]= msgPool::permCreate(); - }elseif($this->orig_dn != "new" && - !$this->acl_is_moveable($this->base) && - ($this->orig_base != $this->base || $this->orig_cn != $this->cn )){ - $message[]= msgPool::permMove(); - } - - /* must: cn */ - if ($this->cn == ""){ - $message[]= msgPool::required(_("Name")); - } - - // Check if this name is uniq for roles. - $ldap= $this->config->get_ldap_link(); - $ldap->cd($this->config->current['BASE']); - $ldap->search("(&(objectClass=organizationalRole)(cn=$this->cn))", array("cn")); - $ldap->fetch(); - if ($ldap->count() != 0 && ( $this->dn == 'new' || $this->cn != $this->orig_cn)){ - $message[]= msgPool::duplicated(_("Name")); - } - - return($message); - } - - - /* Returns list of occupants as \n"; - } - return ($temp); - } - - - /* Removes the object from the ldap database - */ - function remove_from_parent() - { - plugin::remove_from_parent(); - - // Remove this object. - $ldap= $this->config->get_ldap_link(); - $ldap->rmdir($this->dn); - if (!$ldap->success()){ - msg_dialog::display(_("LDAP error"), msgPool::ldaperror($ldap->get_error(), $this->dn, 0, get_class())); - } - - // Log action. - new log("remove","roles/".get_class($this),$this->dn,array_keys($this->attrs),$ldap->get_error()); - - // Trigger remove signal - $this->handle_post_events("remove"); - } - - - /* Saves object modifications - */ - function save(){ - plugin::save(); - - /* Save data. Using 'modify' implies that the entry is already present, use 'add' for - new entries. So do a check first... */ - $ldap = $this->config->get_ldap_link(); - $ldap->cat ($this->dn, array('dn')); - if ($ldap->fetch()){ - $mode= "modify"; - } else { - $mode= "add"; - $ldap->cd($this->config->current['BASE']); - $ldap->create_missing_trees(preg_replace('/^[^,]+,/', '', $this->dn)); - } - @DEBUG (DEBUG_LDAP, __LINE__, __FUNCTION__, __FILE__,$this->attributes, "Save via $mode"); - - // Finally write data with selected 'mode' - $this->cleanup(); - $ldap->cd ($this->dn); - $ldap->$mode ($this->attrs); - if (!$ldap->success()){ - msg_dialog::display(_("LDAP error"), msgPool::ldaperror($ldap->get_error(), - $this->dn, LDAP_MOD, get_class())); - return (1); - } - - // Send modify/add events - $this->handle_post_events($mode); - - // Update ACL dependencies too - if($this->dn != $this->orig_dn && $this->orig_dn != "new"){ - $tmp = new acl($this->config,$this->parent,$this->dn); - $tmp->update_acl_membership($this->orig_dn,$this->dn); - } - - // Log action - if($mode == "modify"){ - new log("modify","users/".get_class($this),$this->dn,array_keys($this->attrs),$ldap->get_error()); - }else{ - new log("create","users/".get_class($this),$this->dn,array_keys($this->attrs),$ldap->get_error()); - } - - return 0; - } - - - /* This avoids that users move themselves out of their rights. - */ - function allowedBasesToMoveTo() - { - $bases = $this->get_allowed_bases(); - return($bases); - } - - - /* Save HTML inputs - */ - function save_object() - { - plugin::save_object(); - if(isset($_POST['base'])){ - $this->base = get_post('base'); - } - } - - - function PrepareForCopyPaste($source) - { - plugin::PrepareForCopyPaste($source); - - /* Load member objects */ - $this->roleOccupant = array(); - if (isset($source['roleOccupant'])){ - foreach ($source['roleOccupant'] as $key => $value){ - if ("$key" != "count"){ - $value= @LDAP::convert($value); - $this->roleOccupant["$value"]= "$value"; - } - } - } - $this->reload(); - } - - - function getCopyDialog() - { - $smarty = get_smarty(); - $smarty->assign("cn", $this->cn); - $str = $smarty->fetch(get_template_path("paste_generic.tpl",TRUE,dirname(__FILE__))); - $ret = array(); - $ret['string'] = $str; - $ret['status'] = ""; - return($ret); - } - - function saveCopyDialog() - { - if(isset($_POST['cn'])){ - $this->cn = $_POST['cn']; - } - } - - - static function plInfo() - { - return (array( - "plShortName" => _("Generic"), - "plDescription" => _("Role generic"), - "plSelfModify" => FALSE, - "plDepends" => array(), - "plPriority" => 1, - "plSection" => array("administration"), - "plCategory" => array("roles" => array("description" => _("Roles"), - "objectClass" => "organizationalRole")), - "plProvidedAcls"=> array( - "cn" => _("Name"), - "description" => _("Description"), - "base" => _("Base"), - "telephoneNumber" => _("Telefon number"), - "facsimileTelephoneNumber" => _("Fax number"), - "roleOccupant" => _("Occupants")) - )); - } -} - - -// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: -?> diff --git a/gosa-plugins/roleManagement/admin/roleManagement/class_roleManagement.inc b/gosa-plugins/roleManagement/admin/roleManagement/class_roleManagement.inc deleted file mode 100644 index bc52cb554..000000000 --- a/gosa-plugins/roleManagement/admin/roleManagement/class_roleManagement.inc +++ /dev/null @@ -1,488 +0,0 @@ -config= &$config; - $this->ui= get_userinfo(); - - // Copy & Paste enabled ? - if ($this->config->get_cfg_value("copyPaste") == "true"){ - $this->CopyPasteHandler = new CopyPasteHandler($this->config); - } - - // Initialize the corresponding list class. - $this->DivListRoles = new divListRole($this->config,$this); - } - - - function execute() - { - // Call parent execute - plugin::execute(); - - // Variables to restore after 'entry locked' warning was displayed - session::set('LOCK_VARS_TO_USE',array('/^copy/','/^cut/','/^role_/','/^act/', - '/^id/','/^menu_action/','/^item/')); - - $smarty = get_smarty(); - - /*************** - * Handle _POST/_GET variables - ***************/ - - // Get entry related posts - $s_action = ""; - $s_entry = ""; - foreach($_POST as $name => $value){ - if(preg_match("/^cut_/",$name)){ - $s_action = "cut"; - $s_entry = preg_replace("/^cut_([0-9]*)_.*$/","\\1",$name); - break; - } - if(preg_match("/^copy_/",$name)){ - $s_action = "copy"; - $s_entry = preg_replace("/^copy_([0-9]*)_.*$/","\\1",$name); - break; - } - if(preg_match("/^role_edit_/",$name)){ - $s_action = "edit"; - $s_entry = preg_replace("/^role_edit_([0-9]*)_.*$/","\\1",$name); - break; - } - if(preg_match("/^role_del_/",$name)){ - $s_action = "remove"; - $s_entry = preg_replace("/^role_del_([0-9]*)_.*$/","\\1",$name); - break; - } - } - - if(isset($_GET['act']) && $_GET['act'] == "edit_entry" && isset($_GET['id'])){ - $id = $_GET['id']; - if(isset($this->roles[$id])){ - $s_action = "edit"; - $s_entry = $id; - } - } - - // Get menu related posts - if(isset($_POST['menu_action'])) { - if($_POST['menu_action'] == "editPaste"){ - $s_action = "editPaste"; - }elseif($_POST['menu_action'] == "role_new"){ - $s_action = "new"; - }elseif($_POST['menu_action'] == "remove_multiple_roles"){ - $s_action = "remove_multiple"; - } - } - - /*************** - * Copy & Paste handling - ***************/ - - /* Display the copy & paste dialog, if it is currently open */ - $ret = $this->copyPasteHandling_from_queue($s_action,$s_entry); - if($ret){ - return($ret); - } - - - /*************** - * Remove handling - ***************/ - - if($s_action == "remove_multiple" || $s_action == "remove"){ - - if($s_action == "remove_multiple"){ - $ids = $this->list_get_selected_items(); - }else{ - $ids = array($s_entry); - } - - if(count($ids)){ - $this->dns = array(); - $disallowed = array(); - foreach($ids as $id){ - $dn = $this->roles[$id]['dn']; - $acl = $this->ui->get_permissions($dn, "roles/roleGeneric"); - if(preg_match("/d/",$acl)){ - $this->dns[$id] = $dn; - }else{ - $disallowed[] = $dn; - } - } - - if(count($disallowed)){ - msg_dialog::display(_("Permission"),msgPool::permDelete($disallowed),INFO_DIALOG); - } - - - if(count($this->dns)){ - if ($user= get_multiple_locks($this->dns)){ - return(gen_locked_message($user,$this->dns)); - } - $dns_names = array(); - foreach($this->dns as $dn){ - $dns_names[] = LDAP::fix($dn); - } - - /* Lock the current entry, so nobody will edit it during deletion */ - add_lock ($this->dns, $this->ui->dn); - - $smarty->assign("info", msgPool::deleteInfo($dns_names,_("Role"))); - $smarty->assign("multiple", true); - return($smarty->fetch(get_template_path('remove.tpl', TRUE))); - } - } - } - - - /* Remove lock */ - if(isset($_POST['delete_multiple_roles_cancel'])){ - - /* Remove lock file after successfull deletion */ - $this->remove_lock(); - $this->dns = array(); - } - - - /* Confirmation for deletion has been passed. Users should be deleted. */ - if (isset($_POST['delete_multiple_roles_confirm'])){ - - /* Remove user by user and check acls before removeing them */ - foreach($this->dns as $key => $dn){ - - $acl = $this->ui->get_permissions($dn, "roles/roleGeneric"); - if (preg_match('/d/', $acl)){ - - /* Delete request is permitted, perform LDAP action */ - $this->dialog= new roletabs($this->config,$this->config->data['TABS']['ROLETABS'], $dn); - $this->dialog->delete(); - $this->dialog= NULL; - } else { - - /* Normally this shouldn't be reached, send some extra - logs to notify the administrator */ - msg_dialog::display(_("Permission error"), msgPool::permDelete(), INFO_DIALOG); - new log("security","roles/".get_class($this),$dn,array(),"Tried to trick deletion."); - } - } - - /* Remove lock file after successfull deletion */ - $this->remove_lock(); - $this->dns = array(); - } - - - /*************** - * New handling - ***************/ - - if($s_action == "new" && !$this->dialog instanceOf tabs){ - $this->dialog = new roletabs($this->config, $this->config->data['TABS']['ROLETABS'], "new"); - $this->dialog->set_acl_base($this->DivListRoles->selectedBase); - } - - /*************** - * Edit handling - ***************/ - - if($s_action == "edit" && !$this->dialog instanceOf tabs){ - if(!isset($this->roles[$s_entry])){ - trigger_error("Unknown entry!"); - }else{ - - $entry = $this->roles[$s_entry]; - $this->dn = $entry['dn']; - - /* Check locking, save current plugin in 'back_plugin', so - the dialog knows where to return. */ - if (($user= get_lock($this->dn)) != ""){ - return(gen_locked_message ($user, $this->dn,TRUE)); - } - - /* Lock the current entry, so everyone will get the above dialog */ - add_lock ($this->dn, $this->ui->dn); - - /* Open the dialog */ - $this->dialog = new roletabs($this->config, $this->config->data['TABS']['ROLETABS'], - $entry['dn'], "roles"); - $this->dialog->set_acl_base($this->dn); - set_object_info($this->dn); - } - } - - - /*************** - * Dialog handling - ***************/ - - if ((isset($_POST['edit_finish']) || isset($_POST['edit_apply'])) && $this->dialog instanceOf tabs){ - $this->dialog->save_object(); - $msgs = $this->dialog->check(); - if(count($msgs)){ - msg_dialog::displayChecks($msgs); - }else{ - $this->dialog->save(); - if (!isset($_POST['edit_apply'])){ - $this->remove_lock(); - $this->dialog= NULL; - set_object_info(); - }else{ - $this->dialog->re_init(); - } - } - } - - if (isset($_POST['edit_cancel']) && $this->dialog instanceOf tabs){ - $this->remove_lock(); - $this->dialog= NULL; - set_object_info(); - } - - if($this->dialog instanceOf tabs){ - $display= $this->dialog->execute(); - - $dialog_opened = ($this->dialog->by_object[$this->dialog->current]->dialog instanceOf plugin); - - if(!$dialog_opened){ - if($this->dialog->read_only == TRUE){ - $display.= "

- -

"; - }else{ - - $display.= "

\n"; - $display.= "\n"; - $display.= " \n"; - if ($this->dn != "new"){ - $display.= "\n"; - $display.= " \n"; - } - $display.= "\n"; - $display.= "

"; - } - } - return ($display); - } - - - /*************** - * List handling - ***************/ - - // Check if there is a snapshot dialog open - $base = $this->DivListRoles->selectedBase; - if($str = $this->showSnapshotDialog($base,$this->get_used_snapshot_bases(),$this)){ - return($str); - } - - // Display dialog with group list - $this->DivListRoles->parent = $this; - $this->DivListRoles->execute(); - - // Add departments if subsearch is disabled - if(!$this->DivListRoles->SubSearch){ - $this->DivListRoles->AddDepartments($this->DivListRoles->selectedBase,3,1); - } - $this->reload (); - $this->DivListRoles->setEntries($this->roles); - return($this->DivListRoles->Draw()); - } - - - // Refreshes the list of known role objects. - function reload() - { - - // Get current ldap base and filter settings. - $base = $this->DivListRoles->selectedBase; - $Regex = $this->DivListRoles->Regex; - - // Search and fetch all matching role objects. - $this->roles = array(); - $ldap = $this->config->get_ldap_link(); - $filter= "(&(objectClass=organizationalRole)(cn=$Regex))"; - $attrs = array("cn","description","objectClass"); - - if($this->DivListRoles->SubSearch){ - $res= get_sub_list($filter, "roles",array(), $base, $attrs, GL_SIZELIMIT | GL_SUBSEARCH); - }else{ - $res= get_sub_list($filter, "roles",get_ou('roleRDN'), get_ou('roleRDN').$base, $attrs, GL_SIZELIMIT ); - } - - $tmp = array(); - foreach($res as $attrs){ - $tmp[$attrs['cn'][0].$attrs['dn']] = $attrs; - } - - uksort($tmp, 'strnatcasecmp'); - $this->roles = array_values($tmp); - } - - - /* \brief Returns a list of selected entry ids. - * E.g. remove multiple entries. - * @return Array A list of entry IDs - */ - function list_get_selected_items() - { - $ids = array(); - foreach($_POST as $name => $value){ - if(preg_match("/^item_selected_[0-9]*$/",$name)){ - $id = preg_replace("/^item_selected_/","",$name); - $ids[$id] = $id; - } - } - return($ids); - } - - - function remove_lock() - { - if (isset($this->dialog->dn)){ - del_lock ($this->dialog->dn); - }elseif(isset($this->dn) && !empty($this->dn) && $this->dn != "new"){ - del_lock($this->dn); - } - if(isset($this->dns) && is_array($this->dns) && count($this->dns)){ - del_lock($this->dns); - } - } - - - /* Return departments, that will be included within snapshot detection - */ - function get_used_snapshot_bases() - { - return(array(get_ou('roleRDN').$this->DivListRoles->selectedBase)); - } - - - function copyPasteHandling_from_queue($s_action,$s_entry) - { - /* Check if Copy & Paste is disabled */ - if(!is_object($this->CopyPasteHandler)){ - return(""); - } - - $ui = get_userinfo(); - - /* Add a single entry to queue */ - if($s_action == "cut" || $s_action == "copy"){ - - /* Cleanup object queue */ - $this->CopyPasteHandler->cleanup_queue(); - $dn = $this->roles[$s_entry]['dn']; - if($s_action == "copy" && $ui->is_copyable($dn,"roles","roleGeneric")){ - $this->CopyPasteHandler->add_to_queue($dn,$s_action,"roletabs","ROLETABS","roles"); - } - if($s_action == "cut" && $ui->is_cutable($dn,"roles","roleGeneric")){ - $this->CopyPasteHandler->add_to_queue($dn,$s_action,"roletabs","ROLETABS","roles"); - } - } - - /* Add entries to queue */ - if($s_action == "copy_multiple" || $s_action == "cut_multiple"){ - - /* Cleanup object queue */ - $this->CopyPasteHandler->cleanup_queue(); - - /* Add new entries to CP queue */ - foreach($this->list_get_selected_items() as $id){ - $dn = $this->roles[$id]['dn']; - - if($s_action == "copy_multiple" && $ui->is_copyable($dn,"roles","roleGeneric")){ - $this->CopyPasteHandler->add_to_queue($dn,"copy","roletabs","ROLETABS","roles"); - } - if($s_action == "cut_multiple" && $ui->is_cutable($dn,"roles","roleGeneric")){ - $this->CopyPasteHandler->add_to_queue($dn,"cut","roletabs","ROLETABS","roles"); - } - } - } - - /* Start pasting entries */ - if($s_action == "editPaste"){ - $this->start_pasting_copied_objects = TRUE; - } - - /* Return C&P dialog */ - if($this->start_pasting_copied_objects && $this->CopyPasteHandler->entries_queued()){ - - /* Get dialog */ - $this->CopyPasteHandler->SetVar("base",$this->DivListRoles->selectedBase); - $data = $this->CopyPasteHandler->execute(); - - /* Return dialog data */ - if(!empty($data)){ - return($data); - } - } - /* Automatically disable status for pasting */ - if(!$this->CopyPasteHandler->entries_queued()){ - $this->start_pasting_copied_objects = FALSE; - } - return(""); - } - - - function save_object() - { - $this->DivListRoles->save_object(); - if(is_object($this->CopyPasteHandler)){ - $this->CopyPasteHandler->save_object(); - } - } -} - -// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: -?> diff --git a/gosa-plugins/roleManagement/admin/roleManagement/main.inc b/gosa-plugins/roleManagement/admin/roleManagement/main.inc deleted file mode 100644 index 34ff6f42d..000000000 --- a/gosa-plugins/roleManagement/admin/roleManagement/main.inc +++ /dev/null @@ -1,67 +0,0 @@ -remove_lock(); - } -} - -/* Remove this plugin from session -*/ -if ( $cleanup ){ - $macl = session::get('roleManagement'); - $macl->remove_lock(); - session::un_set('roleManagement'); -}else{ - - /* Create object object on demand */ - if (!session::is_set('roleManagement')){ - session::set('roleManagement',new roleManagement($config)); - } - $roleManagement = session::get('roleManagement'); - - /* Execute formular */ - $roleManagement->save_object(); - $output= $roleManagement->execute (); - - /* Page header*/ - if (get_object_info() != ""){ - $display= print_header(get_template_path('plugins/roleManagement/images/plugin.png'), - _("Roles"), - "\"\" ". - LDAP::fix(get_object_info())); - } else { - $display= print_header(get_template_path('plugins/roleManagement/images/plugin.png'), _("Role management")); - } - - $display.= $output; - - /* Store changes in session */ - session::set('roleManagement',$roleManagement); -} - -// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: -?> diff --git a/gosa-plugins/roleManagement/admin/roleManagement/occupantSelect.tpl b/gosa-plugins/roleManagement/admin/roleManagement/occupantSelect.tpl deleted file mode 100644 index c34e29731..000000000 --- a/gosa-plugins/roleManagement/admin/roleManagement/occupantSelect.tpl +++ /dev/null @@ -1,49 +0,0 @@ - - - - - -
-
-

- {t}Select objects to add{/t} {$hint} -

-
-
-

- - -

-
-
-
-

[F]{t}Filters{/t}

-
-
- - {$alphabet} -
-

- {t}Search in subtrees{/t}
-

- -
  -
- -
- {$apply} -
-
- - - -

- -   - -

- diff --git a/gosa-plugins/roleManagement/admin/roleManagement/paste_generic.tpl b/gosa-plugins/roleManagement/admin/roleManagement/paste_generic.tpl deleted file mode 100644 index 91f84d8ae..000000000 --- a/gosa-plugins/roleManagement/admin/roleManagement/paste_generic.tpl +++ /dev/null @@ -1,14 +0,0 @@ - - - - - -
- {$must} - - -
- - diff --git a/gosa-plugins/roleManagement/admin/roleManagement/remove.tpl b/gosa-plugins/roleManagement/admin/roleManagement/remove.tpl deleted file mode 100644 index 76cf28860..000000000 --- a/gosa-plugins/roleManagement/admin/roleManagement/remove.tpl +++ /dev/null @@ -1,18 +0,0 @@ -
-  {t}Warning{/t} -
- -

- {$info} - {t}Please double check if you really want to do this since there is no way for GOsa to get your data back.{/t} -

-

- {t}So - if you're sure - press 'Delete' to continue or 'Cancel' to abort.{/t} -

- -

- -   - -

- diff --git a/gosa-plugins/roleManagement/admin/roleManagement/roleGeneric.tpl b/gosa-plugins/roleManagement/admin/roleManagement/roleGeneric.tpl deleted file mode 100644 index 46f5884df..000000000 --- a/gosa-plugins/roleManagement/admin/roleManagement/roleGeneric.tpl +++ /dev/null @@ -1,85 +0,0 @@ - - - - - -
- -

  - {t}Generic{/t} -

- - - - - - - - - - - - - - - - - - - - - - - - - -
{t}Name{/t}{$must} - {render acl=$cnACL} - - {/render} -
{t}Description{/t} - {render acl=$descriptionACL} - - {/render} -
-
- -
-
- {render acl=$baseACL} - - {/render} - {render acl=$baseACL disable_picture='images/lists/folder_grey.png'} - - {/render} -

 


{t}Phone number{/t} - {render acl=$telephoneNumberACL} - - {/render} -
{t}Fax number{/t} - {render acl=$facsimileTelephoneNumberACL} - - {/render} -
- -
-

  - {t}Occupants{/t} -

- -{render acl=$roleOccupantACL} - -{/render} -
-{render acl=$roleOccupantACL} -   -{/render} -{render acl=$roleOccupantACL} - -{/render} -
diff --git a/gosa-plugins/roleManagement/admin/roleManagement/tabs_roles.inc b/gosa-plugins/roleManagement/admin/roleManagement/tabs_roles.inc deleted file mode 100644 index 11f6d1f37..000000000 --- a/gosa-plugins/roleManagement/admin/roleManagement/tabs_roles.inc +++ /dev/null @@ -1,83 +0,0 @@ -base = $baseobject= $this->by_object['roleGeneric']->base; - - foreach($this->by_object as $plugin){ - uniBonnAccount::propagateRoleAttributes($config, NULL, $plugin,$this); - } - - $this->addSpecialTabs(); - - - } - - function save_object($save_current= FALSE) - { - tabs::save_object($save_current); - - /* Update reference, transfer variables */ - $baseobject= $this->by_object['roleGeneric']; - foreach ($this->by_object as $name => $obj){ - - /* Don't touch base object */ - if ($name != 'roleGeneric'){ - $obj->parent= &$this; - $obj->cn= $baseobject->cn; - $this->by_object[$name]= $obj; - } - } - } - - function save($ignore_account= FALSE) - { - $baseobject= $this->by_object['roleGeneric']; - - /* Check for new 'dn', in order to propagate the - 'dn' to all plugins */ - $new_dn= 'cn='.$baseobject->cn.','.get_ou("roleRDN").$baseobject->base; - - /* Move group? */ - if ($this->dn != $new_dn){ - - /* Write entry on new 'dn' */ - if ($this->dn != "new"){ - $baseobject->update_acls($this->dn,$new_dn); - $baseobject->move($this->dn, $new_dn); - $this->by_object['roleGeneric']= $baseobject; - } - - /* Happen to use the new one */ - $this->dn= $new_dn; - } - $ret= tabs::save(); - return $ret; - } -} - -?> diff --git a/gosa-plugins/roleManagement/html/images/new.png b/gosa-plugins/roleManagement/html/images/new.png deleted file mode 100644 index bb4ae51a3..000000000 Binary files a/gosa-plugins/roleManagement/html/images/new.png and /dev/null differ diff --git a/gosa-plugins/roleManagement/html/images/occupant.png b/gosa-plugins/roleManagement/html/images/occupant.png deleted file mode 100644 index 8f69e2b99..000000000 Binary files a/gosa-plugins/roleManagement/html/images/occupant.png and /dev/null differ diff --git a/gosa-plugins/roleManagement/html/images/plugin.png b/gosa-plugins/roleManagement/html/images/plugin.png deleted file mode 100644 index 66df34c71..000000000 Binary files a/gosa-plugins/roleManagement/html/images/plugin.png and /dev/null differ diff --git a/gosa-plugins/roleManagement/html/images/role.png b/gosa-plugins/roleManagement/html/images/role.png deleted file mode 100644 index bb4ae51a3..000000000 Binary files a/gosa-plugins/roleManagement/html/images/role.png and /dev/null differ diff --git a/gosa-plugins/roleManagement/locale/de/LC_MESSAGES/messages.po b/gosa-plugins/roleManagement/locale/de/LC_MESSAGES/messages.po deleted file mode 100644 index 1f930a59f..000000000 --- a/gosa-plugins/roleManagement/locale/de/LC_MESSAGES/messages.po +++ /dev/null @@ -1,227 +0,0 @@ -# translation of messages.po to deutsch -# translation of messages.po to -# GOsa2 Translations -# Copyright (C) 2003 GONICUS GmbH, Germany -# This file is distributed under the same license as the GOsa2 package. -# -# -# Alfred Schroeder , 2004. -# Cajus Pollmeier , 2004, 2005, 2006, 2008, 2009. -# Jan Wenzel , 2004,2005, 2008. -# Stefan Koehler , 2005. -msgid "" -msgstr "" -"Project-Id-Version: messages\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-07-03 17:43+0200\n" -"PO-Revision-Date: 2009-07-03 17:31+0200\n" -"Last-Translator: Cajus Pollmeier \n" -"Language-Team: de \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Generator: Lokalize 0.3\n" -"Plural-Forms: nplurals=2; plural=n != 1;\n" - -#: admin/roleManagement/class_roleManagement.inc:26 -#: admin/roleManagement/class_roleGeneric.inc:335 -#: admin/roleManagement/main.inc:53 -msgid "Roles" -msgstr "Rollen" - -#: admin/roleManagement/class_roleManagement.inc:27 -msgid "Manage roles" -msgstr "Rollen verwalten" - -#: admin/roleManagement/class_roleManagement.inc:137 -msgid "Permission" -msgstr "Berechtigung" - -#: admin/roleManagement/class_roleManagement.inc:153 -#: admin/roleManagement/class_divListRole.inc:70 -#: admin/roleManagement/class_divListRole.inc:127 -#: admin/roleManagement/class_divListRole.inc:207 -msgid "Role" -msgstr "Rolle" - -#: admin/roleManagement/class_roleManagement.inc:187 -msgid "Permission error" -msgstr "Berechtigungsfehler" - -#: admin/roleManagement/remove.tpl:2 -msgid "Warning" -msgstr "Warnung" - -#: admin/roleManagement/remove.tpl:7 -msgid "" -"Please double check if you really want to do this since there is no way for " -"GOsa to get your data back." -msgstr "" -"Bitte überprüfen Sie genau was Sie tun, weil GOsa keine Möglichkeit hat, die " -"Daten wiederherzustellen." - -#: admin/roleManagement/remove.tpl:10 -msgid "So - if you're sure - press 'Delete' to continue or 'Cancel' to abort." -msgstr "" -"Wenn Sie sicher sind, drücken Sie 'Entfernen' um fortzufahren oder " -"'Abbrechen' zum Abbruch." - -#: admin/roleManagement/class_roleGeneric.inc:201 -#: admin/roleManagement/class_roleGeneric.inc:210 -#: admin/roleManagement/class_roleGeneric.inc:338 -#: admin/roleManagement/roleGeneric.tpl:11 -msgid "Name" -msgstr "Name" - -#: admin/roleManagement/class_roleGeneric.inc:231 -msgid "Unknown" -msgstr "Unbekannt" - -#: admin/roleManagement/class_roleGeneric.inc:249 -#: admin/roleManagement/class_roleGeneric.inc:283 -msgid "LDAP error" -msgstr "LDAP-Fehler" - -#: admin/roleManagement/class_roleGeneric.inc:329 -#: admin/roleManagement/roleGeneric.tpl:6 -msgid "Generic" -msgstr "Allgemein" - -#: admin/roleManagement/class_roleGeneric.inc:330 -msgid "Role generic" -msgstr "Allgemeine Rolleneinstellungen" - -#: admin/roleManagement/class_roleGeneric.inc:339 -#: admin/roleManagement/roleGeneric.tpl:19 -msgid "Description" -msgstr "Beschreibung" - -#: admin/roleManagement/class_roleGeneric.inc:340 -#: admin/roleManagement/class_divListRole.inc:114 -#: admin/roleManagement/roleGeneric.tpl:29 -msgid "Base" -msgstr "Basis" - -#: admin/roleManagement/class_roleGeneric.inc:341 -msgid "Telefon number" -msgstr "Telefonnummer" - -#: admin/roleManagement/class_roleGeneric.inc:342 -#: admin/roleManagement/roleGeneric.tpl:56 -msgid "Fax number" -msgstr "Faxnummer" - -#: admin/roleManagement/class_roleGeneric.inc:343 -#: admin/roleManagement/roleGeneric.tpl:68 -msgid "Occupants" -msgstr "Rollen-Inhaber" - -#: admin/roleManagement/class_divListRole.inc:52 -#: admin/roleManagement/class_divListRole.inc:53 -msgid "List of roles" -msgstr "Liste der Rollen" - -#: admin/roleManagement/class_divListRole.inc:64 -msgid "Select all" -msgstr "Alle auswählen" - -#: admin/roleManagement/class_divListRole.inc:70 -msgid "Department" -msgstr "Abteilung" - -#: admin/roleManagement/class_divListRole.inc:71 -#: admin/roleManagement/class_divListRole.inc:120 -msgid "Actions" -msgstr "Aktionen" - -#: admin/roleManagement/class_divListRole.inc:80 -msgid "Regular expression for matching role names" -msgstr "Regulärer Ausdruck zum Erkennen von Rollennamen" - -#: admin/roleManagement/class_divListRole.inc:117 -msgid "Submit department" -msgstr "Aktualisieren" - -#: admin/roleManagement/class_divListRole.inc:117 -msgid "Submit" -msgstr "Übertragen" - -#: admin/roleManagement/class_divListRole.inc:125 -msgid "Create" -msgstr "Anlegen" - -#: admin/roleManagement/class_divListRole.inc:133 -msgid "Remove" -msgstr "Entfernen" - -#: admin/roleManagement/class_divListRole.inc:171 -msgid "edit" -msgstr "Bearbeiten" - -#: admin/roleManagement/class_divListRole.inc:172 -msgid "Edit this entry" -msgstr "Diesen Eintrag bearbeiten" - -#: admin/roleManagement/class_divListRole.inc:176 -msgid "delete" -msgstr "Entfernen" - -#: admin/roleManagement/class_divListRole.inc:177 -msgid "Delete this entry" -msgstr "Diesen Eintrag entfernen" - -#: admin/roleManagement/class_divListRole.inc:224 -msgid "Number of listed roles" -msgstr "Anzahl der angezeigten Rollen" - -#: admin/roleManagement/class_divListRole.inc:225 -msgid "Number of listed departments" -msgstr "Anzahl der angezeigten Abteilungen" - -#: admin/roleManagement/main.inc:57 -msgid "Role management" -msgstr "Rollen-Verwaltung" - -#: admin/roleManagement/roleGeneric.tpl:34 -msgid "Choose subtree to place user in" -msgstr "Wählen Sie den Teilbaum, in den der Benutzer eingepflegt werden soll" - -#: admin/roleManagement/roleGeneric.tpl:40 -msgid "Select a base" -msgstr "Wählen Sie eine Basis" - -#: admin/roleManagement/roleGeneric.tpl:48 -msgid "Phone number" -msgstr "Telefonnummer" - -#: admin/roleManagement/occupantSelect.tpl:6 -msgid "Select objects to add" -msgstr "Wählen Sie die hinzuzufügenden Objekte" - -#: admin/roleManagement/occupantSelect.tpl:20 -msgid "Filters" -msgstr "Filter" - -#: admin/roleManagement/occupantSelect.tpl:27 -msgid "Select to search within subtrees" -msgstr "Wählen Sie diese Option um auch in Teilbäumen zu suchen" - -#: admin/roleManagement/occupantSelect.tpl:27 -msgid "Search in subtrees" -msgstr "Suche in Teilbäumen" - -#: admin/roleManagement/occupantSelect.tpl:30 -msgid "Display objects of department" -msgstr "Zeige die Objekte der Abteilung" - -#: admin/roleManagement/occupantSelect.tpl:31 -msgid "Choose the department the search will be based on" -msgstr "Wählen Sie die Abteilung, auf die die Suchfunktion angewandt wird" - -#: admin/roleManagement/occupantSelect.tpl:34 -msgid "Display objects matching" -msgstr "Zeige die Objekte, auf die Folgendes passt" - -#: admin/roleManagement/occupantSelect.tpl:35 -msgid "Regular expression for matching object names" -msgstr "Regulärer Ausdruck zum Erkennen von Objekt-Namen" diff --git a/gosa-plugins/roleManagement/locale/en/LC_MESSAGES/messages.po b/gosa-plugins/roleManagement/locale/en/LC_MESSAGES/messages.po deleted file mode 100644 index d33d24c1c..000000000 --- a/gosa-plugins/roleManagement/locale/en/LC_MESSAGES/messages.po +++ /dev/null @@ -1,198 +0,0 @@ -#: admin/roleManagement/class_roleManagement.inc:26 -#: admin/roleManagement/class_roleGeneric.inc:335 -#: admin/roleManagement/main.inc:53 -msgid "Roles" -msgstr "" - -#: admin/roleManagement/class_roleManagement.inc:27 -msgid "Manage roles" -msgstr "" - -#: admin/roleManagement/class_roleManagement.inc:137 -msgid "Permission" -msgstr "" - -#: admin/roleManagement/class_roleManagement.inc:153 -#: admin/roleManagement/class_divListRole.inc:70 -#: admin/roleManagement/class_divListRole.inc:127 -#: admin/roleManagement/class_divListRole.inc:207 -msgid "Role" -msgstr "" - -#: admin/roleManagement/class_roleManagement.inc:187 -msgid "Permission error" -msgstr "" - -#: admin/roleManagement/remove.tpl:2 -msgid "Warning" -msgstr "" - -#: admin/roleManagement/remove.tpl:7 -msgid "" -"Please double check if you really want to do this since there is no way for " -"GOsa to get your data back." -msgstr "" - -#: admin/roleManagement/remove.tpl:10 -msgid "So - if you're sure - press 'Delete' to continue or 'Cancel' to abort." -msgstr "" - -#: admin/roleManagement/class_roleGeneric.inc:201 -#: admin/roleManagement/class_roleGeneric.inc:210 -#: admin/roleManagement/class_roleGeneric.inc:338 -#: admin/roleManagement/roleGeneric.tpl:11 -msgid "Name" -msgstr "" - -#: admin/roleManagement/class_roleGeneric.inc:231 -msgid "Unknown" -msgstr "" - -#: admin/roleManagement/class_roleGeneric.inc:249 -#: admin/roleManagement/class_roleGeneric.inc:283 -msgid "LDAP error" -msgstr "" - -#: admin/roleManagement/class_roleGeneric.inc:329 -#: admin/roleManagement/roleGeneric.tpl:6 -msgid "Generic" -msgstr "" - -#: admin/roleManagement/class_roleGeneric.inc:330 -msgid "Role generic" -msgstr "" - -#: admin/roleManagement/class_roleGeneric.inc:339 -#: admin/roleManagement/roleGeneric.tpl:19 -msgid "Description" -msgstr "" - -#: admin/roleManagement/class_roleGeneric.inc:340 -#: admin/roleManagement/class_divListRole.inc:114 -#: admin/roleManagement/roleGeneric.tpl:29 -msgid "Base" -msgstr "" - -#: admin/roleManagement/class_roleGeneric.inc:341 -msgid "Telefon number" -msgstr "" - -#: admin/roleManagement/class_roleGeneric.inc:342 -#: admin/roleManagement/roleGeneric.tpl:56 -msgid "Fax number" -msgstr "" - -#: admin/roleManagement/class_roleGeneric.inc:343 -#: admin/roleManagement/roleGeneric.tpl:68 -msgid "Occupants" -msgstr "" - -#: admin/roleManagement/class_divListRole.inc:52 -#: admin/roleManagement/class_divListRole.inc:53 -msgid "List of roles" -msgstr "" - -#: admin/roleManagement/class_divListRole.inc:64 -msgid "Select all" -msgstr "" - -#: admin/roleManagement/class_divListRole.inc:70 -msgid "Department" -msgstr "" - -#: admin/roleManagement/class_divListRole.inc:71 -#: admin/roleManagement/class_divListRole.inc:120 -msgid "Actions" -msgstr "" - -#: admin/roleManagement/class_divListRole.inc:80 -msgid "Regular expression for matching role names" -msgstr "" - -#: admin/roleManagement/class_divListRole.inc:117 -msgid "Submit department" -msgstr "" - -#: admin/roleManagement/class_divListRole.inc:117 -msgid "Submit" -msgstr "" - -#: admin/roleManagement/class_divListRole.inc:125 -msgid "Create" -msgstr "" - -#: admin/roleManagement/class_divListRole.inc:133 -msgid "Remove" -msgstr "" - -#: admin/roleManagement/class_divListRole.inc:171 -msgid "edit" -msgstr "" - -#: admin/roleManagement/class_divListRole.inc:172 -msgid "Edit this entry" -msgstr "" - -#: admin/roleManagement/class_divListRole.inc:176 -msgid "delete" -msgstr "" - -#: admin/roleManagement/class_divListRole.inc:177 -msgid "Delete this entry" -msgstr "" - -#: admin/roleManagement/class_divListRole.inc:224 -msgid "Number of listed roles" -msgstr "" - -#: admin/roleManagement/class_divListRole.inc:225 -msgid "Number of listed departments" -msgstr "" - -#: admin/roleManagement/main.inc:57 -msgid "Role management" -msgstr "" - -#: admin/roleManagement/roleGeneric.tpl:34 -msgid "Choose subtree to place user in" -msgstr "" - -#: admin/roleManagement/roleGeneric.tpl:40 -msgid "Select a base" -msgstr "" - -#: admin/roleManagement/roleGeneric.tpl:48 -msgid "Phone number" -msgstr "" - -#: admin/roleManagement/occupantSelect.tpl:6 -msgid "Select objects to add" -msgstr "" - -#: admin/roleManagement/occupantSelect.tpl:20 -msgid "Filters" -msgstr "" - -#: admin/roleManagement/occupantSelect.tpl:27 -msgid "Select to search within subtrees" -msgstr "" - -#: admin/roleManagement/occupantSelect.tpl:27 -msgid "Search in subtrees" -msgstr "" - -#: admin/roleManagement/occupantSelect.tpl:30 -msgid "Display objects of department" -msgstr "" - -#: admin/roleManagement/occupantSelect.tpl:31 -msgid "Choose the department the search will be based on" -msgstr "" - -#: admin/roleManagement/occupantSelect.tpl:34 -msgid "Display objects matching" -msgstr "" - -#: admin/roleManagement/occupantSelect.tpl:35 -msgid "Regular expression for matching object names" -msgstr "" diff --git a/gosa-plugins/roleManagement/locale/es/LC_MESSAGES/messages.po b/gosa-plugins/roleManagement/locale/es/LC_MESSAGES/messages.po deleted file mode 100644 index 7973b5d27..000000000 --- a/gosa-plugins/roleManagement/locale/es/LC_MESSAGES/messages.po +++ /dev/null @@ -1,233 +0,0 @@ -# translation of admin.po to -# translation of systems.po to -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# -# , 2008. -msgid "" -msgstr "" -"Project-Id-Version: admin\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-07-03 17:43+0200\n" -"PO-Revision-Date: 2008-12-08 11:29+0100\n" -"Last-Translator: \n" -"Language-Team: Spanish \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Generator: Lokalize 0.2\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: admin/roleManagement/class_roleManagement.inc:26 -#: admin/roleManagement/class_roleGeneric.inc:335 -#: admin/roleManagement/main.inc:53 -#, fuzzy -msgid "Roles" -msgstr "Rol" - -#: admin/roleManagement/class_roleManagement.inc:27 -#, fuzzy -msgid "Manage roles" -msgstr "Usuarios del dominio" - -#: admin/roleManagement/class_roleManagement.inc:137 -msgid "Permission" -msgstr "Permiso" - -#: admin/roleManagement/class_roleManagement.inc:153 -#: admin/roleManagement/class_divListRole.inc:70 -#: admin/roleManagement/class_divListRole.inc:127 -#: admin/roleManagement/class_divListRole.inc:207 -msgid "Role" -msgstr "Rol" - -#: admin/roleManagement/class_roleManagement.inc:187 -msgid "Permission error" -msgstr "Error de Permisos" - -#: admin/roleManagement/remove.tpl:2 -msgid "Warning" -msgstr "Aviso" - -#: admin/roleManagement/remove.tpl:7 -msgid "" -"Please double check if you really want to do this since there is no way for " -"GOsa to get your data back." -msgstr "" -"Si está seguro de lo que quiere hacer pulse dos veces, ya que no hay forma " -"de que GOsa pueda recuperar posteriormente esa información" - -#: admin/roleManagement/remove.tpl:10 -msgid "So - if you're sure - press 'Delete' to continue or 'Cancel' to abort." -msgstr "" -"Entonces, si esta seguro, presione Eliminar para continuar o " -"Cancelar para Abortar." - -#: admin/roleManagement/class_roleGeneric.inc:201 -#: admin/roleManagement/class_roleGeneric.inc:210 -#: admin/roleManagement/class_roleGeneric.inc:338 -#: admin/roleManagement/roleGeneric.tpl:11 -msgid "Name" -msgstr "Nombre" - -#: admin/roleManagement/class_roleGeneric.inc:231 -msgid "Unknown" -msgstr "Desconocido" - -#: admin/roleManagement/class_roleGeneric.inc:249 -#: admin/roleManagement/class_roleGeneric.inc:283 -msgid "LDAP error" -msgstr "Error LDAP" - -#: admin/roleManagement/class_roleGeneric.inc:329 -#: admin/roleManagement/roleGeneric.tpl:6 -msgid "Generic" -msgstr "Genérico" - -#: admin/roleManagement/class_roleGeneric.inc:330 -#, fuzzy -msgid "Role generic" -msgstr "Nombre del Rol" - -#: admin/roleManagement/class_roleGeneric.inc:339 -#: admin/roleManagement/roleGeneric.tpl:19 -msgid "Description" -msgstr "Descripción" - -#: admin/roleManagement/class_roleGeneric.inc:340 -#: admin/roleManagement/class_divListRole.inc:114 -#: admin/roleManagement/roleGeneric.tpl:29 -msgid "Base" -msgstr "Base" - -#: admin/roleManagement/class_roleGeneric.inc:341 -msgid "Telefon number" -msgstr "Número de teléfono" - -#: admin/roleManagement/class_roleGeneric.inc:342 -#: admin/roleManagement/roleGeneric.tpl:56 -msgid "Fax number" -msgstr "Número de Fax" - -#: admin/roleManagement/class_roleGeneric.inc:343 -#: admin/roleManagement/roleGeneric.tpl:68 -msgid "Occupants" -msgstr "" - -#: admin/roleManagement/class_divListRole.inc:52 -#: admin/roleManagement/class_divListRole.inc:53 -#, fuzzy -msgid "List of roles" -msgstr "Lista de usuarios" - -#: admin/roleManagement/class_divListRole.inc:64 -msgid "Select all" -msgstr "Seleccione todos" - -#: admin/roleManagement/class_divListRole.inc:70 -msgid "Department" -msgstr "Departamento" - -#: admin/roleManagement/class_divListRole.inc:71 -#: admin/roleManagement/class_divListRole.inc:120 -msgid "Actions" -msgstr "Acciones" - -#: admin/roleManagement/class_divListRole.inc:80 -#, fuzzy -msgid "Regular expression for matching role names" -msgstr "Expresión regular para buscar nombres de grupos" - -#: admin/roleManagement/class_divListRole.inc:117 -msgid "Submit department" -msgstr "Enviar departamento" - -#: admin/roleManagement/class_divListRole.inc:117 -msgid "Submit" -msgstr "Enviar" - -#: admin/roleManagement/class_divListRole.inc:125 -msgid "Create" -msgstr "Crear" - -#: admin/roleManagement/class_divListRole.inc:133 -msgid "Remove" -msgstr "Eliminar" - -#: admin/roleManagement/class_divListRole.inc:171 -msgid "edit" -msgstr "editar" - -#: admin/roleManagement/class_divListRole.inc:172 -msgid "Edit this entry" -msgstr "Editar esta entrada" - -#: admin/roleManagement/class_divListRole.inc:176 -msgid "delete" -msgstr "eliminar" - -#: admin/roleManagement/class_divListRole.inc:177 -msgid "Delete this entry" -msgstr "Eliminar esta entrada" - -#: admin/roleManagement/class_divListRole.inc:224 -#, fuzzy -msgid "Number of listed roles" -msgstr "Eliminar grupo seleccionado" - -#: admin/roleManagement/class_divListRole.inc:225 -msgid "Number of listed departments" -msgstr "Número de departamentos" - -#: admin/roleManagement/main.inc:57 -#, fuzzy -msgid "Role management" -msgstr "Administración de ACL" - -#: admin/roleManagement/roleGeneric.tpl:34 -msgid "Choose subtree to place user in" -msgstr "Elija el subárbol donde colocar al usuario" - -#: admin/roleManagement/roleGeneric.tpl:40 -msgid "Select a base" -msgstr "Seleccione una base" - -#: admin/roleManagement/roleGeneric.tpl:48 -msgid "Phone number" -msgstr "Número de teléfono" - -#: admin/roleManagement/occupantSelect.tpl:6 -msgid "Select objects to add" -msgstr "Seleccione los objetos a añadir" - -#: admin/roleManagement/occupantSelect.tpl:20 -msgid "Filters" -msgstr "Filtros" - -#: admin/roleManagement/occupantSelect.tpl:27 -msgid "Select to search within subtrees" -msgstr "Seleccione para buscar dentro de subárboles" - -#: admin/roleManagement/occupantSelect.tpl:27 -msgid "Search in subtrees" -msgstr "Buscar en subárboles" - -#: admin/roleManagement/occupantSelect.tpl:30 -msgid "Display objects of department" -msgstr "Mostrar objetos del departamento" - -#: admin/roleManagement/occupantSelect.tpl:31 -msgid "Choose the department the search will be based on" -msgstr "Escoja el departamento base de la búsqueda" - -#: admin/roleManagement/occupantSelect.tpl:34 -msgid "Display objects matching" -msgstr "Mostrar objetos que coincidan" - -#: admin/roleManagement/occupantSelect.tpl:35 -msgid "Regular expression for matching object names" -msgstr "Expresiones regulares para buscar nombre de objetos" - -#, fuzzy -#~ msgid "role" -#~ msgstr "Roles ACL" diff --git a/gosa-plugins/roleManagement/locale/fr/LC_MESSAGES/messages.po b/gosa-plugins/roleManagement/locale/fr/LC_MESSAGES/messages.po deleted file mode 100644 index 94f502c26..000000000 --- a/gosa-plugins/roleManagement/locale/fr/LC_MESSAGES/messages.po +++ /dev/null @@ -1,221 +0,0 @@ -# translation of messages.po to -# Benoit Mortier , 2005, 2006, 2007, 2008, 2009. -msgid "" -msgstr "" -"Project-Id-Version: messages\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-07-03 17:43+0200\n" -"PO-Revision-Date: 2009-09-17 10:23+0200\n" -"Last-Translator: Benoit Mortier \n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Generator: KBabel 1.11.4\n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" - -#: admin/roleManagement/class_roleManagement.inc:26 -#: admin/roleManagement/class_roleGeneric.inc:335 -#: admin/roleManagement/main.inc:53 -#, fuzzy -msgid "Roles" -msgstr "Rôle" - -#: admin/roleManagement/class_roleManagement.inc:27 -msgid "Manage roles" -msgstr "Gèrer les rôles" - -#: admin/roleManagement/class_roleManagement.inc:137 -msgid "Permission" -msgstr "Permissions" - -#: admin/roleManagement/class_roleManagement.inc:153 -#: admin/roleManagement/class_divListRole.inc:70 -#: admin/roleManagement/class_divListRole.inc:127 -#: admin/roleManagement/class_divListRole.inc:207 -msgid "Role" -msgstr "Rôle" - -#: admin/roleManagement/class_roleManagement.inc:187 -msgid "Permission error" -msgstr "Erreur de permissions" - -#: admin/roleManagement/remove.tpl:2 -msgid "Warning" -msgstr "Avertissement" - -#: admin/roleManagement/remove.tpl:7 -msgid "" -"Please double check if you really want to do this since there is no way for " -"GOsa to get your data back." -msgstr "" -"Veuillez vérifier que vous voulez effectuer cette action. Toutes les données " -"seront perdues étant donné qu'il est impossible pour GOsa de récupérer vos " -"données." - -#: admin/roleManagement/remove.tpl:10 -msgid "So - if you're sure - press 'Delete' to continue or 'Cancel' to abort." -msgstr "" -"D'accord - si vous êtes sur - cliquez sur 'Supprimer' pour continuer ou sur " -"'Annuler' pour abandonner." - -#: admin/roleManagement/class_roleGeneric.inc:201 -#: admin/roleManagement/class_roleGeneric.inc:210 -#: admin/roleManagement/class_roleGeneric.inc:338 -#: admin/roleManagement/roleGeneric.tpl:11 -msgid "Name" -msgstr "Nom" - -#: admin/roleManagement/class_roleGeneric.inc:231 -msgid "Unknown" -msgstr "Inconnu" - -#: admin/roleManagement/class_roleGeneric.inc:249 -#: admin/roleManagement/class_roleGeneric.inc:283 -msgid "LDAP error" -msgstr "Erreur LDAP" - -#: admin/roleManagement/class_roleGeneric.inc:329 -#: admin/roleManagement/roleGeneric.tpl:6 -msgid "Generic" -msgstr "Informations" - -#: admin/roleManagement/class_roleGeneric.inc:330 -msgid "Role generic" -msgstr "Rôle par défaut" - -#: admin/roleManagement/class_roleGeneric.inc:339 -#: admin/roleManagement/roleGeneric.tpl:19 -msgid "Description" -msgstr "" - -#: admin/roleManagement/class_roleGeneric.inc:340 -#: admin/roleManagement/class_divListRole.inc:114 -#: admin/roleManagement/roleGeneric.tpl:29 -msgid "Base" -msgstr "" - -#: admin/roleManagement/class_roleGeneric.inc:341 -msgid "Telefon number" -msgstr "Numéro de téléphone" - -#: admin/roleManagement/class_roleGeneric.inc:342 -#: admin/roleManagement/roleGeneric.tpl:56 -msgid "Fax number" -msgstr "Numéro de fax" - -#: admin/roleManagement/class_roleGeneric.inc:343 -#: admin/roleManagement/roleGeneric.tpl:68 -msgid "Occupants" -msgstr "" - -#: admin/roleManagement/class_divListRole.inc:52 -#: admin/roleManagement/class_divListRole.inc:53 -msgid "List of roles" -msgstr "Liste des rôles" - -#: admin/roleManagement/class_divListRole.inc:64 -msgid "Select all" -msgstr "Sélectionner tout" - -#: admin/roleManagement/class_divListRole.inc:70 -msgid "Department" -msgstr "Département" - -#: admin/roleManagement/class_divListRole.inc:71 -#: admin/roleManagement/class_divListRole.inc:120 -msgid "Actions" -msgstr "" - -#: admin/roleManagement/class_divListRole.inc:80 -msgid "Regular expression for matching role names" -msgstr "Expression régulière correspondant à des noms de rôles" - -#: admin/roleManagement/class_divListRole.inc:117 -msgid "Submit department" -msgstr "Soumettre le département" - -#: admin/roleManagement/class_divListRole.inc:117 -msgid "Submit" -msgstr "Soumettre" - -#: admin/roleManagement/class_divListRole.inc:125 -msgid "Create" -msgstr "Créer" - -#: admin/roleManagement/class_divListRole.inc:133 -msgid "Remove" -msgstr "Supprimer" - -#: admin/roleManagement/class_divListRole.inc:171 -msgid "edit" -msgstr "éditer" - -#: admin/roleManagement/class_divListRole.inc:172 -msgid "Edit this entry" -msgstr "Editer cette entrée" - -#: admin/roleManagement/class_divListRole.inc:176 -msgid "delete" -msgstr "supprimer" - -#: admin/roleManagement/class_divListRole.inc:177 -msgid "Delete this entry" -msgstr "Supprimer cette entrée" - -#: admin/roleManagement/class_divListRole.inc:224 -msgid "Number of listed roles" -msgstr "Nombre de rôles affichés" - -#: admin/roleManagement/class_divListRole.inc:225 -msgid "Number of listed departments" -msgstr "Nombre de département listés" - -#: admin/roleManagement/main.inc:57 -msgid "Role management" -msgstr "Gestion des rôles" - -#: admin/roleManagement/roleGeneric.tpl:34 -msgid "Choose subtree to place user in" -msgstr "Sélectionnez la branche où sera enregistrée l'utilisateur" - -#: admin/roleManagement/roleGeneric.tpl:40 -msgid "Select a base" -msgstr "Sélectionnez une base" - -#: admin/roleManagement/roleGeneric.tpl:48 -msgid "Phone number" -msgstr "Numéro de téléphone" - -#: admin/roleManagement/occupantSelect.tpl:6 -msgid "Select objects to add" -msgstr "Sélectionnez les objets à ajouter" - -#: admin/roleManagement/occupantSelect.tpl:20 -msgid "Filters" -msgstr "Filtres" - -#: admin/roleManagement/occupantSelect.tpl:27 -msgid "Select to search within subtrees" -msgstr "Sélectionner pour chercher dans le sous arbre" - -#: admin/roleManagement/occupantSelect.tpl:27 -msgid "Search in subtrees" -msgstr "Chercher dans les sous arbre" - -#: admin/roleManagement/occupantSelect.tpl:30 -msgid "Display objects of department" -msgstr "Afficher les objets du département" - -#: admin/roleManagement/occupantSelect.tpl:31 -msgid "Choose the department the search will be based on" -msgstr "Sélectionner le département où sera effectuée la recherche" - -#: admin/roleManagement/occupantSelect.tpl:34 -msgid "Display objects matching" -msgstr "Afficher les objets correspondants" - -#: admin/roleManagement/occupantSelect.tpl:35 -msgid "Regular expression for matching object names" -msgstr "Expression régulière pour trouver les objets correspondants" - diff --git a/gosa-plugins/roleManagement/locale/it/LC_MESSAGES/messages.po b/gosa-plugins/roleManagement/locale/it/LC_MESSAGES/messages.po deleted file mode 100644 index 61627feeb..000000000 --- a/gosa-plugins/roleManagement/locale/it/LC_MESSAGES/messages.po +++ /dev/null @@ -1,239 +0,0 @@ -# translation of messages.po to Italian -# Copyright (c) 2005 B-Open Solutions srl - http://www.bopen.it/ -# Copyright (c) 2005 Alessandro Amici -# Alessandro Amici , 2005. -msgid "" -msgstr "" -"Project-Id-Version: messages\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-07-03 17:43+0200\n" -"PO-Revision-Date: 2005-11-18 15:26+0100\n" -"Last-Translator: Alessandro Amici \n" -"Language-Team: Italian\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Generator: KBabel 1.9.1\n" - -#: admin/roleManagement/class_roleManagement.inc:26 -#: admin/roleManagement/class_roleGeneric.inc:335 -#: admin/roleManagement/main.inc:53 -#, fuzzy -msgid "Roles" -msgstr "Ruolo" - -#: admin/roleManagement/class_roleManagement.inc:27 -#, fuzzy -msgid "Manage roles" -msgstr "Utenti di Dominio" - -#: admin/roleManagement/class_roleManagement.inc:137 -#, fuzzy -msgid "Permission" -msgstr "Permessi" - -#: admin/roleManagement/class_roleManagement.inc:153 -#: admin/roleManagement/class_divListRole.inc:70 -#: admin/roleManagement/class_divListRole.inc:127 -#: admin/roleManagement/class_divListRole.inc:207 -msgid "Role" -msgstr "Ruolo" - -#: admin/roleManagement/class_roleManagement.inc:187 -#, fuzzy -msgid "Permission error" -msgstr "Permessi" - -#: admin/roleManagement/remove.tpl:2 -msgid "Warning" -msgstr "Attenzione" - -#: admin/roleManagement/remove.tpl:7 -msgid "" -"Please double check if you really want to do this since there is no way for " -"GOsa to get your data back." -msgstr "" - -#: admin/roleManagement/remove.tpl:10 -#, fuzzy -msgid "So - if you're sure - press 'Delete' to continue or 'Cancel' to abort." -msgstr "" -"Quindi - Se sei sicuro - premi Rimuovi per continuare o Annulla per abortire." - -#: admin/roleManagement/class_roleGeneric.inc:201 -#: admin/roleManagement/class_roleGeneric.inc:210 -#: admin/roleManagement/class_roleGeneric.inc:338 -#: admin/roleManagement/roleGeneric.tpl:11 -msgid "Name" -msgstr "Cognome" - -#: admin/roleManagement/class_roleGeneric.inc:231 -msgid "Unknown" -msgstr "" - -#: admin/roleManagement/class_roleGeneric.inc:249 -#: admin/roleManagement/class_roleGeneric.inc:283 -#, fuzzy -msgid "LDAP error" -msgstr "Errore LDAP" - -#: admin/roleManagement/class_roleGeneric.inc:329 -#: admin/roleManagement/roleGeneric.tpl:6 -msgid "Generic" -msgstr "Generale" - -#: admin/roleManagement/class_roleGeneric.inc:330 -#, fuzzy -msgid "Role generic" -msgstr "Cognome" - -#: admin/roleManagement/class_roleGeneric.inc:339 -#: admin/roleManagement/roleGeneric.tpl:19 -msgid "Description" -msgstr "Descrizione" - -#: admin/roleManagement/class_roleGeneric.inc:340 -#: admin/roleManagement/class_divListRole.inc:114 -#: admin/roleManagement/roleGeneric.tpl:29 -msgid "Base" -msgstr "Base" - -#: admin/roleManagement/class_roleGeneric.inc:341 -#, fuzzy -msgid "Telefon number" -msgstr "Numero di telefono" - -#: admin/roleManagement/class_roleGeneric.inc:342 -#: admin/roleManagement/roleGeneric.tpl:56 -#, fuzzy -msgid "Fax number" -msgstr "Numero di telefono" - -#: admin/roleManagement/class_roleGeneric.inc:343 -#: admin/roleManagement/roleGeneric.tpl:68 -msgid "Occupants" -msgstr "" - -#: admin/roleManagement/class_divListRole.inc:52 -#: admin/roleManagement/class_divListRole.inc:53 -#, fuzzy -msgid "List of roles" -msgstr "Lista degli utenti" - -#: admin/roleManagement/class_divListRole.inc:64 -#, fuzzy -msgid "Select all" -msgstr "Rimuovi" - -#: admin/roleManagement/class_divListRole.inc:70 -msgid "Department" -msgstr "Dipartimento" - -#: admin/roleManagement/class_divListRole.inc:71 -#: admin/roleManagement/class_divListRole.inc:120 -msgid "Actions" -msgstr "Azioni" - -#: admin/roleManagement/class_divListRole.inc:80 -#, fuzzy -msgid "Regular expression for matching role names" -msgstr "Espressioni regolare per selezionare il nome del gruppo" - -#: admin/roleManagement/class_divListRole.inc:117 -msgid "Submit department" -msgstr "Imposta dipartimento" - -#: admin/roleManagement/class_divListRole.inc:117 -msgid "Submit" -msgstr "" - -#: admin/roleManagement/class_divListRole.inc:125 -msgid "Create" -msgstr "Creare" - -#: admin/roleManagement/class_divListRole.inc:133 -msgid "Remove" -msgstr "Rimuovi" - -#: admin/roleManagement/class_divListRole.inc:171 -msgid "edit" -msgstr "modifica" - -#: admin/roleManagement/class_divListRole.inc:172 -msgid "Edit this entry" -msgstr "Modifica questo record" - -#: admin/roleManagement/class_divListRole.inc:176 -msgid "delete" -msgstr "elimina" - -#: admin/roleManagement/class_divListRole.inc:177 -msgid "Delete this entry" -msgstr "Elimina questo record" - -#: admin/roleManagement/class_divListRole.inc:224 -#, fuzzy -msgid "Number of listed roles" -msgstr "Nome del gruppo" - -#: admin/roleManagement/class_divListRole.inc:225 -#, fuzzy -msgid "Number of listed departments" -msgstr "Imposta dipartimento" - -#: admin/roleManagement/main.inc:57 -#, fuzzy -msgid "Role management" -msgstr "Riferimenti" - -#: admin/roleManagement/roleGeneric.tpl:34 -msgid "Choose subtree to place user in" -msgstr "Scegli il subtree per l'utente" - -#: admin/roleManagement/roleGeneric.tpl:40 -#, fuzzy -msgid "Select a base" -msgstr "Rimuovi" - -#: admin/roleManagement/roleGeneric.tpl:48 -msgid "Phone number" -msgstr "Numero di telefono" - -#: admin/roleManagement/occupantSelect.tpl:6 -msgid "Select objects to add" -msgstr "" - -#: admin/roleManagement/occupantSelect.tpl:20 -msgid "Filters" -msgstr "Filtri" - -#: admin/roleManagement/occupantSelect.tpl:27 -#, fuzzy -msgid "Select to search within subtrees" -msgstr "Seleziona per mostrare le applicazioni" - -#: admin/roleManagement/occupantSelect.tpl:27 -#, fuzzy -msgid "Search in subtrees" -msgstr "Seleziona per mostrare le applicazioni" - -#: admin/roleManagement/occupantSelect.tpl:30 -msgid "Display objects of department" -msgstr "" - -#: admin/roleManagement/occupantSelect.tpl:31 -msgid "Choose the department the search will be based on" -msgstr "Scegli il dipartimento di base per la ricerca" - -#: admin/roleManagement/occupantSelect.tpl:34 -msgid "Display objects matching" -msgstr "" - -#: admin/roleManagement/occupantSelect.tpl:35 -msgid "Regular expression for matching object names" -msgstr "" - -#, fuzzy -#~ msgid "role" -#~ msgstr "ACL" diff --git a/gosa-plugins/roleManagement/locale/messages.po b/gosa-plugins/roleManagement/locale/messages.po deleted file mode 100644 index 121cc73b2..000000000 --- a/gosa-plugins/roleManagement/locale/messages.po +++ /dev/null @@ -1,216 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-07-03 17:43+0200\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=CHARSET\n" -"Content-Transfer-Encoding: 8bit\n" - -#: admin/roleManagement/class_roleManagement.inc:26 -#: admin/roleManagement/class_roleGeneric.inc:335 -#: admin/roleManagement/main.inc:53 -msgid "Roles" -msgstr "" - -#: admin/roleManagement/class_roleManagement.inc:27 -msgid "Manage roles" -msgstr "" - -#: admin/roleManagement/class_roleManagement.inc:137 -msgid "Permission" -msgstr "" - -#: admin/roleManagement/class_roleManagement.inc:153 -#: admin/roleManagement/class_divListRole.inc:70 -#: admin/roleManagement/class_divListRole.inc:127 -#: admin/roleManagement/class_divListRole.inc:207 -msgid "Role" -msgstr "" - -#: admin/roleManagement/class_roleManagement.inc:187 -msgid "Permission error" -msgstr "" - -#: admin/roleManagement/remove.tpl:2 -msgid "Warning" -msgstr "" - -#: admin/roleManagement/remove.tpl:7 -msgid "" -"Please double check if you really want to do this since there is no way for " -"GOsa to get your data back." -msgstr "" - -#: admin/roleManagement/remove.tpl:10 -msgid "So - if you're sure - press 'Delete' to continue or 'Cancel' to abort." -msgstr "" - -#: admin/roleManagement/class_roleGeneric.inc:201 -#: admin/roleManagement/class_roleGeneric.inc:210 -#: admin/roleManagement/class_roleGeneric.inc:338 -#: admin/roleManagement/roleGeneric.tpl:11 -msgid "Name" -msgstr "" - -#: admin/roleManagement/class_roleGeneric.inc:231 -msgid "Unknown" -msgstr "" - -#: admin/roleManagement/class_roleGeneric.inc:249 -#: admin/roleManagement/class_roleGeneric.inc:283 -msgid "LDAP error" -msgstr "" - -#: admin/roleManagement/class_roleGeneric.inc:329 -#: admin/roleManagement/roleGeneric.tpl:6 -msgid "Generic" -msgstr "" - -#: admin/roleManagement/class_roleGeneric.inc:330 -msgid "Role generic" -msgstr "" - -#: admin/roleManagement/class_roleGeneric.inc:339 -#: admin/roleManagement/roleGeneric.tpl:19 -msgid "Description" -msgstr "" - -#: admin/roleManagement/class_roleGeneric.inc:340 -#: admin/roleManagement/class_divListRole.inc:114 -#: admin/roleManagement/roleGeneric.tpl:29 -msgid "Base" -msgstr "" - -#: admin/roleManagement/class_roleGeneric.inc:341 -msgid "Telefon number" -msgstr "" - -#: admin/roleManagement/class_roleGeneric.inc:342 -#: admin/roleManagement/roleGeneric.tpl:56 -msgid "Fax number" -msgstr "" - -#: admin/roleManagement/class_roleGeneric.inc:343 -#: admin/roleManagement/roleGeneric.tpl:68 -msgid "Occupants" -msgstr "" - -#: admin/roleManagement/class_divListRole.inc:52 -#: admin/roleManagement/class_divListRole.inc:53 -msgid "List of roles" -msgstr "" - -#: admin/roleManagement/class_divListRole.inc:64 -msgid "Select all" -msgstr "" - -#: admin/roleManagement/class_divListRole.inc:70 -msgid "Department" -msgstr "" - -#: admin/roleManagement/class_divListRole.inc:71 -#: admin/roleManagement/class_divListRole.inc:120 -msgid "Actions" -msgstr "" - -#: admin/roleManagement/class_divListRole.inc:80 -msgid "Regular expression for matching role names" -msgstr "" - -#: admin/roleManagement/class_divListRole.inc:117 -msgid "Submit department" -msgstr "" - -#: admin/roleManagement/class_divListRole.inc:117 -msgid "Submit" -msgstr "" - -#: admin/roleManagement/class_divListRole.inc:125 -msgid "Create" -msgstr "" - -#: admin/roleManagement/class_divListRole.inc:133 -msgid "Remove" -msgstr "" - -#: admin/roleManagement/class_divListRole.inc:171 -msgid "edit" -msgstr "" - -#: admin/roleManagement/class_divListRole.inc:172 -msgid "Edit this entry" -msgstr "" - -#: admin/roleManagement/class_divListRole.inc:176 -msgid "delete" -msgstr "" - -#: admin/roleManagement/class_divListRole.inc:177 -msgid "Delete this entry" -msgstr "" - -#: admin/roleManagement/class_divListRole.inc:224 -msgid "Number of listed roles" -msgstr "" - -#: admin/roleManagement/class_divListRole.inc:225 -msgid "Number of listed departments" -msgstr "" - -#: admin/roleManagement/main.inc:57 -msgid "Role management" -msgstr "" - -#: admin/roleManagement/roleGeneric.tpl:34 -msgid "Choose subtree to place user in" -msgstr "" - -#: admin/roleManagement/roleGeneric.tpl:40 -msgid "Select a base" -msgstr "" - -#: admin/roleManagement/roleGeneric.tpl:48 -msgid "Phone number" -msgstr "" - -#: admin/roleManagement/occupantSelect.tpl:6 -msgid "Select objects to add" -msgstr "" - -#: admin/roleManagement/occupantSelect.tpl:20 -msgid "Filters" -msgstr "" - -#: admin/roleManagement/occupantSelect.tpl:27 -msgid "Select to search within subtrees" -msgstr "" - -#: admin/roleManagement/occupantSelect.tpl:27 -msgid "Search in subtrees" -msgstr "" - -#: admin/roleManagement/occupantSelect.tpl:30 -msgid "Display objects of department" -msgstr "" - -#: admin/roleManagement/occupantSelect.tpl:31 -msgid "Choose the department the search will be based on" -msgstr "" - -#: admin/roleManagement/occupantSelect.tpl:34 -msgid "Display objects matching" -msgstr "" - -#: admin/roleManagement/occupantSelect.tpl:35 -msgid "Regular expression for matching object names" -msgstr "" diff --git a/gosa-plugins/roleManagement/locale/nl/LC_MESSAGES/messages.po b/gosa-plugins/roleManagement/locale/nl/LC_MESSAGES/messages.po deleted file mode 100644 index f6df1fb10..000000000 --- a/gosa-plugins/roleManagement/locale/nl/LC_MESSAGES/messages.po +++ /dev/null @@ -1,242 +0,0 @@ -# translation of messages.po to Dutch -# GOsa2 Translations -# Copyright (C) 2003 GONICUS GmbH, Germany -# This file is distributed under the same license as the GOsa2 package. -# Alfred Schroeder , 2004. -# Cajus Pollmeier , 2004. -# -# Translator: -# Niels Klomp (CareWorks ICT Services) , 2005. -msgid "" -msgstr "" -"Project-Id-Version: messages\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-07-03 17:43+0200\n" -"PO-Revision-Date: 2006-06-02 16:58+0100\n" -"Last-Translator: Niels Klomp (CareWorks ICT Services) \n" -"Language-Team: CareWorks ICT Services \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: admin/roleManagement/class_roleManagement.inc:26 -#: admin/roleManagement/class_roleGeneric.inc:335 -#: admin/roleManagement/main.inc:53 -#, fuzzy -msgid "Roles" -msgstr "Funktie" - -#: admin/roleManagement/class_roleManagement.inc:27 -#, fuzzy -msgid "Manage roles" -msgstr "Windows gebruikers" - -#: admin/roleManagement/class_roleManagement.inc:137 -#, fuzzy -msgid "Permission" -msgstr "Rechten" - -#: admin/roleManagement/class_roleManagement.inc:153 -#: admin/roleManagement/class_divListRole.inc:70 -#: admin/roleManagement/class_divListRole.inc:127 -#: admin/roleManagement/class_divListRole.inc:207 -msgid "Role" -msgstr "Funktie" - -#: admin/roleManagement/class_roleManagement.inc:187 -#, fuzzy -msgid "Permission error" -msgstr "Rechten" - -#: admin/roleManagement/remove.tpl:2 -msgid "Warning" -msgstr "Waarschuwing" - -#: admin/roleManagement/remove.tpl:7 -msgid "" -"Please double check if you really want to do this since there is no way for " -"GOsa to get your data back." -msgstr "" -"Controleer a.u.b. of u dit daadwerkelijk wil doen, aangezien er geen " -"mogelijkheid voor GOsa is om uw data terug te krijgen." - -#: admin/roleManagement/remove.tpl:10 -msgid "So - if you're sure - press 'Delete' to continue or 'Cancel' to abort." -msgstr "" -"Indien u zeker bent drukt u dan 'Verwijderen' om door te gaan of 'Annuleren' " -"om te annuleren." - -#: admin/roleManagement/class_roleGeneric.inc:201 -#: admin/roleManagement/class_roleGeneric.inc:210 -#: admin/roleManagement/class_roleGeneric.inc:338 -#: admin/roleManagement/roleGeneric.tpl:11 -msgid "Name" -msgstr "Naam" - -#: admin/roleManagement/class_roleGeneric.inc:231 -msgid "Unknown" -msgstr "Onbekend" - -#: admin/roleManagement/class_roleGeneric.inc:249 -#: admin/roleManagement/class_roleGeneric.inc:283 -#, fuzzy -msgid "LDAP error" -msgstr "LDAP fout:" - -#: admin/roleManagement/class_roleGeneric.inc:329 -#: admin/roleManagement/roleGeneric.tpl:6 -msgid "Generic" -msgstr "Algemeen" - -#: admin/roleManagement/class_roleGeneric.inc:330 -#, fuzzy -msgid "Role generic" -msgstr "Hernoemen" - -#: admin/roleManagement/class_roleGeneric.inc:339 -#: admin/roleManagement/roleGeneric.tpl:19 -msgid "Description" -msgstr "Omschrijving" - -#: admin/roleManagement/class_roleGeneric.inc:340 -#: admin/roleManagement/class_divListRole.inc:114 -#: admin/roleManagement/roleGeneric.tpl:29 -msgid "Base" -msgstr "Basis" - -#: admin/roleManagement/class_roleGeneric.inc:341 -#, fuzzy -msgid "Telefon number" -msgstr "Telefoonnummer" - -#: admin/roleManagement/class_roleGeneric.inc:342 -#: admin/roleManagement/roleGeneric.tpl:56 -#, fuzzy -msgid "Fax number" -msgstr "Serienummer" - -#: admin/roleManagement/class_roleGeneric.inc:343 -#: admin/roleManagement/roleGeneric.tpl:68 -msgid "Occupants" -msgstr "" - -#: admin/roleManagement/class_divListRole.inc:52 -#: admin/roleManagement/class_divListRole.inc:53 -#, fuzzy -msgid "List of roles" -msgstr "Lijst met gebruikers" - -#: admin/roleManagement/class_divListRole.inc:64 -#, fuzzy -msgid "Select all" -msgstr "Selecteer" - -#: admin/roleManagement/class_divListRole.inc:70 -msgid "Department" -msgstr "Afdeling" - -#: admin/roleManagement/class_divListRole.inc:71 -#: admin/roleManagement/class_divListRole.inc:120 -msgid "Actions" -msgstr "Acties" - -#: admin/roleManagement/class_divListRole.inc:80 -#, fuzzy -msgid "Regular expression for matching role names" -msgstr "Reguliere expressie voor overeenkomende groepnamen" - -#: admin/roleManagement/class_divListRole.inc:117 -msgid "Submit department" -msgstr "Verwerk afdeling" - -#: admin/roleManagement/class_divListRole.inc:117 -msgid "Submit" -msgstr "Verwerk" - -#: admin/roleManagement/class_divListRole.inc:125 -msgid "Create" -msgstr "Aanmaken" - -#: admin/roleManagement/class_divListRole.inc:133 -msgid "Remove" -msgstr "Verwijderen" - -#: admin/roleManagement/class_divListRole.inc:171 -msgid "edit" -msgstr "Bewerk" - -#: admin/roleManagement/class_divListRole.inc:172 -msgid "Edit this entry" -msgstr "Bewerk deze invoer" - -#: admin/roleManagement/class_divListRole.inc:176 -msgid "delete" -msgstr "Verwijder" - -#: admin/roleManagement/class_divListRole.inc:177 -msgid "Delete this entry" -msgstr "Verwijder deze invoer" - -#: admin/roleManagement/class_divListRole.inc:224 -#, fuzzy -msgid "Number of listed roles" -msgstr "Naam van de groep" - -#: admin/roleManagement/class_divListRole.inc:225 -#, fuzzy -msgid "Number of listed departments" -msgstr "Naam van de afdeling" - -#: admin/roleManagement/main.inc:57 -#, fuzzy -msgid "Role management" -msgstr "Blokkeerlijst beheer" - -#: admin/roleManagement/roleGeneric.tpl:34 -msgid "Choose subtree to place user in" -msgstr "Kies de subtree waaronder de gebruiker geplaatst wordt" - -#: admin/roleManagement/roleGeneric.tpl:40 -msgid "Select a base" -msgstr "Selecteer een basis" - -#: admin/roleManagement/roleGeneric.tpl:48 -msgid "Phone number" -msgstr "Telefoonnummer" - -#: admin/roleManagement/occupantSelect.tpl:6 -msgid "Select objects to add" -msgstr "Selecteer de toe te voegen objecten" - -#: admin/roleManagement/occupantSelect.tpl:20 -msgid "Filters" -msgstr "Filters" - -#: admin/roleManagement/occupantSelect.tpl:27 -msgid "Select to search within subtrees" -msgstr "Selecteer om binnen subonderdelen te zoeken" - -#: admin/roleManagement/occupantSelect.tpl:27 -#, fuzzy -msgid "Search in subtrees" -msgstr "Zoek binnen subtree" - -#: admin/roleManagement/occupantSelect.tpl:30 -msgid "Display objects of department" -msgstr "Toon objecten van afdeling" - -#: admin/roleManagement/occupantSelect.tpl:31 -msgid "Choose the department the search will be based on" -msgstr "Selecteer de afdeling waarbinnen gezocht zal worden" - -#: admin/roleManagement/occupantSelect.tpl:34 -msgid "Display objects matching" -msgstr "Toon overeenkomende objecten" - -#: admin/roleManagement/occupantSelect.tpl:35 -msgid "Regular expression for matching object names" -msgstr "Reguliere expressie voor overeenkomende objectnamen" - -#, fuzzy -#~ msgid "role" -#~ msgstr "Rechten" diff --git a/gosa-plugins/roleManagement/locale/pl/LC_MESSAGES/messages.po b/gosa-plugins/roleManagement/locale/pl/LC_MESSAGES/messages.po deleted file mode 100644 index 34247cbb4..000000000 --- a/gosa-plugins/roleManagement/locale/pl/LC_MESSAGES/messages.po +++ /dev/null @@ -1,233 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: polski\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-07-03 17:43+0200\n" -"PO-Revision-Date: 2007-07-14 21:45+0100\n" -"Last-Translator: Piotr Rybicki \n" -"Language-Team: Piotr Rybicki \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Poedit-Language: Polish\n" -"X-Poedit-Country: POLAND\n" -"X-Poedit-SourceCharset: iso-8859-2\n" -"X-Poedit-Basepath: tedst\n" - -#: admin/roleManagement/class_roleManagement.inc:26 -#: admin/roleManagement/class_roleGeneric.inc:335 -#: admin/roleManagement/main.inc:53 -#, fuzzy -msgid "Roles" -msgstr "Pełniona funkcja" - -#: admin/roleManagement/class_roleManagement.inc:27 -#, fuzzy -msgid "Manage roles" -msgstr "Użytkownicy domeny" - -#: admin/roleManagement/class_roleManagement.inc:137 -#, fuzzy -msgid "Permission" -msgstr "Uprawnienia" - -#: admin/roleManagement/class_roleManagement.inc:153 -#: admin/roleManagement/class_divListRole.inc:70 -#: admin/roleManagement/class_divListRole.inc:127 -#: admin/roleManagement/class_divListRole.inc:207 -msgid "Role" -msgstr "Pełniona funkcja" - -#: admin/roleManagement/class_roleManagement.inc:187 -#, fuzzy -msgid "Permission error" -msgstr "Uprawnienia" - -#: admin/roleManagement/remove.tpl:2 -msgid "Warning" -msgstr "Ostrzeżenie" - -#: admin/roleManagement/remove.tpl:7 -msgid "" -"Please double check if you really want to do this since there is no way for " -"GOsa to get your data back." -msgstr "Proszę upewnić się czy kontynuować, gdyż nie ma możliwości powrotu." - -#: admin/roleManagement/remove.tpl:10 -msgid "So - if you're sure - press 'Delete' to continue or 'Cancel' to abort." -msgstr "" -"Jeśli jesteś pewien - naciśnij 'Usuń' aby kontynuować lub 'Anuluj' aby " -"anulować." - -#: admin/roleManagement/class_roleGeneric.inc:201 -#: admin/roleManagement/class_roleGeneric.inc:210 -#: admin/roleManagement/class_roleGeneric.inc:338 -#: admin/roleManagement/roleGeneric.tpl:11 -msgid "Name" -msgstr "Imię" - -#: admin/roleManagement/class_roleGeneric.inc:231 -msgid "Unknown" -msgstr "Nieznane" - -#: admin/roleManagement/class_roleGeneric.inc:249 -#: admin/roleManagement/class_roleGeneric.inc:283 -#, fuzzy -msgid "LDAP error" -msgstr "błąd LDAP:" - -#: admin/roleManagement/class_roleGeneric.inc:329 -#: admin/roleManagement/roleGeneric.tpl:6 -msgid "Generic" -msgstr "Ogólne" - -#: admin/roleManagement/class_roleGeneric.inc:330 -#, fuzzy -msgid "Role generic" -msgstr "Zmień nazwę" - -#: admin/roleManagement/class_roleGeneric.inc:339 -#: admin/roleManagement/roleGeneric.tpl:19 -msgid "Description" -msgstr "Opis" - -#: admin/roleManagement/class_roleGeneric.inc:340 -#: admin/roleManagement/class_divListRole.inc:114 -#: admin/roleManagement/roleGeneric.tpl:29 -msgid "Base" -msgstr "Kontener" - -#: admin/roleManagement/class_roleGeneric.inc:341 -msgid "Telefon number" -msgstr "Numer telefonu" - -#: admin/roleManagement/class_roleGeneric.inc:342 -#: admin/roleManagement/roleGeneric.tpl:56 -msgid "Fax number" -msgstr "Numer fax" - -#: admin/roleManagement/class_roleGeneric.inc:343 -#: admin/roleManagement/roleGeneric.tpl:68 -msgid "Occupants" -msgstr "" - -#: admin/roleManagement/class_divListRole.inc:52 -#: admin/roleManagement/class_divListRole.inc:53 -#, fuzzy -msgid "List of roles" -msgstr "Lista użytkowników" - -#: admin/roleManagement/class_divListRole.inc:64 -#, fuzzy -msgid "Select all" -msgstr "Wybierz" - -#: admin/roleManagement/class_divListRole.inc:70 -msgid "Department" -msgstr "Departament" - -#: admin/roleManagement/class_divListRole.inc:71 -#: admin/roleManagement/class_divListRole.inc:120 -msgid "Actions" -msgstr "Akcje" - -#: admin/roleManagement/class_divListRole.inc:80 -#, fuzzy -msgid "Regular expression for matching role names" -msgstr "Wyrażenie regularne dla dopasowania nazw grup" - -#: admin/roleManagement/class_divListRole.inc:117 -msgid "Submit department" -msgstr "Zatwierdź departament" - -#: admin/roleManagement/class_divListRole.inc:117 -msgid "Submit" -msgstr "Wyślij" - -#: admin/roleManagement/class_divListRole.inc:125 -msgid "Create" -msgstr "Utwórz" - -#: admin/roleManagement/class_divListRole.inc:133 -msgid "Remove" -msgstr "Usuń" - -#: admin/roleManagement/class_divListRole.inc:171 -msgid "edit" -msgstr "edytuj" - -#: admin/roleManagement/class_divListRole.inc:172 -msgid "Edit this entry" -msgstr "Edytuj ten obiekt" - -#: admin/roleManagement/class_divListRole.inc:176 -msgid "delete" -msgstr "Usuń" - -#: admin/roleManagement/class_divListRole.inc:177 -msgid "Delete this entry" -msgstr "Usuń ten obiekt" - -#: admin/roleManagement/class_divListRole.inc:224 -#, fuzzy -msgid "Number of listed roles" -msgstr "Nazwa grupy" - -#: admin/roleManagement/class_divListRole.inc:225 -#, fuzzy -msgid "Number of listed departments" -msgstr "Nazwa departamentu" - -#: admin/roleManagement/main.inc:57 -#, fuzzy -msgid "Role management" -msgstr "Zarządzanie ACL" - -#: admin/roleManagement/roleGeneric.tpl:34 -msgid "Choose subtree to place user in" -msgstr "Wybierz poddrzewo do umieszczenia konta." - -#: admin/roleManagement/roleGeneric.tpl:40 -msgid "Select a base" -msgstr "Wybierz bazę" - -#: admin/roleManagement/roleGeneric.tpl:48 -msgid "Phone number" -msgstr "Numer telefonu" - -#: admin/roleManagement/occupantSelect.tpl:6 -msgid "Select objects to add" -msgstr "Wybierz obiekty do dodania" - -#: admin/roleManagement/occupantSelect.tpl:20 -msgid "Filters" -msgstr "Filtry" - -#: admin/roleManagement/occupantSelect.tpl:27 -msgid "Select to search within subtrees" -msgstr "Zaznacz aby wyszukiwać wewnątrz poddrzew" - -#: admin/roleManagement/occupantSelect.tpl:27 -#, fuzzy -msgid "Search in subtrees" -msgstr "Szukaj wewnątrz tego poddrzewa" - -#: admin/roleManagement/occupantSelect.tpl:30 -msgid "Display objects of department" -msgstr "Wyświetl obiekty departamentu" - -#: admin/roleManagement/occupantSelect.tpl:31 -msgid "Choose the department the search will be based on" -msgstr "Wybierz departament na którym wyszukiwanie będzie bazować" - -#: admin/roleManagement/occupantSelect.tpl:34 -msgid "Display objects matching" -msgstr "Wyświetl obiekty pasujące" - -#: admin/roleManagement/occupantSelect.tpl:35 -msgid "Regular expression for matching object names" -msgstr "Wyrażenie regularne dla dopasowania nazw obiektów" - -#, fuzzy -#~ msgid "role" -#~ msgstr "ACLe" diff --git a/gosa-plugins/roleManagement/locale/ru/LC_MESSAGES/messages.po b/gosa-plugins/roleManagement/locale/ru/LC_MESSAGES/messages.po deleted file mode 100644 index fb06deff3..000000000 --- a/gosa-plugins/roleManagement/locale/ru/LC_MESSAGES/messages.po +++ /dev/null @@ -1,247 +0,0 @@ -# Translation of messages.po to Russian -# Valia V. Vaneeva , 2004. -# $Id: messages.po,v 1.61 2005/04/18 10:37:13 migor-guest Exp $ -msgid "" -msgstr "" -"Project-Id-Version: messages\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-07-03 17:43+0200\n" -"PO-Revision-Date: 2005-04-18 14:35+0300\n" -"Last-Translator: Igor Muratov \n" -"Language-Team: ALT Linux Team\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Generator: poEdit 1.3.1\n" - -#: admin/roleManagement/class_roleManagement.inc:26 -#: admin/roleManagement/class_roleGeneric.inc:335 -#: admin/roleManagement/main.inc:53 -#, fuzzy -msgid "Roles" -msgstr "Роль" - -#: admin/roleManagement/class_roleManagement.inc:27 -#, fuzzy -msgid "Manage roles" -msgstr "Пользователи домена" - -#: admin/roleManagement/class_roleManagement.inc:137 -#, fuzzy -msgid "Permission" -msgstr "Права для членов группы" - -#: admin/roleManagement/class_roleManagement.inc:153 -#: admin/roleManagement/class_divListRole.inc:70 -#: admin/roleManagement/class_divListRole.inc:127 -#: admin/roleManagement/class_divListRole.inc:207 -msgid "Role" -msgstr "Роль" - -#: admin/roleManagement/class_roleManagement.inc:187 -#, fuzzy -msgid "Permission error" -msgstr "Права для членов группы" - -#: admin/roleManagement/remove.tpl:2 -msgid "Warning" -msgstr "Предупреждение" - -#: admin/roleManagement/remove.tpl:7 -msgid "" -"Please double check if you really want to do this since there is no way for " -"GOsa to get your data back." -msgstr "" -"Подумайте еще раз, действительно ли вам нужно удаление, так как GOsa не " -"сможет восстановить эти данные." - -#: admin/roleManagement/remove.tpl:10 -#, fuzzy -msgid "So - if you're sure - press 'Delete' to continue or 'Cancel' to abort." -msgstr "" -"Если вы уверены в своих действиях, нажмите на кнопку Удалить, иначе " -"нажмите Отмена." - -#: admin/roleManagement/class_roleGeneric.inc:201 -#: admin/roleManagement/class_roleGeneric.inc:210 -#: admin/roleManagement/class_roleGeneric.inc:338 -#: admin/roleManagement/roleGeneric.tpl:11 -msgid "Name" -msgstr "Фамилия" - -#: admin/roleManagement/class_roleGeneric.inc:231 -#, fuzzy -msgid "Unknown" -msgstr "состояние неизвестно" - -#: admin/roleManagement/class_roleGeneric.inc:249 -#: admin/roleManagement/class_roleGeneric.inc:283 -#, fuzzy -msgid "LDAP error" -msgstr "Ошибка LDAP:" - -#: admin/roleManagement/class_roleGeneric.inc:329 -#: admin/roleManagement/roleGeneric.tpl:6 -msgid "Generic" -msgstr "Общее" - -#: admin/roleManagement/class_roleGeneric.inc:330 -#, fuzzy -msgid "Role generic" -msgstr "Имя сервера" - -#: admin/roleManagement/class_roleGeneric.inc:339 -#: admin/roleManagement/roleGeneric.tpl:19 -msgid "Description" -msgstr "Описание" - -#: admin/roleManagement/class_roleGeneric.inc:340 -#: admin/roleManagement/class_divListRole.inc:114 -#: admin/roleManagement/roleGeneric.tpl:29 -msgid "Base" -msgstr "Ветка" - -#: admin/roleManagement/class_roleGeneric.inc:341 -#, fuzzy -msgid "Telefon number" -msgstr "Телефонные номера" - -#: admin/roleManagement/class_roleGeneric.inc:342 -#: admin/roleManagement/roleGeneric.tpl:56 -#, fuzzy -msgid "Fax number" -msgstr "Терминал" - -#: admin/roleManagement/class_roleGeneric.inc:343 -#: admin/roleManagement/roleGeneric.tpl:68 -msgid "Occupants" -msgstr "" - -#: admin/roleManagement/class_divListRole.inc:52 -#: admin/roleManagement/class_divListRole.inc:53 -#, fuzzy -msgid "List of roles" -msgstr "Список пользователей" - -#: admin/roleManagement/class_divListRole.inc:64 -#, fuzzy -msgid "Select all" -msgstr "Удалить" - -#: admin/roleManagement/class_divListRole.inc:70 -msgid "Department" -msgstr "Подразделение" - -#: admin/roleManagement/class_divListRole.inc:71 -#: admin/roleManagement/class_divListRole.inc:120 -msgid "Actions" -msgstr "Действия" - -#: admin/roleManagement/class_divListRole.inc:80 -#, fuzzy -msgid "Regular expression for matching role names" -msgstr "Регулярное выражение, соответствующее именам групп" - -#: admin/roleManagement/class_divListRole.inc:117 -#, fuzzy -msgid "Submit department" -msgstr "Показать подразделения" - -#: admin/roleManagement/class_divListRole.inc:117 -msgid "Submit" -msgstr "" - -#: admin/roleManagement/class_divListRole.inc:125 -msgid "Create" -msgstr "Создать" - -#: admin/roleManagement/class_divListRole.inc:133 -msgid "Remove" -msgstr "Удалить" - -#: admin/roleManagement/class_divListRole.inc:171 -#, fuzzy -msgid "edit" -msgstr "Изменить" - -#: admin/roleManagement/class_divListRole.inc:172 -#, fuzzy -msgid "Edit this entry" -msgstr "Редактиовать объект" - -#: admin/roleManagement/class_divListRole.inc:176 -#, fuzzy -msgid "delete" -msgstr "Удалить" - -#: admin/roleManagement/class_divListRole.inc:177 -#, fuzzy -msgid "Delete this entry" -msgstr "Удалить" - -#: admin/roleManagement/class_divListRole.inc:224 -#, fuzzy -msgid "Number of listed roles" -msgstr "Название группы" - -#: admin/roleManagement/class_divListRole.inc:225 -#, fuzzy -msgid "Number of listed departments" -msgstr "Подразделение" - -#: admin/roleManagement/main.inc:57 -#, fuzzy -msgid "Role management" -msgstr "Управление подразделениями" - -#: admin/roleManagement/roleGeneric.tpl:34 -msgid "Choose subtree to place user in" -msgstr "Выберите ветку для пользователя" - -#: admin/roleManagement/roleGeneric.tpl:40 -#, fuzzy -msgid "Select a base" -msgstr "Выберите, чтобы просмотреть серверы" - -#: admin/roleManagement/roleGeneric.tpl:48 -#, fuzzy -msgid "Phone number" -msgstr "Телефонные номера" - -#: admin/roleManagement/occupantSelect.tpl:6 -msgid "Select objects to add" -msgstr "Выбрать объекты для добавления" - -#: admin/roleManagement/occupantSelect.tpl:20 -msgid "Filters" -msgstr "Фильтры" - -#: admin/roleManagement/occupantSelect.tpl:27 -#, fuzzy -msgid "Select to search within subtrees" -msgstr "Искать в поддеревьях" - -#: admin/roleManagement/occupantSelect.tpl:27 -#, fuzzy -msgid "Search in subtrees" -msgstr "Искать в поддеревьях" - -#: admin/roleManagement/occupantSelect.tpl:30 -msgid "Display objects of department" -msgstr "Показать объекты подразделения" - -#: admin/roleManagement/occupantSelect.tpl:31 -msgid "Choose the department the search will be based on" -msgstr "Выбрать раздел, для которого будет осуществлен поиск" - -#: admin/roleManagement/occupantSelect.tpl:34 -msgid "Display objects matching" -msgstr "Показать совпадения объектов" - -#: admin/roleManagement/occupantSelect.tpl:35 -msgid "Regular expression for matching object names" -msgstr "Регулярное выражение, соответствующее именам объектов" - -#, fuzzy -#~ msgid "role" -#~ msgstr "Доступ" diff --git a/gosa-plugins/roleManagement/locale/zh/LC_MESSAGES/messages.po b/gosa-plugins/roleManagement/locale/zh/LC_MESSAGES/messages.po deleted file mode 100644 index 9f035b219..000000000 --- a/gosa-plugins/roleManagement/locale/zh/LC_MESSAGES/messages.po +++ /dev/null @@ -1,235 +0,0 @@ -# translation of messages.po to Chinese Simplified -# Copyright (C) 2003 GONICUS GmbH, Germany -# This file is distributed under the same license as the GOsa2 package. -# -# Jiang Xin , 2007. -msgid "" -msgstr "" -"Project-Id-Version: messages\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-07-03 17:43+0200\n" -"PO-Revision-Date: 2007-06-03 12:27+0800\n" -"Last-Translator: Jiang Xin \n" -"Language-Team: Chinese Simplified \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Generator: KBabel 1.11.4\n" - -#: admin/roleManagement/class_roleManagement.inc:26 -#: admin/roleManagement/class_roleGeneric.inc:335 -#: admin/roleManagement/main.inc:53 -#, fuzzy -msgid "Roles" -msgstr "角色" - -#: admin/roleManagement/class_roleManagement.inc:27 -#, fuzzy -msgid "Manage roles" -msgstr "域用户" - -#: admin/roleManagement/class_roleManagement.inc:137 -#, fuzzy -msgid "Permission" -msgstr "允许" - -#: admin/roleManagement/class_roleManagement.inc:153 -#: admin/roleManagement/class_divListRole.inc:70 -#: admin/roleManagement/class_divListRole.inc:127 -#: admin/roleManagement/class_divListRole.inc:207 -msgid "Role" -msgstr "角色" - -#: admin/roleManagement/class_roleManagement.inc:187 -#, fuzzy -msgid "Permission error" -msgstr "允许" - -#: admin/roleManagement/remove.tpl:2 -msgid "Warning" -msgstr "警告" - -#: admin/roleManagement/remove.tpl:7 -msgid "" -"Please double check if you really want to do this since there is no way for " -"GOsa to get your data back." -msgstr "请再次检查您是否要这么做,因为 GOsa 没有办法将您的数据找回。" - -#: admin/roleManagement/remove.tpl:10 -msgid "So - if you're sure - press 'Delete' to continue or 'Cancel' to abort." -msgstr "所以,如果您确定,请按“删除”继续,否则按“取消”退出。" - -#: admin/roleManagement/class_roleGeneric.inc:201 -#: admin/roleManagement/class_roleGeneric.inc:210 -#: admin/roleManagement/class_roleGeneric.inc:338 -#: admin/roleManagement/roleGeneric.tpl:11 -msgid "Name" -msgstr "名称" - -#: admin/roleManagement/class_roleGeneric.inc:231 -msgid "Unknown" -msgstr "未知" - -#: admin/roleManagement/class_roleGeneric.inc:249 -#: admin/roleManagement/class_roleGeneric.inc:283 -#, fuzzy -msgid "LDAP error" -msgstr "LDAP 错误:" - -#: admin/roleManagement/class_roleGeneric.inc:329 -#: admin/roleManagement/roleGeneric.tpl:6 -msgid "Generic" -msgstr "通用配置" - -#: admin/roleManagement/class_roleGeneric.inc:330 -#, fuzzy -msgid "Role generic" -msgstr "重命名" - -#: admin/roleManagement/class_roleGeneric.inc:339 -#: admin/roleManagement/roleGeneric.tpl:19 -msgid "Description" -msgstr "描述" - -#: admin/roleManagement/class_roleGeneric.inc:340 -#: admin/roleManagement/class_divListRole.inc:114 -#: admin/roleManagement/roleGeneric.tpl:29 -msgid "Base" -msgstr "位置" - -#: admin/roleManagement/class_roleGeneric.inc:341 -#, fuzzy -msgid "Telefon number" -msgstr "电话号码" - -#: admin/roleManagement/class_roleGeneric.inc:342 -#: admin/roleManagement/roleGeneric.tpl:56 -#, fuzzy -msgid "Fax number" -msgstr "系列号" - -#: admin/roleManagement/class_roleGeneric.inc:343 -#: admin/roleManagement/roleGeneric.tpl:68 -msgid "Occupants" -msgstr "" - -#: admin/roleManagement/class_divListRole.inc:52 -#: admin/roleManagement/class_divListRole.inc:53 -#, fuzzy -msgid "List of roles" -msgstr "用户列表" - -#: admin/roleManagement/class_divListRole.inc:64 -#, fuzzy -msgid "Select all" -msgstr "选择" - -#: admin/roleManagement/class_divListRole.inc:70 -msgid "Department" -msgstr "部门" - -#: admin/roleManagement/class_divListRole.inc:71 -#: admin/roleManagement/class_divListRole.inc:120 -msgid "Actions" -msgstr "动作" - -#: admin/roleManagement/class_divListRole.inc:80 -#, fuzzy -msgid "Regular expression for matching role names" -msgstr "用于匹配组名的正则表达式" - -#: admin/roleManagement/class_divListRole.inc:117 -msgid "Submit department" -msgstr "提交部门" - -#: admin/roleManagement/class_divListRole.inc:117 -msgid "Submit" -msgstr "提交" - -#: admin/roleManagement/class_divListRole.inc:125 -msgid "Create" -msgstr "创建" - -#: admin/roleManagement/class_divListRole.inc:133 -msgid "Remove" -msgstr "删除" - -#: admin/roleManagement/class_divListRole.inc:171 -msgid "edit" -msgstr "编辑" - -#: admin/roleManagement/class_divListRole.inc:172 -msgid "Edit this entry" -msgstr "编辑这条记录" - -#: admin/roleManagement/class_divListRole.inc:176 -msgid "delete" -msgstr "删除" - -#: admin/roleManagement/class_divListRole.inc:177 -msgid "Delete this entry" -msgstr "删除这个条目" - -#: admin/roleManagement/class_divListRole.inc:224 -#, fuzzy -msgid "Number of listed roles" -msgstr "组名称" - -#: admin/roleManagement/class_divListRole.inc:225 -#, fuzzy -msgid "Number of listed departments" -msgstr "部门名称" - -#: admin/roleManagement/main.inc:57 -#, fuzzy -msgid "Role management" -msgstr "管理" - -#: admin/roleManagement/roleGeneric.tpl:34 -msgid "Choose subtree to place user in" -msgstr "将用户放到所选择子树中" - -#: admin/roleManagement/roleGeneric.tpl:40 -msgid "Select a base" -msgstr "选择一个位置" - -#: admin/roleManagement/roleGeneric.tpl:48 -msgid "Phone number" -msgstr "电话号码" - -#: admin/roleManagement/occupantSelect.tpl:6 -msgid "Select objects to add" -msgstr "选择要添加的对象" - -#: admin/roleManagement/occupantSelect.tpl:20 -msgid "Filters" -msgstr "过滤器" - -#: admin/roleManagement/occupantSelect.tpl:27 -msgid "Select to search within subtrees" -msgstr "选择在子树中查询" - -#: admin/roleManagement/occupantSelect.tpl:27 -#, fuzzy -msgid "Search in subtrees" -msgstr "在子树中查找" - -#: admin/roleManagement/occupantSelect.tpl:30 -msgid "Display objects of department" -msgstr "选择查看部门对象" - -#: admin/roleManagement/occupantSelect.tpl:31 -msgid "Choose the department the search will be based on" -msgstr "选择一个部门来做查询" - -#: admin/roleManagement/occupantSelect.tpl:34 -msgid "Display objects matching" -msgstr "显示匹配对象" - -#: admin/roleManagement/occupantSelect.tpl:35 -msgid "Regular expression for matching object names" -msgstr "匹配对象名的正则表达式" - -#, fuzzy -#~ msgid "role" -#~ msgstr "MAC 地址" diff --git a/gosa-plugins/roleManagement/plugin.dsc b/gosa-plugins/roleManagement/plugin.dsc deleted file mode 100644 index 71221e50a..000000000 --- a/gosa-plugins/roleManagement/plugin.dsc +++ /dev/null @@ -1,7 +0,0 @@ -[gosa-plugin] -name = roleManagement -description = "Role Management plugin" -version = 2.6.5 -author = "Cajus Pollmeier " -homepage = https://oss.gonicus.de/labs/gosa/ -provides = roleManagement diff --git a/gosa-plugins/rolemanagement/admin/roleManagement/class_divListRole.inc b/gosa-plugins/rolemanagement/admin/roleManagement/class_divListRole.inc new file mode 100644 index 000000000..5048751b8 --- /dev/null +++ b/gosa-plugins/rolemanagement/admin/roleManagement/class_divListRole.inc @@ -0,0 +1,232 @@ +parent = $parent; + $this->ui = get_userinfo(); + + // Dynamic action col, depending on snapshot icons + $action_col_size = 90; + if($this->parent->snapshotEnabled()){ + $action_col_size += 38; + } + + // Set list strings + $this->SetTitle(_("List of roles")); + $this->SetSummary(_("List of roles")); + $this->EnableAplhabet(true); + + // Result page will look like a headpage + $this->SetHeadpageMode(); + + // Disable buttonsm + $this->EnableCloseButton(false); + $this->EnableSaveButton (false); + + // Add checkbox: Toggle all selected / deselected + $chk = ""; + + // Set Page col headers + $this->AddHeader(array("string" => $chk,"attach"=>"style='width:20px;'")); + $this->AddHeader(array("string" => " ", "attach" => "style='text-align:center;width:20px;'")); + $this->AddHeader(array("string" => _("Role")." / "._("Department"), "attach" => "style=''")); + $this->AddHeader(array("string" => _("Actions"), + "attach" => "style='width:".$action_col_size."px;border-right:0px;text-align:right;'")); + + // Add SubSearch checkbox + //$this->AddCheckBox(SEPERATOR); + $this->AddCheckBox("SubSearch", msgPool::selectToView("","subsearch"), + msgPool::selectToView("","subsearch_small"), false); + + // Add regex user input field + $this->AddRegex ("Regex", _("Regular expression for matching role names"), "*" , true); + } + + + function GenHeader() + { + /* Get all departments within this subtree */ + $ui= get_userinfo(); + $first = ""; + $found = FALSE; + $base = $this->config->current['BASE']; + $options = $this->create_department_list($this->module); + + /* Add a seperator after displaying c&p and snapshot icons ? */ + $add_sep = false; + + /* Get copy & paste icon */ + $acls = $ui->get_permissions($this->selectedBase,"roles/roleGeneric"); + $acl_all= $ui->has_complete_category_acls($this->selectedBase,"roles"); + + /* Add default header */ + $listhead = MultiSelectWindow::get_default_header(); + + /* Add department selector */ + $listhead .= _("Base")." ". + "  "; + + /* Create Layers menu */ + $s = ".|"._("Actions")."|\n"; + + /* Append create options */ + if(preg_match("/c/",$acls)) { + $s .= "..|". + " "._("Create")."|\n"; + $s.= "...|". + " "._("Role")."|role_new|\n"; + } + + /* Multiple options */ + $s.= "..|---|\n"; + $s.= "..|". + " "._("Remove")."|"."remove_multiple_roles|\n"; + + /* Add Copy & Paste header */ + $s .= $this->parent->get_copypaste_header($this->selectedBase,$this->module); + + /* Add snapshot icons */ + $s .= $this->parent->get_snapshot_header($this->selectedBase,$this->module); + + $this->SetDropDownHeaderMenu($s); + $this->SetListHeader($listhead); + } + + + function execute() + { + $this->ClearElementsList(); + $this->GenHeader(); + } + + function setEntries($list) + { + // Defining Links + $editlink = "%s"; + + // Dynamic action col, depending on snapshot icons + $action_col_size = 90; + if($this->parent->snapshotEnabled()){ + $action_col_size += 38; + } + + $ui = get_userinfo(); + + // Assigning roles + foreach($list as $key => $val){ + + // Get object permissions + $acl = $ui->get_permissions($val['dn'],"roles/roleGeneric"); + $acl_all= $ui->has_complete_category_acls($val['dn'],"roles"); + + + // Add copy & cut functionality */ + $actions = $this->parent->get_copypaste_action($val['dn'],"ogroups","ogroup"); + + // Create edit and remove icon buttons + $actions.= ""; + + $actions.= $this->parent->get_snapshot_action($val['dn'],$this->module); + if(preg_match("/d/",$acl)){ + $actions.= ""; + }else{ + $actions.= " "; + } + + // Append role descriptio, if available + $title = "title='".preg_replace('/ /', ' ', LDAP::fix($val['dn']))."'"; + if(!isset($val['description'][0])){ + $desc = ""; + }else{ + $desc = " - [ ".$val['description'][0]." ]"; + } + + // Cutted entry are displayed in a light grey as indication. + $display = $val['cn'][0].$desc; + if($this->parent->CopyPasteHandler){ + foreach($this->parent->CopyPasteHandler->queue as $queue_key => $queue_data){ + if($queue_data['dn'] == $val['dn']) { + $display = "".$display.""; + break; + } + } + } + + // Append the entry to the divlist + $field0 = array("string" => "" , + "attach" => "style='width:20px;'"); + $field1 = array("string" => ""._("Role")."", + "attach" => "style='text-align:center;width: 20px;'"); + $field2 = array("string" => sprintf($editlink,$key,$display), + "attach" => "style='' ".$title); + $field4 = array("string" => preg_replace("/%KEY%/", $key, $actions), + "attach" => "style='width:".$action_col_size."px;border-right:0px;text-align:right;'"); + + $this->AddElement(array($field0,$field1,$field2,$field4)); + } + + + // Create the list summary + $num_deps=0; + if(!$this->SubSearch){ + $num_deps = count($this->Added_Departments); + } + $num_objs = count($list); + $num_obj_str = _("Number of listed roles"); + $num_dep_str = _("Number of listed departments"); + $str = "".$num_obj_str." ".$num_objs."    "; + $str.= "".$num_dep_str." ".$num_deps."    "; + $this->set_List_Bottom_Info($str); + } +} +// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: +?> diff --git a/gosa-plugins/rolemanagement/admin/roleManagement/class_occupantSelect.inc b/gosa-plugins/rolemanagement/admin/roleManagement/class_occupantSelect.inc new file mode 100644 index 000000000..7fc690e9f --- /dev/null +++ b/gosa-plugins/rolemanagement/admin/roleManagement/class_occupantSelect.inc @@ -0,0 +1,163 @@ +config = $config; + $this->dn = $dn; + $this->parent = $parent; + $this->skipEntries = $parent->getOccupants(); + + /* Get global filter config */ + if (!session::is_set("roleAddOccupantFilter")){ + $ui= get_userinfo(); + $base= get_base_from_people($ui->dn); + $roleAddOccupantFilter= array( + "dselect" => $base, + "subtrees" => FALSE, + "regex" => "*"); + session::set("roleAddOccupantFilter", $roleAddOccupantFilter); + } + + } + + + function execute() + { + /* Save data */ + $roleAddOccupantFilter= session::get("roleAddOccupantFilter"); + if(isset($_POST['occupantSearched'])){ + + $roleAddOccupantFilter['subtrees'] = false; + if(isset($_POST['subtrees'])){ + $roleAddOccupantFilter['subtrees'] = "checked"; + } + + foreach( array("dselect", "regex") as $type){ + if (isset($_POST[$type])){ + $roleAddOccupantFilter[$type]= $_POST[$type]; + } + } + } + if (isset($_GET['search'])){ + $s= mb_substr($_GET['search'], 0, 1, "UTF8")."*"; + if ($s == "**"){ + $s= "*"; + } + $roleAddOccupantFilter['regex']= $s; + } + session::set("roleAddOccupantFilter", $roleAddOccupantFilter); + + $smarty = get_smarty(); + $smarty->assign("search_image", get_template_path('images/lists/search.png')); + $smarty->assign("launchimage", get_template_path('images/lists/action.png')); + $smarty->assign("tree_image", get_template_path('images/lists/search-subtree.png')); + $smarty->assign("deplist", $this->config->idepartments); + $smarty->assign("alphabet", generate_alphabet()); + $smarty->assign("hint", print_sizelimit_warning()); + $smarty->assign("apply", apply_filter()); + $smarty->assign("objects", $this->getObjects()); + foreach( array("dselect", "regex", "subtrees") as $type){ + $smarty->assign("$type", $roleAddOccupantFilter[$type]); + } + return($smarty->fetch(get_template_path("occupantSelect.tpl",TRUE, dirname(__FILE__)))); + } + + + function getObjects() + { + + // Initialize variables + $ldap = $this->config->get_ldap_link(); + $roleAddOccupantFilter= session::get("roleAddOccupantFilter"); + $regex = $roleAddOccupantFilter['regex']; + + // Detect the base to be use for ldap search + if($roleAddOccupantFilter['subtrees']){ + $base = $roleAddOccupantFilter['dselect']; + }else{ + $base = get_people_ou().$roleAddOccupantFilter['dselect']; + } + + // Set search flags flat/subsearch + $Get_list_flags = 0; + if($roleAddOccupantFilter['subtrees'] == "checked"){ + $Get_list_flags |= GL_SUBSEARCH; + } + + // Search for matching user objects. + $filter = "(&(objectClass=gosaAccount)(!(uid=*$))(|(uid=$regex)(cn=$regex)))"; + $res = get_list($filter, "users/user" , $base, + array("description", "objectClass", "sn", "givenName", "uid","cn"),$Get_list_flags); + + // Collect data. + $this->objects = array(); + foreach($res as $attrs){ + + // Skip entries which are already part of our role + if(in_array($attrs['dn'], $this->skipEntries)) continue; + + $name = $attrs['cn'][0]; + $dn = $attrs['dn']; + if (isset($attrs["description"][0])){ + $name .= " [".$attrs["description"][0]."]"; + } + + $entry = array(); + $entry['attrs'] = $attrs; + $entry['name'] = $name; + $entry['dn'] = $dn; + $this->objects[] = $entry; + } + uksort ($this->objects, 'strnatcasecmp'); + reset ($this->objects); + + // Create HTML content + $temp = ""; + foreach ($this->objects as $key => $value){ + $temp.= " + \n"; + } + return ($temp); + } + + + function save() + { + $ret = array(); + if(isset($_POST['objects'])){ + $objects = $_POST['objects']; + foreach($objects as $id){ + $ret[] = $this->objects[$id]; + } + } + return($ret); + } +} + +// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: +?> diff --git a/gosa-plugins/rolemanagement/admin/roleManagement/class_roleGeneric.inc b/gosa-plugins/rolemanagement/admin/roleManagement/class_roleGeneric.inc new file mode 100644 index 000000000..6674ddf94 --- /dev/null +++ b/gosa-plugins/rolemanagement/admin/roleManagement/class_roleGeneric.inc @@ -0,0 +1,404 @@ +attrs + var $roleOccCache = array(); + + // A list of attributes managed by this plugin + var $attributes = array("cn","description", + "telephoneNumber","facsimileTelephoneNumber","roleOccupant"); + + + /* Initialize the class + */ + function __construct($config,$dn){ + plugin::plugin($config,$dn); + $this->is_account = TRUE; + + // Initialize list of occupants + $this->roleOccupant = array(); + if(isset($this->attrs['roleOccupant'])){ + for($i=0;$i<$this->attrs['roleOccupant']['count']; $i++){ + $this->roleOccupant[] = $this->attrs['roleOccupant'][$i]; + } + } + + // Detect the objects base + if ($this->dn == "new"){ + $this->base = session::get('CurrentMainBase'); + } else { + $this->base= preg_replace("/^[^,]+,".preg_quote(get_ou("roleRDN"), '/i')."/","",$this->dn); + } + + // Keep track of naming attribute modifications + $this->orig_base = $this->base; + $this->orig_dn = $dn; + $this->orig_cn = $this->cn; + + // Reload the occupant cache. + $this->reload(); + } + + + /* Keep occupant cache up to date. + * Else, we may have entries we can't display. + */ + function reload() + { + // Entries can't be added twice. + $attrs = array("description", "objectClass", "uid","cn"); + $this->roleOccupant = array_unique($this->roleOccupant); + $this->roleOccupant = array_values($this->roleOccupant); + + $ldap = $this->config->get_ldap_link(); + foreach($this->roleOccupant as $dn){ + if(!isset($this->roleOccCache[$dn])){ + if($ldap->dn_exists($dn)){ + $ldap->cat($dn, $attrs); + + $tmp = $ldap->fetch(); + if(!isset($tmp['cn'])){ + + // Extract the namingAttribute out of the dn. + $cn = preg_replace("/^[^=]*+=([^,]*).*$/","\\1",$tmp['dn']); + if(isset($tmp['uid'])){ + $cn = $tmp['uid'][0]; + } + if(isset($tmp['description'])){ + $cn.= " [".$tmp['description'][0]."]"; + } + $tmp['cn'][0] = $cn; + } + + $this->roleOccCache[$dn] = $tmp; + } + } + } + + } + + + function getOccupants(){ + return($this->roleOccupant); + } + + /* Generate HTML output of this plugin. + */ + function execute() + { + // Get list of possible ldap bases, will be selectable in the ui. + $tmp = $this->allowedBasesToMoveTo(); + + + /*************** + * Dialog handling + ***************/ + + if(isset($_POST['edit_membership']) && !$this->dialog instanceOf plugin){ + $this->dialog = new occupantSelect($this->config,$this->dn,$this); + } + if(isset($_POST['delete_membership']) && !$this->dialog instanceOf plugin){ + if(isset($_POST['members'])){ + foreach($_POST['members'] as $id){ + if(isset($this->roleOccupant[$id])){ + unset($this->roleOccupant[$id]); + } + } + $this->reload(); + } + } + + if(isset($_POST['add_object_cancel']) && $this->dialog instanceOf plugin){ + $this->dialog = NULL; + } + if(isset($_POST['add_object_finish']) && $this->dialog instanceOf plugin){ + $ret = $this->dialog->save(); + foreach($ret as $key => $entry){ + $this->roleOccupant[] = $entry['dn']; + $this->roleOccCache[$entry['dn']] = $entry['attrs']; + } + $this->reload(); + $this->dialog = NULL; + } + + if($this->dialog instanceOf plugin){ + $this->dialog->save_object(); + return($this->dialog->execute()); + } + + + /*************** + * Template handling + ***************/ + + // Get smarty instance and assign required variables. + $smarty = get_smarty(); + $smarty->assign("bases", $tmp); + $smarty->assign("base_select",$this->base); + $smarty->assign("members",$this->convert_list()); + foreach($this->attributes as $attr){ + $smarty->assign($attr,$this->$attr); + } + + // Assign current permissions for each attribute. + $tmp = $this->plInfo(); + foreach($tmp['plProvidedAcls'] as $attr => $desc){ + $smarty->assign($attr."ACL",$this->getacl($attr)); + } + return($smarty->fetch(get_template_path('roleGeneric.tpl',TRUE,dirname(__FILE__)))); + } + + + /* Check user input and return a list of 'invalid input' messages. + */ + function check() + { + $message = plugin::check(); + + // Set the new acl base + if($this->dn == "new") { + $this->set_acl_base($this->base); + } + + // Check if we are allowed to create/move this user + if($this->orig_dn == "new" && !$this->acl_is_createable($this->base)){ + $message[]= msgPool::permCreate(); + }elseif($this->orig_dn != "new" && + !$this->acl_is_moveable($this->base) && + ($this->orig_base != $this->base || $this->orig_cn != $this->cn )){ + $message[]= msgPool::permMove(); + } + + /* must: cn */ + if ($this->cn == ""){ + $message[]= msgPool::required(_("Name")); + } + + // Check if this name is uniq for roles. + $ldap= $this->config->get_ldap_link(); + $ldap->cd($this->config->current['BASE']); + $ldap->search("(&(objectClass=organizationalRole)(cn=$this->cn))", array("cn")); + $ldap->fetch(); + if ($ldap->count() != 0 && ( $this->dn == 'new' || $this->cn != $this->orig_cn)){ + $message[]= msgPool::duplicated(_("Name")); + } + + return($message); + } + + + /* Returns list of occupants as \n"; + } + return ($temp); + } + + + /* Removes the object from the ldap database + */ + function remove_from_parent() + { + plugin::remove_from_parent(); + + // Remove this object. + $ldap= $this->config->get_ldap_link(); + $ldap->rmdir($this->dn); + if (!$ldap->success()){ + msg_dialog::display(_("LDAP error"), msgPool::ldaperror($ldap->get_error(), $this->dn, 0, get_class())); + } + + // Log action. + new log("remove","roles/".get_class($this),$this->dn,array_keys($this->attrs),$ldap->get_error()); + + // Trigger remove signal + $this->handle_post_events("remove"); + } + + + /* Saves object modifications + */ + function save(){ + plugin::save(); + + /* Save data. Using 'modify' implies that the entry is already present, use 'add' for + new entries. So do a check first... */ + $ldap = $this->config->get_ldap_link(); + $ldap->cat ($this->dn, array('dn')); + if ($ldap->fetch()){ + $mode= "modify"; + } else { + $mode= "add"; + $ldap->cd($this->config->current['BASE']); + $ldap->create_missing_trees(preg_replace('/^[^,]+,/', '', $this->dn)); + } + @DEBUG (DEBUG_LDAP, __LINE__, __FUNCTION__, __FILE__,$this->attributes, "Save via $mode"); + + // Finally write data with selected 'mode' + $this->cleanup(); + $ldap->cd ($this->dn); + $ldap->$mode ($this->attrs); + if (!$ldap->success()){ + msg_dialog::display(_("LDAP error"), msgPool::ldaperror($ldap->get_error(), + $this->dn, LDAP_MOD, get_class())); + return (1); + } + + // Send modify/add events + $this->handle_post_events($mode); + + // Update ACL dependencies too + if($this->dn != $this->orig_dn && $this->orig_dn != "new"){ + $tmp = new acl($this->config,$this->parent,$this->dn); + $tmp->update_acl_membership($this->orig_dn,$this->dn); + } + + // Log action + if($mode == "modify"){ + new log("modify","users/".get_class($this),$this->dn,array_keys($this->attrs),$ldap->get_error()); + }else{ + new log("create","users/".get_class($this),$this->dn,array_keys($this->attrs),$ldap->get_error()); + } + + return 0; + } + + + /* This avoids that users move themselves out of their rights. + */ + function allowedBasesToMoveTo() + { + $bases = $this->get_allowed_bases(); + return($bases); + } + + + /* Save HTML inputs + */ + function save_object() + { + plugin::save_object(); + if(isset($_POST['base'])){ + $this->base = get_post('base'); + } + } + + + function PrepareForCopyPaste($source) + { + plugin::PrepareForCopyPaste($source); + + /* Load member objects */ + $this->roleOccupant = array(); + if (isset($source['roleOccupant'])){ + foreach ($source['roleOccupant'] as $key => $value){ + if ("$key" != "count"){ + $value= @LDAP::convert($value); + $this->roleOccupant["$value"]= "$value"; + } + } + } + $this->reload(); + } + + + function getCopyDialog() + { + $smarty = get_smarty(); + $smarty->assign("cn", $this->cn); + $str = $smarty->fetch(get_template_path("paste_generic.tpl",TRUE,dirname(__FILE__))); + $ret = array(); + $ret['string'] = $str; + $ret['status'] = ""; + return($ret); + } + + function saveCopyDialog() + { + if(isset($_POST['cn'])){ + $this->cn = $_POST['cn']; + } + } + + + static function plInfo() + { + return (array( + "plShortName" => _("Generic"), + "plDescription" => _("Role generic"), + "plSelfModify" => FALSE, + "plDepends" => array(), + "plPriority" => 1, + "plSection" => array("administration"), + "plCategory" => array("roles" => array("description" => _("Roles"), + "objectClass" => "organizationalRole")), + "plProvidedAcls"=> array( + "cn" => _("Name"), + "description" => _("Description"), + "base" => _("Base"), + "telephoneNumber" => _("Telefon number"), + "facsimileTelephoneNumber" => _("Fax number"), + "roleOccupant" => _("Occupants")) + )); + } +} + + +// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: +?> diff --git a/gosa-plugins/rolemanagement/admin/roleManagement/class_roleManagement.inc b/gosa-plugins/rolemanagement/admin/roleManagement/class_roleManagement.inc new file mode 100644 index 000000000..bc52cb554 --- /dev/null +++ b/gosa-plugins/rolemanagement/admin/roleManagement/class_roleManagement.inc @@ -0,0 +1,488 @@ +config= &$config; + $this->ui= get_userinfo(); + + // Copy & Paste enabled ? + if ($this->config->get_cfg_value("copyPaste") == "true"){ + $this->CopyPasteHandler = new CopyPasteHandler($this->config); + } + + // Initialize the corresponding list class. + $this->DivListRoles = new divListRole($this->config,$this); + } + + + function execute() + { + // Call parent execute + plugin::execute(); + + // Variables to restore after 'entry locked' warning was displayed + session::set('LOCK_VARS_TO_USE',array('/^copy/','/^cut/','/^role_/','/^act/', + '/^id/','/^menu_action/','/^item/')); + + $smarty = get_smarty(); + + /*************** + * Handle _POST/_GET variables + ***************/ + + // Get entry related posts + $s_action = ""; + $s_entry = ""; + foreach($_POST as $name => $value){ + if(preg_match("/^cut_/",$name)){ + $s_action = "cut"; + $s_entry = preg_replace("/^cut_([0-9]*)_.*$/","\\1",$name); + break; + } + if(preg_match("/^copy_/",$name)){ + $s_action = "copy"; + $s_entry = preg_replace("/^copy_([0-9]*)_.*$/","\\1",$name); + break; + } + if(preg_match("/^role_edit_/",$name)){ + $s_action = "edit"; + $s_entry = preg_replace("/^role_edit_([0-9]*)_.*$/","\\1",$name); + break; + } + if(preg_match("/^role_del_/",$name)){ + $s_action = "remove"; + $s_entry = preg_replace("/^role_del_([0-9]*)_.*$/","\\1",$name); + break; + } + } + + if(isset($_GET['act']) && $_GET['act'] == "edit_entry" && isset($_GET['id'])){ + $id = $_GET['id']; + if(isset($this->roles[$id])){ + $s_action = "edit"; + $s_entry = $id; + } + } + + // Get menu related posts + if(isset($_POST['menu_action'])) { + if($_POST['menu_action'] == "editPaste"){ + $s_action = "editPaste"; + }elseif($_POST['menu_action'] == "role_new"){ + $s_action = "new"; + }elseif($_POST['menu_action'] == "remove_multiple_roles"){ + $s_action = "remove_multiple"; + } + } + + /*************** + * Copy & Paste handling + ***************/ + + /* Display the copy & paste dialog, if it is currently open */ + $ret = $this->copyPasteHandling_from_queue($s_action,$s_entry); + if($ret){ + return($ret); + } + + + /*************** + * Remove handling + ***************/ + + if($s_action == "remove_multiple" || $s_action == "remove"){ + + if($s_action == "remove_multiple"){ + $ids = $this->list_get_selected_items(); + }else{ + $ids = array($s_entry); + } + + if(count($ids)){ + $this->dns = array(); + $disallowed = array(); + foreach($ids as $id){ + $dn = $this->roles[$id]['dn']; + $acl = $this->ui->get_permissions($dn, "roles/roleGeneric"); + if(preg_match("/d/",$acl)){ + $this->dns[$id] = $dn; + }else{ + $disallowed[] = $dn; + } + } + + if(count($disallowed)){ + msg_dialog::display(_("Permission"),msgPool::permDelete($disallowed),INFO_DIALOG); + } + + + if(count($this->dns)){ + if ($user= get_multiple_locks($this->dns)){ + return(gen_locked_message($user,$this->dns)); + } + $dns_names = array(); + foreach($this->dns as $dn){ + $dns_names[] = LDAP::fix($dn); + } + + /* Lock the current entry, so nobody will edit it during deletion */ + add_lock ($this->dns, $this->ui->dn); + + $smarty->assign("info", msgPool::deleteInfo($dns_names,_("Role"))); + $smarty->assign("multiple", true); + return($smarty->fetch(get_template_path('remove.tpl', TRUE))); + } + } + } + + + /* Remove lock */ + if(isset($_POST['delete_multiple_roles_cancel'])){ + + /* Remove lock file after successfull deletion */ + $this->remove_lock(); + $this->dns = array(); + } + + + /* Confirmation for deletion has been passed. Users should be deleted. */ + if (isset($_POST['delete_multiple_roles_confirm'])){ + + /* Remove user by user and check acls before removeing them */ + foreach($this->dns as $key => $dn){ + + $acl = $this->ui->get_permissions($dn, "roles/roleGeneric"); + if (preg_match('/d/', $acl)){ + + /* Delete request is permitted, perform LDAP action */ + $this->dialog= new roletabs($this->config,$this->config->data['TABS']['ROLETABS'], $dn); + $this->dialog->delete(); + $this->dialog= NULL; + } else { + + /* Normally this shouldn't be reached, send some extra + logs to notify the administrator */ + msg_dialog::display(_("Permission error"), msgPool::permDelete(), INFO_DIALOG); + new log("security","roles/".get_class($this),$dn,array(),"Tried to trick deletion."); + } + } + + /* Remove lock file after successfull deletion */ + $this->remove_lock(); + $this->dns = array(); + } + + + /*************** + * New handling + ***************/ + + if($s_action == "new" && !$this->dialog instanceOf tabs){ + $this->dialog = new roletabs($this->config, $this->config->data['TABS']['ROLETABS'], "new"); + $this->dialog->set_acl_base($this->DivListRoles->selectedBase); + } + + /*************** + * Edit handling + ***************/ + + if($s_action == "edit" && !$this->dialog instanceOf tabs){ + if(!isset($this->roles[$s_entry])){ + trigger_error("Unknown entry!"); + }else{ + + $entry = $this->roles[$s_entry]; + $this->dn = $entry['dn']; + + /* Check locking, save current plugin in 'back_plugin', so + the dialog knows where to return. */ + if (($user= get_lock($this->dn)) != ""){ + return(gen_locked_message ($user, $this->dn,TRUE)); + } + + /* Lock the current entry, so everyone will get the above dialog */ + add_lock ($this->dn, $this->ui->dn); + + /* Open the dialog */ + $this->dialog = new roletabs($this->config, $this->config->data['TABS']['ROLETABS'], + $entry['dn'], "roles"); + $this->dialog->set_acl_base($this->dn); + set_object_info($this->dn); + } + } + + + /*************** + * Dialog handling + ***************/ + + if ((isset($_POST['edit_finish']) || isset($_POST['edit_apply'])) && $this->dialog instanceOf tabs){ + $this->dialog->save_object(); + $msgs = $this->dialog->check(); + if(count($msgs)){ + msg_dialog::displayChecks($msgs); + }else{ + $this->dialog->save(); + if (!isset($_POST['edit_apply'])){ + $this->remove_lock(); + $this->dialog= NULL; + set_object_info(); + }else{ + $this->dialog->re_init(); + } + } + } + + if (isset($_POST['edit_cancel']) && $this->dialog instanceOf tabs){ + $this->remove_lock(); + $this->dialog= NULL; + set_object_info(); + } + + if($this->dialog instanceOf tabs){ + $display= $this->dialog->execute(); + + $dialog_opened = ($this->dialog->by_object[$this->dialog->current]->dialog instanceOf plugin); + + if(!$dialog_opened){ + if($this->dialog->read_only == TRUE){ + $display.= "

+ +

"; + }else{ + + $display.= "

\n"; + $display.= "\n"; + $display.= " \n"; + if ($this->dn != "new"){ + $display.= "\n"; + $display.= " \n"; + } + $display.= "\n"; + $display.= "

"; + } + } + return ($display); + } + + + /*************** + * List handling + ***************/ + + // Check if there is a snapshot dialog open + $base = $this->DivListRoles->selectedBase; + if($str = $this->showSnapshotDialog($base,$this->get_used_snapshot_bases(),$this)){ + return($str); + } + + // Display dialog with group list + $this->DivListRoles->parent = $this; + $this->DivListRoles->execute(); + + // Add departments if subsearch is disabled + if(!$this->DivListRoles->SubSearch){ + $this->DivListRoles->AddDepartments($this->DivListRoles->selectedBase,3,1); + } + $this->reload (); + $this->DivListRoles->setEntries($this->roles); + return($this->DivListRoles->Draw()); + } + + + // Refreshes the list of known role objects. + function reload() + { + + // Get current ldap base and filter settings. + $base = $this->DivListRoles->selectedBase; + $Regex = $this->DivListRoles->Regex; + + // Search and fetch all matching role objects. + $this->roles = array(); + $ldap = $this->config->get_ldap_link(); + $filter= "(&(objectClass=organizationalRole)(cn=$Regex))"; + $attrs = array("cn","description","objectClass"); + + if($this->DivListRoles->SubSearch){ + $res= get_sub_list($filter, "roles",array(), $base, $attrs, GL_SIZELIMIT | GL_SUBSEARCH); + }else{ + $res= get_sub_list($filter, "roles",get_ou('roleRDN'), get_ou('roleRDN').$base, $attrs, GL_SIZELIMIT ); + } + + $tmp = array(); + foreach($res as $attrs){ + $tmp[$attrs['cn'][0].$attrs['dn']] = $attrs; + } + + uksort($tmp, 'strnatcasecmp'); + $this->roles = array_values($tmp); + } + + + /* \brief Returns a list of selected entry ids. + * E.g. remove multiple entries. + * @return Array A list of entry IDs + */ + function list_get_selected_items() + { + $ids = array(); + foreach($_POST as $name => $value){ + if(preg_match("/^item_selected_[0-9]*$/",$name)){ + $id = preg_replace("/^item_selected_/","",$name); + $ids[$id] = $id; + } + } + return($ids); + } + + + function remove_lock() + { + if (isset($this->dialog->dn)){ + del_lock ($this->dialog->dn); + }elseif(isset($this->dn) && !empty($this->dn) && $this->dn != "new"){ + del_lock($this->dn); + } + if(isset($this->dns) && is_array($this->dns) && count($this->dns)){ + del_lock($this->dns); + } + } + + + /* Return departments, that will be included within snapshot detection + */ + function get_used_snapshot_bases() + { + return(array(get_ou('roleRDN').$this->DivListRoles->selectedBase)); + } + + + function copyPasteHandling_from_queue($s_action,$s_entry) + { + /* Check if Copy & Paste is disabled */ + if(!is_object($this->CopyPasteHandler)){ + return(""); + } + + $ui = get_userinfo(); + + /* Add a single entry to queue */ + if($s_action == "cut" || $s_action == "copy"){ + + /* Cleanup object queue */ + $this->CopyPasteHandler->cleanup_queue(); + $dn = $this->roles[$s_entry]['dn']; + if($s_action == "copy" && $ui->is_copyable($dn,"roles","roleGeneric")){ + $this->CopyPasteHandler->add_to_queue($dn,$s_action,"roletabs","ROLETABS","roles"); + } + if($s_action == "cut" && $ui->is_cutable($dn,"roles","roleGeneric")){ + $this->CopyPasteHandler->add_to_queue($dn,$s_action,"roletabs","ROLETABS","roles"); + } + } + + /* Add entries to queue */ + if($s_action == "copy_multiple" || $s_action == "cut_multiple"){ + + /* Cleanup object queue */ + $this->CopyPasteHandler->cleanup_queue(); + + /* Add new entries to CP queue */ + foreach($this->list_get_selected_items() as $id){ + $dn = $this->roles[$id]['dn']; + + if($s_action == "copy_multiple" && $ui->is_copyable($dn,"roles","roleGeneric")){ + $this->CopyPasteHandler->add_to_queue($dn,"copy","roletabs","ROLETABS","roles"); + } + if($s_action == "cut_multiple" && $ui->is_cutable($dn,"roles","roleGeneric")){ + $this->CopyPasteHandler->add_to_queue($dn,"cut","roletabs","ROLETABS","roles"); + } + } + } + + /* Start pasting entries */ + if($s_action == "editPaste"){ + $this->start_pasting_copied_objects = TRUE; + } + + /* Return C&P dialog */ + if($this->start_pasting_copied_objects && $this->CopyPasteHandler->entries_queued()){ + + /* Get dialog */ + $this->CopyPasteHandler->SetVar("base",$this->DivListRoles->selectedBase); + $data = $this->CopyPasteHandler->execute(); + + /* Return dialog data */ + if(!empty($data)){ + return($data); + } + } + /* Automatically disable status for pasting */ + if(!$this->CopyPasteHandler->entries_queued()){ + $this->start_pasting_copied_objects = FALSE; + } + return(""); + } + + + function save_object() + { + $this->DivListRoles->save_object(); + if(is_object($this->CopyPasteHandler)){ + $this->CopyPasteHandler->save_object(); + } + } +} + +// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: +?> diff --git a/gosa-plugins/rolemanagement/admin/roleManagement/main.inc b/gosa-plugins/rolemanagement/admin/roleManagement/main.inc new file mode 100644 index 000000000..34ff6f42d --- /dev/null +++ b/gosa-plugins/rolemanagement/admin/roleManagement/main.inc @@ -0,0 +1,67 @@ +remove_lock(); + } +} + +/* Remove this plugin from session +*/ +if ( $cleanup ){ + $macl = session::get('roleManagement'); + $macl->remove_lock(); + session::un_set('roleManagement'); +}else{ + + /* Create object object on demand */ + if (!session::is_set('roleManagement')){ + session::set('roleManagement',new roleManagement($config)); + } + $roleManagement = session::get('roleManagement'); + + /* Execute formular */ + $roleManagement->save_object(); + $output= $roleManagement->execute (); + + /* Page header*/ + if (get_object_info() != ""){ + $display= print_header(get_template_path('plugins/roleManagement/images/plugin.png'), + _("Roles"), + "\"\" ". + LDAP::fix(get_object_info())); + } else { + $display= print_header(get_template_path('plugins/roleManagement/images/plugin.png'), _("Role management")); + } + + $display.= $output; + + /* Store changes in session */ + session::set('roleManagement',$roleManagement); +} + +// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: +?> diff --git a/gosa-plugins/rolemanagement/admin/roleManagement/occupantSelect.tpl b/gosa-plugins/rolemanagement/admin/roleManagement/occupantSelect.tpl new file mode 100644 index 000000000..c34e29731 --- /dev/null +++ b/gosa-plugins/rolemanagement/admin/roleManagement/occupantSelect.tpl @@ -0,0 +1,49 @@ + + + + + +
+
+

+ {t}Select objects to add{/t} {$hint} +

+
+
+

+ + +

+
+
+
+

[F]{t}Filters{/t}

+
+
+ + {$alphabet} +
+

+ {t}Search in subtrees{/t}
+

+ +
  +
+ +
+ {$apply} +
+
+ + + +

+ +   + +

+ diff --git a/gosa-plugins/rolemanagement/admin/roleManagement/paste_generic.tpl b/gosa-plugins/rolemanagement/admin/roleManagement/paste_generic.tpl new file mode 100644 index 000000000..91f84d8ae --- /dev/null +++ b/gosa-plugins/rolemanagement/admin/roleManagement/paste_generic.tpl @@ -0,0 +1,14 @@ + + + + + +
+ {$must} + + +
+ + diff --git a/gosa-plugins/rolemanagement/admin/roleManagement/remove.tpl b/gosa-plugins/rolemanagement/admin/roleManagement/remove.tpl new file mode 100644 index 000000000..76cf28860 --- /dev/null +++ b/gosa-plugins/rolemanagement/admin/roleManagement/remove.tpl @@ -0,0 +1,18 @@ +
+  {t}Warning{/t} +
+ +

+ {$info} + {t}Please double check if you really want to do this since there is no way for GOsa to get your data back.{/t} +

+

+ {t}So - if you're sure - press 'Delete' to continue or 'Cancel' to abort.{/t} +

+ +

+ +   + +

+ diff --git a/gosa-plugins/rolemanagement/admin/roleManagement/roleGeneric.tpl b/gosa-plugins/rolemanagement/admin/roleManagement/roleGeneric.tpl new file mode 100644 index 000000000..46f5884df --- /dev/null +++ b/gosa-plugins/rolemanagement/admin/roleManagement/roleGeneric.tpl @@ -0,0 +1,85 @@ + + + + + +
+ +

  + {t}Generic{/t} +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
{t}Name{/t}{$must} + {render acl=$cnACL} + + {/render} +
{t}Description{/t} + {render acl=$descriptionACL} + + {/render} +
+
+ +
+
+ {render acl=$baseACL} + + {/render} + {render acl=$baseACL disable_picture='images/lists/folder_grey.png'} + + {/render} +

 


{t}Phone number{/t} + {render acl=$telephoneNumberACL} + + {/render} +
{t}Fax number{/t} + {render acl=$facsimileTelephoneNumberACL} + + {/render} +
+ +
+

  + {t}Occupants{/t} +

+ +{render acl=$roleOccupantACL} + +{/render} +
+{render acl=$roleOccupantACL} +   +{/render} +{render acl=$roleOccupantACL} + +{/render} +
diff --git a/gosa-plugins/rolemanagement/admin/roleManagement/tabs_roles.inc b/gosa-plugins/rolemanagement/admin/roleManagement/tabs_roles.inc new file mode 100644 index 000000000..11f6d1f37 --- /dev/null +++ b/gosa-plugins/rolemanagement/admin/roleManagement/tabs_roles.inc @@ -0,0 +1,83 @@ +base = $baseobject= $this->by_object['roleGeneric']->base; + + foreach($this->by_object as $plugin){ + uniBonnAccount::propagateRoleAttributes($config, NULL, $plugin,$this); + } + + $this->addSpecialTabs(); + + + } + + function save_object($save_current= FALSE) + { + tabs::save_object($save_current); + + /* Update reference, transfer variables */ + $baseobject= $this->by_object['roleGeneric']; + foreach ($this->by_object as $name => $obj){ + + /* Don't touch base object */ + if ($name != 'roleGeneric'){ + $obj->parent= &$this; + $obj->cn= $baseobject->cn; + $this->by_object[$name]= $obj; + } + } + } + + function save($ignore_account= FALSE) + { + $baseobject= $this->by_object['roleGeneric']; + + /* Check for new 'dn', in order to propagate the + 'dn' to all plugins */ + $new_dn= 'cn='.$baseobject->cn.','.get_ou("roleRDN").$baseobject->base; + + /* Move group? */ + if ($this->dn != $new_dn){ + + /* Write entry on new 'dn' */ + if ($this->dn != "new"){ + $baseobject->update_acls($this->dn,$new_dn); + $baseobject->move($this->dn, $new_dn); + $this->by_object['roleGeneric']= $baseobject; + } + + /* Happen to use the new one */ + $this->dn= $new_dn; + } + $ret= tabs::save(); + return $ret; + } +} + +?> diff --git a/gosa-plugins/rolemanagement/html/images/new.png b/gosa-plugins/rolemanagement/html/images/new.png new file mode 100644 index 000000000..bb4ae51a3 Binary files /dev/null and b/gosa-plugins/rolemanagement/html/images/new.png differ diff --git a/gosa-plugins/rolemanagement/html/images/occupant.png b/gosa-plugins/rolemanagement/html/images/occupant.png new file mode 100644 index 000000000..8f69e2b99 Binary files /dev/null and b/gosa-plugins/rolemanagement/html/images/occupant.png differ diff --git a/gosa-plugins/rolemanagement/html/images/plugin.png b/gosa-plugins/rolemanagement/html/images/plugin.png new file mode 100644 index 000000000..66df34c71 Binary files /dev/null and b/gosa-plugins/rolemanagement/html/images/plugin.png differ diff --git a/gosa-plugins/rolemanagement/html/images/role.png b/gosa-plugins/rolemanagement/html/images/role.png new file mode 100644 index 000000000..bb4ae51a3 Binary files /dev/null and b/gosa-plugins/rolemanagement/html/images/role.png differ diff --git a/gosa-plugins/rolemanagement/locale/de/LC_MESSAGES/messages.po b/gosa-plugins/rolemanagement/locale/de/LC_MESSAGES/messages.po new file mode 100644 index 000000000..1f930a59f --- /dev/null +++ b/gosa-plugins/rolemanagement/locale/de/LC_MESSAGES/messages.po @@ -0,0 +1,227 @@ +# translation of messages.po to deutsch +# translation of messages.po to +# GOsa2 Translations +# Copyright (C) 2003 GONICUS GmbH, Germany +# This file is distributed under the same license as the GOsa2 package. +# +# +# Alfred Schroeder , 2004. +# Cajus Pollmeier , 2004, 2005, 2006, 2008, 2009. +# Jan Wenzel , 2004,2005, 2008. +# Stefan Koehler , 2005. +msgid "" +msgstr "" +"Project-Id-Version: messages\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2009-07-03 17:43+0200\n" +"PO-Revision-Date: 2009-07-03 17:31+0200\n" +"Last-Translator: Cajus Pollmeier \n" +"Language-Team: de \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Lokalize 0.3\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" + +#: admin/roleManagement/class_roleManagement.inc:26 +#: admin/roleManagement/class_roleGeneric.inc:335 +#: admin/roleManagement/main.inc:53 +msgid "Roles" +msgstr "Rollen" + +#: admin/roleManagement/class_roleManagement.inc:27 +msgid "Manage roles" +msgstr "Rollen verwalten" + +#: admin/roleManagement/class_roleManagement.inc:137 +msgid "Permission" +msgstr "Berechtigung" + +#: admin/roleManagement/class_roleManagement.inc:153 +#: admin/roleManagement/class_divListRole.inc:70 +#: admin/roleManagement/class_divListRole.inc:127 +#: admin/roleManagement/class_divListRole.inc:207 +msgid "Role" +msgstr "Rolle" + +#: admin/roleManagement/class_roleManagement.inc:187 +msgid "Permission error" +msgstr "Berechtigungsfehler" + +#: admin/roleManagement/remove.tpl:2 +msgid "Warning" +msgstr "Warnung" + +#: admin/roleManagement/remove.tpl:7 +msgid "" +"Please double check if you really want to do this since there is no way for " +"GOsa to get your data back." +msgstr "" +"Bitte überprüfen Sie genau was Sie tun, weil GOsa keine Möglichkeit hat, die " +"Daten wiederherzustellen." + +#: admin/roleManagement/remove.tpl:10 +msgid "So - if you're sure - press 'Delete' to continue or 'Cancel' to abort." +msgstr "" +"Wenn Sie sicher sind, drücken Sie 'Entfernen' um fortzufahren oder " +"'Abbrechen' zum Abbruch." + +#: admin/roleManagement/class_roleGeneric.inc:201 +#: admin/roleManagement/class_roleGeneric.inc:210 +#: admin/roleManagement/class_roleGeneric.inc:338 +#: admin/roleManagement/roleGeneric.tpl:11 +msgid "Name" +msgstr "Name" + +#: admin/roleManagement/class_roleGeneric.inc:231 +msgid "Unknown" +msgstr "Unbekannt" + +#: admin/roleManagement/class_roleGeneric.inc:249 +#: admin/roleManagement/class_roleGeneric.inc:283 +msgid "LDAP error" +msgstr "LDAP-Fehler" + +#: admin/roleManagement/class_roleGeneric.inc:329 +#: admin/roleManagement/roleGeneric.tpl:6 +msgid "Generic" +msgstr "Allgemein" + +#: admin/roleManagement/class_roleGeneric.inc:330 +msgid "Role generic" +msgstr "Allgemeine Rolleneinstellungen" + +#: admin/roleManagement/class_roleGeneric.inc:339 +#: admin/roleManagement/roleGeneric.tpl:19 +msgid "Description" +msgstr "Beschreibung" + +#: admin/roleManagement/class_roleGeneric.inc:340 +#: admin/roleManagement/class_divListRole.inc:114 +#: admin/roleManagement/roleGeneric.tpl:29 +msgid "Base" +msgstr "Basis" + +#: admin/roleManagement/class_roleGeneric.inc:341 +msgid "Telefon number" +msgstr "Telefonnummer" + +#: admin/roleManagement/class_roleGeneric.inc:342 +#: admin/roleManagement/roleGeneric.tpl:56 +msgid "Fax number" +msgstr "Faxnummer" + +#: admin/roleManagement/class_roleGeneric.inc:343 +#: admin/roleManagement/roleGeneric.tpl:68 +msgid "Occupants" +msgstr "Rollen-Inhaber" + +#: admin/roleManagement/class_divListRole.inc:52 +#: admin/roleManagement/class_divListRole.inc:53 +msgid "List of roles" +msgstr "Liste der Rollen" + +#: admin/roleManagement/class_divListRole.inc:64 +msgid "Select all" +msgstr "Alle auswählen" + +#: admin/roleManagement/class_divListRole.inc:70 +msgid "Department" +msgstr "Abteilung" + +#: admin/roleManagement/class_divListRole.inc:71 +#: admin/roleManagement/class_divListRole.inc:120 +msgid "Actions" +msgstr "Aktionen" + +#: admin/roleManagement/class_divListRole.inc:80 +msgid "Regular expression for matching role names" +msgstr "Regulärer Ausdruck zum Erkennen von Rollennamen" + +#: admin/roleManagement/class_divListRole.inc:117 +msgid "Submit department" +msgstr "Aktualisieren" + +#: admin/roleManagement/class_divListRole.inc:117 +msgid "Submit" +msgstr "Übertragen" + +#: admin/roleManagement/class_divListRole.inc:125 +msgid "Create" +msgstr "Anlegen" + +#: admin/roleManagement/class_divListRole.inc:133 +msgid "Remove" +msgstr "Entfernen" + +#: admin/roleManagement/class_divListRole.inc:171 +msgid "edit" +msgstr "Bearbeiten" + +#: admin/roleManagement/class_divListRole.inc:172 +msgid "Edit this entry" +msgstr "Diesen Eintrag bearbeiten" + +#: admin/roleManagement/class_divListRole.inc:176 +msgid "delete" +msgstr "Entfernen" + +#: admin/roleManagement/class_divListRole.inc:177 +msgid "Delete this entry" +msgstr "Diesen Eintrag entfernen" + +#: admin/roleManagement/class_divListRole.inc:224 +msgid "Number of listed roles" +msgstr "Anzahl der angezeigten Rollen" + +#: admin/roleManagement/class_divListRole.inc:225 +msgid "Number of listed departments" +msgstr "Anzahl der angezeigten Abteilungen" + +#: admin/roleManagement/main.inc:57 +msgid "Role management" +msgstr "Rollen-Verwaltung" + +#: admin/roleManagement/roleGeneric.tpl:34 +msgid "Choose subtree to place user in" +msgstr "Wählen Sie den Teilbaum, in den der Benutzer eingepflegt werden soll" + +#: admin/roleManagement/roleGeneric.tpl:40 +msgid "Select a base" +msgstr "Wählen Sie eine Basis" + +#: admin/roleManagement/roleGeneric.tpl:48 +msgid "Phone number" +msgstr "Telefonnummer" + +#: admin/roleManagement/occupantSelect.tpl:6 +msgid "Select objects to add" +msgstr "Wählen Sie die hinzuzufügenden Objekte" + +#: admin/roleManagement/occupantSelect.tpl:20 +msgid "Filters" +msgstr "Filter" + +#: admin/roleManagement/occupantSelect.tpl:27 +msgid "Select to search within subtrees" +msgstr "Wählen Sie diese Option um auch in Teilbäumen zu suchen" + +#: admin/roleManagement/occupantSelect.tpl:27 +msgid "Search in subtrees" +msgstr "Suche in Teilbäumen" + +#: admin/roleManagement/occupantSelect.tpl:30 +msgid "Display objects of department" +msgstr "Zeige die Objekte der Abteilung" + +#: admin/roleManagement/occupantSelect.tpl:31 +msgid "Choose the department the search will be based on" +msgstr "Wählen Sie die Abteilung, auf die die Suchfunktion angewandt wird" + +#: admin/roleManagement/occupantSelect.tpl:34 +msgid "Display objects matching" +msgstr "Zeige die Objekte, auf die Folgendes passt" + +#: admin/roleManagement/occupantSelect.tpl:35 +msgid "Regular expression for matching object names" +msgstr "Regulärer Ausdruck zum Erkennen von Objekt-Namen" diff --git a/gosa-plugins/rolemanagement/locale/en/LC_MESSAGES/messages.po b/gosa-plugins/rolemanagement/locale/en/LC_MESSAGES/messages.po new file mode 100644 index 000000000..d33d24c1c --- /dev/null +++ b/gosa-plugins/rolemanagement/locale/en/LC_MESSAGES/messages.po @@ -0,0 +1,198 @@ +#: admin/roleManagement/class_roleManagement.inc:26 +#: admin/roleManagement/class_roleGeneric.inc:335 +#: admin/roleManagement/main.inc:53 +msgid "Roles" +msgstr "" + +#: admin/roleManagement/class_roleManagement.inc:27 +msgid "Manage roles" +msgstr "" + +#: admin/roleManagement/class_roleManagement.inc:137 +msgid "Permission" +msgstr "" + +#: admin/roleManagement/class_roleManagement.inc:153 +#: admin/roleManagement/class_divListRole.inc:70 +#: admin/roleManagement/class_divListRole.inc:127 +#: admin/roleManagement/class_divListRole.inc:207 +msgid "Role" +msgstr "" + +#: admin/roleManagement/class_roleManagement.inc:187 +msgid "Permission error" +msgstr "" + +#: admin/roleManagement/remove.tpl:2 +msgid "Warning" +msgstr "" + +#: admin/roleManagement/remove.tpl:7 +msgid "" +"Please double check if you really want to do this since there is no way for " +"GOsa to get your data back." +msgstr "" + +#: admin/roleManagement/remove.tpl:10 +msgid "So - if you're sure - press 'Delete' to continue or 'Cancel' to abort." +msgstr "" + +#: admin/roleManagement/class_roleGeneric.inc:201 +#: admin/roleManagement/class_roleGeneric.inc:210 +#: admin/roleManagement/class_roleGeneric.inc:338 +#: admin/roleManagement/roleGeneric.tpl:11 +msgid "Name" +msgstr "" + +#: admin/roleManagement/class_roleGeneric.inc:231 +msgid "Unknown" +msgstr "" + +#: admin/roleManagement/class_roleGeneric.inc:249 +#: admin/roleManagement/class_roleGeneric.inc:283 +msgid "LDAP error" +msgstr "" + +#: admin/roleManagement/class_roleGeneric.inc:329 +#: admin/roleManagement/roleGeneric.tpl:6 +msgid "Generic" +msgstr "" + +#: admin/roleManagement/class_roleGeneric.inc:330 +msgid "Role generic" +msgstr "" + +#: admin/roleManagement/class_roleGeneric.inc:339 +#: admin/roleManagement/roleGeneric.tpl:19 +msgid "Description" +msgstr "" + +#: admin/roleManagement/class_roleGeneric.inc:340 +#: admin/roleManagement/class_divListRole.inc:114 +#: admin/roleManagement/roleGeneric.tpl:29 +msgid "Base" +msgstr "" + +#: admin/roleManagement/class_roleGeneric.inc:341 +msgid "Telefon number" +msgstr "" + +#: admin/roleManagement/class_roleGeneric.inc:342 +#: admin/roleManagement/roleGeneric.tpl:56 +msgid "Fax number" +msgstr "" + +#: admin/roleManagement/class_roleGeneric.inc:343 +#: admin/roleManagement/roleGeneric.tpl:68 +msgid "Occupants" +msgstr "" + +#: admin/roleManagement/class_divListRole.inc:52 +#: admin/roleManagement/class_divListRole.inc:53 +msgid "List of roles" +msgstr "" + +#: admin/roleManagement/class_divListRole.inc:64 +msgid "Select all" +msgstr "" + +#: admin/roleManagement/class_divListRole.inc:70 +msgid "Department" +msgstr "" + +#: admin/roleManagement/class_divListRole.inc:71 +#: admin/roleManagement/class_divListRole.inc:120 +msgid "Actions" +msgstr "" + +#: admin/roleManagement/class_divListRole.inc:80 +msgid "Regular expression for matching role names" +msgstr "" + +#: admin/roleManagement/class_divListRole.inc:117 +msgid "Submit department" +msgstr "" + +#: admin/roleManagement/class_divListRole.inc:117 +msgid "Submit" +msgstr "" + +#: admin/roleManagement/class_divListRole.inc:125 +msgid "Create" +msgstr "" + +#: admin/roleManagement/class_divListRole.inc:133 +msgid "Remove" +msgstr "" + +#: admin/roleManagement/class_divListRole.inc:171 +msgid "edit" +msgstr "" + +#: admin/roleManagement/class_divListRole.inc:172 +msgid "Edit this entry" +msgstr "" + +#: admin/roleManagement/class_divListRole.inc:176 +msgid "delete" +msgstr "" + +#: admin/roleManagement/class_divListRole.inc:177 +msgid "Delete this entry" +msgstr "" + +#: admin/roleManagement/class_divListRole.inc:224 +msgid "Number of listed roles" +msgstr "" + +#: admin/roleManagement/class_divListRole.inc:225 +msgid "Number of listed departments" +msgstr "" + +#: admin/roleManagement/main.inc:57 +msgid "Role management" +msgstr "" + +#: admin/roleManagement/roleGeneric.tpl:34 +msgid "Choose subtree to place user in" +msgstr "" + +#: admin/roleManagement/roleGeneric.tpl:40 +msgid "Select a base" +msgstr "" + +#: admin/roleManagement/roleGeneric.tpl:48 +msgid "Phone number" +msgstr "" + +#: admin/roleManagement/occupantSelect.tpl:6 +msgid "Select objects to add" +msgstr "" + +#: admin/roleManagement/occupantSelect.tpl:20 +msgid "Filters" +msgstr "" + +#: admin/roleManagement/occupantSelect.tpl:27 +msgid "Select to search within subtrees" +msgstr "" + +#: admin/roleManagement/occupantSelect.tpl:27 +msgid "Search in subtrees" +msgstr "" + +#: admin/roleManagement/occupantSelect.tpl:30 +msgid "Display objects of department" +msgstr "" + +#: admin/roleManagement/occupantSelect.tpl:31 +msgid "Choose the department the search will be based on" +msgstr "" + +#: admin/roleManagement/occupantSelect.tpl:34 +msgid "Display objects matching" +msgstr "" + +#: admin/roleManagement/occupantSelect.tpl:35 +msgid "Regular expression for matching object names" +msgstr "" diff --git a/gosa-plugins/rolemanagement/locale/es/LC_MESSAGES/messages.po b/gosa-plugins/rolemanagement/locale/es/LC_MESSAGES/messages.po new file mode 100644 index 000000000..7973b5d27 --- /dev/null +++ b/gosa-plugins/rolemanagement/locale/es/LC_MESSAGES/messages.po @@ -0,0 +1,233 @@ +# translation of admin.po to +# translation of systems.po to +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# , 2008. +msgid "" +msgstr "" +"Project-Id-Version: admin\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2009-07-03 17:43+0200\n" +"PO-Revision-Date: 2008-12-08 11:29+0100\n" +"Last-Translator: \n" +"Language-Team: Spanish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Lokalize 0.2\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: admin/roleManagement/class_roleManagement.inc:26 +#: admin/roleManagement/class_roleGeneric.inc:335 +#: admin/roleManagement/main.inc:53 +#, fuzzy +msgid "Roles" +msgstr "Rol" + +#: admin/roleManagement/class_roleManagement.inc:27 +#, fuzzy +msgid "Manage roles" +msgstr "Usuarios del dominio" + +#: admin/roleManagement/class_roleManagement.inc:137 +msgid "Permission" +msgstr "Permiso" + +#: admin/roleManagement/class_roleManagement.inc:153 +#: admin/roleManagement/class_divListRole.inc:70 +#: admin/roleManagement/class_divListRole.inc:127 +#: admin/roleManagement/class_divListRole.inc:207 +msgid "Role" +msgstr "Rol" + +#: admin/roleManagement/class_roleManagement.inc:187 +msgid "Permission error" +msgstr "Error de Permisos" + +#: admin/roleManagement/remove.tpl:2 +msgid "Warning" +msgstr "Aviso" + +#: admin/roleManagement/remove.tpl:7 +msgid "" +"Please double check if you really want to do this since there is no way for " +"GOsa to get your data back." +msgstr "" +"Si está seguro de lo que quiere hacer pulse dos veces, ya que no hay forma " +"de que GOsa pueda recuperar posteriormente esa información" + +#: admin/roleManagement/remove.tpl:10 +msgid "So - if you're sure - press 'Delete' to continue or 'Cancel' to abort." +msgstr "" +"Entonces, si esta seguro, presione Eliminar para continuar o " +"Cancelar para Abortar." + +#: admin/roleManagement/class_roleGeneric.inc:201 +#: admin/roleManagement/class_roleGeneric.inc:210 +#: admin/roleManagement/class_roleGeneric.inc:338 +#: admin/roleManagement/roleGeneric.tpl:11 +msgid "Name" +msgstr "Nombre" + +#: admin/roleManagement/class_roleGeneric.inc:231 +msgid "Unknown" +msgstr "Desconocido" + +#: admin/roleManagement/class_roleGeneric.inc:249 +#: admin/roleManagement/class_roleGeneric.inc:283 +msgid "LDAP error" +msgstr "Error LDAP" + +#: admin/roleManagement/class_roleGeneric.inc:329 +#: admin/roleManagement/roleGeneric.tpl:6 +msgid "Generic" +msgstr "Genérico" + +#: admin/roleManagement/class_roleGeneric.inc:330 +#, fuzzy +msgid "Role generic" +msgstr "Nombre del Rol" + +#: admin/roleManagement/class_roleGeneric.inc:339 +#: admin/roleManagement/roleGeneric.tpl:19 +msgid "Description" +msgstr "Descripción" + +#: admin/roleManagement/class_roleGeneric.inc:340 +#: admin/roleManagement/class_divListRole.inc:114 +#: admin/roleManagement/roleGeneric.tpl:29 +msgid "Base" +msgstr "Base" + +#: admin/roleManagement/class_roleGeneric.inc:341 +msgid "Telefon number" +msgstr "Número de teléfono" + +#: admin/roleManagement/class_roleGeneric.inc:342 +#: admin/roleManagement/roleGeneric.tpl:56 +msgid "Fax number" +msgstr "Número de Fax" + +#: admin/roleManagement/class_roleGeneric.inc:343 +#: admin/roleManagement/roleGeneric.tpl:68 +msgid "Occupants" +msgstr "" + +#: admin/roleManagement/class_divListRole.inc:52 +#: admin/roleManagement/class_divListRole.inc:53 +#, fuzzy +msgid "List of roles" +msgstr "Lista de usuarios" + +#: admin/roleManagement/class_divListRole.inc:64 +msgid "Select all" +msgstr "Seleccione todos" + +#: admin/roleManagement/class_divListRole.inc:70 +msgid "Department" +msgstr "Departamento" + +#: admin/roleManagement/class_divListRole.inc:71 +#: admin/roleManagement/class_divListRole.inc:120 +msgid "Actions" +msgstr "Acciones" + +#: admin/roleManagement/class_divListRole.inc:80 +#, fuzzy +msgid "Regular expression for matching role names" +msgstr "Expresión regular para buscar nombres de grupos" + +#: admin/roleManagement/class_divListRole.inc:117 +msgid "Submit department" +msgstr "Enviar departamento" + +#: admin/roleManagement/class_divListRole.inc:117 +msgid "Submit" +msgstr "Enviar" + +#: admin/roleManagement/class_divListRole.inc:125 +msgid "Create" +msgstr "Crear" + +#: admin/roleManagement/class_divListRole.inc:133 +msgid "Remove" +msgstr "Eliminar" + +#: admin/roleManagement/class_divListRole.inc:171 +msgid "edit" +msgstr "editar" + +#: admin/roleManagement/class_divListRole.inc:172 +msgid "Edit this entry" +msgstr "Editar esta entrada" + +#: admin/roleManagement/class_divListRole.inc:176 +msgid "delete" +msgstr "eliminar" + +#: admin/roleManagement/class_divListRole.inc:177 +msgid "Delete this entry" +msgstr "Eliminar esta entrada" + +#: admin/roleManagement/class_divListRole.inc:224 +#, fuzzy +msgid "Number of listed roles" +msgstr "Eliminar grupo seleccionado" + +#: admin/roleManagement/class_divListRole.inc:225 +msgid "Number of listed departments" +msgstr "Número de departamentos" + +#: admin/roleManagement/main.inc:57 +#, fuzzy +msgid "Role management" +msgstr "Administración de ACL" + +#: admin/roleManagement/roleGeneric.tpl:34 +msgid "Choose subtree to place user in" +msgstr "Elija el subárbol donde colocar al usuario" + +#: admin/roleManagement/roleGeneric.tpl:40 +msgid "Select a base" +msgstr "Seleccione una base" + +#: admin/roleManagement/roleGeneric.tpl:48 +msgid "Phone number" +msgstr "Número de teléfono" + +#: admin/roleManagement/occupantSelect.tpl:6 +msgid "Select objects to add" +msgstr "Seleccione los objetos a añadir" + +#: admin/roleManagement/occupantSelect.tpl:20 +msgid "Filters" +msgstr "Filtros" + +#: admin/roleManagement/occupantSelect.tpl:27 +msgid "Select to search within subtrees" +msgstr "Seleccione para buscar dentro de subárboles" + +#: admin/roleManagement/occupantSelect.tpl:27 +msgid "Search in subtrees" +msgstr "Buscar en subárboles" + +#: admin/roleManagement/occupantSelect.tpl:30 +msgid "Display objects of department" +msgstr "Mostrar objetos del departamento" + +#: admin/roleManagement/occupantSelect.tpl:31 +msgid "Choose the department the search will be based on" +msgstr "Escoja el departamento base de la búsqueda" + +#: admin/roleManagement/occupantSelect.tpl:34 +msgid "Display objects matching" +msgstr "Mostrar objetos que coincidan" + +#: admin/roleManagement/occupantSelect.tpl:35 +msgid "Regular expression for matching object names" +msgstr "Expresiones regulares para buscar nombre de objetos" + +#, fuzzy +#~ msgid "role" +#~ msgstr "Roles ACL" diff --git a/gosa-plugins/rolemanagement/locale/fr/LC_MESSAGES/messages.po b/gosa-plugins/rolemanagement/locale/fr/LC_MESSAGES/messages.po new file mode 100644 index 000000000..94f502c26 --- /dev/null +++ b/gosa-plugins/rolemanagement/locale/fr/LC_MESSAGES/messages.po @@ -0,0 +1,221 @@ +# translation of messages.po to +# Benoit Mortier , 2005, 2006, 2007, 2008, 2009. +msgid "" +msgstr "" +"Project-Id-Version: messages\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2009-07-03 17:43+0200\n" +"PO-Revision-Date: 2009-09-17 10:23+0200\n" +"Last-Translator: Benoit Mortier \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#: admin/roleManagement/class_roleManagement.inc:26 +#: admin/roleManagement/class_roleGeneric.inc:335 +#: admin/roleManagement/main.inc:53 +#, fuzzy +msgid "Roles" +msgstr "Rôle" + +#: admin/roleManagement/class_roleManagement.inc:27 +msgid "Manage roles" +msgstr "Gèrer les rôles" + +#: admin/roleManagement/class_roleManagement.inc:137 +msgid "Permission" +msgstr "Permissions" + +#: admin/roleManagement/class_roleManagement.inc:153 +#: admin/roleManagement/class_divListRole.inc:70 +#: admin/roleManagement/class_divListRole.inc:127 +#: admin/roleManagement/class_divListRole.inc:207 +msgid "Role" +msgstr "Rôle" + +#: admin/roleManagement/class_roleManagement.inc:187 +msgid "Permission error" +msgstr "Erreur de permissions" + +#: admin/roleManagement/remove.tpl:2 +msgid "Warning" +msgstr "Avertissement" + +#: admin/roleManagement/remove.tpl:7 +msgid "" +"Please double check if you really want to do this since there is no way for " +"GOsa to get your data back." +msgstr "" +"Veuillez vérifier que vous voulez effectuer cette action. Toutes les données " +"seront perdues étant donné qu'il est impossible pour GOsa de récupérer vos " +"données." + +#: admin/roleManagement/remove.tpl:10 +msgid "So - if you're sure - press 'Delete' to continue or 'Cancel' to abort." +msgstr "" +"D'accord - si vous êtes sur - cliquez sur 'Supprimer' pour continuer ou sur " +"'Annuler' pour abandonner." + +#: admin/roleManagement/class_roleGeneric.inc:201 +#: admin/roleManagement/class_roleGeneric.inc:210 +#: admin/roleManagement/class_roleGeneric.inc:338 +#: admin/roleManagement/roleGeneric.tpl:11 +msgid "Name" +msgstr "Nom" + +#: admin/roleManagement/class_roleGeneric.inc:231 +msgid "Unknown" +msgstr "Inconnu" + +#: admin/roleManagement/class_roleGeneric.inc:249 +#: admin/roleManagement/class_roleGeneric.inc:283 +msgid "LDAP error" +msgstr "Erreur LDAP" + +#: admin/roleManagement/class_roleGeneric.inc:329 +#: admin/roleManagement/roleGeneric.tpl:6 +msgid "Generic" +msgstr "Informations" + +#: admin/roleManagement/class_roleGeneric.inc:330 +msgid "Role generic" +msgstr "Rôle par défaut" + +#: admin/roleManagement/class_roleGeneric.inc:339 +#: admin/roleManagement/roleGeneric.tpl:19 +msgid "Description" +msgstr "" + +#: admin/roleManagement/class_roleGeneric.inc:340 +#: admin/roleManagement/class_divListRole.inc:114 +#: admin/roleManagement/roleGeneric.tpl:29 +msgid "Base" +msgstr "" + +#: admin/roleManagement/class_roleGeneric.inc:341 +msgid "Telefon number" +msgstr "Numéro de téléphone" + +#: admin/roleManagement/class_roleGeneric.inc:342 +#: admin/roleManagement/roleGeneric.tpl:56 +msgid "Fax number" +msgstr "Numéro de fax" + +#: admin/roleManagement/class_roleGeneric.inc:343 +#: admin/roleManagement/roleGeneric.tpl:68 +msgid "Occupants" +msgstr "" + +#: admin/roleManagement/class_divListRole.inc:52 +#: admin/roleManagement/class_divListRole.inc:53 +msgid "List of roles" +msgstr "Liste des rôles" + +#: admin/roleManagement/class_divListRole.inc:64 +msgid "Select all" +msgstr "Sélectionner tout" + +#: admin/roleManagement/class_divListRole.inc:70 +msgid "Department" +msgstr "Département" + +#: admin/roleManagement/class_divListRole.inc:71 +#: admin/roleManagement/class_divListRole.inc:120 +msgid "Actions" +msgstr "" + +#: admin/roleManagement/class_divListRole.inc:80 +msgid "Regular expression for matching role names" +msgstr "Expression régulière correspondant à des noms de rôles" + +#: admin/roleManagement/class_divListRole.inc:117 +msgid "Submit department" +msgstr "Soumettre le département" + +#: admin/roleManagement/class_divListRole.inc:117 +msgid "Submit" +msgstr "Soumettre" + +#: admin/roleManagement/class_divListRole.inc:125 +msgid "Create" +msgstr "Créer" + +#: admin/roleManagement/class_divListRole.inc:133 +msgid "Remove" +msgstr "Supprimer" + +#: admin/roleManagement/class_divListRole.inc:171 +msgid "edit" +msgstr "éditer" + +#: admin/roleManagement/class_divListRole.inc:172 +msgid "Edit this entry" +msgstr "Editer cette entrée" + +#: admin/roleManagement/class_divListRole.inc:176 +msgid "delete" +msgstr "supprimer" + +#: admin/roleManagement/class_divListRole.inc:177 +msgid "Delete this entry" +msgstr "Supprimer cette entrée" + +#: admin/roleManagement/class_divListRole.inc:224 +msgid "Number of listed roles" +msgstr "Nombre de rôles affichés" + +#: admin/roleManagement/class_divListRole.inc:225 +msgid "Number of listed departments" +msgstr "Nombre de département listés" + +#: admin/roleManagement/main.inc:57 +msgid "Role management" +msgstr "Gestion des rôles" + +#: admin/roleManagement/roleGeneric.tpl:34 +msgid "Choose subtree to place user in" +msgstr "Sélectionnez la branche où sera enregistrée l'utilisateur" + +#: admin/roleManagement/roleGeneric.tpl:40 +msgid "Select a base" +msgstr "Sélectionnez une base" + +#: admin/roleManagement/roleGeneric.tpl:48 +msgid "Phone number" +msgstr "Numéro de téléphone" + +#: admin/roleManagement/occupantSelect.tpl:6 +msgid "Select objects to add" +msgstr "Sélectionnez les objets à ajouter" + +#: admin/roleManagement/occupantSelect.tpl:20 +msgid "Filters" +msgstr "Filtres" + +#: admin/roleManagement/occupantSelect.tpl:27 +msgid "Select to search within subtrees" +msgstr "Sélectionner pour chercher dans le sous arbre" + +#: admin/roleManagement/occupantSelect.tpl:27 +msgid "Search in subtrees" +msgstr "Chercher dans les sous arbre" + +#: admin/roleManagement/occupantSelect.tpl:30 +msgid "Display objects of department" +msgstr "Afficher les objets du département" + +#: admin/roleManagement/occupantSelect.tpl:31 +msgid "Choose the department the search will be based on" +msgstr "Sélectionner le département où sera effectuée la recherche" + +#: admin/roleManagement/occupantSelect.tpl:34 +msgid "Display objects matching" +msgstr "Afficher les objets correspondants" + +#: admin/roleManagement/occupantSelect.tpl:35 +msgid "Regular expression for matching object names" +msgstr "Expression régulière pour trouver les objets correspondants" + diff --git a/gosa-plugins/rolemanagement/locale/it/LC_MESSAGES/messages.po b/gosa-plugins/rolemanagement/locale/it/LC_MESSAGES/messages.po new file mode 100644 index 000000000..61627feeb --- /dev/null +++ b/gosa-plugins/rolemanagement/locale/it/LC_MESSAGES/messages.po @@ -0,0 +1,239 @@ +# translation of messages.po to Italian +# Copyright (c) 2005 B-Open Solutions srl - http://www.bopen.it/ +# Copyright (c) 2005 Alessandro Amici +# Alessandro Amici , 2005. +msgid "" +msgstr "" +"Project-Id-Version: messages\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2009-07-03 17:43+0200\n" +"PO-Revision-Date: 2005-11-18 15:26+0100\n" +"Last-Translator: Alessandro Amici \n" +"Language-Team: Italian\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.9.1\n" + +#: admin/roleManagement/class_roleManagement.inc:26 +#: admin/roleManagement/class_roleGeneric.inc:335 +#: admin/roleManagement/main.inc:53 +#, fuzzy +msgid "Roles" +msgstr "Ruolo" + +#: admin/roleManagement/class_roleManagement.inc:27 +#, fuzzy +msgid "Manage roles" +msgstr "Utenti di Dominio" + +#: admin/roleManagement/class_roleManagement.inc:137 +#, fuzzy +msgid "Permission" +msgstr "Permessi" + +#: admin/roleManagement/class_roleManagement.inc:153 +#: admin/roleManagement/class_divListRole.inc:70 +#: admin/roleManagement/class_divListRole.inc:127 +#: admin/roleManagement/class_divListRole.inc:207 +msgid "Role" +msgstr "Ruolo" + +#: admin/roleManagement/class_roleManagement.inc:187 +#, fuzzy +msgid "Permission error" +msgstr "Permessi" + +#: admin/roleManagement/remove.tpl:2 +msgid "Warning" +msgstr "Attenzione" + +#: admin/roleManagement/remove.tpl:7 +msgid "" +"Please double check if you really want to do this since there is no way for " +"GOsa to get your data back." +msgstr "" + +#: admin/roleManagement/remove.tpl:10 +#, fuzzy +msgid "So - if you're sure - press 'Delete' to continue or 'Cancel' to abort." +msgstr "" +"Quindi - Se sei sicuro - premi Rimuovi per continuare o Annulla per abortire." + +#: admin/roleManagement/class_roleGeneric.inc:201 +#: admin/roleManagement/class_roleGeneric.inc:210 +#: admin/roleManagement/class_roleGeneric.inc:338 +#: admin/roleManagement/roleGeneric.tpl:11 +msgid "Name" +msgstr "Cognome" + +#: admin/roleManagement/class_roleGeneric.inc:231 +msgid "Unknown" +msgstr "" + +#: admin/roleManagement/class_roleGeneric.inc:249 +#: admin/roleManagement/class_roleGeneric.inc:283 +#, fuzzy +msgid "LDAP error" +msgstr "Errore LDAP" + +#: admin/roleManagement/class_roleGeneric.inc:329 +#: admin/roleManagement/roleGeneric.tpl:6 +msgid "Generic" +msgstr "Generale" + +#: admin/roleManagement/class_roleGeneric.inc:330 +#, fuzzy +msgid "Role generic" +msgstr "Cognome" + +#: admin/roleManagement/class_roleGeneric.inc:339 +#: admin/roleManagement/roleGeneric.tpl:19 +msgid "Description" +msgstr "Descrizione" + +#: admin/roleManagement/class_roleGeneric.inc:340 +#: admin/roleManagement/class_divListRole.inc:114 +#: admin/roleManagement/roleGeneric.tpl:29 +msgid "Base" +msgstr "Base" + +#: admin/roleManagement/class_roleGeneric.inc:341 +#, fuzzy +msgid "Telefon number" +msgstr "Numero di telefono" + +#: admin/roleManagement/class_roleGeneric.inc:342 +#: admin/roleManagement/roleGeneric.tpl:56 +#, fuzzy +msgid "Fax number" +msgstr "Numero di telefono" + +#: admin/roleManagement/class_roleGeneric.inc:343 +#: admin/roleManagement/roleGeneric.tpl:68 +msgid "Occupants" +msgstr "" + +#: admin/roleManagement/class_divListRole.inc:52 +#: admin/roleManagement/class_divListRole.inc:53 +#, fuzzy +msgid "List of roles" +msgstr "Lista degli utenti" + +#: admin/roleManagement/class_divListRole.inc:64 +#, fuzzy +msgid "Select all" +msgstr "Rimuovi" + +#: admin/roleManagement/class_divListRole.inc:70 +msgid "Department" +msgstr "Dipartimento" + +#: admin/roleManagement/class_divListRole.inc:71 +#: admin/roleManagement/class_divListRole.inc:120 +msgid "Actions" +msgstr "Azioni" + +#: admin/roleManagement/class_divListRole.inc:80 +#, fuzzy +msgid "Regular expression for matching role names" +msgstr "Espressioni regolare per selezionare il nome del gruppo" + +#: admin/roleManagement/class_divListRole.inc:117 +msgid "Submit department" +msgstr "Imposta dipartimento" + +#: admin/roleManagement/class_divListRole.inc:117 +msgid "Submit" +msgstr "" + +#: admin/roleManagement/class_divListRole.inc:125 +msgid "Create" +msgstr "Creare" + +#: admin/roleManagement/class_divListRole.inc:133 +msgid "Remove" +msgstr "Rimuovi" + +#: admin/roleManagement/class_divListRole.inc:171 +msgid "edit" +msgstr "modifica" + +#: admin/roleManagement/class_divListRole.inc:172 +msgid "Edit this entry" +msgstr "Modifica questo record" + +#: admin/roleManagement/class_divListRole.inc:176 +msgid "delete" +msgstr "elimina" + +#: admin/roleManagement/class_divListRole.inc:177 +msgid "Delete this entry" +msgstr "Elimina questo record" + +#: admin/roleManagement/class_divListRole.inc:224 +#, fuzzy +msgid "Number of listed roles" +msgstr "Nome del gruppo" + +#: admin/roleManagement/class_divListRole.inc:225 +#, fuzzy +msgid "Number of listed departments" +msgstr "Imposta dipartimento" + +#: admin/roleManagement/main.inc:57 +#, fuzzy +msgid "Role management" +msgstr "Riferimenti" + +#: admin/roleManagement/roleGeneric.tpl:34 +msgid "Choose subtree to place user in" +msgstr "Scegli il subtree per l'utente" + +#: admin/roleManagement/roleGeneric.tpl:40 +#, fuzzy +msgid "Select a base" +msgstr "Rimuovi" + +#: admin/roleManagement/roleGeneric.tpl:48 +msgid "Phone number" +msgstr "Numero di telefono" + +#: admin/roleManagement/occupantSelect.tpl:6 +msgid "Select objects to add" +msgstr "" + +#: admin/roleManagement/occupantSelect.tpl:20 +msgid "Filters" +msgstr "Filtri" + +#: admin/roleManagement/occupantSelect.tpl:27 +#, fuzzy +msgid "Select to search within subtrees" +msgstr "Seleziona per mostrare le applicazioni" + +#: admin/roleManagement/occupantSelect.tpl:27 +#, fuzzy +msgid "Search in subtrees" +msgstr "Seleziona per mostrare le applicazioni" + +#: admin/roleManagement/occupantSelect.tpl:30 +msgid "Display objects of department" +msgstr "" + +#: admin/roleManagement/occupantSelect.tpl:31 +msgid "Choose the department the search will be based on" +msgstr "Scegli il dipartimento di base per la ricerca" + +#: admin/roleManagement/occupantSelect.tpl:34 +msgid "Display objects matching" +msgstr "" + +#: admin/roleManagement/occupantSelect.tpl:35 +msgid "Regular expression for matching object names" +msgstr "" + +#, fuzzy +#~ msgid "role" +#~ msgstr "ACL" diff --git a/gosa-plugins/rolemanagement/locale/messages.po b/gosa-plugins/rolemanagement/locale/messages.po new file mode 100644 index 000000000..121cc73b2 --- /dev/null +++ b/gosa-plugins/rolemanagement/locale/messages.po @@ -0,0 +1,216 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2009-07-03 17:43+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#: admin/roleManagement/class_roleManagement.inc:26 +#: admin/roleManagement/class_roleGeneric.inc:335 +#: admin/roleManagement/main.inc:53 +msgid "Roles" +msgstr "" + +#: admin/roleManagement/class_roleManagement.inc:27 +msgid "Manage roles" +msgstr "" + +#: admin/roleManagement/class_roleManagement.inc:137 +msgid "Permission" +msgstr "" + +#: admin/roleManagement/class_roleManagement.inc:153 +#: admin/roleManagement/class_divListRole.inc:70 +#: admin/roleManagement/class_divListRole.inc:127 +#: admin/roleManagement/class_divListRole.inc:207 +msgid "Role" +msgstr "" + +#: admin/roleManagement/class_roleManagement.inc:187 +msgid "Permission error" +msgstr "" + +#: admin/roleManagement/remove.tpl:2 +msgid "Warning" +msgstr "" + +#: admin/roleManagement/remove.tpl:7 +msgid "" +"Please double check if you really want to do this since there is no way for " +"GOsa to get your data back." +msgstr "" + +#: admin/roleManagement/remove.tpl:10 +msgid "So - if you're sure - press 'Delete' to continue or 'Cancel' to abort." +msgstr "" + +#: admin/roleManagement/class_roleGeneric.inc:201 +#: admin/roleManagement/class_roleGeneric.inc:210 +#: admin/roleManagement/class_roleGeneric.inc:338 +#: admin/roleManagement/roleGeneric.tpl:11 +msgid "Name" +msgstr "" + +#: admin/roleManagement/class_roleGeneric.inc:231 +msgid "Unknown" +msgstr "" + +#: admin/roleManagement/class_roleGeneric.inc:249 +#: admin/roleManagement/class_roleGeneric.inc:283 +msgid "LDAP error" +msgstr "" + +#: admin/roleManagement/class_roleGeneric.inc:329 +#: admin/roleManagement/roleGeneric.tpl:6 +msgid "Generic" +msgstr "" + +#: admin/roleManagement/class_roleGeneric.inc:330 +msgid "Role generic" +msgstr "" + +#: admin/roleManagement/class_roleGeneric.inc:339 +#: admin/roleManagement/roleGeneric.tpl:19 +msgid "Description" +msgstr "" + +#: admin/roleManagement/class_roleGeneric.inc:340 +#: admin/roleManagement/class_divListRole.inc:114 +#: admin/roleManagement/roleGeneric.tpl:29 +msgid "Base" +msgstr "" + +#: admin/roleManagement/class_roleGeneric.inc:341 +msgid "Telefon number" +msgstr "" + +#: admin/roleManagement/class_roleGeneric.inc:342 +#: admin/roleManagement/roleGeneric.tpl:56 +msgid "Fax number" +msgstr "" + +#: admin/roleManagement/class_roleGeneric.inc:343 +#: admin/roleManagement/roleGeneric.tpl:68 +msgid "Occupants" +msgstr "" + +#: admin/roleManagement/class_divListRole.inc:52 +#: admin/roleManagement/class_divListRole.inc:53 +msgid "List of roles" +msgstr "" + +#: admin/roleManagement/class_divListRole.inc:64 +msgid "Select all" +msgstr "" + +#: admin/roleManagement/class_divListRole.inc:70 +msgid "Department" +msgstr "" + +#: admin/roleManagement/class_divListRole.inc:71 +#: admin/roleManagement/class_divListRole.inc:120 +msgid "Actions" +msgstr "" + +#: admin/roleManagement/class_divListRole.inc:80 +msgid "Regular expression for matching role names" +msgstr "" + +#: admin/roleManagement/class_divListRole.inc:117 +msgid "Submit department" +msgstr "" + +#: admin/roleManagement/class_divListRole.inc:117 +msgid "Submit" +msgstr "" + +#: admin/roleManagement/class_divListRole.inc:125 +msgid "Create" +msgstr "" + +#: admin/roleManagement/class_divListRole.inc:133 +msgid "Remove" +msgstr "" + +#: admin/roleManagement/class_divListRole.inc:171 +msgid "edit" +msgstr "" + +#: admin/roleManagement/class_divListRole.inc:172 +msgid "Edit this entry" +msgstr "" + +#: admin/roleManagement/class_divListRole.inc:176 +msgid "delete" +msgstr "" + +#: admin/roleManagement/class_divListRole.inc:177 +msgid "Delete this entry" +msgstr "" + +#: admin/roleManagement/class_divListRole.inc:224 +msgid "Number of listed roles" +msgstr "" + +#: admin/roleManagement/class_divListRole.inc:225 +msgid "Number of listed departments" +msgstr "" + +#: admin/roleManagement/main.inc:57 +msgid "Role management" +msgstr "" + +#: admin/roleManagement/roleGeneric.tpl:34 +msgid "Choose subtree to place user in" +msgstr "" + +#: admin/roleManagement/roleGeneric.tpl:40 +msgid "Select a base" +msgstr "" + +#: admin/roleManagement/roleGeneric.tpl:48 +msgid "Phone number" +msgstr "" + +#: admin/roleManagement/occupantSelect.tpl:6 +msgid "Select objects to add" +msgstr "" + +#: admin/roleManagement/occupantSelect.tpl:20 +msgid "Filters" +msgstr "" + +#: admin/roleManagement/occupantSelect.tpl:27 +msgid "Select to search within subtrees" +msgstr "" + +#: admin/roleManagement/occupantSelect.tpl:27 +msgid "Search in subtrees" +msgstr "" + +#: admin/roleManagement/occupantSelect.tpl:30 +msgid "Display objects of department" +msgstr "" + +#: admin/roleManagement/occupantSelect.tpl:31 +msgid "Choose the department the search will be based on" +msgstr "" + +#: admin/roleManagement/occupantSelect.tpl:34 +msgid "Display objects matching" +msgstr "" + +#: admin/roleManagement/occupantSelect.tpl:35 +msgid "Regular expression for matching object names" +msgstr "" diff --git a/gosa-plugins/rolemanagement/locale/nl/LC_MESSAGES/messages.po b/gosa-plugins/rolemanagement/locale/nl/LC_MESSAGES/messages.po new file mode 100644 index 000000000..f6df1fb10 --- /dev/null +++ b/gosa-plugins/rolemanagement/locale/nl/LC_MESSAGES/messages.po @@ -0,0 +1,242 @@ +# translation of messages.po to Dutch +# GOsa2 Translations +# Copyright (C) 2003 GONICUS GmbH, Germany +# This file is distributed under the same license as the GOsa2 package. +# Alfred Schroeder , 2004. +# Cajus Pollmeier , 2004. +# +# Translator: +# Niels Klomp (CareWorks ICT Services) , 2005. +msgid "" +msgstr "" +"Project-Id-Version: messages\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2009-07-03 17:43+0200\n" +"PO-Revision-Date: 2006-06-02 16:58+0100\n" +"Last-Translator: Niels Klomp (CareWorks ICT Services) \n" +"Language-Team: CareWorks ICT Services \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: admin/roleManagement/class_roleManagement.inc:26 +#: admin/roleManagement/class_roleGeneric.inc:335 +#: admin/roleManagement/main.inc:53 +#, fuzzy +msgid "Roles" +msgstr "Funktie" + +#: admin/roleManagement/class_roleManagement.inc:27 +#, fuzzy +msgid "Manage roles" +msgstr "Windows gebruikers" + +#: admin/roleManagement/class_roleManagement.inc:137 +#, fuzzy +msgid "Permission" +msgstr "Rechten" + +#: admin/roleManagement/class_roleManagement.inc:153 +#: admin/roleManagement/class_divListRole.inc:70 +#: admin/roleManagement/class_divListRole.inc:127 +#: admin/roleManagement/class_divListRole.inc:207 +msgid "Role" +msgstr "Funktie" + +#: admin/roleManagement/class_roleManagement.inc:187 +#, fuzzy +msgid "Permission error" +msgstr "Rechten" + +#: admin/roleManagement/remove.tpl:2 +msgid "Warning" +msgstr "Waarschuwing" + +#: admin/roleManagement/remove.tpl:7 +msgid "" +"Please double check if you really want to do this since there is no way for " +"GOsa to get your data back." +msgstr "" +"Controleer a.u.b. of u dit daadwerkelijk wil doen, aangezien er geen " +"mogelijkheid voor GOsa is om uw data terug te krijgen." + +#: admin/roleManagement/remove.tpl:10 +msgid "So - if you're sure - press 'Delete' to continue or 'Cancel' to abort." +msgstr "" +"Indien u zeker bent drukt u dan 'Verwijderen' om door te gaan of 'Annuleren' " +"om te annuleren." + +#: admin/roleManagement/class_roleGeneric.inc:201 +#: admin/roleManagement/class_roleGeneric.inc:210 +#: admin/roleManagement/class_roleGeneric.inc:338 +#: admin/roleManagement/roleGeneric.tpl:11 +msgid "Name" +msgstr "Naam" + +#: admin/roleManagement/class_roleGeneric.inc:231 +msgid "Unknown" +msgstr "Onbekend" + +#: admin/roleManagement/class_roleGeneric.inc:249 +#: admin/roleManagement/class_roleGeneric.inc:283 +#, fuzzy +msgid "LDAP error" +msgstr "LDAP fout:" + +#: admin/roleManagement/class_roleGeneric.inc:329 +#: admin/roleManagement/roleGeneric.tpl:6 +msgid "Generic" +msgstr "Algemeen" + +#: admin/roleManagement/class_roleGeneric.inc:330 +#, fuzzy +msgid "Role generic" +msgstr "Hernoemen" + +#: admin/roleManagement/class_roleGeneric.inc:339 +#: admin/roleManagement/roleGeneric.tpl:19 +msgid "Description" +msgstr "Omschrijving" + +#: admin/roleManagement/class_roleGeneric.inc:340 +#: admin/roleManagement/class_divListRole.inc:114 +#: admin/roleManagement/roleGeneric.tpl:29 +msgid "Base" +msgstr "Basis" + +#: admin/roleManagement/class_roleGeneric.inc:341 +#, fuzzy +msgid "Telefon number" +msgstr "Telefoonnummer" + +#: admin/roleManagement/class_roleGeneric.inc:342 +#: admin/roleManagement/roleGeneric.tpl:56 +#, fuzzy +msgid "Fax number" +msgstr "Serienummer" + +#: admin/roleManagement/class_roleGeneric.inc:343 +#: admin/roleManagement/roleGeneric.tpl:68 +msgid "Occupants" +msgstr "" + +#: admin/roleManagement/class_divListRole.inc:52 +#: admin/roleManagement/class_divListRole.inc:53 +#, fuzzy +msgid "List of roles" +msgstr "Lijst met gebruikers" + +#: admin/roleManagement/class_divListRole.inc:64 +#, fuzzy +msgid "Select all" +msgstr "Selecteer" + +#: admin/roleManagement/class_divListRole.inc:70 +msgid "Department" +msgstr "Afdeling" + +#: admin/roleManagement/class_divListRole.inc:71 +#: admin/roleManagement/class_divListRole.inc:120 +msgid "Actions" +msgstr "Acties" + +#: admin/roleManagement/class_divListRole.inc:80 +#, fuzzy +msgid "Regular expression for matching role names" +msgstr "Reguliere expressie voor overeenkomende groepnamen" + +#: admin/roleManagement/class_divListRole.inc:117 +msgid "Submit department" +msgstr "Verwerk afdeling" + +#: admin/roleManagement/class_divListRole.inc:117 +msgid "Submit" +msgstr "Verwerk" + +#: admin/roleManagement/class_divListRole.inc:125 +msgid "Create" +msgstr "Aanmaken" + +#: admin/roleManagement/class_divListRole.inc:133 +msgid "Remove" +msgstr "Verwijderen" + +#: admin/roleManagement/class_divListRole.inc:171 +msgid "edit" +msgstr "Bewerk" + +#: admin/roleManagement/class_divListRole.inc:172 +msgid "Edit this entry" +msgstr "Bewerk deze invoer" + +#: admin/roleManagement/class_divListRole.inc:176 +msgid "delete" +msgstr "Verwijder" + +#: admin/roleManagement/class_divListRole.inc:177 +msgid "Delete this entry" +msgstr "Verwijder deze invoer" + +#: admin/roleManagement/class_divListRole.inc:224 +#, fuzzy +msgid "Number of listed roles" +msgstr "Naam van de groep" + +#: admin/roleManagement/class_divListRole.inc:225 +#, fuzzy +msgid "Number of listed departments" +msgstr "Naam van de afdeling" + +#: admin/roleManagement/main.inc:57 +#, fuzzy +msgid "Role management" +msgstr "Blokkeerlijst beheer" + +#: admin/roleManagement/roleGeneric.tpl:34 +msgid "Choose subtree to place user in" +msgstr "Kies de subtree waaronder de gebruiker geplaatst wordt" + +#: admin/roleManagement/roleGeneric.tpl:40 +msgid "Select a base" +msgstr "Selecteer een basis" + +#: admin/roleManagement/roleGeneric.tpl:48 +msgid "Phone number" +msgstr "Telefoonnummer" + +#: admin/roleManagement/occupantSelect.tpl:6 +msgid "Select objects to add" +msgstr "Selecteer de toe te voegen objecten" + +#: admin/roleManagement/occupantSelect.tpl:20 +msgid "Filters" +msgstr "Filters" + +#: admin/roleManagement/occupantSelect.tpl:27 +msgid "Select to search within subtrees" +msgstr "Selecteer om binnen subonderdelen te zoeken" + +#: admin/roleManagement/occupantSelect.tpl:27 +#, fuzzy +msgid "Search in subtrees" +msgstr "Zoek binnen subtree" + +#: admin/roleManagement/occupantSelect.tpl:30 +msgid "Display objects of department" +msgstr "Toon objecten van afdeling" + +#: admin/roleManagement/occupantSelect.tpl:31 +msgid "Choose the department the search will be based on" +msgstr "Selecteer de afdeling waarbinnen gezocht zal worden" + +#: admin/roleManagement/occupantSelect.tpl:34 +msgid "Display objects matching" +msgstr "Toon overeenkomende objecten" + +#: admin/roleManagement/occupantSelect.tpl:35 +msgid "Regular expression for matching object names" +msgstr "Reguliere expressie voor overeenkomende objectnamen" + +#, fuzzy +#~ msgid "role" +#~ msgstr "Rechten" diff --git a/gosa-plugins/rolemanagement/locale/pl/LC_MESSAGES/messages.po b/gosa-plugins/rolemanagement/locale/pl/LC_MESSAGES/messages.po new file mode 100644 index 000000000..34247cbb4 --- /dev/null +++ b/gosa-plugins/rolemanagement/locale/pl/LC_MESSAGES/messages.po @@ -0,0 +1,233 @@ +msgid "" +msgstr "" +"Project-Id-Version: polski\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2009-07-03 17:43+0200\n" +"PO-Revision-Date: 2007-07-14 21:45+0100\n" +"Last-Translator: Piotr Rybicki \n" +"Language-Team: Piotr Rybicki \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-Language: Polish\n" +"X-Poedit-Country: POLAND\n" +"X-Poedit-SourceCharset: iso-8859-2\n" +"X-Poedit-Basepath: tedst\n" + +#: admin/roleManagement/class_roleManagement.inc:26 +#: admin/roleManagement/class_roleGeneric.inc:335 +#: admin/roleManagement/main.inc:53 +#, fuzzy +msgid "Roles" +msgstr "Pełniona funkcja" + +#: admin/roleManagement/class_roleManagement.inc:27 +#, fuzzy +msgid "Manage roles" +msgstr "Użytkownicy domeny" + +#: admin/roleManagement/class_roleManagement.inc:137 +#, fuzzy +msgid "Permission" +msgstr "Uprawnienia" + +#: admin/roleManagement/class_roleManagement.inc:153 +#: admin/roleManagement/class_divListRole.inc:70 +#: admin/roleManagement/class_divListRole.inc:127 +#: admin/roleManagement/class_divListRole.inc:207 +msgid "Role" +msgstr "Pełniona funkcja" + +#: admin/roleManagement/class_roleManagement.inc:187 +#, fuzzy +msgid "Permission error" +msgstr "Uprawnienia" + +#: admin/roleManagement/remove.tpl:2 +msgid "Warning" +msgstr "Ostrzeżenie" + +#: admin/roleManagement/remove.tpl:7 +msgid "" +"Please double check if you really want to do this since there is no way for " +"GOsa to get your data back." +msgstr "Proszę upewnić się czy kontynuować, gdyż nie ma możliwości powrotu." + +#: admin/roleManagement/remove.tpl:10 +msgid "So - if you're sure - press 'Delete' to continue or 'Cancel' to abort." +msgstr "" +"Jeśli jesteś pewien - naciśnij 'Usuń' aby kontynuować lub 'Anuluj' aby " +"anulować." + +#: admin/roleManagement/class_roleGeneric.inc:201 +#: admin/roleManagement/class_roleGeneric.inc:210 +#: admin/roleManagement/class_roleGeneric.inc:338 +#: admin/roleManagement/roleGeneric.tpl:11 +msgid "Name" +msgstr "Imię" + +#: admin/roleManagement/class_roleGeneric.inc:231 +msgid "Unknown" +msgstr "Nieznane" + +#: admin/roleManagement/class_roleGeneric.inc:249 +#: admin/roleManagement/class_roleGeneric.inc:283 +#, fuzzy +msgid "LDAP error" +msgstr "błąd LDAP:" + +#: admin/roleManagement/class_roleGeneric.inc:329 +#: admin/roleManagement/roleGeneric.tpl:6 +msgid "Generic" +msgstr "Ogólne" + +#: admin/roleManagement/class_roleGeneric.inc:330 +#, fuzzy +msgid "Role generic" +msgstr "Zmień nazwę" + +#: admin/roleManagement/class_roleGeneric.inc:339 +#: admin/roleManagement/roleGeneric.tpl:19 +msgid "Description" +msgstr "Opis" + +#: admin/roleManagement/class_roleGeneric.inc:340 +#: admin/roleManagement/class_divListRole.inc:114 +#: admin/roleManagement/roleGeneric.tpl:29 +msgid "Base" +msgstr "Kontener" + +#: admin/roleManagement/class_roleGeneric.inc:341 +msgid "Telefon number" +msgstr "Numer telefonu" + +#: admin/roleManagement/class_roleGeneric.inc:342 +#: admin/roleManagement/roleGeneric.tpl:56 +msgid "Fax number" +msgstr "Numer fax" + +#: admin/roleManagement/class_roleGeneric.inc:343 +#: admin/roleManagement/roleGeneric.tpl:68 +msgid "Occupants" +msgstr "" + +#: admin/roleManagement/class_divListRole.inc:52 +#: admin/roleManagement/class_divListRole.inc:53 +#, fuzzy +msgid "List of roles" +msgstr "Lista użytkowników" + +#: admin/roleManagement/class_divListRole.inc:64 +#, fuzzy +msgid "Select all" +msgstr "Wybierz" + +#: admin/roleManagement/class_divListRole.inc:70 +msgid "Department" +msgstr "Departament" + +#: admin/roleManagement/class_divListRole.inc:71 +#: admin/roleManagement/class_divListRole.inc:120 +msgid "Actions" +msgstr "Akcje" + +#: admin/roleManagement/class_divListRole.inc:80 +#, fuzzy +msgid "Regular expression for matching role names" +msgstr "Wyrażenie regularne dla dopasowania nazw grup" + +#: admin/roleManagement/class_divListRole.inc:117 +msgid "Submit department" +msgstr "Zatwierdź departament" + +#: admin/roleManagement/class_divListRole.inc:117 +msgid "Submit" +msgstr "Wyślij" + +#: admin/roleManagement/class_divListRole.inc:125 +msgid "Create" +msgstr "Utwórz" + +#: admin/roleManagement/class_divListRole.inc:133 +msgid "Remove" +msgstr "Usuń" + +#: admin/roleManagement/class_divListRole.inc:171 +msgid "edit" +msgstr "edytuj" + +#: admin/roleManagement/class_divListRole.inc:172 +msgid "Edit this entry" +msgstr "Edytuj ten obiekt" + +#: admin/roleManagement/class_divListRole.inc:176 +msgid "delete" +msgstr "Usuń" + +#: admin/roleManagement/class_divListRole.inc:177 +msgid "Delete this entry" +msgstr "Usuń ten obiekt" + +#: admin/roleManagement/class_divListRole.inc:224 +#, fuzzy +msgid "Number of listed roles" +msgstr "Nazwa grupy" + +#: admin/roleManagement/class_divListRole.inc:225 +#, fuzzy +msgid "Number of listed departments" +msgstr "Nazwa departamentu" + +#: admin/roleManagement/main.inc:57 +#, fuzzy +msgid "Role management" +msgstr "Zarządzanie ACL" + +#: admin/roleManagement/roleGeneric.tpl:34 +msgid "Choose subtree to place user in" +msgstr "Wybierz poddrzewo do umieszczenia konta." + +#: admin/roleManagement/roleGeneric.tpl:40 +msgid "Select a base" +msgstr "Wybierz bazę" + +#: admin/roleManagement/roleGeneric.tpl:48 +msgid "Phone number" +msgstr "Numer telefonu" + +#: admin/roleManagement/occupantSelect.tpl:6 +msgid "Select objects to add" +msgstr "Wybierz obiekty do dodania" + +#: admin/roleManagement/occupantSelect.tpl:20 +msgid "Filters" +msgstr "Filtry" + +#: admin/roleManagement/occupantSelect.tpl:27 +msgid "Select to search within subtrees" +msgstr "Zaznacz aby wyszukiwać wewnątrz poddrzew" + +#: admin/roleManagement/occupantSelect.tpl:27 +#, fuzzy +msgid "Search in subtrees" +msgstr "Szukaj wewnątrz tego poddrzewa" + +#: admin/roleManagement/occupantSelect.tpl:30 +msgid "Display objects of department" +msgstr "Wyświetl obiekty departamentu" + +#: admin/roleManagement/occupantSelect.tpl:31 +msgid "Choose the department the search will be based on" +msgstr "Wybierz departament na którym wyszukiwanie będzie bazować" + +#: admin/roleManagement/occupantSelect.tpl:34 +msgid "Display objects matching" +msgstr "Wyświetl obiekty pasujące" + +#: admin/roleManagement/occupantSelect.tpl:35 +msgid "Regular expression for matching object names" +msgstr "Wyrażenie regularne dla dopasowania nazw obiektów" + +#, fuzzy +#~ msgid "role" +#~ msgstr "ACLe" diff --git a/gosa-plugins/rolemanagement/locale/ru/LC_MESSAGES/messages.po b/gosa-plugins/rolemanagement/locale/ru/LC_MESSAGES/messages.po new file mode 100644 index 000000000..fb06deff3 --- /dev/null +++ b/gosa-plugins/rolemanagement/locale/ru/LC_MESSAGES/messages.po @@ -0,0 +1,247 @@ +# Translation of messages.po to Russian +# Valia V. Vaneeva , 2004. +# $Id: messages.po,v 1.61 2005/04/18 10:37:13 migor-guest Exp $ +msgid "" +msgstr "" +"Project-Id-Version: messages\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2009-07-03 17:43+0200\n" +"PO-Revision-Date: 2005-04-18 14:35+0300\n" +"Last-Translator: Igor Muratov \n" +"Language-Team: ALT Linux Team\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: poEdit 1.3.1\n" + +#: admin/roleManagement/class_roleManagement.inc:26 +#: admin/roleManagement/class_roleGeneric.inc:335 +#: admin/roleManagement/main.inc:53 +#, fuzzy +msgid "Roles" +msgstr "Роль" + +#: admin/roleManagement/class_roleManagement.inc:27 +#, fuzzy +msgid "Manage roles" +msgstr "Пользователи домена" + +#: admin/roleManagement/class_roleManagement.inc:137 +#, fuzzy +msgid "Permission" +msgstr "Права для членов группы" + +#: admin/roleManagement/class_roleManagement.inc:153 +#: admin/roleManagement/class_divListRole.inc:70 +#: admin/roleManagement/class_divListRole.inc:127 +#: admin/roleManagement/class_divListRole.inc:207 +msgid "Role" +msgstr "Роль" + +#: admin/roleManagement/class_roleManagement.inc:187 +#, fuzzy +msgid "Permission error" +msgstr "Права для членов группы" + +#: admin/roleManagement/remove.tpl:2 +msgid "Warning" +msgstr "Предупреждение" + +#: admin/roleManagement/remove.tpl:7 +msgid "" +"Please double check if you really want to do this since there is no way for " +"GOsa to get your data back." +msgstr "" +"Подумайте еще раз, действительно ли вам нужно удаление, так как GOsa не " +"сможет восстановить эти данные." + +#: admin/roleManagement/remove.tpl:10 +#, fuzzy +msgid "So - if you're sure - press 'Delete' to continue or 'Cancel' to abort." +msgstr "" +"Если вы уверены в своих действиях, нажмите на кнопку Удалить, иначе " +"нажмите Отмена." + +#: admin/roleManagement/class_roleGeneric.inc:201 +#: admin/roleManagement/class_roleGeneric.inc:210 +#: admin/roleManagement/class_roleGeneric.inc:338 +#: admin/roleManagement/roleGeneric.tpl:11 +msgid "Name" +msgstr "Фамилия" + +#: admin/roleManagement/class_roleGeneric.inc:231 +#, fuzzy +msgid "Unknown" +msgstr "состояние неизвестно" + +#: admin/roleManagement/class_roleGeneric.inc:249 +#: admin/roleManagement/class_roleGeneric.inc:283 +#, fuzzy +msgid "LDAP error" +msgstr "Ошибка LDAP:" + +#: admin/roleManagement/class_roleGeneric.inc:329 +#: admin/roleManagement/roleGeneric.tpl:6 +msgid "Generic" +msgstr "Общее" + +#: admin/roleManagement/class_roleGeneric.inc:330 +#, fuzzy +msgid "Role generic" +msgstr "Имя сервера" + +#: admin/roleManagement/class_roleGeneric.inc:339 +#: admin/roleManagement/roleGeneric.tpl:19 +msgid "Description" +msgstr "Описание" + +#: admin/roleManagement/class_roleGeneric.inc:340 +#: admin/roleManagement/class_divListRole.inc:114 +#: admin/roleManagement/roleGeneric.tpl:29 +msgid "Base" +msgstr "Ветка" + +#: admin/roleManagement/class_roleGeneric.inc:341 +#, fuzzy +msgid "Telefon number" +msgstr "Телефонные номера" + +#: admin/roleManagement/class_roleGeneric.inc:342 +#: admin/roleManagement/roleGeneric.tpl:56 +#, fuzzy +msgid "Fax number" +msgstr "Терминал" + +#: admin/roleManagement/class_roleGeneric.inc:343 +#: admin/roleManagement/roleGeneric.tpl:68 +msgid "Occupants" +msgstr "" + +#: admin/roleManagement/class_divListRole.inc:52 +#: admin/roleManagement/class_divListRole.inc:53 +#, fuzzy +msgid "List of roles" +msgstr "Список пользователей" + +#: admin/roleManagement/class_divListRole.inc:64 +#, fuzzy +msgid "Select all" +msgstr "Удалить" + +#: admin/roleManagement/class_divListRole.inc:70 +msgid "Department" +msgstr "Подразделение" + +#: admin/roleManagement/class_divListRole.inc:71 +#: admin/roleManagement/class_divListRole.inc:120 +msgid "Actions" +msgstr "Действия" + +#: admin/roleManagement/class_divListRole.inc:80 +#, fuzzy +msgid "Regular expression for matching role names" +msgstr "Регулярное выражение, соответствующее именам групп" + +#: admin/roleManagement/class_divListRole.inc:117 +#, fuzzy +msgid "Submit department" +msgstr "Показать подразделения" + +#: admin/roleManagement/class_divListRole.inc:117 +msgid "Submit" +msgstr "" + +#: admin/roleManagement/class_divListRole.inc:125 +msgid "Create" +msgstr "Создать" + +#: admin/roleManagement/class_divListRole.inc:133 +msgid "Remove" +msgstr "Удалить" + +#: admin/roleManagement/class_divListRole.inc:171 +#, fuzzy +msgid "edit" +msgstr "Изменить" + +#: admin/roleManagement/class_divListRole.inc:172 +#, fuzzy +msgid "Edit this entry" +msgstr "Редактиовать объект" + +#: admin/roleManagement/class_divListRole.inc:176 +#, fuzzy +msgid "delete" +msgstr "Удалить" + +#: admin/roleManagement/class_divListRole.inc:177 +#, fuzzy +msgid "Delete this entry" +msgstr "Удалить" + +#: admin/roleManagement/class_divListRole.inc:224 +#, fuzzy +msgid "Number of listed roles" +msgstr "Название группы" + +#: admin/roleManagement/class_divListRole.inc:225 +#, fuzzy +msgid "Number of listed departments" +msgstr "Подразделение" + +#: admin/roleManagement/main.inc:57 +#, fuzzy +msgid "Role management" +msgstr "Управление подразделениями" + +#: admin/roleManagement/roleGeneric.tpl:34 +msgid "Choose subtree to place user in" +msgstr "Выберите ветку для пользователя" + +#: admin/roleManagement/roleGeneric.tpl:40 +#, fuzzy +msgid "Select a base" +msgstr "Выберите, чтобы просмотреть серверы" + +#: admin/roleManagement/roleGeneric.tpl:48 +#, fuzzy +msgid "Phone number" +msgstr "Телефонные номера" + +#: admin/roleManagement/occupantSelect.tpl:6 +msgid "Select objects to add" +msgstr "Выбрать объекты для добавления" + +#: admin/roleManagement/occupantSelect.tpl:20 +msgid "Filters" +msgstr "Фильтры" + +#: admin/roleManagement/occupantSelect.tpl:27 +#, fuzzy +msgid "Select to search within subtrees" +msgstr "Искать в поддеревьях" + +#: admin/roleManagement/occupantSelect.tpl:27 +#, fuzzy +msgid "Search in subtrees" +msgstr "Искать в поддеревьях" + +#: admin/roleManagement/occupantSelect.tpl:30 +msgid "Display objects of department" +msgstr "Показать объекты подразделения" + +#: admin/roleManagement/occupantSelect.tpl:31 +msgid "Choose the department the search will be based on" +msgstr "Выбрать раздел, для которого будет осуществлен поиск" + +#: admin/roleManagement/occupantSelect.tpl:34 +msgid "Display objects matching" +msgstr "Показать совпадения объектов" + +#: admin/roleManagement/occupantSelect.tpl:35 +msgid "Regular expression for matching object names" +msgstr "Регулярное выражение, соответствующее именам объектов" + +#, fuzzy +#~ msgid "role" +#~ msgstr "Доступ" diff --git a/gosa-plugins/rolemanagement/locale/zh/LC_MESSAGES/messages.po b/gosa-plugins/rolemanagement/locale/zh/LC_MESSAGES/messages.po new file mode 100644 index 000000000..9f035b219 --- /dev/null +++ b/gosa-plugins/rolemanagement/locale/zh/LC_MESSAGES/messages.po @@ -0,0 +1,235 @@ +# translation of messages.po to Chinese Simplified +# Copyright (C) 2003 GONICUS GmbH, Germany +# This file is distributed under the same license as the GOsa2 package. +# +# Jiang Xin , 2007. +msgid "" +msgstr "" +"Project-Id-Version: messages\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2009-07-03 17:43+0200\n" +"PO-Revision-Date: 2007-06-03 12:27+0800\n" +"Last-Translator: Jiang Xin \n" +"Language-Team: Chinese Simplified \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" + +#: admin/roleManagement/class_roleManagement.inc:26 +#: admin/roleManagement/class_roleGeneric.inc:335 +#: admin/roleManagement/main.inc:53 +#, fuzzy +msgid "Roles" +msgstr "角色" + +#: admin/roleManagement/class_roleManagement.inc:27 +#, fuzzy +msgid "Manage roles" +msgstr "域用户" + +#: admin/roleManagement/class_roleManagement.inc:137 +#, fuzzy +msgid "Permission" +msgstr "允许" + +#: admin/roleManagement/class_roleManagement.inc:153 +#: admin/roleManagement/class_divListRole.inc:70 +#: admin/roleManagement/class_divListRole.inc:127 +#: admin/roleManagement/class_divListRole.inc:207 +msgid "Role" +msgstr "角色" + +#: admin/roleManagement/class_roleManagement.inc:187 +#, fuzzy +msgid "Permission error" +msgstr "允许" + +#: admin/roleManagement/remove.tpl:2 +msgid "Warning" +msgstr "警告" + +#: admin/roleManagement/remove.tpl:7 +msgid "" +"Please double check if you really want to do this since there is no way for " +"GOsa to get your data back." +msgstr "请再次检查您是否要这么做,因为 GOsa 没有办法将您的数据找回。" + +#: admin/roleManagement/remove.tpl:10 +msgid "So - if you're sure - press 'Delete' to continue or 'Cancel' to abort." +msgstr "所以,如果您确定,请按“删除”继续,否则按“取消”退出。" + +#: admin/roleManagement/class_roleGeneric.inc:201 +#: admin/roleManagement/class_roleGeneric.inc:210 +#: admin/roleManagement/class_roleGeneric.inc:338 +#: admin/roleManagement/roleGeneric.tpl:11 +msgid "Name" +msgstr "名称" + +#: admin/roleManagement/class_roleGeneric.inc:231 +msgid "Unknown" +msgstr "未知" + +#: admin/roleManagement/class_roleGeneric.inc:249 +#: admin/roleManagement/class_roleGeneric.inc:283 +#, fuzzy +msgid "LDAP error" +msgstr "LDAP 错误:" + +#: admin/roleManagement/class_roleGeneric.inc:329 +#: admin/roleManagement/roleGeneric.tpl:6 +msgid "Generic" +msgstr "通用配置" + +#: admin/roleManagement/class_roleGeneric.inc:330 +#, fuzzy +msgid "Role generic" +msgstr "重命名" + +#: admin/roleManagement/class_roleGeneric.inc:339 +#: admin/roleManagement/roleGeneric.tpl:19 +msgid "Description" +msgstr "描述" + +#: admin/roleManagement/class_roleGeneric.inc:340 +#: admin/roleManagement/class_divListRole.inc:114 +#: admin/roleManagement/roleGeneric.tpl:29 +msgid "Base" +msgstr "位置" + +#: admin/roleManagement/class_roleGeneric.inc:341 +#, fuzzy +msgid "Telefon number" +msgstr "电话号码" + +#: admin/roleManagement/class_roleGeneric.inc:342 +#: admin/roleManagement/roleGeneric.tpl:56 +#, fuzzy +msgid "Fax number" +msgstr "系列号" + +#: admin/roleManagement/class_roleGeneric.inc:343 +#: admin/roleManagement/roleGeneric.tpl:68 +msgid "Occupants" +msgstr "" + +#: admin/roleManagement/class_divListRole.inc:52 +#: admin/roleManagement/class_divListRole.inc:53 +#, fuzzy +msgid "List of roles" +msgstr "用户列表" + +#: admin/roleManagement/class_divListRole.inc:64 +#, fuzzy +msgid "Select all" +msgstr "选择" + +#: admin/roleManagement/class_divListRole.inc:70 +msgid "Department" +msgstr "部门" + +#: admin/roleManagement/class_divListRole.inc:71 +#: admin/roleManagement/class_divListRole.inc:120 +msgid "Actions" +msgstr "动作" + +#: admin/roleManagement/class_divListRole.inc:80 +#, fuzzy +msgid "Regular expression for matching role names" +msgstr "用于匹配组名的正则表达式" + +#: admin/roleManagement/class_divListRole.inc:117 +msgid "Submit department" +msgstr "提交部门" + +#: admin/roleManagement/class_divListRole.inc:117 +msgid "Submit" +msgstr "提交" + +#: admin/roleManagement/class_divListRole.inc:125 +msgid "Create" +msgstr "创建" + +#: admin/roleManagement/class_divListRole.inc:133 +msgid "Remove" +msgstr "删除" + +#: admin/roleManagement/class_divListRole.inc:171 +msgid "edit" +msgstr "编辑" + +#: admin/roleManagement/class_divListRole.inc:172 +msgid "Edit this entry" +msgstr "编辑这条记录" + +#: admin/roleManagement/class_divListRole.inc:176 +msgid "delete" +msgstr "删除" + +#: admin/roleManagement/class_divListRole.inc:177 +msgid "Delete this entry" +msgstr "删除这个条目" + +#: admin/roleManagement/class_divListRole.inc:224 +#, fuzzy +msgid "Number of listed roles" +msgstr "组名称" + +#: admin/roleManagement/class_divListRole.inc:225 +#, fuzzy +msgid "Number of listed departments" +msgstr "部门名称" + +#: admin/roleManagement/main.inc:57 +#, fuzzy +msgid "Role management" +msgstr "管理" + +#: admin/roleManagement/roleGeneric.tpl:34 +msgid "Choose subtree to place user in" +msgstr "将用户放到所选择子树中" + +#: admin/roleManagement/roleGeneric.tpl:40 +msgid "Select a base" +msgstr "选择一个位置" + +#: admin/roleManagement/roleGeneric.tpl:48 +msgid "Phone number" +msgstr "电话号码" + +#: admin/roleManagement/occupantSelect.tpl:6 +msgid "Select objects to add" +msgstr "选择要添加的对象" + +#: admin/roleManagement/occupantSelect.tpl:20 +msgid "Filters" +msgstr "过滤器" + +#: admin/roleManagement/occupantSelect.tpl:27 +msgid "Select to search within subtrees" +msgstr "选择在子树中查询" + +#: admin/roleManagement/occupantSelect.tpl:27 +#, fuzzy +msgid "Search in subtrees" +msgstr "在子树中查找" + +#: admin/roleManagement/occupantSelect.tpl:30 +msgid "Display objects of department" +msgstr "选择查看部门对象" + +#: admin/roleManagement/occupantSelect.tpl:31 +msgid "Choose the department the search will be based on" +msgstr "选择一个部门来做查询" + +#: admin/roleManagement/occupantSelect.tpl:34 +msgid "Display objects matching" +msgstr "显示匹配对象" + +#: admin/roleManagement/occupantSelect.tpl:35 +msgid "Regular expression for matching object names" +msgstr "匹配对象名的正则表达式" + +#, fuzzy +#~ msgid "role" +#~ msgstr "MAC 地址" diff --git a/gosa-plugins/rolemanagement/plugin.dsc b/gosa-plugins/rolemanagement/plugin.dsc new file mode 100644 index 000000000..51aa51228 --- /dev/null +++ b/gosa-plugins/rolemanagement/plugin.dsc @@ -0,0 +1,6 @@ +[gosa-plugin] +name = rolemanagement +description = "Role Management plugin" +version = 2.6.5 +author = "Cajus Pollmeier " +homepage = https://oss.gonicus.de/labs/gosa/