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 Dec 31, 2024
1 parent 1783501 commit 2abd7dd
Show file tree
Hide file tree
Showing 24 changed files with 22 additions and 50 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
1 change: 0 additions & 1 deletion src/router/kromo/dd-wrt/lang_pack/arabic.js
Original file line number Diff line number Diff line change
Expand Up @@ -1412,7 +1412,6 @@ 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?";

Expand Down
1 change: 0 additions & 1 deletion src/router/kromo/dd-wrt/lang_pack/catalan.js
Original file line number Diff line number Diff line change
Expand Up @@ -1629,7 +1629,6 @@ upnp.h2="Universal Plug and Play (UPnP)";
upnp.legend="Reenviaments";
upnp.legend2="Configuració UPnP";
upnp.serv="Servei UPnP";
upnp.url="Envia el URL de presentació";
upnp.msg1="Feu clic per suprimir una entrada";
upnp.msg2="Suprimir totes les entrades?";

Expand Down
1 change: 0 additions & 1 deletion src/router/kromo/dd-wrt/lang_pack/chinese_simplified.js
Original file line number Diff line number Diff line change
Expand Up @@ -1838,7 +1838,6 @@ upnp.h2="通用即插即用(UPnP)";
upnp.legend="转发";
upnp.legend2="UPnP配置";
upnp.serv="UPnP服务";
upnp.url="发送网络发现URL";
upnp.msg1="点击删除条目";
upnp.msg2="删除所有条目?";

Expand Down
1 change: 0 additions & 1 deletion src/router/kromo/dd-wrt/lang_pack/chinese_traditional.js
Original file line number Diff line number Diff line change
Expand Up @@ -1393,7 +1393,6 @@ upnp.h2="通用即插即用 (UPnP)";
upnp.legend="虛擬伺服器(映射)";
upnp.legend2="UPnP設定";
upnp.serv="UPnP伺服器";
upnp.url="發布 UPnP網址";
upnp.msg1="刪除租用";
upnp.msg2="刪除所有項目?";

Expand Down
1 change: 0 additions & 1 deletion src/router/kromo/dd-wrt/lang_pack/croatian.js
Original file line number Diff line number Diff line change
Expand Up @@ -1547,7 +1547,6 @@ upnp.h2="Universal Plug and Play (UPnP)";
upnp.legend="Prosljeđivanje";
upnp.legend2="Konfiguracija UPnP";
upnp.serv="UPnP Usluga";
upnp.url="Šalji prezentacijski URL";
upnp.msg1="Klikni za brisanje unosa";
upnp.msg2="Brisati sve unose?";

Expand Down
4 changes: 1 addition & 3 deletions src/router/kromo/dd-wrt/lang_pack/czech.js
Original file line number Diff line number Diff line change
Expand Up @@ -2297,7 +2297,6 @@ upnp.h2="Universální Plug & Play (UPnP)";
upnp.legend="Předávání";
upnp.legend2="UPnP Konfigurace";
upnp.serv="Služba UPnP";
upnp.url="Odeslat prezentační URL";
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
1 change: 0 additions & 1 deletion src/router/kromo/dd-wrt/lang_pack/dutch.js
Original file line number Diff line number Diff line change
Expand Up @@ -1530,7 +1530,6 @@ upnp.h2="Universal Plug en Play (UPnP)";
upnp.legend="Forwards";
upnp.legend2="UPnP Configuratie";
upnp.serv="UPnP Service";
upnp.url="Presentatie URL zenden";
upnp.msg1="Klik om de waarde te verwijderen";
upnp.msg2="Alle waarden verwijderen?";

Expand Down
17 changes: 7 additions & 10 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.titl="UPnP IGD";
upnp.h2="UPnP IGD Service";
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.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
1 change: 0 additions & 1 deletion src/router/kromo/dd-wrt/lang_pack/french.js
Original file line number Diff line number Diff line change
Expand Up @@ -1307,7 +1307,6 @@ upnp.h2="Universal Plug and Play (UPnP)";
upnp.legend="Listes redirections UPnP";
upnp.legend2="Configuration UPnP";
upnp.serv="Service UPnP";
upnp.url="Présentation URL";
upnp.msg1="Cliquez pour supprimer la redirection";
upnp.msg2="Êtes-vous sûr de vouloir effacer toutes les règles UPNP ?";

Expand Down
15 changes: 7 additions & 8 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.titl="UPnP IGD";
upnp.h2="UPnP-IGD-Dienst";
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.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
1 change: 0 additions & 1 deletion src/router/kromo/dd-wrt/lang_pack/hungarian.js
Original file line number Diff line number Diff line change
Expand Up @@ -1258,7 +1258,6 @@ upnp.h2="Univerzális Plug and Play (UPnP)";
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.msg1="Kattintson ide a bejegyzés törléséhez!";
upnp.msg2="Törli az összes bejegyzést?";

Expand Down
1 change: 0 additions & 1 deletion src/router/kromo/dd-wrt/lang_pack/italian.js
Original file line number Diff line number Diff line change
Expand Up @@ -1985,7 +1985,6 @@ upnp.h2="Universal Plug and Play (UPnP)";
upnp.legend="Forward";
upnp.legend2="Configurazione UPnP";
upnp.serv="Servizio UPnP";
upnp.url="Invia la presentazione dell' URL";
upnp.msg1="Clicca per cancellare la riga";
upnp.msg2="Cancella tutte le righe?";

Expand Down
1 change: 0 additions & 1 deletion src/router/kromo/dd-wrt/lang_pack/japanese.js
Original file line number Diff line number Diff line change
Expand Up @@ -1554,7 +1554,6 @@ upnp.h2="UPnP設定";
upnp.legend="ポート変換リスト";
upnp.legend2="UPnP 設定";
upnp.serv="UPnP サービス";
upnp.url="Presentation URLを送る";
upnp.msg1="消去";
upnp.msg2="すべて消去してもよろしいですか?";

Expand Down
1 change: 0 additions & 1 deletion src/router/kromo/dd-wrt/lang_pack/korean.js
Original file line number Diff line number Diff line change
Expand Up @@ -1745,7 +1745,6 @@ upnp.h2="Universal Plug and Play (UPnP)";
upnp.legend="포워드 리스트";
upnp.legend2="UPnP 설정";
upnp.serv="UPnP 서비스";
upnp.url="프레젠테이션 URL 전송";
upnp.msg1="클릭하면 포워드 리스트가 삭제됩니다";
upnp.msg2="모든 포워드 리스트를 삭제할까요?";

Expand Down
3 changes: 0 additions & 3 deletions src/router/kromo/dd-wrt/lang_pack/polish.js
Original file line number Diff line number Diff line change
Expand Up @@ -2328,7 +2328,6 @@ upnp.h2="Universal Plug and Play (UPnP)";
upnp.legend="Przekierowania";
upnp.legend2="Konfiguracja UPnP";
upnp.serv="Usługa UPnP";
upnp.url="Prześlij adres URL prezentacji";
upnp.msg1="Kliknij, aby usunąć wpis";
upnp.msg2="Usunąć wszystkie wpisy?";

Expand All @@ -2341,8 +2340,6 @@ hupnp.right4="Allows applications to automatically configure port forwarding.";
hupnp.page1="<dd>Universal Plug and Play (UPnP) is a set of computer network protocols. This Microsoft technology is for automatic configuration of devices. The goals of UPnP are to allow devices to connect seamlessly and to simplify the implementation of networks in the home and corporate environments. UPnP achieves this by defining and publishing UPnP 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 the trash can or click the <em>Delete All</em> button to clear all forwards.</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 PC.</div></div></dd><dd>Click <i>Save Settings</i> to save your settings. Click <i>Cancel Changes</i> to cancel your unsaved changes.</dd>";

// ** VPN.asp **//

Expand Down
1 change: 0 additions & 1 deletion src/router/kromo/dd-wrt/lang_pack/portuguese_braz.js
Original file line number Diff line number Diff line change
Expand Up @@ -1742,7 +1742,6 @@ upnp.h2="Plug and Play Universal (UPnP)";
upnp.legend="Encaminhamentos";
upnp.legend2="Configurações UPnP";
upnp.serv="Serviço UPnP";
upnp.url="Enviar URL de apresentação";
upnp.msg1="Clique para apagar a entrada";
upnp.msg2="Remover todas as entradas?";

Expand Down
1 change: 0 additions & 1 deletion src/router/kromo/dd-wrt/lang_pack/romanian.js
Original file line number Diff line number Diff line change
Expand Up @@ -1680,7 +1680,6 @@ upnp.h2="Universal Plug and Play (UPnP)";
upnp.legend="Înaintări";
upnp.legend2="Configurare UPnP";
upnp.serv="Serviciu UPnP";
upnp.url="Trimite URL de prezentare";
upnp.msg1="Clic pentru a șterge intrarea";
upnp.msg2="Ștergeți toate intrările?";

Expand Down
1 change: 0 additions & 1 deletion src/router/kromo/dd-wrt/lang_pack/russian.js
Original file line number Diff line number Diff line change
Expand Up @@ -1681,7 +1681,6 @@ upnp.h2="Universal Plug and Play (UPnP)";
upnp.legend="Перенаправления";
upnp.legend2="Конфигурация UPnP";
upnp.serv="Служба UPnP";
upnp.url="Послать презентационный URL";
upnp.msg1="Щелкните здесь для удаления записи";
upnp.msg2="Удалить все записи?";
//help container
Expand Down
1 change: 0 additions & 1 deletion src/router/kromo/dd-wrt/lang_pack/serbian.js
Original file line number Diff line number Diff line change
Expand Up @@ -1747,7 +1747,6 @@ upnp.h2="Universal Plug and Play (UPnP)";
upnp.legend="Прослеђивања";
upnp.legend2="UPnP Конфигурација";
upnp.serv="UPnP Услуга";
upnp.url="Пошаљи URL за представљање";
upnp.msg1="Кликните да бисте обрисали унос";
upnp.msg2="Обрисати све уносе?";

Expand Down
1 change: 0 additions & 1 deletion src/router/kromo/dd-wrt/lang_pack/slovenian.js
Original file line number Diff line number Diff line change
Expand Up @@ -1733,7 +1733,6 @@ upnp.h2="Universal Plug and Play (UPnP)";
upnp.legend="Posredovanja";
upnp.legend2="Konfiguracija UPnP";
upnp.serv="UPnP storitev";
upnp.url="Pošlji predstavitveni URL";
upnp.msg1="Kliknite za izbris vnosa";
upnp.msg2="Izbrišem vse vnose?";

Expand Down
1 change: 0 additions & 1 deletion src/router/kromo/dd-wrt/lang_pack/spanish.js
Original file line number Diff line number Diff line change
Expand Up @@ -1557,7 +1557,6 @@ upnp.h2="Universal Plug and Play (UPnP)";
upnp.legend="Redirección";
upnp.legend2="Configuración UPnP";
upnp.serv="Servicio UPnP";
upnp.url="Enviar URL de Presentación";
upnp.msg1="Clic para borrar Lease";
upnp.msg2="¿Borrar Entradas?";

Expand Down
1 change: 0 additions & 1 deletion src/router/kromo/dd-wrt/lang_pack/swedish.js
Original file line number Diff line number Diff line change
Expand Up @@ -1501,7 +1501,6 @@ upnp.h2="Universell Plug and Play (UPnP)";
upnp.legend="Forwards";
upnp.legend2="UPnP Konfig";
upnp.serv="UPnP Tjänst";
upnp.url="Sänd Presentations URL";
upnp.msg1="Klicka för att radera ";
upnp.msg2="Radera alla rader?";

Expand Down
1 change: 0 additions & 1 deletion src/router/kromo/dd-wrt/lang_pack/turkish.js
Original file line number Diff line number Diff line change
Expand Up @@ -1588,7 +1588,6 @@ upnp.h2="Evrensel Tak ve Kullan (UPnP)";
upnp.legend="Yönlendirmeler";
upnp.legend2="UPnP Yapılandırması";
upnp.serv="UPnP Servisi";
upnp.url="Sunum URL'si gönder";
upnp.msg1="Girişi silmek için tıkla";
upnp.msg2="Tüm girişler silinsin mi?";

Expand Down

1 comment on commit 2abd7dd

@egc112
Copy link

@egc112 egc112 commented on 2abd7dd Dec 31, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not all translations are necessary just German and English are the ones which are "necessary" :)
The rest you can leave up to the community although it is nice if to see you took the effort.
If there is no translation then English is the default

Please sign in to comment.