Slightly better language for remove default action

This commit is contained in:
Nathan Gray 2016-01-26 23:16:56 +00:00
parent f30cbdeb9e
commit 022777d39a

View File

@ -472,7 +472,7 @@ class home_ui
} }
$actions['remove_default_'.$location] = array( $actions['remove_default_'.$location] = array(
'type' => 'popup', 'type' => 'popup',
'caption' => lang('Remove default %1',is_numeric($location) ? accounts::id2name($location) : $location), 'caption' => lang('Remove as default for %1',is_numeric($location) ? accounts::id2name($location,'account_fullname') : $location),
'onExecute' => 'javaScript:app.home.set_default', 'onExecute' => 'javaScript:app.home.set_default',
'group' => 'Admins', 'group' => 'Admins',
'portlet_group' => $location 'portlet_group' => $location