From: Hannu Nyman Date: Thu, 23 Jan 2020 19:11:41 +0000 (+0200) Subject: luci-mod-system: remove abbreviation from LED config menu item X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2a1a9874f5747f7dcb3b117da87dccce6ca2ff49;p=oweals%2Fluci.git luci-mod-system: remove abbreviation from LED config menu item Remove the abbreviation coding from the menu item, as it does nor work in menu and seems to prevent translation of the menu item. (This was the only menu item in LuCI that had abbr logic.) Reference to #3553 Signed-off-by: Hannu Nyman --- diff --git a/modules/luci-mod-system/luasrc/controller/admin/system.lua b/modules/luci-mod-system/luasrc/controller/admin/system.lua index 1e0bebb4f..3563349f2 100644 --- a/modules/luci-mod-system/luasrc/controller/admin/system.lua +++ b/modules/luci-mod-system/luasrc/controller/admin/system.lua @@ -22,7 +22,7 @@ function index() entry({"admin", "system", "mounts"}, view("system/mounts"), _("Mount Points"), 50) .file_depends = { "/sbin/block" } - entry({"admin", "system", "leds"}, view("system/leds"), _("LED Configuration"), 60) + entry({"admin", "system", "leds"}, view("system/leds"), _("LED Configuration"), 60) .file_depends = { "/sys/class/leds" } entry({"admin", "system", "flash"}, view("system/flash"), _("Backup / Flash Firmware"), 70)