git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
7d5884e
)
luci-mod-system: remove abbreviation from LED config menu item
author
Hannu Nyman
<redacted>
Thu, 23 Jan 2020 19:11:41 +0000
(21:11 +0200)
committer
Hannu Nyman
<redacted>
Thu, 23 Jan 2020 19:11:41 +0000
(21:11 +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 <redacted>
modules/luci-mod-system/luasrc/controller/admin/system.lua
patch
|
blob
|
history
diff --git
a/modules/luci-mod-system/luasrc/controller/admin/system.lua
b/modules/luci-mod-system/luasrc/controller/admin/system.lua
index 1e0bebb4f9cf38be3971077fa3ce01ece6eaee52..3563349f2a68bc401025d63c3fc14a6823bce1f5 100644
(file)
--- 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"), _("
<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)
git clone https://git.99rst.org/PROJECT