summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: dc99734)
raw | patch | inline | side by side (parent: dc99734)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 11 May 2006 08:38:46 +0000 (08:38 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 11 May 2006 08:38:46 +0000 (08:38 +0000) |
* Added missing translation
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3281 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3281 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/departments/class_departmentGeneric.inc | patch | blob | history | |
plugins/admin/departments/class_departmentManagement.inc | patch | blob | history |
diff --git a/plugins/admin/departments/class_departmentGeneric.inc b/plugins/admin/departments/class_departmentGeneric.inc
index 5086303fc72976bd9042fbe64c4708007b93c9b0..3d11f25d76902769bc729ca94b4bb2720a4b6034 100644 (file)
/* Fix entry if needed */
if ($fix){
$this->handle_object_tagging($attrs['dn'], $this->gosaUnitTag);
- } else {
- echo "Don't touch: ".$attrs['dn']."<br>";
}
}
}
echo "<!-- headers.tpl-->".$smarty->fetch(get_template_path('headers.tpl'));
echo "<body style='background-image:none;margin:3px;color:black'>";
- echo "<h3>".sprintf(_("Moving %s to %s"),"<i>".$src_dn."</i>","<i>".$dst_dn."</i>")."</h3>";
+ echo "<h3>".sprintf(_("Moving '%s' to '%s'"),"<i>".$src_dn."</i>","<i>".$dst_dn."</i>")."</h3>";
/* Check if the destination entry exists */
if ($ldap->fetch()){
trigger_error("Recursive_move $dst_dn already exists.",
E_USER_WARNING);
- echo "Recursive_move :$dst_dn already exists.<br>";
+ echo sprintf_("Recursive_move: '%s' already exists.")."<br>", $dst_dn);
return (FALSE);
}
diff --git a/plugins/admin/departments/class_departmentManagement.inc b/plugins/admin/departments/class_departmentManagement.inc
index c15e2a2d62f64b732011ee65b5e9ef28784467cf..1906820283c99718eaa76a3b39230ad913d84f64 100644 (file)
function execute()
{
- /* Call parent execute */
- plugin::execute();
+ /* Call parent execute */
+ plugin::execute();
- $_SESSION['LOCK_VARS_TO_USE'] = array("/^act$/","/^id$/","/^dep_edit_.*/","/^dep_del_.*/");
+ $_SESSION['LOCK_VARS_TO_USE'] = array("/^act$/","/^id$/","/^dep_edit_.*/","/^dep_del_.*/");
/* Reload departments */
$this->config->get_departments();