From 788757115419e8caeba692a43db6bd788f162ac7 Mon Sep 17 00:00:00 2001 From: cajus Date: Sat, 8 Mar 2008 11:08:19 +0000 Subject: [PATCH] Updated messages git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9457 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/plugins/personal/posix/class_posixAccount.inc | 6 ++---- gosa-core/plugins/personal/posix/main.inc | 8 ++++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/gosa-core/plugins/personal/posix/class_posixAccount.inc b/gosa-core/plugins/personal/posix/class_posixAccount.inc index ef07f0db1..3086b4de4 100644 --- a/gosa-core/plugins/personal/posix/class_posixAccount.inc +++ b/gosa-core/plugins/personal/posix/class_posixAccount.inc @@ -508,9 +508,7 @@ class posixAccount extends plugin for($y= $date['year']-10; $y<$date['year']+10; $y++){ $years[]= $y; } - $months= array(_("January"), _("February"), _("March"), _("April"), - _("May"), _("June"), _("July"), _("August"), _("September"), - _("October"), _("November"), _("December")); + $months= msgPool::months(); $smarty->assign("day", $date["mday"]); $smarty->assign("days", $days); $smarty->assign("months", $months); @@ -817,7 +815,7 @@ class posixAccount extends plugin /* Oups - timed out */ if ($wait-- == 0){ - msg_dialog::display(_("Warning"), _("Timeout while waiting for lock! Ignoring lock."), WARNING_DIALOG); + msg_dialog::display(_("Warning"), _("Timeout while waiting for lock. Ignoring lock!"), WARNING_DIALOG); break; } } diff --git a/gosa-core/plugins/personal/posix/main.inc b/gosa-core/plugins/personal/posix/main.inc index abe69ad36..243644bc7 100644 --- a/gosa-core/plugins/personal/posix/main.inc +++ b/gosa-core/plugins/personal/posix/main.inc @@ -105,9 +105,9 @@ if (!$remove_lock){ /* Are we in edit mode? */ if (session::is_set('edit')){ - $display.= "\n"; + $display.= "\n"; $display.= " "; - $display.= "\n"; + $display.= "\n"; $info= "\"\" ".$ui->dn." "; } else { @@ -117,9 +117,9 @@ if (!$remove_lock){ /* Only display edit button if there is at least one attribute editable */ if(preg_match("/w/",$ui->get_permissions($ui->dn,"users/posixAccount"))){ $info.= "\"\" ". - _("Click the 'Edit' button below to change informations in this dialog"); + msgPool::clickEditToChange(); - $display.= "\n"; + $display.= "\n"; } $display.= "\n"; } -- 2.30.2