diff options
author | Christian Schoenebeck <christian.schoenebeck@gmail.com> | 2015-05-14 09:02:40 +0200 |
---|---|---|
committer | Christian Schoenebeck <christian.schoenebeck@gmail.com> | 2015-05-14 09:02:40 +0200 |
commit | 754ca290e578b5a60f5d9c2b2f4abf50d68f362a (patch) | |
tree | c6611e9f7bfe330e089df8967b5d8459bafb9112 /applications/luci-app-ddns | |
parent | 4cabf997e5bc68dd2604ae8cfc3149ca5d212296 (diff) | |
parent | d3b6c375ced552773ec08b8a501b7166b749f14b (diff) |
Merge pull request #382 from chris5560/master
luci-app-ddns: reflect changes on ddns-scripts
Diffstat (limited to 'applications/luci-app-ddns')
-rw-r--r-- | applications/luci-app-ddns/Makefile | 2 | ||||
-rw-r--r-- | applications/luci-app-ddns/luasrc/controller/ddns.lua | 2 | ||||
-rw-r--r-- | applications/luci-app-ddns/luasrc/model/cbi/ddns/detail.lua | 12 | ||||
-rw-r--r-- | applications/luci-app-ddns/po/de/ddns.po | 11 | ||||
-rw-r--r-- | applications/luci-app-ddns/po/templates/ddns.pot | 3 |
5 files changed, 19 insertions, 11 deletions
diff --git a/applications/luci-app-ddns/Makefile b/applications/luci-app-ddns/Makefile index 1bffcaa4b3..a2d2ae9473 100644 --- a/applications/luci-app-ddns/Makefile +++ b/applications/luci-app-ddns/Makefile @@ -10,7 +10,7 @@ PKG_NAME:=luci-app-ddns # Version == major.minor.patch # increase on new functionality (minor) or patches (patch) -PKG_VERSION:=2.2.2 +PKG_VERSION:=2.2.3 # Release == build # increase on changes of translation files diff --git a/applications/luci-app-ddns/luasrc/controller/ddns.lua b/applications/luci-app-ddns/luasrc/controller/ddns.lua index 0b82021e2a..946dfefbc8 100644 --- a/applications/luci-app-ddns/luasrc/controller/ddns.lua +++ b/applications/luci-app-ddns/luasrc/controller/ddns.lua @@ -15,7 +15,7 @@ local SYS = require "luci.sys" local DDNS = require "luci.tools.ddns" -- ddns multiused functions local UTIL = require "luci.util" -DDNS_MIN = "2.2.0-1" -- minimum version of service required +DDNS_MIN = "2.4.2-1" -- minimum version of service required function index() local nxfs = require "nixio.fs" -- global definitions not available diff --git a/applications/luci-app-ddns/luasrc/model/cbi/ddns/detail.lua b/applications/luci-app-ddns/luasrc/model/cbi/ddns/detail.lua index 40a66ef152..27f9a9f264 100644 --- a/applications/luci-app-ddns/luasrc/model/cbi/ddns/detail.lua +++ b/applications/luci-app-ddns/luasrc/model/cbi/ddns/detail.lua @@ -1156,11 +1156,13 @@ function fu.write(self, section, value) end -- retry_count (NEW) -- ######################################################## -rc = ns:taboption("timer", Value, "retry_count", - translate("Error Retry Counter"), - translate("On Error the script will stop execution after given number of retrys") ) -rc.default = 5 -rc.rmempty = false -- validate ourselves for translatable error messages +rc = ns:taboption("timer", Value, "retry_count") +rc.title = translate("Error Retry Counter") +rc.description = translate("On Error the script will stop execution after given number of retrys") + .. "<br />" + .. translate("The default setting of '0' will retry infinite.") +rc.default = 0 +rc.rmempty = false -- validate ourselves for translatable error messages function rc.validate(self, value) if not DTYP.uinteger(value) then return nil, err_tab_timer(self) .. translate("minimum value '0'") diff --git a/applications/luci-app-ddns/po/de/ddns.po b/applications/luci-app-ddns/po/de/ddns.po index f6e0d5e393..6ffde5d547 100644 --- a/applications/luci-app-ddns/po/de/ddns.po +++ b/applications/luci-app-ddns/po/de/ddns.po @@ -1,15 +1,15 @@ msgid "" msgstr "" "Project-Id-Version: luci-app-ddns\n" -"POT-Creation-Date: 2015-02-08 18:30+0100\n" -"PO-Revision-Date: 2015-02-08 18:36+0100\n" +"POT-Creation-Date: 2015-05-08 21:29+0100\n" +"PO-Revision-Date: 2015-05-08 21:47+0100\n" "Last-Translator: Christian Schoenebeck <christian.schoenebeck@gmail.com>\n" "Language-Team: \n" "Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 1.5.4\n" +"X-Generator: Poedit 1.7.5\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Poedit-SourceCharset: UTF-8\n" "X-Poedit-Basepath: .\n" @@ -452,7 +452,7 @@ msgstr "" "wiederholen" msgid "On Error the script will stop execution after given number of retrys" -msgstr "Das Skript wird nach der gegebener Anzahlt von Fehlversuchen beendet" +msgstr "Das Skript wird nach der gegebenen Anzahl von Fehlversuchen beendet." msgid "Overview" msgstr "Übersicht" @@ -527,6 +527,9 @@ msgstr "" "Die installierte Software 'ddns-scripts' unterstützt nicht alle verfügbaren " "Optionen." +msgid "The default setting of '0' will retry infinite." +msgstr "Der Standard-Wert von '0' wird es endlosen erneut versuchen." + msgid "There is no service configured." msgstr "Kein Dienst konfiguriert" diff --git a/applications/luci-app-ddns/po/templates/ddns.pot b/applications/luci-app-ddns/po/templates/ddns.pot index 6e4f2fe08a..35386802bf 100644 --- a/applications/luci-app-ddns/po/templates/ddns.pot +++ b/applications/luci-app-ddns/po/templates/ddns.pot @@ -444,6 +444,9 @@ msgid "" "settings." msgstr "" +msgid "The default setting of '0' will retry infinite." +msgstr "" + msgid "There is no service configured." msgstr "" |