diff options
Diffstat (limited to 'applications/luci-upnp')
7 files changed, 8 insertions, 1 deletions
diff --git a/applications/luci-upnp/luasrc/i18n/upnp.de.lua b/applications/luci-upnp/luasrc/i18n/upnp.de.lua index b2757b0d7d..777ae876ed 100644 --- a/applications/luci-upnp/luasrc/i18n/upnp.de.lua +++ b/applications/luci-upnp/luasrc/i18n/upnp.de.lua @@ -1,6 +1,7 @@ upnpd = 'Universal Plug & Play' upnpd_desc = 'UPNP ermöglicht die automatische Konfiguration des Routers durch Clients im lokalen Netzwerk.' upnpd_config_desc = 'UPNP sollte nur wenn unbedingt nötig aktiviert werden, da es ein Sicherheitsrisiko für das Netzwerk darstellen kann.' +upnpd_config_securemode = 'Sicheren Modus aktivieren' upnpd_config_logoutput = 'Ausgabe protokollieren' upnpd_config_download = 'Downlink' upnpd_config_upload = 'Uplink' diff --git a/applications/luci-upnp/luasrc/i18n/upnp.de.xml b/applications/luci-upnp/luasrc/i18n/upnp.de.xml index b6aa78b7cc..2a21b7b798 100644 --- a/applications/luci-upnp/luasrc/i18n/upnp.de.xml +++ b/applications/luci-upnp/luasrc/i18n/upnp.de.xml @@ -5,6 +5,7 @@ <i18n:msg xml:id="upnpd">Universal Plug & Play</i18n:msg> <i18n:msg xml:id="upnpd_desc">UPNP ermöglicht die automatische Konfiguration des Routers durch Clients im lokalen Netzwerk.</i18n:msg> <i18n:msg xml:id="upnpd_config_desc">UPNP sollte nur wenn unbedingt nötig aktiviert werden, da es ein Sicherheitsrisiko für das Netzwerk darstellen kann.</i18n:msg> +<i18n:msg xml:id="upnpd_config_securemode">Sicheren Modus aktivieren</i18n:msg> <i18n:msg xml:id="upnpd_config_logoutput">Ausgabe protokollieren</i18n:msg> <i18n:msg xml:id="upnpd_config_download">Downlink</i18n:msg> <i18n:msg xml:id="upnpd_config_upload">Uplink</i18n:msg> diff --git a/applications/luci-upnp/luasrc/i18n/upnp.en.lua b/applications/luci-upnp/luasrc/i18n/upnp.en.lua index fc0293987d..8e6c825e6e 100644 --- a/applications/luci-upnp/luasrc/i18n/upnp.en.lua +++ b/applications/luci-upnp/luasrc/i18n/upnp.en.lua @@ -1,6 +1,7 @@ upnpd = 'Universal Plug & Play' upnpd_desc = 'UPNP allows clients in the local network to automatically configure the router.' upnpd_config_desc = 'UPNP should only be enabled if absolutely necessary as it can result in high security risks for your network.' +upnpd_config_securemode = 'Enable secure mode' upnpd_config_logoutput = 'Log output' upnpd_config_download = 'Downlink' upnpd_config_upload = 'Uplink' diff --git a/applications/luci-upnp/luasrc/i18n/upnp.en.xml b/applications/luci-upnp/luasrc/i18n/upnp.en.xml index 1d2b1e3f00..60d6225112 100644 --- a/applications/luci-upnp/luasrc/i18n/upnp.en.xml +++ b/applications/luci-upnp/luasrc/i18n/upnp.en.xml @@ -5,6 +5,7 @@ <i18n:msg xml:id="upnpd">Universal Plug & Play</i18n:msg> <i18n:msg xml:id="upnpd_desc">UPNP allows clients in the local network to automatically configure the router.</i18n:msg> <i18n:msg xml:id="upnpd_config_desc">UPNP should only be enabled if absolutely necessary as it can result in high security risks for your network.</i18n:msg> +<i18n:msg xml:id="upnpd_config_securemode">Enable secure mode</i18n:msg> <i18n:msg xml:id="upnpd_config_logoutput">Log output</i18n:msg> <i18n:msg xml:id="upnpd_config_download">Downlink</i18n:msg> <i18n:msg xml:id="upnpd_config_upload">Uplink</i18n:msg> diff --git a/applications/luci-upnp/luasrc/i18n/upnp.pt-br.lua b/applications/luci-upnp/luasrc/i18n/upnp.pt-br.lua index 9170a311de..cf2c3dbd7e 100644 --- a/applications/luci-upnp/luasrc/i18n/upnp.pt-br.lua +++ b/applications/luci-upnp/luasrc/i18n/upnp.pt-br.lua @@ -1,6 +1,7 @@ upnpd = 'Plug & Play Universal' upnpd_desc = 'UPNP permite os clientes da rede local automaticamente configurar o roteador.' upnpd_config_desc = 'O UPNP deve ser ativado apenas se for absolutamente necessário, pois ele pode resultar em elevados riscos de segurança para sua rede.' +upnpd_config_securemode = 'Enable secure mode' upnpd_config_logoutput = 'Log de saída' upnpd_config_download = 'Link para download' upnpd_config_upload = 'Link para Upload' diff --git a/applications/luci-upnp/luasrc/i18n/upnp.pt-br.xml b/applications/luci-upnp/luasrc/i18n/upnp.pt-br.xml index 9b5788364f..c239d907b8 100644 --- a/applications/luci-upnp/luasrc/i18n/upnp.pt-br.xml +++ b/applications/luci-upnp/luasrc/i18n/upnp.pt-br.xml @@ -5,6 +5,7 @@ <i18n:msg xml:id="upnpd">Plug & Play Universal</i18n:msg> <i18n:msg xml:id="upnpd_desc">UPNP permite os clientes da rede local automaticamente configurar o roteador.</i18n:msg> <i18n:msg xml:id="upnpd_config_desc">O UPNP deve ser ativado apenas se for absolutamente necessário, pois ele pode resultar em elevados riscos de segurança para sua rede.</i18n:msg> +<i18n:msg xml:id="upnpd_config_securemode">Enable secure mode</i18n:msg> <i18n:msg xml:id="upnpd_config_logoutput">Log de saída</i18n:msg> <i18n:msg xml:id="upnpd_config_download">Link para download</i18n:msg> <i18n:msg xml:id="upnpd_config_upload">Link para Upload</i18n:msg> diff --git a/applications/luci-upnp/luasrc/model/cbi/upnp/upnp.lua b/applications/luci-upnp/luasrc/model/cbi/upnp/upnp.lua index 79a38f7c53..0d07a564ad 100644 --- a/applications/luci-upnp/luasrc/model/cbi/upnp/upnp.lua +++ b/applications/luci-upnp/luasrc/model/cbi/upnp/upnp.lua @@ -25,8 +25,9 @@ function e.cfgvalue(self, section) return (os.execute("/etc/init.d/miniupnpd enabled") == 0) and "1" or "0" end +s:option(Flag, "secure_mode").rmempty = true s:option(Flag, "log_output").rmempty = true s:option(Value, "download").rmempty = true s:option(Value, "upload").rmempty = true -return m
\ No newline at end of file +return m |