diff options
| author | Chris McDonough <chrism@plope.com> | 2011-12-04 19:26:02 -0500 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2011-12-04 19:26:02 -0500 |
| commit | a78b58dd5cf665f7a7aaa18e9e7f6cae3fc7f749 (patch) | |
| tree | 0ff717cd660f99ee4c4820854bdc36553f1b4e1b | |
| parent | 4a4ef4f7ac6d94e00b6beb2a97472ed6d7bdddd8 (diff) | |
| download | pyramid-a78b58dd5cf665f7a7aaa18e9e7f6cae3fc7f749.tar.gz pyramid-a78b58dd5cf665f7a7aaa18e9e7f6cae3fc7f749.tar.bz2 pyramid-a78b58dd5cf665f7a7aaa18e9e7f6cae3fc7f749.zip | |
add_translation_dirs is now an action method
| -rw-r--r-- | TODO.txt | 2 | ||||
| -rw-r--r-- | pyramid/config/i18n.py | 1 |
2 files changed, 1 insertions, 2 deletions
@@ -6,8 +6,6 @@ Must-Have - Introspection: - * Why do translation directories report weird actioninfo? - * Review narrative docs. * ``default root factory`` category? diff --git a/pyramid/config/i18n.py b/pyramid/config/i18n.py index 60c7a71c1..67a7e2018 100644 --- a/pyramid/config/i18n.py +++ b/pyramid/config/i18n.py @@ -50,6 +50,7 @@ class I18NConfiguratorMixin(object): locale_negotiator = self.maybe_dotted(negotiator) self.registry.registerUtility(locale_negotiator, ILocaleNegotiator) + @action_method def add_translation_dirs(self, *specs): """ Add one or more :term:`translation directory` paths to the current configuration state. The ``specs`` argument is a |
