[Freeipa-devel] Trivial doc patch for automember.py

Jérôme Fenal jfenal at gmail.com
Fri Jan 6 22:11:01 UTC 2012


Hi all,

A few more glitches found during translation.

Regards,

J.

diff --git a/ipalib/plugins/automember.py b/ipalib/plugins/automember.py
index ff5a2ba..3b65218 100644
--- a/ipalib/plugins/automember.py
+++ b/ipalib/plugins/automember.py
@@ -41,11 +41,11 @@ entry is added to the appropriate group or hostgroup.

 EXAMPLES:

- Create the initial group or hostgroup:
+ Add the initial group or hostgroup:
    ipa hostgroup-add --desc="Web Servers" webservers
    ipa group-add --desc="Developers" devel

- Create the initial rule:
+ Add the initial rule:
    ipa automember-add --type=hostgroup webservers
    ipa automember-add --type=group devel

@@ -84,7 +84,7 @@ EXAMPLES:
     ipa automember-default-group-set --default-group=webservers
--type=hostgroup
     ipa automember-default-group-set --default-group=ipausers --type=group

- Set the default target group:
+ Remove the default target group:
     ipa automember-default-group-remove --type=hostgroup
     ipa automember-default-group-remove --type=group

@@ -174,7 +174,7 @@ class automember(LDAPObject):
         Str('automemberdefaultgroup?',
             cli_name='default_group',
             label=_('Default Group'),
-            doc=_('Default group for entires to land'),
+            doc=_('Default group for entries to land'),
             flags=['no_create', 'no_update', 'no_search']
         ),
     )
@@ -347,7 +347,7 @@ class automember_remove_condition(LDAPUpdate):
     """)
     takes_options = regex_attrs + group_type
     takes_args = automember_rule
-    msg_summary = _('Removed condition(s) to "%(value)s"')
+    msg_summary = _('Removed condition(s) from "%(value)s"')

     # Prepare the output to expect failed results
     has_output = (


-- 
Jérôme Fenal - jfenal AT gmail.com - http://fenal.org/
Paris.pm - http://paris.mongueurs.net/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20120106/7d48a707/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: automember.diff
Type: text/x-patch
Size: 1668 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20120106/7d48a707/attachment.bin>


More information about the Freeipa-devel mailing list