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:
Jo-Philipp Wich 2021-10-08 19:51:26 +02:00
parent 0350fbf6e3
commit 70f3ae5072
34 changed files with 41 additions and 41 deletions

View file

@ -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;'

View file

@ -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 ""

View file

@ -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 ""

View file

@ -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 ""

View file

@ -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 ""

View file

@ -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 "

View file

@ -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 ""

View file

@ -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 ""

View file

@ -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 ""

View file

@ -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

View file

@ -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 ""

View file

@ -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 ""

View file

@ -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 ""

View file

@ -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 ""

View file

@ -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 ""

View file

@ -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 ""

View file

@ -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 ""

View file

@ -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 ""

View file

@ -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 ""

View file

@ -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 ""

View file

@ -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 ""

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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 ""

View file

@ -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 ""

View file

@ -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 ""

View file

@ -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 ""

View file

@ -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 ""

View file

@ -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

View file

@ -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 ""

View file

@ -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 ""

View file

@ -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"

View file

@ -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"