https://bugs.documentfoundation.org/show_bug.cgi?id=123872
Bug ID: 123872
Summary: help/languages.js is not valid Javascript, breaks
browser-based docs
Product: LibreOffice
Version: 6.2.0.3 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Documentation
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
First: thanks for LO, great work.
On a fresh install of LO 6.2.0 on MacOS 10.13.6, I clicked on a Help icon,
which opened a browser at URL
file:///Applications/LibreOffice.app/Contents/Resources/help/index.html
However the displayed page was blank. Browser console revealed an error in
languages.js: "Unexpected token: var"
Discovered languages.js in above dir was not valid JS; it had "-n" at the start
of each line and no commas between the language ID strings.
The installed languages.js looked like this:
-n var languagesSet = new Set([
-n 'en-US'
-n 'am'
...etc
It clearly was intended to look like this:
var languagesSet = new Set([
'en-US',
'am',
'ar',
...etc
A quick edit to the second style fixed this and docs in browser worked fine
thereafter.
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs