summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-mjpg-streamer/luasrc/model
diff options
context:
space:
mode:
authormaz-1 <ohmygod19993@gmail.com>2015-06-11 10:35:21 +0200
committermaz-1 <ohmygod19993@gmail.com>2015-06-11 10:35:21 +0200
commit8e43ab377090485c68d7000af2d7d40220ca1458 (patch)
tree8ee5404e31f74195b952b9b8a6bce3ca74d0724e /applications/luci-app-mjpg-streamer/luasrc/model
parent0b00986cfcdb0db6d1159026edd285ddc52ca4bd (diff)
add chinese translations for luci-app-mjpg-streamer
Diffstat (limited to 'applications/luci-app-mjpg-streamer/luasrc/model')
-rw-r--r--applications/luci-app-mjpg-streamer/luasrc/model/cbi/mjpg-streamer.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/applications/luci-app-mjpg-streamer/luasrc/model/cbi/mjpg-streamer.lua b/applications/luci-app-mjpg-streamer/luasrc/model/cbi/mjpg-streamer.lua
index 0e1c8bf9b..d89ab27c2 100644
--- a/applications/luci-app-mjpg-streamer/luasrc/model/cbi/mjpg-streamer.lua
+++ b/applications/luci-app-mjpg-streamer/luasrc/model/cbi/mjpg-streamer.lua
@@ -5,19 +5,19 @@ m = Map("mjpg-streamer", "MJPG-streamer", translate("mjpg streamer is a streamin
--- General settings ---
-section_gen = m:section(TypedSection, "mjpg-streamer", "General")
+section_gen = m:section(TypedSection, "mjpg-streamer", translate("General"))
section_gen.addremove=false
section_gen.anonymous=true
-enabled = section_gen:option(Flag, "enabled", "Enabled", "Enable MJPG-streamer")
+enabled = section_gen:option(Flag, "enabled", translate("Enabled"), translate("Enable MJPG-streamer"))
-input = section_gen:option(ListValue, "input", "Input plugin")
+input = section_gen:option(ListValue, "input", translate("Input plugin"))
input:depends("enabled", "1")
input:value("uvc", "UVC")
---input:value("file", "File")
input.optional = false
-output = section_gen:option(ListValue, "output", "Output plugin")
+output = section_gen:option(ListValue, "output", translate("Output plugin"))
output:depends("enabled", "1")
output:value("http", "HTTP")
output:value("file", "File")
@@ -26,7 +26,7 @@ output = section_gen:option(ListValue, "output", "Output plugin")
--- Plugin settings ---
-s = m:section(TypedSection, "mjpg-streamer", "Plugin settings")
+s = m:section(TypedSection, "mjpg-streamer", translate("Plugin settings"))
s.addremove=false
s.anonymous=true