From f3de95ce99855cb15e26d8007c8901aaec96c595 Mon Sep 17 00:00:00 2001 From: Pavel Zuna Date: Wed, 23 Feb 2011 16:47:49 -0500 Subject: Fix translatable strings in ipalib plugins. Needed for xgettext/pygettext processing. --- ipalib/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ipalib/__init__.py') 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. -- cgit