summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-ushare
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-ushare
parentdc7138e424dfd454951ed5ed4eeddbf842457e87 (diff)
all: change most translate statements to new format, some need manual cleanup
Diffstat (limited to 'applications/luci-ushare')
-rw-r--r--applications/luci-ushare/luasrc/controller/ushare.lua2
-rw-r--r--applications/luci-ushare/luasrc/model/cbi/ushare.lua20
2 files changed, 11 insertions, 11 deletions
diff --git a/applications/luci-ushare/luasrc/controller/ushare.lua b/applications/luci-ushare/luasrc/controller/ushare.lua
index b9c16a4c1..a17c9a41e 100644
--- a/applications/luci-ushare/luasrc/controller/ushare.lua
+++ b/applications/luci-ushare/luasrc/controller/ushare.lua
@@ -22,7 +22,7 @@ function index()
return
end
- local page = entry({"admin", "services", "ushare"}, cbi("ushare"), luci.i18n.translate("ushare", "uShare"), 60)
+ local page = entry({"admin", "services", "ushare"}, cbi("ushare"), luci.i18n.translate("uShare"), 60)
page.i18n = "uvc_streamer"
page.dependent = true
end
diff --git a/applications/luci-ushare/luasrc/model/cbi/ushare.lua b/applications/luci-ushare/luasrc/model/cbi/ushare.lua
index d90d2640f..0e5b6cff6 100644
--- a/applications/luci-ushare/luasrc/model/cbi/ushare.lua
+++ b/applications/luci-ushare/luasrc/model/cbi/ushare.lua
@@ -13,30 +13,30 @@ $Id$
]]--
-m = Map("ushare", translate("ushare"),
+m = Map("ushare", translate("uShare"),
translate("ushare_desc"))
-s = m:section(TypedSection, "ushare", translate("settings"))
+s = m:section(TypedSection, "ushare", translate("Settings"))
s.addremove = false
s.anonymous = true
-s:option(Flag, "enabled", translate("enabled", "Enable"))
+s:option(Flag, "enabled", translate("Enable"))
-s:option(Value, "username", translate("username"))
+s:option(Value, "username", translate("Username"))
-s:option(Value, "servername", translate("servername"))
+s:option(Value, "servername", translate("Servername"))
-dif = s:option( Value, "interface", translate("interface"))
+dif = s:option( Value, "interface", translate("Interface"))
for _, nif in ipairs(luci.sys.net.devices()) do
if nif ~= "lo" then dif:value(nif) end
end
-s:option(Value, "content_directories", translate("content_directories"))
+s:option(Value, "content_directories", translate("Content directories"))
-s:option(Flag, "disable_webif", translate("disable_webif"))
+s:option(Flag, "disable_webif", translate("Disable webinterface"))
-s:option(Flag, "disable_telnet", translate("disable_telnet"))
+s:option(Flag, "disable_telnet", translate("Disable telnet console"))
-s:option(Value, "options", translate("options"))
+s:option(Value, "options", translate("Options"))
return m