summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO.txt2
-rw-r--r--pyramid/config/i18n.py1
2 files changed, 1 insertions, 2 deletions
diff --git a/TODO.txt b/TODO.txt
index baed9e03f..b7ea305c6 100644
--- a/TODO.txt
+++ b/TODO.txt
@@ -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