web: better localization of links
-
web: Use correct locale-specific macros from
weblinks.itexi
This avoids the use of locale-specific links that don't exist, or the use of English link macros than can be actually replaced with locale-specific ones.
-
create-weblinks-itexi.py: Better link description for PDFs
[This is for the website build only, not for the offline build.]
Assume you want to download the Catalan version of the Usage Manual (to name an example). If you click on the 'details of Usage' link and change to the Catalan version, you see the following:
Ús (HTML seccionat) ... Ús (HTML monolític) ... Ús.pdf ...
However, the link
Ús.pdf
points to a file calledusage.ca.pdf
, which is misleading. With this commit you getÚs (HTML seccionat) ... Ús (HTML monolític) ... Ús (PDF) ...
instead.
-
create-weblinks-itexi.py: Improve tarball link text
This replaces
Doc tarball for 2.24.4: LilyPond 2.24.4
with
Doc tarball for LilyPond 2.24.4
-
create-weblinks-itexi.py: Provide locale-specific stub macros
Some LilyPond manuals will stay untranslated (like the CG), some manuals are not available in all formats (for example, there are no PDF manuals for Japanese). However, there was no support for such a situation with the available macros in
weblinks.itexi
; it was only possible to use the English versions regardless of the language, causing English descriptions within non-English locales.This commit introduces 'stub' macros that use locale-specific translations but point to the English version of the document.
-
web: Use stub macros from
weblinks.itexi
-
lilypond-website.css: Improve
normal-table
tablesThis introduces hanging indentation for cells, adds some separation between columns, vertically aligns cells at the top, and widens the columns to better accommodate for longer, non-English entries.
Merge request reports
Activity
assigned to @lemzwerg
added Patchnew label
As an example, here is a comparison of the bottom of https://lilypond.org/development.fr.html
Old:
New:
added Patchcountdown label and removed Patchnew label
added Patchpush label and removed Patchcountdown label
added 13 commits
-
5be00aa1...5df0f107 - 7 commits from branch
master
- faa4c9e9 - web: Use correct locale-specific macros from `weblinks.itexi`
- f73a5e1b - create-weblinks-itexi.py: Better link description for PDFs
- 37bdcb89 - create-weblinks-itexi.py: Improve tarball link text
- 907eb096 - create-weblinks-itexi.py: Provide locale-specific stub macros
- fceeafd0 - web: Use stub macros from `weblinks.itexi`
- f3dd11a4 - lilypond-website.css: Improve `normal-table` tables
Toggle commit list-
5be00aa1...5df0f107 - 7 commits from branch
enabled an automatic merge when all merge checks for f3dd11a4 pass
changed milestone to %2.25.26
removed Patchpush label