diff options
author | Jason Madden <jamadden@gmail.com> | 2017-12-17 09:57:13 -0600 |
---|---|---|
committer | Jason Madden <jamadden@gmail.com> | 2017-12-17 09:57:13 -0600 |
commit | 47ee44a0c1368f2f3c09b1055eef934449f3c584 (patch) | |
tree | 3a316555acc574ca93209afada4d11e3e53417d0 /CHANGES.rst | |
parent | a4cf800dc23b5fc3072e26db539edc3c92891113 (diff) | |
download | zope-i18n-47ee44a0c1368f2f3c09b1055eef934449f3c584.tar.gz |
Make [Simple]TranslationDomain and GettextMessageCatalog properly implement their interfaces on Python 2 when given native strings for 'domain' and 'language'---these are supposed to be text. Test this.
Diffstat (limited to 'CHANGES.rst')
-rw-r--r-- | CHANGES.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/CHANGES.rst b/CHANGES.rst index 2d2fe46..737aeb5 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -15,6 +15,11 @@ It overrode every method and didn't properly initialize the super class. ``TranslationDomain`` continues to implement ``ITranslationDomain``. +- ``TranslationDomain`` and ``GettextMessageCatalog`` now ensure that + their ``domain`` and ``language`` attributes are text in order to + match their respective interfaces. Byte strings (such as native + string literals on Python 2) are decoded using UTF-8. + 4.2.0 (2017-05-23) ================== |