diff --git a/admin/inc/class.admin_cmd_account_app.inc.php b/admin/inc/class.admin_cmd_account_app.inc.php index aa614c1f13..fca58c0b66 100644 --- a/admin/inc/class.admin_cmd_account_app.inc.php +++ b/admin/inc/class.admin_cmd_account_app.inc.php @@ -90,7 +90,12 @@ class admin_cmd_account_app extends admin_cmd */ function __tostring() { + $apps = $this->apps; + foreach($apps as &$app) + { + $app = lang($app); + } return lang('%1 rights for %2 and applications %3',$this->allow ? lang('Grant') : lang('Remove'), - admin_cmd::display_account($this->account),implode(', ',$this->apps)); + admin_cmd::display_account($this->account),implode(', ',$apps)); } } diff --git a/admin/lang/egw_en.lang b/admin/lang/egw_en.lang index 6841b4d078..fcc293b53d 100644 --- a/admin/lang/egw_en.lang +++ b/admin/lang/egw_en.lang @@ -13,7 +13,7 @@ %1 log entries deleted. admin en %1 log entries deleted. %1 not found or not executable !!! admin en %1 not found or not executable! %1 phrases saved. admin en %1 phrases saved. -%1 rights for %2 and applications %3 admin en %1 rights for %2 and applications %3 . +%1 rights for %2 and applications %3 admin en %1 rights for %2 and application(s) %3 . %1 run rights for applications admin en %1 run rights for applications %1 sessions killed admin en %1 sessions killed. %1 user %2 admin en %1 user %2