luci-app-mtk: update zh-cn i18n (#129)

This commit is contained in:
benboguan 2023-09-27 00:56:36 +08:00 committed by GitHub
parent 101adeccce
commit cbbccc936f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 5 deletions

View File

@ -53,7 +53,7 @@ local bands = mtkwifi.detect_triband()
<select style="width:auto; min-width:180px;" name="Channel" id="Channel" onchange="Channel_onchange(this.value)" <% if cfgs.ApCliEnable == "1" then %> disabled="disabled" <% end %>> <select style="width:auto; min-width:180px;" name="Channel" id="Channel" onchange="Channel_onchange(this.value)" <% if cfgs.ApCliEnable == "1" then %> disabled="disabled" <% end %>>
</select> </select>
</td> </td>
<td><% if cfgs.ApCliEnable == "1" then %> APClient/Repeater Mode. <% end %></td> <td><% if cfgs.ApCliEnable == "1" then %><%:APClient/Repeater Mode.%><% end %></td>
</tr> </tr>
<tr id="HT_EXTCHA_TR" style="display:none"> <tr id="HT_EXTCHA_TR" style="display:none">
<td><%:40MHz HT Ext Channel%></td> <td><%:40MHz HT Ext Channel%></td>
@ -61,7 +61,7 @@ local bands = mtkwifi.detect_triband()
<select style="width:auto; min-width:180px;" name="HT_EXTCHA" id="HT_EXTCHA" <% if cfgs.ApCliEnable == "1" or dev.__bw ~= "40" or dev.__bw ~= "60" then %> disabled="disabled" <% end %>> <select style="width:auto; min-width:180px;" name="HT_EXTCHA" id="HT_EXTCHA" <% if cfgs.ApCliEnable == "1" or dev.__bw ~= "40" or dev.__bw ~= "60" then %> disabled="disabled" <% end %>>
</select> </select>
</td> </td>
<td><% if cfgs.ApCliEnable == "1" then %> APClient/Repeater Mode. <% end %></td> <td><% if cfgs.ApCliEnable == "1" then %><%:APClient/Repeater Mode.%><% end %></td>
</tr> </tr>
<tr id="VHT_Sec80_Channel_TR" style="display:none"> <tr id="VHT_Sec80_Channel_TR" style="display:none">
<td><%:80MHz Second VHT Channel%></td> <td><%:80MHz Second VHT Channel%></td>
@ -69,7 +69,7 @@ local bands = mtkwifi.detect_triband()
<select style="width:auto; min-width:180px; " name="VHT_Sec80_Channel" id="VHT_Sec80_Channel" <% if cfgs.ApCliEnable == "1" or dev.__bw ~= "161" then %> disabled="disabled" <% end %>> <select style="width:auto; min-width:180px; " name="VHT_Sec80_Channel" id="VHT_Sec80_Channel" <% if cfgs.ApCliEnable == "1" or dev.__bw ~= "161" then %> disabled="disabled" <% end %>>
</select> </select>
</td> </td>
<td><% if cfgs.ApCliEnable == "1" then %> APClient/Repeater Mode. <% end %></td> <td><% if cfgs.ApCliEnable == "1" then %><%:APClient/Repeater Mode.%><% end %></td>
</tr> </tr>
<% if string.split(cfgs.WirelessMode,";")[1] == "16" or string.split(cfgs.WirelessMode,";")[1] == "17" or string.split(cfgs.WirelessMode,";")[1] == "18" then %> <% if string.split(cfgs.WirelessMode,";")[1] == "16" or string.split(cfgs.WirelessMode,";")[1] == "17" or string.split(cfgs.WirelessMode,";")[1] == "18" then %>
<tr> <tr>

View File

@ -50,7 +50,7 @@ local chipname
<td colspan="2" style="text-align:left"> <td colspan="2" style="text-align:left">
<big><strong title="<%=dev.profile%>"> <%=string.split(dev.devname,".")[1]%></strong></big> <big><strong title="<%=dev.profile%>"> <%=string.split(dev.devname,".")[1]%></strong></big>
<%if not dev.vifs then%> <%if not dev.vifs then%>
<span style="color:red;">* FATAL ERROR: Incorrect Profile Settings</span> <span style="color:red;">* <%:FATAL ERROR: Incorrect Profile Settings%></span>
<%end%> <%end%>
<br> <br>
<%if dev.version then%> <%if dev.version then%>
@ -126,7 +126,7 @@ local chipname
<strong>SSID:</strong> <strong>SSID:</strong>
<span id="SSID_<%=vif.vifname%>"> <span id="SSID_<%=vif.vifname%>">
<% if vif.__ssid == "" then %> <% if vif.__ssid == "" then %>
<span style="color:red;"> Error: value not present in dat file </span> <span style="color:red;"><%:Error: value not present in dat file%></span>
<% else %> <% else %>
<span> <%=vif.__ssid and vif.__ssid:gsub(" ","&nbsp;") or nil%> <% end %> </span> <span> <%=vif.__ssid and vif.__ssid:gsub(" ","&nbsp;") or nil%> <% end %> </span>
</span> | </span> |

View File

@ -130,6 +130,12 @@ msgstr "已连接"
msgid "Disconnected" msgid "Disconnected"
msgstr "未连接" msgstr "未连接"
msgid "FATAL ERROR: Incorrect Profile Settings"
msgstr "严重错误: 配置文件设置不正确"
msgid "Error: value not present in dat file"
msgstr "错误dat文件中未指定SSID值"
msgid "Wireless is disabled or not associated" msgid "Wireless is disabled or not associated"
msgstr "无线已禁用或未关联" msgstr "无线已禁用或未关联"
@ -367,6 +373,9 @@ msgstr "扫描无线网络"
msgid "ApClient Mode" msgid "ApClient Mode"
msgstr "AP客户端模式" msgstr "AP客户端模式"
msgid "APClient/Repeater Mode."
msgstr "AP客户端中继模式。"
msgid "MAC Repeater Mode" msgid "MAC Repeater Mode"
msgstr "启用MAC中继模式" msgstr "启用MAC中继模式"