luci-mod-system: remove abbreviation from LED config menu item
authorHannu Nyman <hannu.nyman@iki.fi>
Thu, 23 Jan 2020 19:11:41 +0000 (21:11 +0200)
committerHannu Nyman <hannu.nyman@iki.fi>
Fri, 24 Jan 2020 18:54:51 +0000 (20:54 +0200)
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 <hannu.nyman@iki.fi>
(cherry picked from commit 2a1a9874f5747f7dcb3b117da87dccce6ca2ff49)

modules/luci-mod-system/luasrc/controller/admin/system.lua

index 1e0bebb4f9cf38be3971077fa3ce01ece6eaee52..3563349f2a68bc401025d63c3fc14a6823bce1f5 100644 (file)
@@ -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"), _("<abbr title=\"Light Emitting Diode\">LED</abbr> 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)