diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2011-08-12 13:16:27 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2011-08-12 13:16:27 +0000 |
commit | 1d76d8a2158ec397322e54da0b6ad3ca4cadb621 (patch) | |
tree | 4c4044d2ca009fa88c154379e439bb2dc784b3a4 /applications/luci-mmc-over-gpio | |
parent | a8ac3b344f5dee7a79455faa0c699e561464cf4d (diff) |
applications, modules: remove i18n handling from controller modules as it moved to the themes now
Diffstat (limited to 'applications/luci-mmc-over-gpio')
-rw-r--r-- | applications/luci-mmc-over-gpio/luasrc/controller/mmc_over_gpio.lua | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/applications/luci-mmc-over-gpio/luasrc/controller/mmc_over_gpio.lua b/applications/luci-mmc-over-gpio/luasrc/controller/mmc_over_gpio.lua index 9ee2a9dec..5abceab7a 100644 --- a/applications/luci-mmc-over-gpio/luasrc/controller/mmc_over_gpio.lua +++ b/applications/luci-mmc-over-gpio/luasrc/controller/mmc_over_gpio.lua @@ -16,13 +16,13 @@ $Id$ module("luci.controller.mmc_over_gpio", package.seeall) function index() - require("luci.i18n") - luci.i18n.loadc("mmc_over_gpio") - if not nixio.fs.access("/etc/config/mmc_over_gpio") then - return - end - - local page = entry({"admin", "system", "mmc_over_gpio"}, cbi("mmc_over_gpio"), luci.i18n.translate("MMC/SD driver configuration"), 60) - page.i18n = "mmc_over_gpio" - page.dependent = true + if not nixio.fs.access("/etc/config/mmc_over_gpio") then + return + end + + local page + + page = entry({"admin", "system", "mmc_over_gpio"}, cbi("mmc_over_gpio"), _("MMC/SD driver configuration"), 60) + page.i18n = "mmc_over_gpio" + page.dependent = true end |