applications/luci-ddns: make event interface configurable (#497)
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 29 Oct 2012 13:00:52 +0000 (13:00 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 29 Oct 2012 13:00:52 +0000 (13:00 +0000)
24 files changed:
applications/luci-ddns/luasrc/model/cbi/ddns/ddns.lua
po/ca/ddns.po
po/cs/ddns.po
po/de/ddns.po
po/el/ddns.po
po/en/ddns.po
po/es/ddns.po
po/fr/ddns.po
po/he/ddns.po
po/hu/ddns.po
po/it/ddns.po
po/ja/ddns.po
po/ms/ddns.po
po/no/ddns.po
po/pl/ddns.po
po/pt/ddns.po
po/pt_BR/ddns.po
po/ro/ddns.po
po/ru/ddns.po
po/templates/ddns.pot
po/tr/ddns.po
po/uk/ddns.po
po/vi/ddns.po
po/zh_CN/ddns.po

index 0deb727..42fb4a6 100644 (file)
@@ -13,6 +13,8 @@ You may obtain a copy of the License at
 $Id$
 ]]--
 
+require("luci.tools.webadmin")
+
 local is_mini = (luci.dispatcher.context.path[1] == "mini")
 
 
@@ -27,6 +29,10 @@ s.anonymous = false
 
 s:option(Flag, "enabled", translate("Enable"))
 
+interface = s:option(ListValue, "interface", translate("Event interface"), translate("On which interface up should start the ddns script process."))
+luci.tools.webadmin.cbi_add_networks(interface)
+interface.default = "wan"
+
 svc = s:option(ListValue, "service_name", translate("Service"))
 svc.rmempty = false
 
@@ -81,7 +87,6 @@ if is_mini then
        s.defaults.ip_source = "network"
        s.defaults.ip_network = "wan"
 else
-       require("luci.tools.webadmin")
 
        src = s:option(ListValue, "ip_source",
                translate("Source of IP address"))
index 6448238..4bc1788 100644 (file)
@@ -8,6 +8,7 @@ msgstr ""
 "PO-Revision-Date: 2009-05-26 20:19+0200\n"
 "Last-Translator: Eduard Duran <iopahopa@gmail.com>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
@@ -86,3 +87,9 @@ msgstr ""
 
 msgid "network"
 msgstr ""
+
+msgid "Event interface"
+msgstr ""
+
+msgid "On which interface up should start the ddns script process."
+msgstr ""
index 8705bcb..bc524ea 100644 (file)
@@ -8,6 +8,7 @@ msgstr ""
 "PO-Revision-Date: 2010-04-02 13:44+0100\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
+"Language: \n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
@@ -80,3 +81,9 @@ msgstr "min"
 
 msgid "network"
 msgstr ""
+
+msgid "Event interface"
+msgstr ""
+
+msgid "On which interface up should start the ddns script process."
+msgstr ""
index a6a4483..3791e47 100644 (file)
@@ -81,3 +81,9 @@ msgstr "Minuten"
 
 msgid "network"
 msgstr "Netzwerk"
+
+msgid "Event interface"
+msgstr ""
+
+msgid "On which interface up should start the ddns script process."
+msgstr ""
index bf12b23..2922747 100644 (file)
@@ -85,6 +85,12 @@ msgstr "λεπτά"
 msgid "network"
 msgstr "δίκτυο"
 
+msgid "Event interface"
+msgstr ""
+
+msgid "On which interface up should start the ddns script process."
+msgstr ""
+
 #, fuzzy
 #~ msgid "ddns_service_updateurl"
 #~ msgstr "Προσαρμογή URL ενημέρωσης"
index 1efc6a8..f451163 100644 (file)
@@ -7,6 +7,7 @@ msgstr ""
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
@@ -79,3 +80,9 @@ msgstr "min"
 
 msgid "network"
 msgstr "network"
+
+msgid "Event interface"
+msgstr "Event interface"
+
+msgid "On which interface up should start the ddns script process."
+msgstr "On which interface up should start the ddns script process."
index de4bc67..2c6e959 100644 (file)
@@ -81,3 +81,9 @@ msgstr "mín"
 
 msgid "network"
 msgstr "red"
+
+msgid "Event interface"
+msgstr ""
+
+msgid "On which interface up should start the ddns script process."
+msgstr ""
index cc7e4b7..f7db18f 100644 (file)
@@ -7,6 +7,7 @@ msgstr ""
 "PO-Revision-Date: 2010-04-02 17:15+0100\n"
 "Last-Translator: Benoît Knecht <benoit.knecht@gmail.com>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
@@ -80,3 +81,9 @@ msgstr "min"
 
 msgid "network"
 msgstr "réseau"
+
+msgid "Event interface"
+msgstr ""
+
+msgid "On which interface up should start the ddns script process."
+msgstr ""
index 8c23c09..e9637f0 100644 (file)
@@ -85,3 +85,9 @@ msgstr "דק'"
 
 msgid "network"
 msgstr "רשת"
+
+msgid "Event interface"
+msgstr ""
+
+msgid "On which interface up should start the ddns script process."
+msgstr ""
index cb6d716..ecb5700 100644 (file)
@@ -83,3 +83,9 @@ msgstr "perc"
 
 msgid "network"
 msgstr "hálózat"
+
+msgid "Event interface"
+msgstr "Esemány interfész"
+
+msgid "On which interface up should start the ddns script process."
+msgstr "Melyik interfész indulása váltsa ki a ddns script indítását."
index ef0113f..754e919 100644 (file)
@@ -81,3 +81,9 @@ msgstr "min"
 
 msgid "network"
 msgstr "rete"
+
+msgid "Event interface"
+msgstr ""
+
+msgid "On which interface up should start the ddns script process."
+msgstr ""
index 9ddbd5d..841b474 100644 (file)
@@ -81,3 +81,9 @@ msgstr "分"
 
 msgid "network"
 msgstr "ネットワーク"
+
+msgid "Event interface"
+msgstr ""
+
+msgid "On which interface up should start the ddns script process."
+msgstr ""
index f8a7edf..07a89c5 100644 (file)
@@ -8,6 +8,7 @@ msgstr ""
 "PO-Revision-Date: 2010-04-02 13:44+0100\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
+"Language: \n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
@@ -78,3 +79,9 @@ msgstr ""
 
 msgid "network"
 msgstr ""
+
+msgid "Event interface"
+msgstr ""
+
+msgid "On which interface up should start the ddns script process."
+msgstr ""
index 50b313a..d3a53b8 100644 (file)
@@ -70,3 +70,9 @@ msgstr "minutter"
 
 msgid "network"
 msgstr "nettverk"
+
+msgid "Event interface"
+msgstr ""
+
+msgid "On which interface up should start the ddns script process."
+msgstr ""
index 1c978c9..1f099e4 100644 (file)
@@ -82,3 +82,9 @@ msgstr "min"
 
 msgid "network"
 msgstr "sieć"
+
+msgid "Event interface"
+msgstr ""
+
+msgid "On which interface up should start the ddns script process."
+msgstr ""
index f60069d..ce1b52c 100644 (file)
@@ -6,6 +6,7 @@ msgstr ""
 "PO-Revision-Date: 2009-05-19 17:04+0200\n"
 "Last-Translator: Jose Monteiro <jm@unimos.net>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
@@ -84,3 +85,9 @@ msgstr ""
 
 msgid "network"
 msgstr ""
+
+msgid "Event interface"
+msgstr ""
+
+msgid "On which interface up should start the ddns script process."
+msgstr ""
index 04fcf16..1964bbc 100644 (file)
@@ -81,3 +81,9 @@ msgstr "min"
 
 msgid "network"
 msgstr "rede"
+
+msgid "Event interface"
+msgstr ""
+
+msgid "On which interface up should start the ddns script process."
+msgstr ""
index 81c1b05..6af34ff 100644 (file)
@@ -84,3 +84,9 @@ msgstr "minut(e)"
 
 msgid "network"
 msgstr "retea"
+
+msgid "Event interface"
+msgstr ""
+
+msgid "On which interface up should start the ddns script process."
+msgstr ""
index 5aa65d1..d24c374 100644 (file)
@@ -83,3 +83,9 @@ msgstr "мин"
 
 msgid "network"
 msgstr "сеть"
+
+msgid "Event interface"
+msgstr ""
+
+msgid "On which interface up should start the ddns script process."
+msgstr ""
index d57f23f..d967c99 100644 (file)
@@ -65,3 +65,9 @@ msgstr ""
 
 msgid "network"
 msgstr ""
+
+msgid "Event interface"
+msgstr ""
+
+msgid "On which interface up should start the ddns script process."
+msgstr ""
index b115c48..d649a69 100644 (file)
@@ -8,6 +8,7 @@ msgstr ""
 "PO-Revision-Date: 2010-04-02 13:44+0100\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
+"Language: \n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
@@ -79,3 +80,9 @@ msgstr ""
 
 msgid "network"
 msgstr ""
+
+msgid "Event interface"
+msgstr ""
+
+msgid "On which interface up should start the ddns script process."
+msgstr ""
index e638819..dc16761 100644 (file)
@@ -12,8 +12,8 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%"
-"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
 "X-Generator: Pootle 2.0.4\n"
 
 msgid "Check for changed IP every"
@@ -84,3 +84,9 @@ msgstr "хв"
 
 msgid "network"
 msgstr "мережа"
+
+msgid "Event interface"
+msgstr ""
+
+msgid "On which interface up should start the ddns script process."
+msgstr ""
index dc51df7..856faf8 100644 (file)
@@ -8,6 +8,7 @@ msgstr ""
 "PO-Revision-Date: 2009-08-12 18:06+0200\n"
 "Last-Translator: Hong Phuc Dang <dhppat@gmail.com>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
@@ -86,3 +87,9 @@ msgstr ""
 
 msgid "network"
 msgstr ""
+
+msgid "Event interface"
+msgstr ""
+
+msgid "On which interface up should start the ddns script process."
+msgstr ""
index a2e4708..5b96eeb 100644 (file)
@@ -80,3 +80,9 @@ msgstr "分"
 
 msgid "network"
 msgstr "网络"
+
+msgid "Event interface"
+msgstr ""
+
+msgid "On which interface up should start the ddns script process."
+msgstr ""