fixed some translations issues
This commit is contained in:
parent
149446e06d
commit
23c58f4a53
|
|
@ -21,11 +21,11 @@
|
|||
<div class="mlhdr">ETHERNET</div>
|
||||
<table class='cntr'>
|
||||
<tr>
|
||||
<script>PrintSwitch('Включить ETHERNET','ethen','~ethen~','configIPBoxes()');
|
||||
PrintSwitch('Включить DHCP','dhcp','~ecbdh~','configIPBoxes()');
|
||||
PrintIPInput('IP Станции:','ipa','~eip~');
|
||||
PrintIPInput('Маска подсети:','mas','~emsk~');
|
||||
PrintIPInput(' Адрес шлюза:','gte','~egate~');
|
||||
<script>PrintSwitch('ETHERNET enabled','ethen','~ethen~','configIPBoxes()');
|
||||
PrintSwitch('DHCP enabled','dhcp','~ecbdh~','configIPBoxes()');
|
||||
PrintIPInput('IP address:','ipa','~eip~');
|
||||
PrintIPInput('Subnet mask:','mas','~emsk~');
|
||||
PrintIPInput('Gateway address:','gte','~egate~');
|
||||
PrintIPInput('DNS1:','dns1','~edns~');
|
||||
PrintIPInput('DNS2:','dns2','~bkedns~');
|
||||
PrintIPInput('DNS3:','dns3','~fledns~');
|
||||
|
|
@ -49,18 +49,18 @@
|
|||
<table class='cntr'>
|
||||
<table>
|
||||
<script>
|
||||
PrintSwitch('Включить LoRaWAN','lren','~lren~',null);
|
||||
PrintHexInput('ID устройства:','lrdvid','~lrdvid~',16,16);
|
||||
PrintHexInput('ID приложения:','lrapid','~lrapid~',16,16);
|
||||
PrintSwitch('LoRaWAN enabled','lren','~lren~',null);
|
||||
PrintHexInput('Device ID:','lrdvid','~lrdvid~',16,16);
|
||||
PrintHexInput('Application ID:','lrapid','~lrapid~',16,16);
|
||||
</script>
|
||||
</table>
|
||||
<table>
|
||||
<tr>
|
||||
<td align="center">Ключ приложения:</td>
|
||||
<td align="center">Application key:</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center"><input type="text" size="40" name='lrapkey' value="~lrapkey~"
|
||||
title="64 символа A-H,a-h,0-9" pattern="^[0-9a-hA-H]{32}$" /></td>
|
||||
title="64 symbols A-H,a-h,0-9" pattern="^[0-9a-hA-H]{32}$" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
<script>PrintSaveFail('~status_fail~');
|
||||
|
|
@ -75,7 +75,7 @@
|
|||
<div class="mlhdr">WiFi</div>
|
||||
<table class='cntr'>
|
||||
<script>
|
||||
PrintSwitch('Включить WiFi','wifien','~wfen~',null);
|
||||
PrintSwitch('WiFi enable','wifien','~wfen~',null);
|
||||
</script>
|
||||
<tr>
|
||||
<td class='rl'><button type="button" class='btn' name='upd' onclick="StartScan()">Scan
|
||||
|
|
@ -85,24 +85,24 @@
|
|||
</table>
|
||||
<p id="nets"></p>
|
||||
<table class='cntr'>
|
||||
<tr><td class='rl'>Режим WiFi:</td>
|
||||
<tr><td class='rl'>WiFi mode:</td>
|
||||
<td><select name="wfmode">
|
||||
<option value="sta"~wfmode(1)~>Клиент (STA)</option>
|
||||
<option value="ap"~wfmode(2)~>Точка доступа (AP)</option>
|
||||
<option value="apsta"~wfmode(3)~>Точка+Клиент (AP+STA)</option>
|
||||
<option value="sta"~wfmode(1)~>Station (STA)</option>
|
||||
<option value="ap"~wfmode(2)~>Access point (AP)</option>
|
||||
<option value="apsta"~wfmode(3)~>Mixed(AP+STA)</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<script>
|
||||
PrintInt('Max power, dBm','wifipwr','~wifipwr~',2,21);
|
||||
PrintTextInput('Имя WiFi сети(AP):','wfiap','~ssidap~',3,31);
|
||||
PrintTextInput('Ключ WiFi сети(AP):','wfpap','~wkeyap~',8,31);
|
||||
PrintIPInput('IP адрес(AP):','ipaap','~ipap~');
|
||||
PrintTextInput('Имя WiFi сети(CLN):','wfi','~ssid~',3,31);
|
||||
PrintTextInput('Ключ WiFi сети(CLN):','wfp','~wkey~',8,31);
|
||||
PrintSwitch('Включить DHCP','dhcp','~cbdh~','configIPBoxes()');
|
||||
PrintIPInput('IP адрес(CLN):','ipa','~ip~');
|
||||
PrintIPInput('Маска подсети(CLN):','mas','~msk~');
|
||||
PrintIPInput('Адрес шлюза(CLN):','gte','~gate~');
|
||||
PrintTextInput('WiFi network name(AP):','wfiap','~ssidap~',3,31);
|
||||
PrintTextInput('WiFi network key(AP):','wfpap','~wkeyap~',8,31);
|
||||
PrintIPInput('IP address(AP):','ipaap','~ipap~');
|
||||
PrintTextInput('WiFi network name(CLN):','wfi','~ssid~',3,31);
|
||||
PrintTextInput('WiFi network key(CLN):','wfp','~wkey~',8,31);
|
||||
PrintSwitch('DHCP enabled','dhcp','~cbdh~','configIPBoxes()');
|
||||
PrintIPInput('IP address(CLN):','ipa','~ip~');
|
||||
PrintIPInput('Subnet mask(CLN):','mas','~msk~');
|
||||
PrintIPInput('Gateway address(CLN):','gte','~gate~');
|
||||
PrintIPInput('DNS1:','dns','~dns~');
|
||||
PrintIPInput('DNS2:','dns2','~dns2~');
|
||||
PrintIPInput('DNS3:','dns3','~dns3~');
|
||||
|
|
@ -127,14 +127,14 @@
|
|||
<form name="gprs" method="post">
|
||||
<table class='cntr'>
|
||||
<script>
|
||||
PrintSwitch('Включить GSM','gsmen','~gsmen~',null);
|
||||
PrintLabel('Модуль:','~gsmmod~');
|
||||
PrintLabel('Оператор:','~gsmopr~');
|
||||
PrintSwitch('GSM enable','gsmen','~gsmen~',null);
|
||||
PrintLabel('Module type:','~gsmmod~');
|
||||
PrintLabel('Provider name:','~gsmopr~');
|
||||
PrintLabel('IMEI:','~gimei~');
|
||||
PrintLabel('IMSI:','~gimsi~');
|
||||
PrintLabel('IP адрес:','~gsmip~');
|
||||
PrintLabel('Маска подсети:','~gsmmsk~');
|
||||
PrintLabel('Адрес шлюза:','~gsmgate~');
|
||||
PrintLabel('IP address:','~gsmip~');
|
||||
PrintLabel('Subnet mask:','~gsmmsk~');
|
||||
PrintLabel('Gateway address:','~gsmgate~');
|
||||
PrintLabel('DNS1:','~gsmdns~');
|
||||
PrintLabel('DNS2:','~bkgsmdns~');
|
||||
PrintLabel('DNS3:','~flgsmdns~');
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@
|
|||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<table align='center'><tr align='center'><td class='txt'>Сохранение настроек и перезагрузка устройства...
|
||||
<h3>Выполнено  <span id='tmr'>?</span> %</h3></td></tr></table>
|
||||
<table align='center'><tr align='center'><td class='txt'>Saving settings and rebooting device...
|
||||
<h3>Completed  <span id='tmr'>?</span> %</h3></td></tr></table>
|
||||
</body>
|
||||
<script language="javascript">
|
||||
function goback(){
|
||||
|
|
|
|||
|
|
@ -87,10 +87,10 @@ function PageSurround()
|
|||
|
||||
function PrintIPInput(title,name,value){document.write("<tr><td class='rl'>"+title+"</td><td><input type='text' required size='20' name='"+name+"' value='"+value+"' title='IP адрес xxx.xxx.xxx.xxx' pattern='^\\d{1,3}\.\\d{1,3}\.\\d{1,3}\.\\d{1,3}$' /></td></tr>");}
|
||||
function PrintMACInput(title,name,value){document.write("<tr><td class='rl'>"+title+"</td><td><input type='text' required size='20' name='"+name+"' value='"+value+"' title='MAC адрес xx-xx-xx-xx-xx-xx' pattern='^([0-9a-fA-F]{2}([-]|$)){6}$|([0-9a-fA-F]{4}([.]|$)){3}$' /></td></tr>");}
|
||||
function PrintTextInput(title,name,value,min,max){document.write("<tr><td class='rl'>"+title+"</td><td><input type='text' required size='20' name='"+name+"' value="+value+" title='"+min+"-"+max+" символов' pattern='^*{"+min+","+max+"}$' /></td></tr>");}
|
||||
function PrintTextInputID(title,id,value,min,max){document.write("<tr><td class='rl'>"+title+"</td><td><input type='text' required size='20' id='"+id+"' value="+value+" title='"+min+"-"+max+" символов' pattern='^*{"+min+","+max+"}$' /></td></tr>");}
|
||||
function PrintHexInput(title,name,value,min,max){document.write("<tr><td class='rl'>"+title+"</td><td><input type='text' required size='20' name='"+name+"' value="+value+" title='"+min+"-"+max+" символов A-Fa-f0-9' pattern='^[0-9a-fA-F]{"+min+","+max+"}$' /></td></tr>");}
|
||||
function PrintTextInputNoReg(title,name,value,min,max){document.write("<tr><td class='rl'>"+title+"</td><td><input type='text' required size='20' name='"+name+"' value="+value+" title='"+min+"-"+max+" символов'/></td></tr>");}
|
||||
function PrintTextInput(title,name,value,min,max){document.write("<tr><td class='rl'>"+title+"</td><td><input type='text' required size='20' name='"+name+"' value="+value+" title='"+min+"-"+max+" chars' pattern='^*{"+min+","+max+"}$' /></td></tr>");}
|
||||
function PrintTextInputID(title,id,value,min,max){document.write("<tr><td class='rl'>"+title+"</td><td><input type='text' required size='20' id='"+id+"' value="+value+" title='"+min+"-"+max+" chars' pattern='^*{"+min+","+max+"}$' /></td></tr>");}
|
||||
function PrintHexInput(title,name,value,min,max){document.write("<tr><td class='rl'>"+title+"</td><td><input type='text' required size='20' name='"+name+"' value="+value+" title='"+min+"-"+max+" chars A-Fa-f0-9' pattern='^[0-9a-fA-F]{"+min+","+max+"}$' /></td></tr>");}
|
||||
function PrintTextInputNoReg(title,name,value,min,max){document.write("<tr><td class='rl'>"+title+"</td><td><input type='text' required size='20' name='"+name+"' value="+value+" title='"+min+"-"+max+" chars'/></td></tr>");}
|
||||
function PrintLabel(title,value){document.write("<tr><td class='rl lab'>"+title+"</td><td align='left' class='lab'>"+value+"</td></tr>");}
|
||||
function PrintSpanLabel(title,idx){document.write("<tr><td class='rl'>"+title+"</td><td align='left'><span id='"+idx+"'>?</span></td></tr>");}
|
||||
function PrintCheckBox(title,name,checked,action){document.write("<tr><td class='rl'>"+title+"</td><td><input type='checkbox' name='"+name+"' value='1' onclick="+action+" "+checked+" /></td></tr>");}
|
||||
|
|
|
|||
|
|
@ -26,17 +26,17 @@
|
|||
<div class="mlhdr">SNTP</div>
|
||||
|
||||
<table class='cntr'>
|
||||
<script>PrintSwitch('Включить SNTP клиент','sntpen','~sntpen~',null);
|
||||
PrintTextInput('Адрес1 SNTP сервера:','tsr','~tmsrv~',3,31);
|
||||
PrintTextInput('Адрес2 SNTP сервера:','tsr2','~tmsrv2~',3,31);
|
||||
PrintTextInput('Адрес3 SNTP сервера:','tsr3','~tmsrv3~',3,31);
|
||||
<script>PrintSwitch('SNTP client enable','sntpen','~sntpen~',null);
|
||||
PrintTextInput('SNTP server 1:','tsr','~tmsrv~',3,31);
|
||||
PrintTextInput('SNTP server 2:','tsr2','~tmsrv2~',3,31);
|
||||
PrintTextInput('SNTP server 3:','tsr3','~tmsrv3~',3,31);
|
||||
</script>
|
||||
</table>
|
||||
<table class='cntr'>
|
||||
<tr><td width=90% align='center'>
|
||||
Установить текущее время вручную:<br/>
|
||||
Set time manually:<br/>
|
||||
<input type='datetime-local' id="curdt">
|
||||
<button id='sendt' type='button' class ='btn sbtn'>Передать</button><br/><br/><br/>
|
||||
<button id='sendt' type='button' class ='btn sbtn'>Send time</button><br/><br/><br/>
|
||||
</td></tr>
|
||||
</table>
|
||||
<script>PrintSaveFail('~status_fail~');
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user