From 777dbbe2a7b92a2bdc82d6c75662ac8301f63f1c Mon Sep 17 00:00:00 2001 From: Nikhil Rayaprolu Date: Sun, 24 Jul 2016 00:04:09 +0530 Subject: [PATCH] dynamicdns: Improve label for IP Check URL --- actions/dynamicdns | 5 +++-- plinth/modules/dynamicdns/dynamicdns.py | 2 +- .../modules/dynamicdns/templates/dynamicdns_status.html | 9 +++++---- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/actions/dynamicdns b/actions/dynamicdns index 907985bec..61f50aa9b 100755 --- a/actions/dynamicdns +++ b/actions/dynamicdns @@ -41,7 +41,8 @@ EMPTYSTRING="none" NOIP="0.0.0.0" # how often do we poll for IP changes if we are behind a NAT? UPDATEMINUTES=5 -# if we do not have a IP check URL, how often should we do a "blind" update +# if we do not have a URL to lookup public IP, how often should we do +# a "blind" update UPDATEMINUTESUNKNOWN=3600 TOOLNAME=ez-ipupdate UPDATE_TOOL=$(which ${TOOLNAME}) @@ -439,7 +440,7 @@ case ${cmd} in echo "-u Account username" echo "-P Account password" echo "-p Read Account Password from stdin" - echo "-I A URL which returns the IP of the client who is requesting" + echo "-I A URL which returns the IP of the client who is requesting" echo "-U The update URL (a HTTP GET on this URL will be done)" echo "-c <1|0> disable SSL check on Update URL" echo "-b <1|0> use HTTP basic auth on Update URL" diff --git a/plinth/modules/dynamicdns/dynamicdns.py b/plinth/modules/dynamicdns/dynamicdns.py index a73f0ac3a..f1c63a274 100644 --- a/plinth/modules/dynamicdns/dynamicdns.py +++ b/plinth/modules/dynamicdns/dynamicdns.py @@ -150,7 +150,7 @@ class ConfigureForm(forms.Form): required=False) dynamicdns_ipurl = TrimmedCharField( - label=ugettext_lazy('IP Check URL'), + label=ugettext_lazy('URL to lookup public IP'), required=False, help_text=help_ip_url, validators=[ diff --git a/plinth/modules/dynamicdns/templates/dynamicdns_status.html b/plinth/modules/dynamicdns/templates/dynamicdns_status.html index 32051ccfd..b0859102c 100644 --- a/plinth/modules/dynamicdns/templates/dynamicdns_status.html +++ b/plinth/modules/dynamicdns/templates/dynamicdns_status.html @@ -36,10 +36,11 @@ {% else %} {% blocktrans trimmed %} Behind NAT. This means that Dynamic DNS service will poll - the "IP Check URL" for changes (the "IP Check URL" entry is - needed for this, otherwise IP changes will not be - detected). In case the WAN IP changes, it may take up to - {{ timer }} minutes until your DNS entry is updated. + the "URL to lookup public IP" for changes (the "URL to + lookup public IP" entry is needed for this, otherwise IP + changes will not be detected). In case the WAN IP changes, + it may take up to {{ timer }} minutes until your DNS entry + is updated. {% endblocktrans %} {% endif %} {% endif %}