Changeset 6041
- Timestamp:
- 04/12/10 14:38:14 (3 years ago)
- Location:
- luci/trunk
- Files:
-
- 2 modified
-
applications/luci-ddns/luasrc/model/cbi/ddns/ddns.lua (modified) (4 diffs)
-
po/templates/ddns.pot (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
luci/trunk/applications/luci-ddns/luasrc/model/cbi/ddns/ddns.lua
r6040 r6041 17 17 18 18 19 m = Map("ddns", translate("Dynamic DNS"), translate("Dynamic DNS allows that your router can be reached with a fixed hostname while having a dynamically changing IP-Address.")) 19 m = Map("ddns", translate("Dynamic DNS"), 20 translate("Dynamic DNS allows that your router can be reached with " .. 21 "a fixed hostname while having a dynamically changing " .. 22 "IP address.")) 20 23 21 24 s = m:section(TypedSection, "service", "") … … 23 26 s.anonymous = false 24 27 25 s:option(Flag, "enabled", translate(" enable"))28 s:option(Flag, "enabled", translate("Enable")) 26 29 27 30 svc = s:option(ListValue, "service_name", translate("Service")) … … 64 67 require("luci.tools.webadmin") 65 68 66 src = s:option(ListValue, "ip_source", translate("Source of IP-Address")) 69 src = s:option(ListValue, "ip_source", 70 translate("Source of IP address")) 67 71 src:value("network", translate("Network")) 68 72 src:value("interface", translate("Interface")) 69 src:value("web", "URL")73 src:value("web", translate("URL")) 70 74 71 75 iface = s:option(ListValue, "ip_network", translate("Network")) … … 81 85 end 82 86 83 web = s:option(Value, "ip_url", "URL")87 web = s:option(Value, "ip_url", translate("URL")) 84 88 web:depends("ip_source", "web") 85 89 web.rmempty = true 86 90 end 87 91 88 s:option(Value, "check_interval", translate("Check for changed IP every")).default = 10 89 unit = s:option(ListValue, "check_unit", translate("Check-Time unit")) 92 93 s:option(Value, "check_interval", 94 translate("Check for changed IP every")).default = 10 95 unit = s:option(ListValue, "check_unit", translate("Check-time unit")) 90 96 unit.default = "minutes" 91 unit:value("minutes", "min")92 unit:value("hours", "h")97 unit:value("minutes", translate("min")) 98 unit:value("hours", translate("h")) 93 99 94 100 s:option(Value, "force_interval", translate("Force update every")).default = 72 95 unit = s:option(ListValue, "force_unit", translate("Force- Time unit"))101 unit = s:option(ListValue, "force_unit", translate("Force-time unit")) 96 102 unit.default = "hours" 97 unit:value("minutes", "min")98 unit:value("hours", "h")103 unit:value("minutes", translate("min")) 104 unit:value("hours", translate("h")) 99 105 100 106 -
luci/trunk/po/templates/ddns.pot
r5468 r6041 1 # ddns.pot 2 # generated from ./applications/luci-ddns/luasrc/i18n/ddns.en.lua 1 # Generated from applications/luci-ddns/luasrc/model/cbi/ddns/ddns.lua 2 # 3 #, fuzzy 3 4 msgid "" 4 msgstr "Content-Type: text/plain; charset=UTF-8" 5 msgstr "" 6 "Project-Id-Version: PACKAGE VERSION\n" 7 "Report-Msgid-Bugs-To: \n" 8 "POT-Creation-Date: 2010-04-02 13:44+0100\n" 9 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 10 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 11 "Language-Team: LANGUAGE <LL@li.org>\n" 12 "MIME-Version: 1.0\n" 13 "Content-Type: text/plain; charset=UTF-8\n" 14 "Content-Transfer-Encoding: 8bit\n" 5 15 6 #. Dynamic DNS7 #: applications/luci-ddns/luasrc/i18n/ddns.en.lua:18 16 msgid "Dynamic DNS" 9 17 msgstr "" 10 18 11 #. Dynamic DNS allows that your router can be reached with a fixed hostname while having a dynamically changing IP-Address.12 #: applications/luci-ddns/luasrc/i18n/ddns.en.lua:213 19 msgid "" 14 20 "Dynamic DNS allows that your router can be reached with a fixed hostname " … … 16 22 msgstr "" 17 23 18 #. Source of IP-Address 19 #: applications/luci-ddns/luasrc/i18n/ddns.en.lua:3 20 msgid "Source of IP-Address" 24 msgid "Enable" 21 25 msgstr "" 22 26 23 #. Check for changed IP every 24 #: applications/luci-ddns/luasrc/i18n/ddns.en.lua:4 27 msgid "Service" 28 msgstr "" 29 30 msgid "custom" 31 msgstr "" 32 33 msgid "Custom update-URL" 34 msgstr "" 35 36 msgid "Hostname" 37 msgstr "" 38 39 msgid "Username" 40 msgstr "" 41 42 msgid "Password" 43 msgstr "" 44 45 msgid "Source of IP address" 46 msgstr "" 47 48 msgid "Network" 49 msgstr "" 50 51 msgid "Interface" 52 msgstr "" 53 54 msgid "URL" 55 msgstr "" 56 25 57 msgid "Check for changed IP every" 26 58 msgstr "" 27 59 28 #. Check-Time unit 29 #: applications/luci-ddns/luasrc/i18n/ddns.en.lua:5 30 msgid "Check-Time unit" 60 msgid "Check-time unit" 31 61 msgstr "" 32 62 33 #. Force update every 34 #: applications/luci-ddns/luasrc/i18n/ddns.en.lua:6 63 # Minutes (not minimum) 64 msgid "min" 65 msgstr "" 66 67 # Hours 68 msgid "h" 69 msgstr "" 70 35 71 msgid "Force update every" 36 72 msgstr "" 37 73 38 #. Force-Time unit 39 #: applications/luci-ddns/luasrc/i18n/ddns.en.lua:7 40 msgid "Force-Time unit" 74 msgid "Force-time unit" 41 75 msgstr "" 42 43 #. Custom Update-URL44 #: applications/luci-ddns/luasrc/i18n/ddns.en.lua:845 msgid "Custom Update-URL"46 msgstr ""
