luci-app-ttyd: fix markup which is not valid XHTML
Replace `<br>` with `<br />` as XHTML does not allow self-closing tags. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
0350fbf6e3
commit
70f3ae5072
34 changed files with 41 additions and 41 deletions
|
@ -11,7 +11,7 @@ return view.extend({
|
|||
ssl = uci.get_first('ttyd', 'ttyd', 'ssl') || '0';
|
||||
if (port === '0')
|
||||
return E('div', { class: 'alert-message warning' },
|
||||
_('Random ttyd port (port=0) is not supported.<br>Change to a fixed port and try again.'));
|
||||
_('Random ttyd port (port=0) is not supported.<br />Change to a fixed port and try again.'));
|
||||
return E('iframe', {
|
||||
src: (ssl === '1' ? 'https' : 'http') + '://' + window.location.hostname + ':' + port,
|
||||
style: 'width: 100%; min-height: 500px; border: none; border-radius: 3px; resize: vertical;'
|
||||
|
|
|
@ -145,7 +145,7 @@ msgstr ""
|
|||
|
||||
#: applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/term.js:14
|
||||
msgid ""
|
||||
"Random ttyd port (port=0) is not supported.<br>Change to a fixed port and "
|
||||
"Random ttyd port (port=0) is not supported.<br />Change to a fixed port and "
|
||||
"try again."
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -144,7 +144,7 @@ msgstr ""
|
|||
|
||||
#: applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/term.js:14
|
||||
msgid ""
|
||||
"Random ttyd port (port=0) is not supported.<br>Change to a fixed port and "
|
||||
"Random ttyd port (port=0) is not supported.<br />Change to a fixed port and "
|
||||
"try again."
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -138,7 +138,7 @@ msgstr ""
|
|||
|
||||
#: applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/term.js:14
|
||||
msgid ""
|
||||
"Random ttyd port (port=0) is not supported.<br>Change to a fixed port and "
|
||||
"Random ttyd port (port=0) is not supported.<br />Change to a fixed port and "
|
||||
"try again."
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -144,7 +144,7 @@ msgstr ""
|
|||
|
||||
#: applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/term.js:14
|
||||
msgid ""
|
||||
"Random ttyd port (port=0) is not supported.<br>Change to a fixed port and "
|
||||
"Random ttyd port (port=0) is not supported.<br />Change to a fixed port and "
|
||||
"try again."
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -151,7 +151,7 @@ msgstr ""
|
|||
|
||||
#: applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/term.js:14
|
||||
msgid ""
|
||||
"Random ttyd port (port=0) is not supported.<br>Change to a fixed port and "
|
||||
"Random ttyd port (port=0) is not supported.<br />Change to a fixed port and "
|
||||
"try again."
|
||||
msgstr ""
|
||||
"Náhodný port ttyd (port = 0) není podporován.<br/>Změňte na pevně daný port "
|
||||
|
|
|
@ -144,7 +144,7 @@ msgstr "Überwachter Port (Standard: 7681, nutze `0` für einen zufälligen Port
|
|||
|
||||
#: applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/term.js:14
|
||||
msgid ""
|
||||
"Random ttyd port (port=0) is not supported.<br>Change to a fixed port and "
|
||||
"Random ttyd port (port=0) is not supported.<br />Change to a fixed port and "
|
||||
"try again."
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -144,7 +144,7 @@ msgstr ""
|
|||
|
||||
#: applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/term.js:14
|
||||
msgid ""
|
||||
"Random ttyd port (port=0) is not supported.<br>Change to a fixed port and "
|
||||
"Random ttyd port (port=0) is not supported.<br />Change to a fixed port and "
|
||||
"try again."
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -144,7 +144,7 @@ msgstr ""
|
|||
|
||||
#: applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/term.js:14
|
||||
msgid ""
|
||||
"Random ttyd port (port=0) is not supported.<br>Change to a fixed port and "
|
||||
"Random ttyd port (port=0) is not supported.<br />Change to a fixed port and "
|
||||
"try again."
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -152,10 +152,10 @@ msgstr ""
|
|||
|
||||
#: applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/term.js:14
|
||||
msgid ""
|
||||
"Random ttyd port (port=0) is not supported.<br>Change to a fixed port and "
|
||||
"Random ttyd port (port=0) is not supported.<br />Change to a fixed port and "
|
||||
"try again."
|
||||
msgstr ""
|
||||
"No se admite el puerto ttyd aleatorio (puerto=0). <br> Cambie a un puerto "
|
||||
"No se admite el puerto ttyd aleatorio (puerto=0). <br /> Cambie a un puerto "
|
||||
"fijo e intente nuevamente."
|
||||
|
||||
#: applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/config.js:42
|
||||
|
|
|
@ -144,7 +144,7 @@ msgstr ""
|
|||
|
||||
#: applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/term.js:14
|
||||
msgid ""
|
||||
"Random ttyd port (port=0) is not supported.<br>Change to a fixed port and "
|
||||
"Random ttyd port (port=0) is not supported.<br />Change to a fixed port and "
|
||||
"try again."
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -144,7 +144,7 @@ msgstr ""
|
|||
|
||||
#: applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/term.js:14
|
||||
msgid ""
|
||||
"Random ttyd port (port=0) is not supported.<br>Change to a fixed port and "
|
||||
"Random ttyd port (port=0) is not supported.<br />Change to a fixed port and "
|
||||
"try again."
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -145,7 +145,7 @@ msgstr ""
|
|||
|
||||
#: applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/term.js:14
|
||||
msgid ""
|
||||
"Random ttyd port (port=0) is not supported.<br>Change to a fixed port and "
|
||||
"Random ttyd port (port=0) is not supported.<br />Change to a fixed port and "
|
||||
"try again."
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -144,7 +144,7 @@ msgstr ""
|
|||
|
||||
#: applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/term.js:14
|
||||
msgid ""
|
||||
"Random ttyd port (port=0) is not supported.<br>Change to a fixed port and "
|
||||
"Random ttyd port (port=0) is not supported.<br />Change to a fixed port and "
|
||||
"try again."
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -144,7 +144,7 @@ msgstr ""
|
|||
|
||||
#: applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/term.js:14
|
||||
msgid ""
|
||||
"Random ttyd port (port=0) is not supported.<br>Change to a fixed port and "
|
||||
"Random ttyd port (port=0) is not supported.<br />Change to a fixed port and "
|
||||
"try again."
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -144,7 +144,7 @@ msgstr ""
|
|||
|
||||
#: applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/term.js:14
|
||||
msgid ""
|
||||
"Random ttyd port (port=0) is not supported.<br>Change to a fixed port and "
|
||||
"Random ttyd port (port=0) is not supported.<br />Change to a fixed port and "
|
||||
"try again."
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -144,7 +144,7 @@ msgstr ""
|
|||
|
||||
#: applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/term.js:14
|
||||
msgid ""
|
||||
"Random ttyd port (port=0) is not supported.<br>Change to a fixed port and "
|
||||
"Random ttyd port (port=0) is not supported.<br />Change to a fixed port and "
|
||||
"try again."
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -144,7 +144,7 @@ msgstr ""
|
|||
|
||||
#: applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/term.js:14
|
||||
msgid ""
|
||||
"Random ttyd port (port=0) is not supported.<br>Change to a fixed port and "
|
||||
"Random ttyd port (port=0) is not supported.<br />Change to a fixed port and "
|
||||
"try again."
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -144,7 +144,7 @@ msgstr ""
|
|||
|
||||
#: applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/term.js:14
|
||||
msgid ""
|
||||
"Random ttyd port (port=0) is not supported.<br>Change to a fixed port and "
|
||||
"Random ttyd port (port=0) is not supported.<br />Change to a fixed port and "
|
||||
"try again."
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -138,7 +138,7 @@ msgstr ""
|
|||
|
||||
#: applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/term.js:14
|
||||
msgid ""
|
||||
"Random ttyd port (port=0) is not supported.<br>Change to a fixed port and "
|
||||
"Random ttyd port (port=0) is not supported.<br />Change to a fixed port and "
|
||||
"try again."
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -144,7 +144,7 @@ msgstr ""
|
|||
|
||||
#: applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/term.js:14
|
||||
msgid ""
|
||||
"Random ttyd port (port=0) is not supported.<br>Change to a fixed port and "
|
||||
"Random ttyd port (port=0) is not supported.<br />Change to a fixed port and "
|
||||
"try again."
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -149,10 +149,10 @@ msgstr "Port do nasłuchiwania (domyślnie: 7681, użyj `0`dla losowego portu)"
|
|||
|
||||
#: applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/term.js:14
|
||||
msgid ""
|
||||
"Random ttyd port (port=0) is not supported.<br>Change to a fixed port and "
|
||||
"Random ttyd port (port=0) is not supported.<br />Change to a fixed port and "
|
||||
"try again."
|
||||
msgstr ""
|
||||
"Losowy port ttyd (port=0) nie jest obsługiwany.<br>Zmień na port stały i "
|
||||
"Losowy port ttyd (port=0) nie jest obsługiwany.<br />Zmień na port stały i "
|
||||
"spróbuj ponownie."
|
||||
|
||||
#: applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/config.js:42
|
||||
|
|
|
@ -148,10 +148,10 @@ msgstr "Porta para ouvir (padrão: 7681, use `0` para porta aleatória)"
|
|||
|
||||
#: applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/term.js:14
|
||||
msgid ""
|
||||
"Random ttyd port (port=0) is not supported.<br>Change to a fixed port and "
|
||||
"Random ttyd port (port=0) is not supported.<br />Change to a fixed port and "
|
||||
"try again."
|
||||
msgstr ""
|
||||
"A porta ttyd aleatória (port=0) não é suportada.<br>Mude para uma porta fixa "
|
||||
"A porta ttyd aleatória (port=0) não é suportada.<br />Mude para uma porta fixa "
|
||||
"e tente novamente."
|
||||
|
||||
#: applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/config.js:42
|
||||
|
|
|
@ -149,10 +149,10 @@ msgstr ""
|
|||
|
||||
#: applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/term.js:14
|
||||
msgid ""
|
||||
"Random ttyd port (port=0) is not supported.<br>Change to a fixed port and "
|
||||
"Random ttyd port (port=0) is not supported.<br />Change to a fixed port and "
|
||||
"try again."
|
||||
msgstr ""
|
||||
"Portas aleatórias para o ttyd (port=0) não são compatíveis.<br>Mude para uma "
|
||||
"Portas aleatórias para o ttyd (port=0) não são compatíveis.<br />Mude para uma "
|
||||
"porta fixa e tente novamente."
|
||||
|
||||
#: applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/config.js:42
|
||||
|
|
|
@ -145,7 +145,7 @@ msgstr ""
|
|||
|
||||
#: applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/term.js:14
|
||||
msgid ""
|
||||
"Random ttyd port (port=0) is not supported.<br>Change to a fixed port and "
|
||||
"Random ttyd port (port=0) is not supported.<br />Change to a fixed port and "
|
||||
"try again."
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -145,7 +145,7 @@ msgstr ""
|
|||
|
||||
#: applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/term.js:14
|
||||
msgid ""
|
||||
"Random ttyd port (port=0) is not supported.<br>Change to a fixed port and "
|
||||
"Random ttyd port (port=0) is not supported.<br />Change to a fixed port and "
|
||||
"try again."
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -144,7 +144,7 @@ msgstr ""
|
|||
|
||||
#: applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/term.js:14
|
||||
msgid ""
|
||||
"Random ttyd port (port=0) is not supported.<br>Change to a fixed port and "
|
||||
"Random ttyd port (port=0) is not supported.<br />Change to a fixed port and "
|
||||
"try again."
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -144,7 +144,7 @@ msgstr ""
|
|||
|
||||
#: applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/term.js:14
|
||||
msgid ""
|
||||
"Random ttyd port (port=0) is not supported.<br>Change to a fixed port and "
|
||||
"Random ttyd port (port=0) is not supported.<br />Change to a fixed port and "
|
||||
"try again."
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -135,7 +135,7 @@ msgstr ""
|
|||
|
||||
#: applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/term.js:14
|
||||
msgid ""
|
||||
"Random ttyd port (port=0) is not supported.<br>Change to a fixed port and "
|
||||
"Random ttyd port (port=0) is not supported.<br />Change to a fixed port and "
|
||||
"try again."
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -150,10 +150,10 @@ msgstr ""
|
|||
|
||||
#: applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/term.js:14
|
||||
msgid ""
|
||||
"Random ttyd port (port=0) is not supported.<br>Change to a fixed port and "
|
||||
"Random ttyd port (port=0) is not supported.<br />Change to a fixed port and "
|
||||
"try again."
|
||||
msgstr ""
|
||||
"Rastgele ttyd bağlantı noktası (bağlantı noktası = 0) desteklenmez. <br> "
|
||||
"Rastgele ttyd bağlantı noktası (bağlantı noktası = 0) desteklenmez. <br /> "
|
||||
"Sabit bir bağlantı noktasına geçin ve tekrar deneyin."
|
||||
|
||||
#: applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/config.js:42
|
||||
|
|
|
@ -145,7 +145,7 @@ msgstr ""
|
|||
|
||||
#: applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/term.js:14
|
||||
msgid ""
|
||||
"Random ttyd port (port=0) is not supported.<br>Change to a fixed port and "
|
||||
"Random ttyd port (port=0) is not supported.<br />Change to a fixed port and "
|
||||
"try again."
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -144,7 +144,7 @@ msgstr ""
|
|||
|
||||
#: applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/term.js:14
|
||||
msgid ""
|
||||
"Random ttyd port (port=0) is not supported.<br>Change to a fixed port and "
|
||||
"Random ttyd port (port=0) is not supported.<br />Change to a fixed port and "
|
||||
"try again."
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -147,9 +147,9 @@ msgstr "要监听的端口 (默认: 7681, `0` 代表随机端口)"
|
|||
|
||||
#: applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/term.js:14
|
||||
msgid ""
|
||||
"Random ttyd port (port=0) is not supported.<br>Change to a fixed port and "
|
||||
"Random ttyd port (port=0) is not supported.<br />Change to a fixed port and "
|
||||
"try again."
|
||||
msgstr "不支持随机 ttyd 端口 (端口=0)。<br>改为固定端口然后再试一次。"
|
||||
msgstr "不支持随机 ttyd 端口 (端口=0)。<br />改为固定端口然后再试一次。"
|
||||
|
||||
#: applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/config.js:42
|
||||
msgid "Read-only"
|
||||
|
|
|
@ -144,9 +144,9 @@ msgstr "監聽埠(預設值:7681,「0」表示隨機埠)"
|
|||
|
||||
#: applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/term.js:14
|
||||
msgid ""
|
||||
"Random ttyd port (port=0) is not supported.<br>Change to a fixed port and "
|
||||
"Random ttyd port (port=0) is not supported.<br />Change to a fixed port and "
|
||||
"try again."
|
||||
msgstr "不支援 ttyd 隨機埠(埠號為 0);<br>變更為固定埠後重試。"
|
||||
msgstr "不支援 ttyd 隨機埠(埠號為 0);<br />變更為固定埠後重試。"
|
||||
|
||||
#: applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/config.js:42
|
||||
msgid "Read-only"
|
||||
|
|
Loading…
Reference in a new issue