summaryrefslogtreecommitdiffstats
path: root/ipalib/__init__.py
diff options
context:
space:
mode:
authorPavel Zuna <pzuna@redhat.com>2011-02-23 16:47:49 -0500
committerRob Crittenden <rcritten@redhat.com>2011-03-01 10:31:40 -0500
commitf3de95ce99855cb15e26d8007c8901aaec96c595 (patch)
treeab1924abd9e8d6b8fbe32834f5d110617ecead43 /ipalib/__init__.py
parent814595275293af836ceed7aeedf8412d94b13794 (diff)
downloadfreeipa-f3de95ce99855cb15e26d8007c8901aaec96c595.tar.gz
freeipa-f3de95ce99855cb15e26d8007c8901aaec96c595.tar.xz
freeipa-f3de95ce99855cb15e26d8007c8901aaec96c595.zip
Fix translatable strings in ipalib plugins.
Needed for xgettext/pygettext processing.
Diffstat (limited to 'ipalib/__init__.py')
-rw-r--r--ipalib/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/__init__.py b/ipalib/__init__.py
index 595ab4c50..16d7db761 100644
--- a/ipalib/__init__.py
+++ b/ipalib/__init__.py
@@ -118,7 +118,7 @@ False
>>> hasattr(api.Command, 'my_command')
True
>>> api.Command.my_command.doc
-'My example plugin.'
+Gettext('My example plugin.', domain='ipa', localedir=None)
Notice that your plugin instance is accessed through an attribute named
``my_command``, the same name as your plugin class name.