优化:主动控制·远程WOL唤醒功能 #328

This commit is contained in:
pppscn 2023-07-29 22:25:06 +08:00
parent 24d152cf87
commit 74c461f917
3 changed files with 137 additions and 135 deletions

View File

@ -60,7 +60,7 @@
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/ip" />
android:text="@string/broadcast_address" />
<com.xuexiang.xui.widget.edittext.materialedittext.MaterialEditText
android:id="@+id/et_ip"

View File

@ -991,12 +991,13 @@
<string name="appsecret">AppSecret</string>
<string name="sampleText">Text</string>
<string name="sampleMarkdown">Markdown</string>
<string name="ip_hint">IP address/broadcast address, eg. 192.168.1.255</string>
<string name="ip_hint">Broadcast Address, eg. 192.168.1.255</string>
<string name="ip_error">Malformed IP address, eg. 192.168.168.168</string>
<string name="ip_regex" tools:ignore="TypographyDashes">^((\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\.){3}(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])$</string>
<string name="mac_hint">Network card mac, eg. AA:BB:CC:DD:EE:FF</string>
<string name="mac_error">The network card mac format is incorrect, eg. AA:BB:CC:DD:EE:FF</string>
<string name="mac_regex" tools:ignore="TypographyDashes">^((([a-fA-F0-9]{2}:){5})|(([a-fA-F0-9]{2}-){5}))[a-fA-F0-9]{2}$</string>
<string name="broadcast_address">Broadcast Address</string>
<string name="ip">IP</string>
<string name="mac">MAC</string>
<string name="no_wol_history">There is no history record, WOL will be added automatically after successful sending</string>

View File

@ -992,13 +992,14 @@
<string name="appsecret">AppSecret</string>
<string name="sampleText">文本类型</string>
<string name="sampleMarkdown">Markdown类型</string>
<string name="ip_hint">可选,主机IP/广播地址例如192.168.1.255</string>
<string name="ip_hint">可选,内网广播地址例如192.168.1.255</string>
<string name="ip_error">IP地址格式错误例如192.168.168.168</string>
<string name="ip_regex" tools:ignore="TypographyDashes">^((\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\.){3}(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])$</string>
<string name="mac_hint">必填网卡mac例如AA:BB:CC:DD:EE:FF</string>
<string name="mac_error">网卡mac格式错误例如AA:BB:CC:DD:EE:FF</string>
<string name="mac_regex" tools:ignore="TypographyDashes">^((([a-fA-F0-9]{2}:){5})|(([a-fA-F0-9]{2}-){5}))[a-fA-F0-9]{2}$</string>
<string name="ip">主机IP/广播地址</string>
<string name="broadcast_address">内网广播地址</string>
<string name="ip">IP</string>
<string name="mac">网卡MAC</string>
<string name="no_wol_history">暂无历史记录WOL发送成功后自动加入</string>
<string name="wol_port_hint">可选WOL一般透过端口7或端口9进行发送</string>