Skip to content

Commit

Permalink
UPnP IGD: Improve wording and UI
Browse files Browse the repository at this point in the history
Close #452
  • Loading branch information
Self-Hosting-Group committed Jan 2, 2025
1 parent 4e5610c commit a2f3b21
Show file tree
Hide file tree
Showing 24 changed files with 113 additions and 141 deletions.
14 changes: 7 additions & 7 deletions src/router/kromo/dd-wrt/UPnP.asp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function setUPnPTable(forwards) {
//proto
var cell = row.insertCell(-1);
cell.innerHTML = data[i].proto;
cell.align = "center";
cell.align = "left";
row.style.height = "15px";
row.className = (data[i].enabled ? '' : 'disabled');
Expand All @@ -84,7 +84,7 @@ function setUPnPTable(forwards) {
function deleteForward(x) {
if (x != 'all') {
var e = data[x];
if (!confirm(share.del + " " + e.desc + "? [" + e.wanPorts + "->" + e.lanPorts + " " + e.lanIP + " " + e.proto + "]")) return;
if (!confirm(share.del + " " + e.lanIP + ":" + e.lanPorts + "/" + e.proto + " (" + e.desc + ")?")) return;
}
else {
if (!confirm(upnp.msg2)) return;
Expand Down Expand Up @@ -152,11 +152,11 @@ addEvent(window, "unload", function() {
<table class="table" cellspacing="6" id="upnp_table" summary="UPnP table">
<tbody>
<tr>
<th width="10%" class="center"><% tran("share.ip"); %></th>
<th width="5%" class="center"><% tran("share.from2"); %>&nbsp;(WAN)</th>
<th width="5%" class="center"><% tran("share.to2"); %>&nbsp;(LAN)</th>
<th width="5%" class="center"><% tran("share.proto"); %></th>
<th width="30%" class="center"><% tran("share.descr"); %></th>
<th width="10%"><% tran("share.ip"); %></th>
<th width="7%"><% tran("pforward.from"); %></th>
<th width="7%"><% tran("pforward.to"); %></th>
<th width="5%"><% tran("share.proto"); %></th>
<th width="30%"><% tran("share.descr"); %></th>
<th width="10%" class="center"><% tran("share.del"); %></th>
</tr>
</tbody>
Expand Down
17 changes: 8 additions & 9 deletions src/router/kromo/dd-wrt/lang_pack/arabic.js
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ bmenu.applications="NAT / QoS";
bmenu.applicationsprforwarding="Port Range Forwarding";
bmenu.applicationspforwarding="Port Forwarding";
bmenu.applicationsptriggering="Port Triggering";
bmenu.applicationsUpnp="UPnP";
bmenu.applicationsUpnp="UPnP IGD";
bmenu.applicationsDMZ="DMZ";
bmenu.applicationsQoS="QoS";
bmenu.applicationsP2P="P2P";
Expand Down Expand Up @@ -1407,14 +1407,13 @@ hupgrad.right2="Click on the <em>Browse...</em> button to select the firmware fi

// ** UPnP.asp **//

upnp.titl="UPnP";
upnp.h2="Universal Plug and Play (UPnP)";
upnp.legend="Forwards";
upnp.legend2="UPnP Configuration";
upnp.serv="UPnP Service";
upnp.url="Send presentation URL";
upnp.msg1="Click to delete entry";
upnp.msg2="Delete all entries?";
upnp.titl="UPnP IGD";
upnp.h2="UPnP IGD Service";
upnp.legend="Active Port Forwards";
upnp.legend2="Service Configuration";
upnp.serv="UPnP IGD Service";
upnp.msg1="Click to delete port forward";
upnp.msg2="Delete all port forwards?";

//help container

Expand Down
9 changes: 4 additions & 5 deletions src/router/kromo/dd-wrt/lang_pack/catalan.js
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ bmenu.applications="NAT / QoS";
bmenu.applicationsprforwarding="Reenviament de Rang de Ports";
bmenu.applicationspforwarding="Reenviament de Ports";
bmenu.applicationsptriggering="Disparament de Ports";
bmenu.applicationsUpnp="UPnP";
bmenu.applicationsUpnp="UPnP IGD";
bmenu.applicationsDMZ="DMZ";
bmenu.applicationsQoS="QoS";
bmenu.applicationsP2P="P2P";
Expand Down Expand Up @@ -1624,12 +1624,11 @@ hupgrad.right2="Feu clic en el botó <em>Navega...</em> per sel·lecionar el fit


// ** UPnP.asp **//
upnp.titl="UPnP";
upnp.h2="Universal Plug and Play (UPnP)";
upnp.titl="UPnP IGD";
upnp.h2="Servei UPnP IGD";
upnp.legend="Reenviaments";
upnp.legend2="Configuració UPnP";
upnp.serv="Servei UPnP";
upnp.url="Envia el URL de presentació";
upnp.serv="Servei UPnP IGD";
upnp.msg1="Feu clic per suprimir una entrada";
upnp.msg2="Suprimir totes les entrades?";

Expand Down
9 changes: 4 additions & 5 deletions src/router/kromo/dd-wrt/lang_pack/chinese_simplified.js
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ bmenu.applications="NAT / QoS";
bmenu.applicationsprforwarding="端口范围转发";
bmenu.applicationspforwarding="端口转发";
bmenu.applicationsptriggering="端口触发";
bmenu.applicationsUpnp="UPnP";
bmenu.applicationsUpnp="UPnP IGD";
bmenu.applicationsDMZ="DMZ";
bmenu.applicationsQoS="QoS";
bmenu.applicationsP2P="点对点";
Expand Down Expand Up @@ -1833,12 +1833,11 @@ hupgrad.right2="点击 <em>浏览...</em> 按钮选择要上传到路由器的


// ** UPnP.asp **//
upnp.titl="UPnP";
upnp.h2="通用即插即用(UPnP";
upnp.titl="UPnP IGD";
upnp.h2="UPnP IGD服务";
upnp.legend="转发";
upnp.legend2="UPnP配置";
upnp.serv="UPnP服务";
upnp.url="发送网络发现URL";
upnp.serv="UPnP IGD服务";
upnp.msg1="点击删除条目";
upnp.msg2="删除所有条目?";

Expand Down
9 changes: 4 additions & 5 deletions src/router/kromo/dd-wrt/lang_pack/chinese_traditional.js
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ bmenu.applications="NAT / QoS";
bmenu.applicationsprforwarding="埠區段轉發(映射)";
bmenu.applicationspforwarding="埠轉發(映射)";
bmenu.applicationsptriggering="通訊埠觸發";
bmenu.applicationsUpnp="UPnP";
bmenu.applicationsUpnp="UPnP IGD";
bmenu.applicationsDMZ="DMZ";
bmenu.applicationsQoS="QoS";
bmenu.applicationsP2P="P2P";
Expand Down Expand Up @@ -1388,12 +1388,11 @@ hupgrad.right2="按 <em>瀏覽...</em> 按鈕選擇要更新韌體檔.<br /><br


// ** UPnP.asp **//
upnp.titl="UPnP";
upnp.h2="通用即插即用 (UPnP)";
upnp.titl="UPnP IGD";
upnp.h2="UPnP IGD伺服器";
upnp.legend="虛擬伺服器(映射)";
upnp.legend2="UPnP設定";
upnp.serv="UPnP伺服器";
upnp.url="發布 UPnP網址";
upnp.serv="UPnP IGD伺服器";
upnp.msg1="刪除租用";
upnp.msg2="刪除所有項目?";

Expand Down
9 changes: 4 additions & 5 deletions src/router/kromo/dd-wrt/lang_pack/croatian.js
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ bmenu.applications="NAT / QoS";
bmenu.applicationsprforwarding="Prosljeđivanje Raspona Vrata";
bmenu.applicationspforwarding="Prosljeđivanje Vrata";
bmenu.applicationsptriggering="Aktiviranje po Vratima";
bmenu.applicationsUpnp="UPnP";
bmenu.applicationsUpnp="UPnP IGD";
bmenu.applicationsDMZ="DMZ";
bmenu.applicationsQoS="QoS";
bmenu.applicationsP2P="P2P";
Expand Down Expand Up @@ -1542,12 +1542,11 @@ hupgrad.right2="Click on the <em>Pretraži...</em> button to select the firmware

// ** UPnP.asp **//

upnp.titl="UPnP";
upnp.h2="Universal Plug and Play (UPnP)";
upnp.titl="UPnP IGD";
upnp.h2="UPnP IGD Usluga";
upnp.legend="Prosljeđivanje";
upnp.legend2="Konfiguracija UPnP";
upnp.serv="UPnP Usluga";
upnp.url="Šalji prezentacijski URL";
upnp.serv="UPnP IGD Usluga";
upnp.msg1="Klikni za brisanje unosa";
upnp.msg2="Brisati sve unose?";

Expand Down
12 changes: 5 additions & 7 deletions src/router/kromo/dd-wrt/lang_pack/czech.js
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ bmenu.applicationsprforwarding="Přesměrování rozsahu portů";
bmenu.applicationspforwarding="Přesměrování portů";
bmenu.applicationsipforwarding="IP Přesměrování (1:1 NAT)";
bmenu.applicationsptriggering="Spouštěče portu";
bmenu.applicationsUpnp="UPnP";
bmenu.applicationsUpnp="UPnP IGD";
bmenu.applicationsDMZ="DMZ";
bmenu.applicationsQoS="QoS";
bmenu.applicationsP2P="P2P";
Expand Down Expand Up @@ -2292,12 +2292,11 @@ hupgrad.page1="<dd>Nové verze firmwaru jsou zveřejněny na adrese <a href=\"ht

// ** UPnP.asp **//
//
upnp.titl="UPnP";
upnp.h2="Universální Plug & Play (UPnP)";
upnp.titl="UPnP IGD";
upnp.h2="Služba UPnP IGD";
upnp.legend="Předávání";
upnp.legend2="UPnP Konfigurace";
upnp.serv="Služba UPnP";
upnp.url="Odeslat prezentační URL";
upnp.serv="Služba UPnP IGD";
upnp.msg1="Kliknutím odeberte položku";
upnp.msg2="Odebrat všechny položky?";

Expand All @@ -2310,8 +2309,7 @@ hupnp.right4="Umožňuje aplikacím automaticky konfigurovat předávání port
hupnp.page1="<dd>Universální Plug and Play (UPnP) je sada počítačových síťových protokolů. Tato technologie společnosti Microsoft je pro automatickou konfiguraci zařízení. Cílem UPnP je umožnit zařízením bezproblémové připojení a zjednodušení implementace sítě v domácím a podnikovém prostředí. UPnP toho dosahuje definováním a publikováním protokolů řízení zařízení UPnP založených na otevřených komunikačních standardech založených na internetu.</dd>";
hupnp.page2="<dd>Tabulka předávání UPnP zobrazuje všechny otevřené porty, které byly automaticky předávány procesem UPnP. Můžete odebrat předávání kliknutím na koš nebo kliknutím na tlačítko <em>Odebrat vše</em> a všechny předávání odebrat.</dd>";
hupnp.page3="<dd>Umožňuje aplikacím automaticky nastavit předávání portů.</dd>";
hupnp.page4="<dd>Pokud je povoleno, budou při spuštění Routeru odstraněna všechna předávání portů UPnP.</dd>";
hupnp.page5="<dd>Je-li povoleno, je odesílána značka URL prezentace s popisem zařízení. To umožňuje, aby se Router zobrazil v <em>Místa v síti Windows</em>. <br /><br />div class=\"note\"><h4>Poznámka</h4><div>Když povolíte tuto možnost, budete možná muset restartovat počítač.</div></div></dd><dd>Klikněte na <i>Uložit nastavení</i> pro uložení nastavení. Kliknutím na <i>Zrušit změny</i> zrušíte neuložené změny.</dd>";

// ** VPN.asp **//
//
vpn.titl="Průchody VPN";
Expand Down
11 changes: 5 additions & 6 deletions src/router/kromo/dd-wrt/lang_pack/dutch.js
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ bmenu.applications="NAT / QoS";
bmenu.applicationsprforwarding="Poort Bereik Forwarden";
bmenu.applicationspforwarding="Enkele Poort Forwarden";
bmenu.applicationsptriggering="Poort Triggering";
bmenu.applicationsUpnp="UPnP";
bmenu.applicationsUpnp="UPnP IGD";
bmenu.applicationsDMZ="DMZ";
bmenu.applicationsQoS="QoS";
bmenu.applicationsP2P="P2P";
Expand Down Expand Up @@ -1525,12 +1525,11 @@ hupgrad.right2="Klik op de <em>Bladeren...</em> knop om het firmware bestand te

// ******************************************* UPnP.asp *******************************************//

upnp.titl="UPnP";
upnp.h2="Universal Plug en Play (UPnP)";
upnp.legend="Forwards";
upnp.titl="UPnP IGD";
upnp.h2="UPnP IGD Service";
upnp.legend="Active Port Forwards";
upnp.legend2="UPnP Configuratie";
upnp.serv="UPnP Service";
upnp.url="Presentatie URL zenden";
upnp.serv="UPnP IGD Service";
upnp.msg1="Klik om de waarde te verwijderen";
upnp.msg2="Alle waarden verwijderen?";

Expand Down
19 changes: 8 additions & 11 deletions src/router/kromo/dd-wrt/lang_pack/english.js
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ bmenu.applicationsprforwarding="Port Range Forwarding";
bmenu.applicationspforwarding="Port Forwarding";
bmenu.applicationsipforwarding="IP Forwarding (1:1 NAT)";
bmenu.applicationsptriggering="Port Triggering";
bmenu.applicationsUpnp="UPnP";
bmenu.applicationsUpnp="UPnP IGD";
bmenu.applicationsDMZ="DMZ";
bmenu.applicationsQoS="QoS";
bmenu.applicationsP2P="P2P";
Expand Down Expand Up @@ -2574,14 +2574,13 @@ hupgrad.page1="<dd>New firmware versions are posted at <a href=\"https:\/\/dd-wr

// ** UPnP.asp **//
var upnp=new Object();
upnp.titl="UPnP";
upnp.h2="Universal Plug and Play (UPnP)";
upnp.legend="Forwards";
upnp.legend2="UPnP Configuration";
upnp.serv="UPnP Service";
upnp.url="Send presentation URL";
upnp.msg1="Click to delete entry";
upnp.msg2="Delete all entries?";
upnp.titl="UPnP IGD";
upnp.h2="UPnP IGD Service";
upnp.legend="Active Port Forwards";
upnp.legend2="Service Configuration";
upnp.serv="UPnP IGD Service";
upnp.msg1="Click to delete port forward";
upnp.msg2="Delete all port forwards?";

//help container
var hupnp=new Object();
Expand All @@ -2592,8 +2591,6 @@ hupnp.right4="Allows applications to automatically configure port forwarding.";
hupnp.page1="<dd>Also known as UPnP it is a set of network protocols used for the automatic configuration of devices. The goals of UPnP are to allow devices to connect seamlessly and to simplify the implementation of home or corporate environment networks. UPnP achieves this by defining and publishing device control protocols built upon open, Internet-based communication standards.</dd>";
hupnp.page2="<dd>The UPnP forwards table shows all open ports forwarded automatically by the UPnP process. You can delete forwards by clicking <i>remove icon</i> or the <em>" + sbutton.delall + "</em> button to clear the undesired entries.</dd>";
hupnp.page3="<dd>Allows applications to automatically setup port forwarding rules.</dd>";
hupnp.page4="<dd>If enabled, all UPnP port forwarding rules are deleted when the router starts up.</dd>";
hupnp.page5="<dd>If enabled, a presentation URL tag is sent with the device description. This allows the router to show up in <em>Windows's My Network Places</em>.<br /><br />div class=\"note\"><h4>Note:</h4><div>When enabling this option you may need to reboot your computer.</div></div></dd><dd>Click the <em>" + sbutton.save + "</em> button to save your settings. Click the <em>" + sbutton.cancel + "</em> button to cancel your unsaved changes.</dd>";

// ** VPN.asp **//
var vpn=new Object();
Expand Down
9 changes: 4 additions & 5 deletions src/router/kromo/dd-wrt/lang_pack/french.js
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ bmenu.applications="NAT / QoS";
bmenu.applicationsprforwarding="Redirection plage de port";
bmenu.applicationspforwarding="Redirection de port";
bmenu.applicationsptriggering="Déclenchement de connexion";
bmenu.applicationsUpnp="UPnP";
bmenu.applicationsUpnp="UPnP IGD";
bmenu.applicationsDMZ="DMZ";
bmenu.applicationsQoS="QoS";
bmenu.applicationsP2P="P2P";
Expand Down Expand Up @@ -1302,12 +1302,11 @@ upgrad.mess1="La mise à jour du Micrologiciel peut prendre quelques minutes.<br
hupgrad.right2="Cliquez sur le bouton <em>Parcourir...</em> pour sélectionner le Micrologiciel à charger sur le routeur.<br /><br /> Cliquez sur <em>Mettre à jour</em> pour commencer la mise à jour. La mise à jour NE DOIT SURTOUT PAS être interrompue.";

// ** UPnP.asp **//
upnp.titl="UPnP";
upnp.h2="Universal Plug and Play (UPnP)";
upnp.titl="UPnP IGD";
upnp.h2="Service UPnP IGD";
upnp.legend="Listes redirections UPnP";
upnp.legend2="Configuration UPnP";
upnp.serv="Service UPnP";
upnp.url="Présentation URL";
upnp.serv="Service UPnP IGD";
upnp.msg1="Cliquez pour supprimer la redirection";
upnp.msg2="Êtes-vous sûr de vouloir effacer toutes les règles UPNP ?";

Expand Down
17 changes: 8 additions & 9 deletions src/router/kromo/dd-wrt/lang_pack/german.js
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ bmenu.applicationsprforwarding="Port-Bereichs-Weiterleitung";
bmenu.applicationspforwarding="Port-Weiterleitung";
bmenu.applicationsipforwarding="IP-Weiterleitung (1:1 NAT)";
bmenu.applicationsptriggering="Port-Triggering";
bmenu.applicationsUpnp="UPnP";
bmenu.applicationsUpnp="UPnP IGD";
bmenu.applicationsDMZ="DMZ";
bmenu.applicationsQoS="QoS";
bmenu.applicationsP2P="P2P";
Expand Down Expand Up @@ -2270,14 +2270,13 @@ hupgrad.right2="Klicken Sie auf den <em>Durchsuchen...</em>-Button, um eine Firm

// ** UPnP.asp **//

upnp.titl="UPnP";
upnp.h2="Universal Plug and Play (UPnP)";
upnp.legend="Weiterleitungen";
upnp.legend2="UPnP-Konfiguration";
upnp.serv="UPnP-Dienst";
upnp.url="Sende Präsentations-URL";
upnp.msg1="Klicken Sie hier, um die Lease zu löschen";
upnp.msg2="Alle Einträge löschen?";
upnp.titl="UPnP IGD";
upnp.h2="UPnP IGD Dienst";
upnp.legend="Aktive Port-Weiterleitungen";
upnp.legend2="Dienst-Konfiguration";
upnp.serv="UPnP IGD Dienst";
upnp.msg1="Klicken Sie hier, um die Port-Weiterleitung zu löschen";
upnp.msg2="Alle Port-Weiterleitungen löschen?";

//help container

Expand Down
9 changes: 4 additions & 5 deletions src/router/kromo/dd-wrt/lang_pack/hungarian.js
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ bmenu.applications="NAT / QoS";
bmenu.applicationsprforwarding="Porttartomány továbbitás";
bmenu.applicationspforwarding="Port továbbitás (forwarding)";
bmenu.applicationsptriggering="Port triggerelés";
bmenu.applicationsUpnp="UPnP";
bmenu.applicationsUpnp="UPnP IGD";
bmenu.applicationsDMZ="DMZ";
bmenu.applicationsQoS="QoS";

Expand Down Expand Up @@ -1253,12 +1253,11 @@ hupgrad.right2="Kattintson a <em>Tallózás...</em> gombra, a firmware-fájl kiv

// **************************************************************** UPnP.asp **********************************************************************//

upnp.titl="UPnP";
upnp.h2="Univerzális Plug and Play (UPnP)";
upnp.titl="UPnP IGD";
upnp.h2="UPnP IGD szolgáltatás";
upnp.legend="Továbbítások";
upnp.legend2="UPnP beállítása";
upnp.serv="UPnP szolgáltatás";
upnp.url="Bemutató (Presentation) URL küldése";
upnp.serv="UPnP IGD szolgáltatás";
upnp.msg1="Kattintson ide a bejegyzés törléséhez!";
upnp.msg2="Törli az összes bejegyzést?";

Expand Down
9 changes: 4 additions & 5 deletions src/router/kromo/dd-wrt/lang_pack/italian.js
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ bmenu.applications="NAT / QoS";
bmenu.applicationsprforwarding="Intervallo Forwarding Porte";
bmenu.applicationspforwarding="Forwarding Porte";
bmenu.applicationsptriggering="Triggering Porte";
bmenu.applicationsUpnp="UPnP";
bmenu.applicationsUpnp="UPnP IGD";
bmenu.applicationsDMZ="DMZ";
bmenu.applicationsQoS="QoS";
bmenu.applicationsP2P="P2P";
Expand Down Expand Up @@ -1980,12 +1980,11 @@ hupgrad.right2="Clicca sul pulsante <em>Sfoglia...</em> per selezionare il file

// ** UPnP.asp **//
//var upnp=new Object();
upnp.titl="UPnP";
upnp.h2="Universal Plug and Play (UPnP)";
upnp.titl="UPnP IGD";
upnp.h2="Servizio UPnP IGD";
upnp.legend="Forward";
upnp.legend2="Configurazione UPnP";
upnp.serv="Servizio UPnP";
upnp.url="Invia la presentazione dell' URL";
upnp.serv="Servizio UPnP IGD";
upnp.msg1="Clicca per cancellare la riga";
upnp.msg2="Cancella tutte le righe?";

Expand Down
9 changes: 4 additions & 5 deletions src/router/kromo/dd-wrt/lang_pack/japanese.js
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ bmenu.applications="NAT / QoS";
bmenu.applicationsprforwarding="アドレス変換(Port範囲)";
bmenu.applicationspforwarding="アドレス変換(Port)";
bmenu.applicationsptriggering="アドレス変換(Trigger指定)";
bmenu.applicationsUpnp="UPnP";
bmenu.applicationsUpnp="UPnP IGD";
bmenu.applicationsDMZ="DMZ";
bmenu.applicationsQoS="QoS";
bmenu.applicationsP2P="P2P";
Expand Down Expand Up @@ -1549,12 +1549,11 @@ hupgrad.right2="ファームウェアの更新を行います。<em>参照...</e

// ** UPnP.asp **//

upnp.titl="UPnP";
upnp.h2="UPnP設定";
upnp.titl="UPnP IGD";
upnp.h2="UPnP IGD サービス";
upnp.legend="ポート変換リスト";
upnp.legend2="UPnP 設定";
upnp.serv="UPnP サービス";
upnp.url="Presentation URLを送る";
upnp.serv="UPnP IGD サービス";
upnp.msg1="消去";
upnp.msg2="すべて消去してもよろしいですか?";

Expand Down
Loading

0 comments on commit a2f3b21

Please sign in to comment.