From 7b457dcd03b13a6897e0c26bac86c78efc5c07eb Mon Sep 17 00:00:00 2001 From: christiankreidl <43413773+christiankreidl@users.noreply.github.com> Date: Wed, 31 Aug 2022 11:41:18 +0200 Subject: [PATCH] add localization for MenuManager (#117) Co-authored-by: Martin Monperrus --- bibtexbrowser.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/bibtexbrowser.php b/bibtexbrowser.php index 437af51..88a094e 100755 --- a/bibtexbrowser.php +++ b/bibtexbrowser.php @@ -2870,7 +2870,8 @@ class MenuManager {
- + + " class="input_box"/> db->getTypes() as $type) { - $types[$type] = $type; + $types[$type] = __($type); } - $types['.*'] = 'all types'; + $types['.*'] = __('all types');; // retreive or calculate page number to display if (isset($_GET[Q_TYPE_PAGE])) { $page = $_GET[Q_TYPE_PAGE]; @@ -2965,7 +2966,7 @@ else $page = 1; and the navigation links on the right --> - +
menuPageBar($pageKey, $numEntries, $page, $pageSize, $startIndex, $endIndex);?>