[libreoffice-dictionaries] 03/16: helper.py: add support mapping for 'bo' (Standard Tibetan)

Mattia Rizzolo mattia at debian.org
Sun Oct 15 18:16:24 UTC 2017


This is an automated email from the git hooks/post-receive script.

mattia pushed a commit to branch master
in repository libreoffice-dictionaries.

commit b71ab9ea8c5617102f0306ae40d4a883b1ff0513
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Sun Oct 15 17:16:50 2017 +0200

    helper.py: add support mapping for 'bo' (Standard Tibetan)
    
    Signed-off-by: Mattia Rizzolo <mattia at debian.org>
---
 debian/helper.py | 6 +++---
 debian/list.json | 9 +++++++++
 2 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/debian/helper.py b/debian/helper.py
index 4de9efd..b924c6d 100755
--- a/debian/helper.py
+++ b/debian/helper.py
@@ -169,11 +169,11 @@ Description: German dictionary for hunspell ("frami" version)
 
 # Code lookup: https://en.wikipedia.org/wiki/ISO_639:$code
 
-# link the pseudo-RFC639-1 used by upstream (the key) to an actual RFC639-2
-ass_639_code = {"af_ZA": "af", "an_ES": "an", "ar": "ar", "be_BY": "be", "bg_BG": "bg", "bn_BD": "bn", "br_FR": "br", "bs_BA": "bs", "ca": "ca", "cs_CZ": "cs", "da_DK": "da", "de": "de", "el_GR": "el", "en": "en", "es": "es", "et_EE": "et", "fr_FR": "fr", "gd_GB": "gd", "gl": "gl", "gu_IN": "gu", "gug": "gug", "he_IL": "he", "hi_IN": "hi", "hr_HR": "hr", "hu_HU": "hu", "is": "is", "it_IT": "it", "kmr_Latn": "kmr", "lo_LA": "lo", "lt_LT": "lt", "lv_LV": "lv", "ne_NP": "ne", "nl_NL": "nl", [...]
+# link the pseudo-RFC639-1 used by upstream (the key) to an actual RFC639-1 or RFC638-2
+ass_639_code = {"af_ZA": "af", "an_ES": "an", "ar": "ar", "be_BY": "be", "bg_BG": "bg", "bn_BD": "bn", "bo": "bo", "br_FR": "br", "bs_BA": "bs", "ca": "ca", "cs_CZ": "cs", "da_DK": "da", "de": "de", "el_GR": "el", "en": "en", "es": "es", "et_EE": "et", "fr_FR": "fr", "gd_GB": "gd", "gl": "gl", "gu_IN": "gu", "gug": "gug", "he_IL": "he", "hi_IN": "hi", "hr_HR": "hr", "hu_HU": "hu", "is": "is", "it_IT": "it", "kmr_Latn": "kmr", "lo_LA": "lo", "lt_LT": "lt", "lv_LV": "lv", "ne_NP": "ne", "n [...]
 
 # link the pseudo-RFC639-1 used by upstream (the key) to a language name
-ass_639_name = {"af_ZA": "Afrikaans", "an_ES": "Aragonese", "ar": "Arabic", "be_BY": "Belarusian", "bg_BG": "Bulgarian", "bn_BD": "Bengali", "br_FR": "Breton", "bs_BA": "Bosnian", "ca": "Catalan", "cs_CZ": "Czech", "da_DK": "Danish", "de": "German", "el_GR": "Modern Greek", "en": "English", "es": "Spanish", "et_EE": "Estonian", "fr_FR": "French", "gd_GB": "Scottish Gaelic", "gl": "Galician", "gu_IN": "Gujarati", "gug": "Guarani", "he_IL": "Hebrew", "hi_IN": "Hindi", "hr_HR": "Croatian",  [...]
+ass_639_name = {"af_ZA": "Afrikaans", "an_ES": "Aragonese", "ar": "Arabic", "be_BY": "Belarusian", "bg_BG": "Bulgarian", "bn_BD": "Bengali", "bo": "Classic Tibetan", "br_FR": "Breton", "bs_BA": "Bosnian", "ca": "Catalan", "cs_CZ": "Czech", "da_DK": "Danish", "de": "German", "el_GR": "Modern Greek", "en": "English", "es": "Spanish", "et_EE": "Estonian", "fr_FR": "French", "gd_GB": "Scottish Gaelic", "gl": "Galician", "gu_IN": "Gujarati", "gug": "Guarani", "he_IL": "Hebrew", "hi_IN": "Hind [...]
 
 hyphen_tpl = Template("""
 Package: hyphen-$language_639
diff --git a/debian/list.json b/debian/list.json
index 271623c..77af7e3 100644
--- a/debian/list.json
+++ b/debian/list.json
@@ -68,6 +68,15 @@
         "name": "Bengali"
     },
     {
+        "639-1": "bo",
+        "code": "bo",
+        "hunspell": [
+            "bo.aff",
+            "bo.dic"
+        ],
+        "name": "Classic Tibetan"
+    },
+    {
         "639-1": "br_FR",
         "code": "br",
         "hunspell": [

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-openoffice/libreoffice-dictionaries.git



More information about the Pkg-openoffice-commits mailing list