From: Vasilis Tsiligiannis Date: Thu, 1 Jul 2010 09:52:27 +0000 (+0000) Subject: po: base: Add some missing LED related translations X-Git-Tag: 0.10.0~664 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=581d0cbff378abefe1924ee34e481a14fa25305f;p=oweals%2Fluci.git po: base: Add some missing LED related translations --- diff --git a/modules/admin-full/luasrc/model/cbi/admin_system/leds.lua b/modules/admin-full/luasrc/model/cbi/admin_system/leds.lua index 0613ba28b..ad2a5bd98 100644 --- a/modules/admin-full/luasrc/model/cbi/admin_system/leds.lua +++ b/modules/admin-full/luasrc/model/cbi/admin_system/leds.lua @@ -38,18 +38,18 @@ function s.parse(self, ...) end -s:option(Value, "name") +s:option(Value, "name", translate("Name")) -sysfs = s:option(ListValue, "sysfs") +sysfs = s:option(ListValue, "sysfs", translate("LED Name")) for k, v in ipairs(leds) do sysfs:value(v) end -s:option(Flag, "default").rmempty = true +s:option(Flag, "default", translate("Default state")).rmempty = true -trigger = s:option(ListValue, "trigger") +trigger = s:option(ListValue, "trigger", translate("Trigger")) local triggers = fs.readfile(sysfs_path .. leds[1] .. "/trigger") for t in triggers:gmatch("[%w-]+") do @@ -57,14 +57,14 @@ for t in triggers:gmatch("[%w-]+") do end -delayon = s:option(Value, "delayon") +delayon = s:option(Value, "delayon", translate ("On-State Delay")) delayon:depends("trigger", "timer") -delayoff = s:option(Value, "delayoff") +delayoff = s:option(Value, "delayoff", translate ("Off-State Delay")) delayoff:depends("trigger", "timer") -dev = s:option(ListValue, "dev") +dev = s:option(ListValue, "dev", translate("Device")) dev.rmempty = true dev:value("") dev:depends("trigger", "netdev") @@ -75,7 +75,7 @@ for k, v in pairs(luci.sys.net.devices()) do end -mode = s:option(MultiValue, "mode") +mode = s:option(MultiValue, "mode", translate("Trigger Mode")) mode.rmempty = true mode:depends("trigger", "netdev") mode:value("link", translate("Link On")) diff --git a/po/ca/base.po b/po/ca/base.po index 3205f8ebf..f3743a3d5 100644 --- a/po/ca/base.po +++ b/po/ca/base.po @@ -95,6 +95,9 @@ msgstr "Passarel·la IPv6" msgid "LED Configuration" msgstr "Configuració LED" +msgid "LED Name" +msgstr "" + msgid "" "LuCI is a collection of " "free Lua software including an MVCLED Configuration" msgstr "LED Konfiguration" +msgid "LED Name" +msgstr "" + msgid "" "LuCI is a collection of " "free Lua software including an MVCIPv6" msgid "LED Configuration" msgstr "Παραμετροποίηση LED" +msgid "LED Name" +msgstr "" + msgid "" "LuCI is a collection of " "free Lua software including an MVCIPv6-Gateway" msgid "LED Configuration" msgstr "LED Configuration" +msgid "LED Name" +msgstr "" + msgid "" "LuCI is a collection of " "free Lua software including an MVCLED Configuration" msgstr "Configuración de LEDs" +msgid "LED Name" +msgstr "" + msgid "" "LuCI is a collection of " "free Lua software including an MVCIPv6" msgid "LED Configuration" msgstr "Configuration des LEDs" +msgid "LED Name" +msgstr "" + msgid "" "LuCI is a collection of " "free Lua software including an MVCIPv6" msgid "LED Configuration" msgstr "Configurazione LED" +msgid "LED Name" +msgstr "" + msgid "" "LuCI is a collection of " "free Lua software including an MVCIPv6ゲートウェ msgid "LED Configuration" msgstr "LED設定" +msgid "LED Name" +msgstr "" + msgid "" "LuCI is a collection of " "free Lua software including an MVCLED Configuration" msgstr "Konfigurasi lampu LED" +msgid "LED Name" +msgstr "" + msgid "" "LuCI is a collection of " "free Lua software including an MVCLED Configuration" msgstr "" +msgid "LED Name" +msgstr "" + msgid "" "LuCI is a collection of " "free Lua software including an MVCIPv6" msgid "LED Configuration" msgstr "Configuração do LED" +msgid "LED Name" +msgstr "" + msgid "" "LuCI is a collection of " "free Lua software including an MVCIPv6" msgid "LED Configuration" msgstr "Configuração do LED" +msgid "LED Name" +msgstr "" + msgid "" "LuCI is a collection of " "free Lua software including an MVCIPv6LED Configuration" msgstr "Настройка LED" +msgid "LED Name" +msgstr "" + msgid "" "LuCI is a collection of " "free Lua software including an MVCOPKG-Настройка" +msgid "Off-State Delay" +msgstr "" + +msgid "On-State Delay" +msgstr "" + msgid "" "On the following pages you can adjust all important settings of your router." msgstr "" @@ -1585,6 +1597,12 @@ msgstr "Мощьность передатчика" msgid "Transmitter Antenna" msgstr "" +msgid "Trigger" +msgstr "" + +msgid "Trigger Mode" +msgstr "" + msgid "Turbo Mode" msgstr "" diff --git a/po/templates/base.pot b/po/templates/base.pot index 4b26da688..e9b5af797 100644 --- a/po/templates/base.pot +++ b/po/templates/base.pot @@ -73,6 +73,9 @@ msgstr "" msgid "LED Configuration" msgstr "" +msgid "LED Name" +msgstr "" + msgid "" "LuCI is a collection of " "free Lua software including an MVCIPv6-Gateway" msgid "LED Configuration" msgstr "LED Configuration" +msgid "LED Name" +msgstr "" + msgid "" "LuCI is a collection of " "free Lua software including an MVCLED Configuration" msgstr "" +msgid "LED Name" +msgstr "" + msgid "" "LuCI is a collection of " "free Lua software including an MVC