Skip to content

Commit 324b71d

Browse files
committed
improve IPv6 messages
1 parent 620ffc5 commit 324b71d

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

gae_proxy/lang/de_DE/LC_MESSAGES/messages.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ msgid "Needless to configure generally"
4848
msgstr ""
4949

5050
#: web_ui/config.html:37
51-
msgid "Enable IPv6(CERNet only)"
51+
msgid "Enable IPv6(If it's available)"
5252
msgstr ""
5353

5454
#: web_ui/config.html:45

gae_proxy/lang/es_VE/LC_MESSAGES/messages.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ msgid "Needless to configure generally"
4848
msgstr ""
4949

5050
#: web_ui/config.html:37
51-
msgid "Enable IPv6(CERNet only)"
51+
msgid "Enable IPv6(If it's available)"
5252
msgstr ""
5353

5454
#: web_ui/config.html:45

gae_proxy/lang/fa_IR/LC_MESSAGES/messages.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ msgstr "توجه: غیر قابل دسترس قبل از appids مستقر هس
8282
msgid "Advanced options"
8383
msgstr "گزینه های پیشرفته"
8484

85-
msgid "Enable IPv6(CERNet only)"
85+
msgid "Enable IPv6(If it's available)"
8686
msgstr "فعال کردن IPv6 را (سرنت تنها)"
8787

8888
msgid "LAN proxy(Generally not needed)"

gae_proxy/lang/ja_JP/LC_MESSAGES/messages.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ msgid "Needless to configure generally"
4848
msgstr ""
4949

5050
#: web_ui/config.html:37
51-
msgid "Enable IPv6(CERNet only)"
51+
msgid "Enable IPv6(If it's available)"
5252
msgstr ""
5353

5454
#: web_ui/config.html:45

gae_proxy/lang/zh_CN/LC_MESSAGES/messages.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ msgstr "注意:appid部署之前无法使用。"
8080
msgid "Advanced options"
8181
msgstr "高级选项"
8282

83-
msgid "Enable IPv6(CERNet only)"
83+
msgid "Enable IPv6(If it's available)"
8484
msgstr "使用IPv6(一般教育网才开)"
8585

8686
msgid "LAN proxy(Generally not needed)"

gae_proxy/local/web_control.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ def req_config_handler(self):
480480
if user_config.user_special.use_ipv6 != use_ipv6:
481481
if use_ipv6:
482482
if not check_local_network.check_ipv6():
483-
xlog.warn("Enable Ipv6 but check failed.")
483+
xlog.warn("IPv6 was enabled, but check failed.")
484484
return self.send_response('text/html', '{"res":"fail", "reason":"IPv6 fail"}')
485485

486486
user_config.user_special.use_ipv6 = use_ipv6

gae_proxy/web_ui/config.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<div id="advanced-options" style="display: none;">
2727
<div class="row-fluid">
2828
<div class="span4">
29-
<label for="use-ipv6">{{ _( "Enable IPv6(CERNet only)" ) }}</label>
29+
<label for="use-ipv6">{{ _( "Enable IPv6(If it's available)" ) }}</label>
3030
</div> <!-- .span4 -->
3131
<div class="span8">
3232
<input id="use-ipv6" type="checkbox" data-toggle="switch" />

0 commit comments

Comments
 (0)