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/sys_menu.php | |
parent | 3a1164164791edbe30c7247b98585474867dd968 (diff) |
Replaced gettext translation `_()` with `__()` that uses the Translator class
Diffstat (limited to 'includes/sys_menu.php')
-rw-r--r-- | includes/sys_menu.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/sys_menu.php b/includes/sys_menu.php index 58d4bab3..bb6965ea 100644 --- a/includes/sys_menu.php +++ b/includes/sys_menu.php @@ -189,7 +189,7 @@ function make_navigation() } if (count($admin_menu) > 0) { - $menu[] = toolbar_dropdown('', _('Admin'), $admin_menu); + $menu[] = toolbar_dropdown('', __('Admin'), $admin_menu); } return toolbar($menu); @@ -213,7 +213,7 @@ function make_room_navigation($menu) $rooms = Rooms(); $room_menu = []; if (in_array('admin_rooms', $privileges)) { - $room_menu[] = toolbar_item_link(page_link_to('admin_rooms'), 'list', _('Manage rooms')); + $room_menu[] = toolbar_item_link(page_link_to('admin_rooms'), 'list', __('Manage rooms')); } if (count($room_menu) > 0) { $room_menu[] = toolbar_item_divider(); @@ -222,7 +222,7 @@ function make_room_navigation($menu) $room_menu[] = toolbar_item_link(room_link($room), 'map-marker', $room['Name']); } if (count($room_menu) > 0) { - $menu[] = toolbar_dropdown('map-marker', _('Rooms'), $room_menu); + $menu[] = toolbar_dropdown('map-marker', __('Rooms'), $room_menu); } return $menu; } |