diff options
Diffstat (limited to 'applications/luci-app-ddns')
5 files changed, 23 insertions, 23 deletions
diff --git a/applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js b/applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js index 2bda3f3bc5..3fd752beeb 100644 --- a/applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js +++ b/applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js @@ -489,7 +489,7 @@ return view.extend({ o.value('-',"-- " + _("custom") + " --"); o.cfgvalue = function(section_id) { - return uci.get('ddns', section_id, 'service_name'); + return uci.get('ddns', section_id, 'service_name') || '-'; } o.write = function(section_id, formvalue) { diff --git a/applications/luci-app-ddns/po/pt_BR/ddns.po b/applications/luci-app-ddns/po/pt_BR/ddns.po index 7337ce4bc3..e789090d65 100644 --- a/applications/luci-app-ddns/po/pt_BR/ddns.po +++ b/applications/luci-app-ddns/po/pt_BR/ddns.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: luci-app-ddns 2.4.0-1\n" "POT-Creation-Date: 2016-01-30 11:07+0100\n" -"PO-Revision-Date: 2020-06-16 16:09+0000\n" +"PO-Revision-Date: 2020-08-15 05:29+0000\n" "Last-Translator: Wellington Terumi Uemura <wellingtonuemura@gmail.com>\n" "Language-Team: Portuguese (Brazil) <https://hosted.weblate.org/projects/" "openwrt/luciapplicationsddns/pt_BR/>\n" @@ -11,7 +11,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n > 1;\n" -"X-Generator: Weblate 4.1.1-dev\n" +"X-Generator: Weblate 4.2-dev\n" #: applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js:996 msgid "\"../\" not allowed in path for Security Reason." @@ -594,7 +594,7 @@ msgstr "Por favor, pressione o botão [Ler]" #: applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js:934 msgid "Read / Reread log file" -msgstr "Ler / Ler novamente o arquivo de registro" +msgstr "Ler / Ler novamente o arquivo do registro log" #: applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js:397 #: applications/luci-app-ddns/htdocs/luci-static/resources/view/status/include/70_ddns.js:30 diff --git a/applications/luci-app-ddns/po/sv/ddns.po b/applications/luci-app-ddns/po/sv/ddns.po index af633a3936..6cca894546 100644 --- a/applications/luci-app-ddns/po/sv/ddns.po +++ b/applications/luci-app-ddns/po/sv/ddns.po @@ -1,6 +1,6 @@ msgid "" msgstr "" -"PO-Revision-Date: 2019-12-20 21:21+0000\n" +"PO-Revision-Date: 2020-08-20 15:36+0000\n" "Last-Translator: smorgasbeerd <viktorwestas@outlook.com>\n" "Language-Team: Swedish <https://hosted.weblate.org/projects/openwrt/" "luciapplicationsddns/sv/>\n" @@ -8,11 +8,11 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 3.10\n" +"X-Generator: Weblate 4.2.1-dev\n" #: applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js:996 msgid "\"../\" not allowed in path for Security Reason." -msgstr "" +msgstr "\"../\" ej tillåten i sökväg av säkerhetsskäl." #: applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js:297 #: applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js:326 diff --git a/applications/luci-app-ddns/po/tr/ddns.po b/applications/luci-app-ddns/po/tr/ddns.po index 50cf6d561c..6fdb70bc4c 100644 --- a/applications/luci-app-ddns/po/tr/ddns.po +++ b/applications/luci-app-ddns/po/tr/ddns.po @@ -2,8 +2,8 @@ msgid "" msgstr "" "Project-Id-Version: luci-app-ddns 2.4.0-1\n" "POT-Creation-Date: 2016-01-30 11:07+0100\n" -"PO-Revision-Date: 2020-07-22 02:41+0000\n" -"Last-Translator: tentena <thetentena@gmail.com>\n" +"PO-Revision-Date: 2020-08-20 15:36+0000\n" +"Last-Translator: Ataberk Özen <ataberkozen123@gmail.com>\n" "Language-Team: Turkish <https://hosted.weblate.org/projects/openwrt/" "luciapplicationsddns/tr/>\n" "Language: tr\n" @@ -11,7 +11,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Weblate 4.2-dev\n" +"X-Generator: Weblate 4.2.1-dev\n" #: applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js:996 msgid "\"../\" not allowed in path for Security Reason." @@ -180,7 +180,7 @@ msgstr "" #: applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js:576 msgid "Domain" -msgstr "" +msgstr "Alan" #: applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js:151 #: applications/luci-app-ddns/htdocs/luci-static/resources/view/status/include/70_ddns.js:7 @@ -203,7 +203,7 @@ msgstr "" #: applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js:409 #: applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js:453 msgid "Enabled" -msgstr "" +msgstr "Etkin" #: applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js:809 msgid "Error" diff --git a/applications/luci-app-ddns/root/usr/libexec/rpcd/luci.ddns b/applications/luci-app-ddns/root/usr/libexec/rpcd/luci.ddns index 8ba4ad3165..7710ee66f4 100755 --- a/applications/luci-app-ddns/root/usr/libexec/rpcd/luci.ddns +++ b/applications/luci-app-ddns/root/usr/libexec/rpcd/luci.ddns @@ -179,23 +179,23 @@ local methods = { local cache = {} local function has_wget() - return (sys.call( [[which wget >/dev/null 2>&1]] ) == 0) + return (sys.call( [[command -v wget >/dev/null 2>&1]] ) == 0) end local function has_wgetssl() if cache['has_wgetssl'] then return cache['has_wgetssl'] end - local res = (sys.call( [[which wget-ssl >/dev/null 2>&1]] ) == 0) + local res = (sys.call( [[command -v wget-ssl >/dev/null 2>&1]] ) == 0) cache['has_wgetssl'] = res return res end local function has_curlssl() - return (sys.call( [[$(which curl) -V 2>&1 | grep -qF "https"]] ) == 0) + return (sys.call( [[$(command -v curl) -V 2>&1 | grep -qF "https"]] ) == 0) end local function has_fetch() if cache['has_fetch'] then return cache['has_fetch'] end - local res = (sys.call( [[which uclient-fetch >/dev/null 2>&1]] ) == 0) + local res = (sys.call( [[command -v uclient-fetch >/dev/null 2>&1]] ) == 0) cache['has_fetch'] = res return res end @@ -206,7 +206,7 @@ local methods = { local function has_curl() if cache['has_curl'] then return cache['has_curl'] end - local res = (sys.call( [[which curl >/dev/null 2>&1]] ) == 0) + local res = (sys.call( [[command -v curl >/dev/null 2>&1]] ) == 0) cache['has_curl'] = res return res end @@ -216,7 +216,7 @@ local methods = { end local function has_bbwget() - return (sys.call( [[$(which wget) -V 2>&1 | grep -iqF "busybox"]] ) == 0) + return (sys.call( [[$(command -v wget) -V 2>&1 | grep -iqF "busybox"]] ) == 0) end res['has_wget'] = has_wget() or false @@ -229,17 +229,17 @@ local methods = { local function has_bindhost() if cache['has_bindhost'] then return cache['has_bindhost'] end - local res = (sys.call( [[which host >/dev/null 2>&1]] ) == 0) + local res = (sys.call( [[command -v host >/dev/null 2>&1]] ) == 0) if res then cache['has_bindhost'] = res return true end - res = (sys.call( [[which khost >/dev/null 2>&1]] ) == 0) + res = (sys.call( [[command -v khost >/dev/null 2>&1]] ) == 0) if res then cache['has_bindhost'] = res return true end - res = (sys.call( [[which drill >/dev/null 2>&1]] ) == 0) + res = (sys.call( [[command -v drill >/dev/null 2>&1]] ) == 0) if res then cache['has_bindhost'] = res return true @@ -251,11 +251,11 @@ local methods = { res['has_bindhost'] = cache['has_bindhost'] or has_bindhost() or false local function has_hostip() - return (sys.call( [[which hostip >/dev/null 2>&1]] ) == 0) + return (sys.call( [[command -v hostip >/dev/null 2>&1]] ) == 0) end local function has_nslookup() - return (sys.call( [[which nslookup >/dev/null 2>&1]] ) == 0) + return (sys.call( [[command -v nslookup >/dev/null 2>&1]] ) == 0) end res['has_dnsserver'] = cache['has_bindhost'] or has_nslookup() or has_hostip() or has_bindhost() or false |