summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-p910nd/luasrc
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-10-31 15:54:11 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-10-31 15:54:11 +0000
commit7c765875884d6866c53b63757731b079bace2e9b (patch)
treedb436df0eaff7de048bca26a7e419aedeb4a08a4 /applications/luci-p910nd/luasrc
parentdc7138e424dfd454951ed5ed4eeddbf842457e87 (diff)
all: change most translate statements to new format, some need manual cleanup
Diffstat (limited to 'applications/luci-p910nd/luasrc')
-rw-r--r--applications/luci-p910nd/luasrc/controller/p910nd.lua2
-rw-r--r--applications/luci-p910nd/luasrc/model/cbi/p910nd.lua12
2 files changed, 7 insertions, 7 deletions
diff --git a/applications/luci-p910nd/luasrc/controller/p910nd.lua b/applications/luci-p910nd/luasrc/controller/p910nd.lua
index 13167013c..c2fe3fa51 100644
--- a/applications/luci-p910nd/luasrc/controller/p910nd.lua
+++ b/applications/luci-p910nd/luasrc/controller/p910nd.lua
@@ -22,7 +22,7 @@ function index()
return
end
- local page = entry({"admin", "services", "p910nd"}, cbi("p910nd"), luci.i18n.translate("p910nd", "Printer server"), 60)
+ local page = entry({"admin", "services", "p910nd"}, cbi("p910nd"), luci.i18n.translate("p910nd - Printer server"), 60)
page.i18n = "p910nd"
page.dependent = true
end
diff --git a/applications/luci-p910nd/luasrc/model/cbi/p910nd.lua b/applications/luci-p910nd/luasrc/model/cbi/p910nd.lua
index b0ffa4eda..68f75bfc4 100644
--- a/applications/luci-p910nd/luasrc/model/cbi/p910nd.lua
+++ b/applications/luci-p910nd/luasrc/model/cbi/p910nd.lua
@@ -15,19 +15,19 @@ $Id$
local uci = luci.model.uci.cursor_state()
-m = Map("p910nd", translate("p910nd", "p910nd"),
- translatef("p910nd_desc"))
+m = Map("p910nd", translate("p910nd - Printer server"),
+ translatef("First you have to install the packages to get support for USB (kmod-usb-printer) or parallel port (kmod-lp)."))
-s = m:section(TypedSection, "p910nd", translate("settings", "settings"))
+s = m:section(TypedSection, "p910nd", translate("Settings"))
s.addremove = true
s.anonymous = true
s:option(Flag, "enabled", translate("enable"))
-s:option(Value, "device", translate("device", "Device")).rmempty = true
+s:option(Value, "device", translate("Device")).rmempty = true
-s:option(Value, "port", translate("port"), translate("port_help")).rmempty = true
+s:option(Value, "port", translate("Port"), translate("port_help")).rmempty = true
-s:option(Flag, "bidirectional", translate("bidirectional"))
+s:option(Flag, "bidirectional", translate("Bidirectional mode"))
return m