Compare commits

...
Sign in to create a new pull request.

7 commits

Author SHA1 Message Date
Mike FABIAN
5875c3bbbe Update to 0.0.52
- add list_common_keyboards() to public api by Sundeep ANAND <suanand@redhat.com>
2020-08-18 18:47:53 +02:00
Mike FABIAN
cae8003b9b 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
2020-01-14 11:18:49 +01:00
Mike FABIAN
24c4123fde 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!)
2019-12-20 16:49:28 +01:00
Mike FABIAN
5a6f724d37 update to 0.0.49
- Add new public function parse_locale()
- Let info() print a bit more stuff
2019-12-13 12:52:20 +01:00
Mike FABIAN
1d540e62c1 update to 0.0.48
- Fix typo in mo entry
- Add mnw
- Fix translation of IN in te
2019-11-06 06:43:05 +01:00
Mike FABIAN
585eaf179d update to 0.0.47
- 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)
2019-09-29 18:37:18 +02:00
Mike FABIAN
20c9a3fabe update to 0.0.46
- 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
2019-09-04 16:13:16 +02:00
4 changed files with 104 additions and 37 deletions

7
.gitignore vendored
View file

@ -44,3 +44,10 @@
/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
/langtable-0.0.47.tar.gz
/langtable-0.0.48.tar.gz
/langtable-0.0.49.tar.gz
/langtable-0.0.50.tar.gz
/langtable-0.0.51.tar.gz
/langtable-0.0.52.tar.gz

View file

@ -1,34 +0,0 @@
From 485cf06b8518d651ab5dbf69fb849a909a3a76b8 Mon Sep 17 00:00:00 2001
From: Mike FABIAN <mfabian@redhat.com>
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

View file

@ -1,6 +1,6 @@
Name: langtable
Version: 0.0.45
Release: 3%{?dist}
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)
# imported from CLDR and are thus under the Unicode license, the
@ -74,6 +74,100 @@ xmllint --noout --relaxng \
%{python3_sitelib}/langtable-*.egg-info/*
%changelog
* Tue Aug 18 2020 Mike FABIAN <mfabian@redhat.com> - 0.0.52-1
- Update to 0.0.52
- add list_common_keyboards() to public api by Sundeep ANAND <suanand@redhat.com>
* Tue Jan 14 2020 Mike FABIAN <mfabian@redhat.com> - 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 <mfabian@redhat.com> - 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 <mfabian@redhat.com> - 0.0.49-1
- Add new public function parse_locale()
- Let info() print a bit more stuff
* Tue Nov 05 2019 Mike FABIAN <mfabian@redhat.com> - 0.0.48-1
- Fix typo in mo entry
- Add mnw
- Fix translation of IN in te
* Sun Sep 29 2019 Mike FABIAN <mfabian@redhat.com> - 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 <mfabian@redhat.com> - 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 <mfabian@redhat.com> - 0.0.45-3
- Add “Provides: langtable-data”

View file

@ -1 +1 @@
SHA512 (langtable-0.0.45.tar.gz) = 0efc08adf3001ebe31f95682a03da791241769794ffd1a0954bfb712adb220d3078952fb259df62d4ab085456d062540e500e2509660e6e84383dd591be57dc9
SHA512 (langtable-0.0.52.tar.gz) = a76b9b8263dc0889a78b3c3971af525505a8bcb0702d47ed456db1623b12c33e3a6ee5ab961cb31d251ba084a4c183cdf276552e546e68f3f9992a465ed9fe03