From 20c9a3fabe9e99c87dd59617a4feb17afe3d9dd5 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Wed, 4 Sep 2019 16:06:47 +0200 Subject: [PATCH 1/7] update to 0.0.46 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add some documentation about the parsing of languageId - Adapt test cases to translation changes from CLDR - Get translation changes from CLDR - Add more translations from CLDR - More test cases - Add optional boolean parameter “fallback” in language_name() and territory_name() - Add translation of ES in an - Add dummy translation of IN in ks_Deva - Add endonyms for ik, iu, cv, csb, crh, an, ayc, ber, bho - Add translation of IT in lij - Add endonym for nan_Latn - Add endonym for oc and translation of FR in oc - Add translations of AW and CW in pap - Add endonyms for sat, sa, quz - Add translation of IT in sc - Add dummy translation of IN in sd_Deva - Add endonyms for sid, the - Add translations of “Tok Pisin” and “Papua New Guinea” in the Tok Pisin language - Add translations of “Walloon” and “Belgium” in the Walloon language - Some comments in Makefile --- .gitignore | 1 + ...-failed-tests-in-test_cases.py-docte.patch | 34 ------------------- langtable.spec | 26 ++++++++++++-- sources | 2 +- 4 files changed, 26 insertions(+), 37 deletions(-) delete mode 100644 0001-Return-number-of-failed-tests-in-test_cases.py-docte.patch diff --git a/.gitignore b/.gitignore index cb3eca9..96bdfa8 100644 --- a/.gitignore +++ b/.gitignore @@ -44,3 +44,4 @@ /langtable-0.0.43.4.tar.gz /langtable-0.0.44.tar.gz /langtable-0.0.45.tar.gz +/langtable-0.0.46.tar.gz diff --git a/0001-Return-number-of-failed-tests-in-test_cases.py-docte.patch b/0001-Return-number-of-failed-tests-in-test_cases.py-docte.patch deleted file mode 100644 index 0fe166b..0000000 --- a/0001-Return-number-of-failed-tests-in-test_cases.py-docte.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 485cf06b8518d651ab5dbf69fb849a909a3a76b8 Mon Sep 17 00:00:00 2001 -From: Mike FABIAN -Date: Tue, 4 Jun 2019 12:39:14 +0200 -Subject: [PATCH] Return number of failed tests in test_cases.py doctests. - ---- - test_cases.py | 8 +++++++- - 1 file changed, 7 insertions(+), 1 deletion(-) - -diff --git a/test_cases.py b/test_cases.py -index efd1fda..b6fc4bc 100644 ---- a/test_cases.py -+++ b/test_cases.py -@@ -1,5 +1,7 @@ - # vim:fileencoding=utf-8:sw=4:et -*- coding: utf-8 -*- - -+import sys -+ - def dummy(): - u''' - >>> import langtable -@@ -1396,4 +1398,8 @@ def dummy(): - - if __name__ == "__main__": - import doctest -- doctest.testmod() -+ (FAILED, ATTEMPTED) = doctest.testmod() -+ if FAILED: -+ # Return number of failed tests: -+ sys.exit(FAILED) -+ sys.exit(0) --- -2.21.0 - diff --git a/langtable.spec b/langtable.spec index 7804b39..44919af 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,6 +1,6 @@ Name: langtable -Version: 0.0.45 -Release: 3%{?dist} +Version: 0.0.46 +Release: 1%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) # imported from CLDR and are thus under the Unicode license, the @@ -74,6 +74,28 @@ xmllint --noout --relaxng \ %{python3_sitelib}/langtable-*.egg-info/* %changelog +* Wed Sep 04 2019 Mike FABIAN - 0.0.46-1 +- Add some documentation about the parsing of languageId +- Adapt test cases to translation changes from CLDR +- Get translation changes from CLDR +- Add more translations from CLDR +- More test cases +- Add optional boolean parameter “fallback” in language_name() and territory_name() +- Add translation of ES in an +- Add dummy translation of IN in ks_Deva +- Add endonyms for ik, iu, cv, csb, crh, an, ayc, ber, bho +- Add translation of IT in lij +- Add endonym for nan_Latn +- Add endonym for oc and translation of FR in oc +- Add translations of AW and CW in pap +- Add endonyms for sat, sa, quz +- Add translation of IT in sc +- Add dummy translation of IN in sd_Deva +- Add endonyms for sid, the +- Add translations of “Tok Pisin” and “Papua New Guinea” in the Tok Pisin language +- Add translations of “Walloon” and “Belgium” in the Walloon language +- Some comments in Makefile + * Tue Jul 30 2019 Mike FABIAN - 0.0.45-3 - Add “Provides: langtable-data” diff --git a/sources b/sources index 4d6e692..6acaf30 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (langtable-0.0.45.tar.gz) = 0efc08adf3001ebe31f95682a03da791241769794ffd1a0954bfb712adb220d3078952fb259df62d4ab085456d062540e500e2509660e6e84383dd591be57dc9 +SHA512 (langtable-0.0.46.tar.gz) = b64c5894edfe6e220339dcd4116feb419835f8d445df3a4a8a864dd22e6b9a777263a096d5e2afbe25c4d88f223217ad449bdd899ce1e7b19253460e89d55f6e From 585eaf179d906c77f16a403ff015b1003f01abf7 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Sun, 29 Sep 2019 18:26:23 +0200 Subject: [PATCH 2/7] update to 0.0.47 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Three changed translations into sr_Latn from CLDR - Add translations of PL in csb and szl (from native speakers) - Add tools/compare_with_glib_source.py script to compare stuff with glibc - Add translation of DZ in ber - Add translation for MA in ber, ber_Tfng, ber_MA - Add translation of MX in nah and nhn - Add translation of NP in the - Add translation for PH in tl - Fix translation of IN in te - Add translation of MM in shn - Add translation of IN in sat - Add translation of IR in az_Arab, az_IR - Add translation for NU in niu - Add translation of PE in ayc (from glibc) - Add translation of PE in agr (from glibc) - Fix translation of RU into tt - Fix translation of ZA in xh - Add translation of IN in mni (from glibc) - Add translation of CA in iu (from glibc) - Add translation of ET in sid (from glibc) - Add translations of ER and ET in gez (from glibc) - Add translation of ZA in nr, nso, ss, st, tn, ts, ve (from glibc) - Add translation of MV in dv (from glibc) - Add translation of CA in ik (from glibc) - Add translation of IN in mjw (from glibc) - Add translations of TW in cmn, hak, nan, nan_Latn (from glibc) - Fix translation of BY in be_Latn to agree with glibc - Add translation of NP in bho - Add translation of IN in bhb, bho, doi, hif, hne, ks_Deva, mag, raj, sa, sd_Deva - Use "Crimean Tatar" instead of "Crimean Turkish" as English translation for crh - Use Shuswap instead of "Shuswap langauge" as the English translation of shs - Correct capitalization of endonym for ss - Fix translations of sr_Latn and sr_Cyrl into sr_Latn - Use standard translations of zh and yue from cldr, not the alt='menu' variant - Fix endonym of uz_Cyrl to agree with glibc and cldr - Change endonym for tcy to agree with glibc (cldr does not have tcy) - Change endonym for sid to agree with glibc (cldr does not have sid) - Change endonym for sgs to agree with glibc (cldr does not have sgs) - Give Olck higher priority than Deva for sat - Change endonym for lzh to agree with glibc - Change endonym for csb to agree with glibc - Change endonym for cmn_Hans from 官话 to 汉语官话 and for cmn_Hant from 官話 to 漢語官話 - Add endonym for ber_MA - Add endonym for az_Arab, az_IR (from az_IR in glibc) - Add endonym for fy_NL - Fix endonym for nhn and add English name for nhn - Fix endonym for pa_Arab (agrees with CLDR now) --- .gitignore | 1 + langtable.spec | 51 +++++++++++++++++++++++++++++++++++++++++++++++++- sources | 2 +- 3 files changed, 52 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 96bdfa8..0ec769f 100644 --- a/.gitignore +++ b/.gitignore @@ -45,3 +45,4 @@ /langtable-0.0.44.tar.gz /langtable-0.0.45.tar.gz /langtable-0.0.46.tar.gz +/langtable-0.0.47.tar.gz diff --git a/langtable.spec b/langtable.spec index 44919af..d451a06 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,5 +1,5 @@ Name: langtable -Version: 0.0.46 +Version: 0.0.47 Release: 1%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) @@ -74,6 +74,55 @@ xmllint --noout --relaxng \ %{python3_sitelib}/langtable-*.egg-info/* %changelog +* Sun Sep 29 2019 Mike FABIAN - 0.0.47-1 +- Three changed translations into sr_Latn from CLDR +- Add translations of PL in csb and szl (from native speakers) +- Add tools/compare_with_glib_source.py script to compare stuff with glibc +- Add translation of DZ in ber +- Add translation for MA in ber, ber_Tfng, ber_MA +- Add translation of MX in nah and nhn +- Add translation of NP in the +- Add translation for PH in tl +- Fix translation of IN in te +- Add translation of MM in shn +- Add translation of IN in sat +- Add translation of IR in az_Arab, az_IR +- Add translation for NU in niu +- Add translation of PE in ayc (from glibc) +- Add translation of PE in agr (from glibc) +- Fix translation of RU into tt +- Fix translation of ZA in xh +- Add translation of IN in mni (from glibc) +- Add translation of CA in iu (from glibc) +- Add translation of ET in sid (from glibc) +- Add translations of ER and ET in gez (from glibc) +- Add translation of ZA in nr, nso, ss, st, tn, ts, ve (from glibc) +- Add translation of MV in dv (from glibc) +- Add translation of CA in ik (from glibc) +- Add translation of IN in mjw (from glibc) +- Add translations of TW in cmn, hak, nan, nan_Latn (from glibc) +- Fix translation of BY in be_Latn to agree with glibc +- Add translation of NP in bho +- Add translation of IN in bhb, bho, doi, hif, hne, ks_Deva, mag, raj, sa, sd_Deva +- Use "Crimean Tatar" instead of "Crimean Turkish" as English translation for crh +- Use Shuswap instead of "Shuswap langauge" as the English translation of shs +- Correct capitalization of endonym for ss +- Fix translations of sr_Latn and sr_Cyrl into sr_Latn +- Use standard translations of zh and yue from cldr, not the alt='menu' variant +- Fix endonym of uz_Cyrl to agree with glibc and cldr +- Change endonym for tcy to agree with glibc (cldr does not have tcy) +- Change endonym for sid to agree with glibc (cldr does not have sid) +- Change endonym for sgs to agree with glibc (cldr does not have sgs) +- Give Olck higher priority than Deva for sat +- Change endonym for lzh to agree with glibc +- Change endonym for csb to agree with glibc +- Change endonym for cmn_Hans from 官话 to 汉语官话 and for cmn_Hant from 官話 to 漢語官話 +- Add endonym for ber_MA +- Add endonym for az_Arab, az_IR (from az_IR in glibc) +- Add endonym for fy_NL +- Fix endonym for nhn and add English name for nhn +- Fix endonym for pa_Arab (agrees with CLDR now) + * Wed Sep 04 2019 Mike FABIAN - 0.0.46-1 - Add some documentation about the parsing of languageId - Adapt test cases to translation changes from CLDR diff --git a/sources b/sources index 6acaf30..5084378 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (langtable-0.0.46.tar.gz) = b64c5894edfe6e220339dcd4116feb419835f8d445df3a4a8a864dd22e6b9a777263a096d5e2afbe25c4d88f223217ad449bdd899ce1e7b19253460e89d55f6e +SHA512 (langtable-0.0.47.tar.gz) = 267aba687385865990aba9f53b030abafa7c5e6ee0c509056467d2f6b457a6102570127e15fbadacbb9333b63bdb2047bbf32f198170adbcff2648ba692aa87a From 1d540e62c1a419bc83da50774917a2613a9924aa Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Tue, 5 Nov 2019 11:28:07 +0100 Subject: [PATCH 3/7] update to 0.0.48 - Fix typo in mo entry - Add mnw - Fix translation of IN in te --- .gitignore | 1 + langtable.spec | 7 ++++++- sources | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 0ec769f..dc71ae0 100644 --- a/.gitignore +++ b/.gitignore @@ -46,3 +46,4 @@ /langtable-0.0.45.tar.gz /langtable-0.0.46.tar.gz /langtable-0.0.47.tar.gz +/langtable-0.0.48.tar.gz diff --git a/langtable.spec b/langtable.spec index d451a06..e30371b 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,5 +1,5 @@ Name: langtable -Version: 0.0.47 +Version: 0.0.48 Release: 1%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) @@ -74,6 +74,11 @@ xmllint --noout --relaxng \ %{python3_sitelib}/langtable-*.egg-info/* %changelog +* Tue Nov 05 2019 Mike FABIAN - 0.0.48-1 +- Fix typo in mo entry +- Add mnw +- Fix translation of IN in te + * Sun Sep 29 2019 Mike FABIAN - 0.0.47-1 - Three changed translations into sr_Latn from CLDR - Add translations of PL in csb and szl (from native speakers) diff --git a/sources b/sources index 5084378..6437ad9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (langtable-0.0.47.tar.gz) = 267aba687385865990aba9f53b030abafa7c5e6ee0c509056467d2f6b457a6102570127e15fbadacbb9333b63bdb2047bbf32f198170adbcff2648ba692aa87a +SHA512 (langtable-0.0.48.tar.gz) = e00de5735726bf8b69a91fb11c904b75f107c3bf09bdc21063a26ccba7a5d6c8a50270cf08301567f6421efeb5798134d2bc02388e7e3847f510b56ee9e4694b From 5a6f724d37ed8e28f3839b302706c1a55ab5db20 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Fri, 13 Dec 2019 12:15:22 +0100 Subject: [PATCH 4/7] update to 0.0.49 - Add new public function parse_locale() - Let info() print a bit more stuff --- .gitignore | 1 + langtable.spec | 6 +++++- sources | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index dc71ae0..61b945c 100644 --- a/.gitignore +++ b/.gitignore @@ -47,3 +47,4 @@ /langtable-0.0.46.tar.gz /langtable-0.0.47.tar.gz /langtable-0.0.48.tar.gz +/langtable-0.0.49.tar.gz diff --git a/langtable.spec b/langtable.spec index e30371b..cefc75c 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,5 +1,5 @@ Name: langtable -Version: 0.0.48 +Version: 0.0.49 Release: 1%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) @@ -74,6 +74,10 @@ xmllint --noout --relaxng \ %{python3_sitelib}/langtable-*.egg-info/* %changelog +* Fri Dec 13 2019 Mike FABIAN - 0.0.49-1 +- Add new public function parse_locale() +- Let info() print a bit more stuff + * Tue Nov 05 2019 Mike FABIAN - 0.0.48-1 - Fix typo in mo entry - Add mnw diff --git a/sources b/sources index 6437ad9..9700e47 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (langtable-0.0.48.tar.gz) = e00de5735726bf8b69a91fb11c904b75f107c3bf09bdc21063a26ccba7a5d6c8a50270cf08301567f6421efeb5798134d2bc02388e7e3847f510b56ee9e4694b +SHA512 (langtable-0.0.49.tar.gz) = 73513a336fcf9decd51b1edec771858b378004bed146a75e0bb2a5682465f088e0aefc16dad160f93c2a909ffbf12891edd3c16a9161c5f87be66c9881a340fd From 24c4123fde167517ff94378082d6d3ce71103e9e Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Fri, 20 Dec 2019 16:49:28 +0100 Subject: [PATCH 5/7] update to 0.0.50 - Make parse_locale() return something reasonable for C, POSIX, en_US_POSIX, and C.UTF-8 - Fix exception in language_name() when called with languageId='' (noticed by Marco Myllynen, thank you!) --- .gitignore | 1 + langtable.spec | 8 +++++++- sources | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 61b945c..850d8c3 100644 --- a/.gitignore +++ b/.gitignore @@ -48,3 +48,4 @@ /langtable-0.0.47.tar.gz /langtable-0.0.48.tar.gz /langtable-0.0.49.tar.gz +/langtable-0.0.50.tar.gz diff --git a/langtable.spec b/langtable.spec index cefc75c..5ec65ed 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,5 +1,5 @@ Name: langtable -Version: 0.0.49 +Version: 0.0.50 Release: 1%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) @@ -74,6 +74,12 @@ xmllint --noout --relaxng \ %{python3_sitelib}/langtable-*.egg-info/* %changelog +* Fri Dec 20 2019 Mike FABIAN - 0.0.50-1 +- Make parse_locale() return something reasonable for + C, POSIX, en_US_POSIX, and C.UTF-8 +- Fix exception in language_name() when called with languageId='' + (noticed by Marco Myllynen, thank you!) + * Fri Dec 13 2019 Mike FABIAN - 0.0.49-1 - Add new public function parse_locale() - Let info() print a bit more stuff diff --git a/sources b/sources index 9700e47..0528754 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (langtable-0.0.49.tar.gz) = 73513a336fcf9decd51b1edec771858b378004bed146a75e0bb2a5682465f088e0aefc16dad160f93c2a909ffbf12891edd3c16a9161c5f87be66c9881a340fd +SHA512 (langtable-0.0.50.tar.gz) = 2d72edafc29acbdcd57674455002e123df3eaf81ed3a8d667ae4ed791242d3fe7897fb44cf2570b7df4949a6267f34741538a91c55050e2e3d4c0658d325b4c4 From cae8003b9bad6302f977cc0000db48f9c571f8a3 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Tue, 14 Jan 2020 11:18:49 +0100 Subject: [PATCH 6/7] update to 0.0.51 - Parse stuff in glibc locale names after @ which is not a script as a variant - Add ckb_IQ.UTF-8 locale --- .gitignore | 1 + langtable.spec | 6 +++++- sources | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 850d8c3..266e268 100644 --- a/.gitignore +++ b/.gitignore @@ -49,3 +49,4 @@ /langtable-0.0.48.tar.gz /langtable-0.0.49.tar.gz /langtable-0.0.50.tar.gz +/langtable-0.0.51.tar.gz diff --git a/langtable.spec b/langtable.spec index 5ec65ed..34d6571 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,5 +1,5 @@ Name: langtable -Version: 0.0.50 +Version: 0.0.51 Release: 1%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) @@ -74,6 +74,10 @@ xmllint --noout --relaxng \ %{python3_sitelib}/langtable-*.egg-info/* %changelog +* Tue Jan 14 2020 Mike FABIAN - 0.0.51-1 +- Parse stuff in glibc locale names after @ which is not a script as a variant +- Add ckb_IQ.UTF-8 locale + * Fri Dec 20 2019 Mike FABIAN - 0.0.50-1 - Make parse_locale() return something reasonable for C, POSIX, en_US_POSIX, and C.UTF-8 diff --git a/sources b/sources index 0528754..4307e28 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (langtable-0.0.50.tar.gz) = 2d72edafc29acbdcd57674455002e123df3eaf81ed3a8d667ae4ed791242d3fe7897fb44cf2570b7df4949a6267f34741538a91c55050e2e3d4c0658d325b4c4 +SHA512 (langtable-0.0.51.tar.gz) = 35ef2c6d5d85b78e486e2b1d437a84a329e9f6b62476030b5e09b410850b66d6cc1f32aa4d71e598095a298fcd89db35e12c69877a25b63ca99c99b5fe225b8d From 5875c3bbbe66285278535b9a29d7651606fdb307 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Tue, 18 Aug 2020 18:33:16 +0200 Subject: [PATCH 7/7] Update to 0.0.52 - add list_common_keyboards() to public api by Sundeep ANAND --- .gitignore | 1 + langtable.spec | 6 +++++- sources | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 266e268..4786728 100644 --- a/.gitignore +++ b/.gitignore @@ -50,3 +50,4 @@ /langtable-0.0.49.tar.gz /langtable-0.0.50.tar.gz /langtable-0.0.51.tar.gz +/langtable-0.0.52.tar.gz diff --git a/langtable.spec b/langtable.spec index 34d6571..4acf756 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,5 +1,5 @@ Name: langtable -Version: 0.0.51 +Version: 0.0.52 Release: 1%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) @@ -74,6 +74,10 @@ xmllint --noout --relaxng \ %{python3_sitelib}/langtable-*.egg-info/* %changelog +* Tue Aug 18 2020 Mike FABIAN - 0.0.52-1 +- Update to 0.0.52 +- add list_common_keyboards() to public api by Sundeep ANAND + * Tue Jan 14 2020 Mike FABIAN - 0.0.51-1 - Parse stuff in glibc locale names after @ which is not a script as a variant - Add ckb_IQ.UTF-8 locale diff --git a/sources b/sources index 4307e28..3c41acc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (langtable-0.0.51.tar.gz) = 35ef2c6d5d85b78e486e2b1d437a84a329e9f6b62476030b5e09b410850b66d6cc1f32aa4d71e598095a298fcd89db35e12c69877a25b63ca99c99b5fe225b8d +SHA512 (langtable-0.0.52.tar.gz) = a76b9b8263dc0889a78b3c3971af525505a8bcb0702d47ed456db1623b12c33e3a6ee5ab961cb31d251ba084a4c183cdf276552e546e68f3f9992a465ed9fe03