summaryrefslogtreecommitdiff
path: root/src/mailman/docs/users.txt
diff options
context:
space:
mode:
authorBarry Warsaw2009-12-10 22:32:25 -0500
committerBarry Warsaw2009-12-10 22:32:25 -0500
commit8938d65327611dded72c7876ffe52e4d4d12ce76 (patch)
tree7e2d5c354dd53f1d3f8c42b4a11a9b58b2c2fcb1 /src/mailman/docs/users.txt
parentfbc81f61609ce0504245934d9bed0690fbd331a7 (diff)
downloadmailman-8938d65327611dded72c7876ffe52e4d4d12ce76.tar.gz
mailman-8938d65327611dded72c7876ffe52e4d4d12ce76.tar.zst
mailman-8938d65327611dded72c7876ffe52e4d4d12ce76.zip
* Refactor the language manager off of the config object and into a utility.
* Fix a few small typos in exception handlers. * Move the initialization of the Zope Component Architecture into the first initialization step. The only reason we couldn't do that previously was because the domain object referenced the config, causing a circularity problem. Refactor the Domain implementation to avoid that.
Diffstat (limited to 'src/mailman/docs/users.txt')
-rw-r--r--src/mailman/docs/users.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mailman/docs/users.txt b/src/mailman/docs/users.txt
index 73e4f3b77..bb0301772 100644
--- a/src/mailman/docs/users.txt
+++ b/src/mailman/docs/users.txt
@@ -135,7 +135,8 @@ Users have preferences, but these preferences have no default settings.
Some of these preferences are booleans and they can be set to True or False.
- >>> config.languages.add('it', 'iso-8859-1', 'Italian')
+ >>> from mailman.interfaces.languages import ILanguageManager
+ >>> getUtility(ILanguageManager).add('it', 'iso-8859-1', 'Italian')
>>> from mailman.core.constants import DeliveryMode
>>> prefs = user_1.preferences