summaryrefslogtreecommitdiff
path: root/CHANGES.txt
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-07-14 17:35:00 -0400
committerChris McDonough <chrism@plope.com>2011-07-14 17:35:00 -0400
commit5b5cd6fa80421b594fa14a75f3daf6a5703f1898 (patch)
treea390f0e30c36e58ae04748de745cdba1fd5602e3 /CHANGES.txt
parent10408c799257d6727c968d63cf439b1ebfbfd335 (diff)
downloadpyramid-5b5cd6fa80421b594fa14a75f3daf6a5703f1898.tar.gz
pyramid-5b5cd6fa80421b594fa14a75f3daf6a5703f1898.tar.bz2
pyramid-5b5cd6fa80421b594fa14a75f3daf6a5703f1898.zip
- Without a mo-file loaded for the combination of domain/locale,
``pyramid.i18n.Localizer.pluralize`` run using that domain/locale combination raised an inscrutable "translations object has no attr 'plural' error. Now, instead it "works" (it uses a germanic pluralization by default). This is not the "right" thing really (it's nonsensical to try to pluralize something without translations for that locale/domain available), but it matches the behavior of ``pyramid.i18n.Localizer.translate`` so it's at least consistent; see https://github.com/Pylons/pyramid/issues/235. Closes #235.
Diffstat (limited to 'CHANGES.txt')
-rw-r--r--CHANGES.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index 1a0573278..02c2da33d 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -24,6 +24,18 @@ Deprecations
it is used. You should replace it with a reference to
``pyramid.static.static_view`` with the ``use_subpath=True`` argument.
+Bug Fixes
+---------
+
+- Without a mo-file loaded for the combination of domain/locale,
+ ``pyramid.i18n.Localizer.pluralize`` run using that domain/locale
+ combination raised an inscrutable "translations object has no attr 'plural'
+ error. Now, instead it "works" (it uses a germanic pluralization by
+ default). This is not the "right" thing really (it's nonsensical to try to
+ pluralize something without translations for that locale/domain available),
+ but it matches the behavior of ``pyramid.i18n.Localizer.translate`` so it's
+ at least consistent; see https://github.com/Pylons/pyramid/issues/235.
+
1.1b2 (2011-07-13)
==================