[vlc-commits] [Git][videolan/vlc][master] 3 commits: lua: fix bad html
Hugo Beauzée-Luyssen (@chouquette)
gitlab at videolan.org
Thu Jan 6 11:36:48 UTC 2022
Hugo Beauzée-Luyssen pushed to branch master at VideoLAN / VLC
Commits:
538bc9bd by Lyndon Brown at 2022-01-06T11:22:06+00:00
lua: fix bad html
a sentence should not be broken up across multiple paragraphs. if forcing
part of the paragraph onto a new line is wanted, there's the line break
tag, and if that does not give the desired line spacing, this can be
tweaked with css.
- - - - -
03964431 by Lyndon Brown at 2022-01-06T11:22:06+00:00
lua: fix wrong option location in error text
the location of the option was missing the step of the top-level
"Interface" tree node below which the "Main interfaces" node is found.
- - - - -
a6afae08 by Lyndon Brown at 2022-01-06T11:22:06+00:00
lua: clarify error text
- - - - -
1 changed file:
- modules/lua/libs/httpd.c
Changes:
=====================================
modules/lua/libs/httpd.c
=====================================
@@ -71,9 +71,10 @@ static const char no_password_fmt[] = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML
"<!-- VLC_PASSWORD_NOT_SET --></body></html>";
static const char no_password_body[] = N_(
-"<p>Password for Web interface has not been set.</p>"
-"<p>Please use --http-password, or set a password in </p>"
-"<p>Preferences > All > Main interfaces > Lua > Lua HTTP > Password.</p>"
+"<p>A password for the Web interface has not been set.</p>"
+"<p>Please either use the --http-password CLI option, or set a password in preferences.</p>"
+"<p>For the latter, the option can be found in the advanced view ("all") under "
+"Interface → Main interfaces → Lua → Lua HTTP → Password.</p>"
);
static const char no_password_title[] = N_("VLC media player");
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/46aad77b8bf5329c6a5c7de0776aa4cbf511a345...a6afae084800d8f87d5b34bc960db99875f1406c
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/46aad77b8bf5329c6a5c7de0776aa4cbf511a345...a6afae084800d8f87d5b34bc960db99875f1406c
You're receiving this email because of your account on code.videolan.org.
More information about the vlc-commits
mailing list