From c8c6afb0b528013b911ce64a84584b66b53ec245 Mon Sep 17 00:00:00 2001 From: Banana Date: Tue, 16 Apr 2024 14:28:17 +0200 Subject: [PATCH] i18n static menu entries Signed-off-by: Banana --- webclient/i18n/eng.ini | 20 ++++++++++++++------ webclient/view/98/system/menu.php | 18 +++++++++--------- webclient/view/default/system/menu.php | 13 ++++++++----- 3 files changed, 31 insertions(+), 20 deletions(-) diff --git a/webclient/i18n/eng.ini b/webclient/i18n/eng.ini index 10182aa..e1264a6 100644 --- a/webclient/i18n/eng.ini +++ b/webclient/i18n/eng.ini @@ -158,6 +158,19 @@ manageuser.status = "Status" manageuser.created = global.created manageuser.input.apitoken.current = "Current Token:" +menu.lv1.show = "Show" +menu.lv1.manage = "Manage" +menu.search.advanced = "Advanced" +menu.search = global.search +menu.search.enter = "Press enter to search" +menu.search.within = "Search within the default search field" + +pagination.gotopage = "Goto page" +pagination.next = "next" +pagination.previous = "previous" +pagination.select.sort.default = "Default" +pagination.select.sort.latest = "Latest" + profile.yourprofile = "Manage your profile" profile.input.maingroup = "Main group" profile.input.addgroups = "Additional groups" @@ -172,11 +185,6 @@ sysinfo.th.created = global.created sysinfo.th.entries = "Entries" sysinfo.th.tags = "Tags" sysinfo.th.dbusage = "DB Usage" +sysinfo.th.diskusage = "Disk Usage" - -pagination.gotopage = "Goto page" -pagination.next = "next" -pagination.previous = "previous" -pagination.select.sort.default = "Default" -pagination.select.sort.latest = "Latest" diff --git a/webclient/view/98/system/menu.php b/webclient/view/98/system/menu.php index 659170b..c991610 100644 --- a/webclient/view/98/system/menu.php +++ b/webclient/view/98/system/menu.php @@ -42,13 +42,13 @@ $_menuManage = $Gorenest->get('manage', false, $_contextActions);
  • - Search + t('menu.search'); ?>
  • > - Advanced search + t('menu.search.advanced'); ?>
  • -
  • Manage:
  • +
  • t('menu.lv1.manage'); ?>:
  • > @@ -60,7 +60,7 @@ $_menuManage = $Gorenest->get('manage', false, $_contextActions);
    -
    Search
    +
    t('menu.search'); ?>
    @@ -74,14 +74,14 @@ $_menuManage = $Gorenest->get('manage', false, $_contextActions); } } ?> - - -

    Advanced

    + + +

    t('menu.search.advanced'); ?>

    -

    Press enter to search

    -

    Search within the default search field

    +

    t('menu.search.enter'); ?>

    +

    t('menu.search.within'); ?>

    diff --git a/webclient/view/default/system/menu.php b/webclient/view/default/system/menu.php index 7625f1a..88c9a69 100644 --- a/webclient/view/default/system/menu.php +++ b/webclient/view/default/system/menu.php @@ -33,7 +33,7 @@ $_menuManage = $Gorenest->get('manage', false, $_contextActions);