From 9fdcdcd54fb0c9df13353d58b10465c339af2c84 Mon Sep 17 00:00:00 2001 From: Leonard de Ruijter <3049216+LeonarddeR@users.noreply.github.com> Date: Wed, 4 Sep 2024 02:44:15 +0200 Subject: [PATCH] Update liblouis to 3.31 (#17080) Summary of the issue: Liblouis 3.31 has been released. Among new tables, this release contains a bug fix for Spanish causing digits to be presented incorrectly, see liblouis/liblouis#1624. Description of user facing changes Update to Liblouis 3.31, adding new tables as mentioned in the changelog. Description of development approach Update the submodule, added and updated definitions in brailleTables.py --- include/liblouis | 2 +- projectDocs/dev/createDevEnvironment.md | 2 +- source/brailleTables.py | 10 ++++++++-- user_docs/en/changes.md | 15 +++++++++++++-- 4 files changed, 23 insertions(+), 6 deletions(-) diff --git a/include/liblouis b/include/liblouis index 7b1843ae639..466c4c8d016 160000 --- a/include/liblouis +++ b/include/liblouis @@ -1 +1 @@ -Subproject commit 7b1843ae6395a3c3f2274c823be338dd584ee6f0 +Subproject commit 466c4c8d0165380e51033d79a6f775d2ee56c298 diff --git a/projectDocs/dev/createDevEnvironment.md b/projectDocs/dev/createDevEnvironment.md index b68dc32365e..a995e719884 100644 --- a/projectDocs/dev/createDevEnvironment.md +++ b/projectDocs/dev/createDevEnvironment.md @@ -80,7 +80,7 @@ For reference, the following run time dependencies are included in Git submodule * [eSpeak NG](https://github.com/espeak-ng/espeak-ng), version 1.52-dev commit `961454ffaa894d981526f4d424daef1d3bc4175f` * [Sonic](https://github.com/waywardgeek/sonic), commit `8694c596378c24e340c09ff2cd47c065494233f1` * [IAccessible2](https://wiki.linuxfoundation.org/accessibility/iaccessible2/start), commit `3d8c7f0b833453f761ded6b12d8be431507bfe0b` -* [liblouis](http://www.liblouis.io/), version 3.30.0 +* [liblouis](http://www.liblouis.io/), version 3.31.0 * [Unicode Common Locale Data Repository (CLDR)](http://cldr.unicode.org/), version 45.0 * NVDA images and sounds * [Adobe Acrobat accessibility interface, version XI](https://download.macromedia.com/pub/developer/acrobat/AcrobatAccess.zip) diff --git a/source/brailleTables.py b/source/brailleTables.py index f45e9f6f722..834377a003d 100644 --- a/source/brailleTables.py +++ b/source/brailleTables.py @@ -359,7 +359,10 @@ def listTables() -> list[BrailleTable]: addTable("gu-in-g1.utb", _("Gujarati grade 1")) # Translators: The name of a braille table displayed in the # braille settings dialog. -addTable("grc-international-en.utb", _("Greek international braille")) +addTable("grc-international-en.utb", _("Greek international braille (2-cell accented letters)")) +# Translators: The name of a braille table displayed in the +# braille settings dialog. +addTable("grc-international-en-composed.utb", _("Greek international braille (single-cell accented letters)")) # Translators: The name of a braille table displayed in the # braille settings dialog. addTable("grc-international-es.utb", _("Spanish for Greek text")) @@ -626,7 +629,10 @@ def listTables() -> list[BrailleTable]: addTable("th-comp8-backward.utb", _("Thai 8 dot computer braille"), output=False) # Translators: The name of a braille table displayed in the # braille settings dialog. -addTable("th-g0.utb", _("Thai 6 dot"), input=False) +addTable("th-g0.utb", _("Thai grade 0"), input=False) +# Translators: The name of a braille table displayed in the +# braille settings dialog. +addTable("th-g1.utb", _("Thai grade 1"), input=False, contracted=True) # Translators: The name of a braille table displayed in the # braille settings dialog. addTable("tr.ctb", _("Turkish grade 1")) diff --git a/user_docs/en/changes.md b/user_docs/en/changes.md index 32b2fa7c928..f9fdc4c43ab 100644 --- a/user_docs/en/changes.md +++ b/user_docs/en/changes.md @@ -22,6 +22,8 @@ The minimum required version of Poedit that works with NVDA is now version 3.5. eSpeak NG has been updated, adding support for the Faroese and Xextan languages. +LibLouis has been updated, adding new Braille tables for Thai and Greek international braille with single-cell accented letters. + There have also been a number of fixes, including to mouse tracking in Firefox, and the on-demand speech mode. ### New Features @@ -42,8 +44,17 @@ There have also been a number of fixes, including to mouse tracking in Firefox, ### Changes * The `-c`/`--config-path` and `--disable-addons` command line options are now respected when launching an update from within NVDA. (#16937) -* eSpeak NG has been updated to 1.52-dev commit `961454ff`. (#16775) - * Added new languages Faroese and Xextan. +* Component updates: + * Updated LibLouis Braille translator to [3.31.0](https://github.com/liblouis/liblouis/releases/tag/v3.31.0). (#17080, @LeonarddeR, @codeofdusk) + * Fixed translation of numbers in Spanish Braille. + * New Braille tables: + * Thai grade 1 + * Greek international Braille (single-cell accented letters) + * Renamed tables: + * "Thai 6 dot" was renamed to "Thai grade 0" for consistency reasons. + * The existing "Greek international braille" table was renamed to "Greek international braille (2-cell accented letters)" to clarify the distinction between the two Greek systems. + * eSpeak NG has been updated to 1.52-dev commit `961454ff`. (#16775) + * Added new languages Faroese and Xextan. * When using a multi-line braille display via the standard HID braille driver, all lines of cells will be used. (#16993, @alexmoon) * The stability of NVDA's Poedit support has been improved with the side effect that the minimum required version of Poedit is now version 3.5. (#16889, @LeonarddeR)