diff options
author | Bot <bot@myigel.name> | 2018-08-29 21:55:32 +0200 |
---|---|---|
committer | Igor Scheller <igor.scheller@igorshp.de> | 2018-08-29 23:46:32 +0200 |
commit | e8f8fc7f5f5eba315290bc8d45348c3a4d4bee79 (patch) | |
tree | f882e29ee1ca436ee98a93a4f8a489630a71b9c1 /includes/pages/admin_groups.php | |
parent | 3a1164164791edbe30c7247b98585474867dd968 (diff) |
Replaced gettext translation `_()` with `__()` that uses the Translator class
Diffstat (limited to 'includes/pages/admin_groups.php')
-rw-r--r-- | includes/pages/admin_groups.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/includes/pages/admin_groups.php b/includes/pages/admin_groups.php index 92b6a3ea..727d7be5 100644 --- a/includes/pages/admin_groups.php +++ b/includes/pages/admin_groups.php @@ -7,7 +7,7 @@ use Engelsystem\Database\DB; */ function admin_groups_title() { - return _('Grouprights'); + return __('Grouprights'); } /** @@ -40,7 +40,7 @@ function admin_groups() 'actions' => button( page_link_to('admin_groups', ['action' => 'edit', 'id' => $group['UID']]), - _('edit'), + __('edit'), 'btn-xs' ) ]; @@ -48,8 +48,8 @@ function admin_groups() return page_with_title(admin_groups_title(), [ table([ - 'name' => _('Name'), - 'privileges' => _('Privileges'), + 'name' => __('Name'), + 'privileges' => __('Privileges'), 'actions' => '' ], $groups_table) ]); @@ -97,8 +97,8 @@ function admin_groups() ); } - $privileges_form[] = form_submit('submit', _('Save')); - $html .= page_with_title(_('Edit group'), [ + $privileges_form[] = form_submit('submit', __('Save')); + $html .= page_with_title(__('Edit group'), [ form( $privileges_form, page_link_to('admin_groups', ['action' => 'save', 'id' => $group_id]) |