summaryrefslogtreecommitdiff
path: root/CHANGES.txt
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-06-22 03:08:03 -0400
committerChris McDonough <chrism@plope.com>2011-06-22 03:08:03 -0400
commit6ed33ec54b0dae6ae2a38a0c7a6d383e2ac1967e (patch)
tree6b732219505b0738fb158d99633d1c2cf746de21 /CHANGES.txt
parent65ffbe9dede0024c6b54e05b7d8e17503f23cf6f (diff)
downloadpyramid-6ed33ec54b0dae6ae2a38a0c7a6d383e2ac1967e.tar.gz
pyramid-6ed33ec54b0dae6ae2a38a0c7a6d383e2ac1967e.tar.bz2
pyramid-6ed33ec54b0dae6ae2a38a0c7a6d383e2ac1967e.zip
- If multiple specs were provided in a single call to
``config.add_translation_dirs``, the directories were inserted into the beginning of the directory list in the wrong order: they were inserted in the reverse of the order they were provided in the ``*specs`` list (items later in the list trumped ones earlier in the list). This is now fixed. Note however, that later calls to ``config.add_translation_dirs`` continue to insert directories into the beginning of the list of translation directories created by earlier calls. This means that the same translation found in a directory added via ``add_translation_dirs`` later in the configuration process will be found before one added earlier via a separate call to ``add_translation_dirs`` in the configuration process.
Diffstat (limited to 'CHANGES.txt')
-rw-r--r--CHANGES.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index f4cd65b36..f03dcd067 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -8,6 +8,19 @@ Bug Fixes
for ``pyramid.paster.PyramidTemplate``. Now one has been added, although a
deprecation warning is raised.
+- If multiple specs were provided in a single call to
+ ``config.add_translation_dirs``, the directories were inserted into the
+ beginning of the directory list in the wrong order: they were inserted in
+ the reverse of the order they were provided in the ``*specs`` list (items
+ later in the list trumped ones earlier in the list). This is now fixed.
+
+ Note however, that later calls to ``config.add_translation_dirs`` continue
+ to insert directories into the beginning of the list of translation
+ directories created by earlier calls. This means that the same translation
+ found in a directory added via ``add_translation_dirs`` later in the
+ configuration process will be found before one added earlier via a separate
+ call to ``add_translation_dirs`` in the configuration process.
+
Backwards Incompatibilities
---------------------------