From de68e2bb251090faee8efa48cb1df9bf40fde79f Mon Sep 17 00:00:00 2001 From: James Teh Date: Fri, 7 Jul 2017 15:57:02 +1000 Subject: [PATCH 1/2] New braille translation tables: Danish 8 dot computer braille, English (U.S.) 8 dot extended computer braille, Lithuanian, Slovenian 8 dot computer braille. (issues #6188, #6550, #6773, #6836) Also, changed the description for "Slovene grade 1" to "Slovenian grade 1" for consistency. --- source/brailleTables.py | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/source/brailleTables.py b/source/brailleTables.py index c50e25d1ba5..affbd932d6c 100644 --- a/source/brailleTables.py +++ b/source/brailleTables.py @@ -100,6 +100,9 @@ def listTables(): addTable("cz-cz-g1.utb", _("Czech grade 1")) # Translators: The name of a braille table displayed in the # braille settings dialog. +addTable("da-dk-g08.ctb", _("Danish 8 dot computer braille")) +# Translators: The name of a braille table displayed in the +# braille settings dialog. addTable("da-dk-g16.ctb", _("Danish 6 dot grade 1")) # Translators: The name of a braille table displayed in the # braille settings dialog. @@ -148,6 +151,9 @@ def listTables(): addTable("en-us-comp8.ctb", _("English (U.S.) 8 dot computer braille")) # Translators: The name of a braille table displayed in the # braille settings dialog. +addTable("en-us-comp8-ext.utb", _("English (U.S.) 8 dot extended computer braille")) +# Translators: The name of a braille table displayed in the +# braille settings dialog. addTable("en-us-g1.ctb", _("English (U.S.) grade 1")) # Translators: The name of a braille table displayed in the # braille settings dialog. @@ -241,6 +247,9 @@ def listTables(): addTable("ks-in-g1.utb", _("Kashmiri grade 1")) # Translators: The name of a braille table displayed in the # braille settings dialog. +addTable("lt.ctb", _("Lithuanian")) +# Translators: The name of a braille table displayed in the +# braille settings dialog. addTable("Lv-Lv-g1.utb", _("Latvian grade 1")) # Translators: The name of a braille table displayed in the # braille settings dialog. @@ -316,7 +325,10 @@ def listTables(): addTable("sk-g1.ctb", _("Slovak grade 1")) # Translators: The name of a braille table displayed in the # braille settings dialog. -addTable("sl-si-g1.utb", _("Slovene grade 1")) +addTable("sl-si-comp8.ctb", _("Slovenian 8 dot computer braille")) +# Translators: The name of a braille table displayed in the +# braille settings dialog. +addTable("sl-si-g1.utb", _("Slovenian grade 1")) # Translators: The name of a braille table displayed in the # braille settings dialog. addTable("sr-g1.ctb", _("Serbian grade 1")) From 678a1ce64549e191fae3fecd0fea299ce2c6b98a Mon Sep 17 00:00:00 2001 From: James Teh Date: Mon, 10 Jul 2017 12:35:23 +1000 Subject: [PATCH 2/2] Add Persian 8 dot computer braille, Persian grade 1. (#7367) --- source/brailleTables.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/source/brailleTables.py b/source/brailleTables.py index affbd932d6c..6c807fab361 100644 --- a/source/brailleTables.py +++ b/source/brailleTables.py @@ -62,6 +62,7 @@ def listTables(): #: Maps old table names to new table names for tables renamed in newer versions of liblouis. RENAMED_TABLES = { + "ar-fa.utb" : "fa-ir-g1.utb", "da-dk-g16.utb":"da-dk-g16.ctb", "da-dk-g18.utb":"da-dk-g18.ctb", "gr-gr-g1.utb":"el.ctb", @@ -79,9 +80,6 @@ def listTables(): addTable("ar-ar-g1.utb", _("Arabic grade 1")) # Translators: The name of a braille table displayed in the # braille settings dialog. -addTable("ar-fa.utb", _("Farsi grade 1")) -# Translators: The name of a braille table displayed in the -# braille settings dialog. addTable("as-in-g1.utb", _("Assamese grade 1")) # Translators: The name of a braille table displayed in the # braille settings dialog. @@ -172,6 +170,12 @@ def listTables(): addTable("ethio-g1.ctb", _("Ethiopic grade 1")) # Translators: The name of a braille table displayed in the # braille settings dialog. +addTable("fa-ir-comp8.ctb", _("Persian 8 dot computer braille")) +# Translators: The name of a braille table displayed in the +# braille settings dialog. +addTable("fa-ir-g1.utb", _("Persian grade 1")) +# Translators: The name of a braille table displayed in the +# braille settings dialog. addTable("fi.utb", _("Finnish 6 dot")) # Translators: The name of a braille table displayed in the # braille settings dialog.