Skip to content
Snippets Groups Projects

web: better localization of links

Merged Werner Lemberg requested to merge dev/wl/localization into master
  • 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 called usage.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 tables

    This 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.

Edited by Werner Lemberg

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading