Bob Mottram 9 年前
父节点
当前提交
820fa6a4bd
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      src/freedombone-config

+ 2
- 2
src/freedombone-config 查看文件

@@ -146,11 +146,11 @@ function validate_freedns_code {
146 146
     FREEDNS_MESSAGE=$"Please enter the FreeDNS code for this domain.\n\nThe code can be found by going to https://freedns.afraid.org, selecting 'Dynamic DNS' and then opening 'Wget example'. The code will consist of letters and numbers and be between the ? and = characters."
147 147
 
148 148
     if [[ "$freedns_code" == *"."* || "$freedns_code" == "http"* || "$freedns_code" == *"wget "* || "$freedns_code" == *" "* ]]; then
149
-        dialog --title $"Invalid Freedns Code" --msgbox $'$FREEDNS_MESSAGE' 10 70
149
+        dialog --title $"Invalid FreeDNS Code" --msgbox $'$FREEDNS_MESSAGE' 10 70
150 150
         VALID_CODE=
151 151
     fi
152 152
     if [ ${#freedns_code} -lt 30 ]; then
153
-        dialog --title $"Invalid Freedns Code" --msgbox $'Freedns code is too short. Did you enter the entire code?' 6 70
153
+        dialog --title $"Invalid FreeDNS Code" --msgbox $'FreeDNS code is too short. Did you enter the entire code?' 6 70
154 154
         VALID_CODE=
155 155
     fi
156 156
     VALID_CODE='yes'