Chris McDonough
2011-06-22 6ed33ec54b0dae6ae2a38a0c7a6d383e2ac1967e
refs
author Chris McDonough <chrism@plope.com>
Wednesday, June 22, 2011 09:08 +0200
committer Chris McDonough <chrism@plope.com>
Wednesday, June 22, 2011 09:08 +0200
commit6ed33ec54b0dae6ae2a38a0c7a6d383e2ac1967e
tree 6b732219505b0738fb158d99633d1c2cf746de21 tree | zip | gz
parent 65ffbe9dede0024c6b54e05b7d8e17503f23cf6f view | diff
- 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.
12 files added
3 files modified
178 ■■■■■ changed files
CHANGES.txt 13 ●●●●● diff | view | raw | blame | history
pyramid/config.py 11 ●●●●● diff | view | raw | blame | history
pyramid/tests/localeapp/locale2/GARBAGE 1 ●●●● diff | view | raw | blame | history
pyramid/tests/localeapp/locale2/be/LC_MESSAGES 1 ●●●● diff | view | raw | blame | history
pyramid/tests/localeapp/locale2/de/LC_MESSAGES/deformsite.mo diff | view | raw | blame | history
pyramid/tests/localeapp/locale2/de/LC_MESSAGES/deformsite.po 31 ●●●●● diff | view | raw | blame | history
pyramid/tests/localeapp/locale2/en/LC_MESSAGES/deformsite.mo diff | view | raw | blame | history
pyramid/tests/localeapp/locale2/en/LC_MESSAGES/deformsite.po 31 ●●●●● diff | view | raw | blame | history
pyramid/tests/localeapp/locale3/GARBAGE 1 ●●●● diff | view | raw | blame | history
pyramid/tests/localeapp/locale3/be/LC_MESSAGES 1 ●●●● diff | view | raw | blame | history
pyramid/tests/localeapp/locale3/de/LC_MESSAGES/deformsite.mo diff | view | raw | blame | history
pyramid/tests/localeapp/locale3/de/LC_MESSAGES/deformsite.po 31 ●●●●● diff | view | raw | blame | history
pyramid/tests/localeapp/locale3/en/LC_MESSAGES/deformsite.mo diff | view | raw | blame | history
pyramid/tests/localeapp/locale3/en/LC_MESSAGES/deformsite.po 31 ●●●●● diff | view | raw | blame | history
pyramid/tests/test_config.py 26 ●●●●● diff | view | raw | blame | history