From 1785d0a7c1fb5d90945e187b2e94fddf95ead13a Mon Sep 17 00:00:00 2001 From: Yuri Chornoivan Date: Mon, 5 Sep 2011 16:30:05 +0200 Subject: Fix typos Fix "The the" and "classses" in FreeIPA code and messages. https://fedorahosted.org/freeipa/ticket/1480 --- ipalib/__init__.py | 2 +- ipalib/plugins/aci.py | 4 ++-- ipalib/plugins/config.py | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'ipalib') diff --git a/ipalib/__init__.py b/ipalib/__init__.py index 16d7db761..04896465a 100644 --- a/ipalib/__init__.py +++ b/ipalib/__init__.py @@ -768,7 +768,7 @@ session. The global environment will have an ``api`` variable, which is the standard `plugable.API` instance found at ``ipalib.api``. All plugins will have been loaded (well, except the backend plugins if ``in_server`` is False) and ``api`` will be fully initialized. To launch the console from within the -top-level directory in the the source tree, just run ``ipa console`` from a +top-level directory in the source tree, just run ``ipa console`` from a terminal, like this: :: diff --git a/ipalib/plugins/aci.py b/ipalib/plugins/aci.py index afdfaf458..fc5582db8 100644 --- a/ipalib/plugins/aci.py +++ b/ipalib/plugins/aci.py @@ -62,7 +62,7 @@ The targets include: ldap://uid=*,cn=users,cn=accounts,dc=example,dc=com. The subtree option is a fail-safe for objects that may not be covered by the type option. -The permissions define what the the ACI is allowed to do, and are one or +The permissions define what the ACI is allowed to do, and are one or more of: 1. write - write one or more attributes 2. read - read one or more attributes @@ -100,7 +100,7 @@ command-line now (see last example). Add an ACI that allows members of the editors manage members of the admins group: ipa aci-add --permissions=write --attrs=member --targetgroup=admins --group=editors --prefix=none "Editors manage admins" - Add an ACI that allows members of the admin group to manage the street and zip code of those in the editors group: + Add an ACI that allows members of the admins group to manage the street and zip code of those in the editors group: ipa aci-add --permissions=write --memberof=editors --group=admins --attrs=street,postalcode --prefix=none "admins edit the address of editors" Add an ACI that allows the admins group manage the street and zipcode of those who work for the boss: diff --git a/ipalib/plugins/config.py b/ipalib/plugins/config.py index b78597c1b..7ef626553 100644 --- a/ipalib/plugins/config.py +++ b/ipalib/plugins/config.py @@ -154,12 +154,12 @@ class config(LDAPObject): List('ipagroupobjectclasses?', cli_name='groupobjectclasses', label=_('Default group objectclasses'), - doc=_('Default group objectclassses (comma-separated list).'), + doc=_('Default group objectclasses (comma-separated list).'), ), List('ipauserobjectclasses?', cli_name='userobjectclasses', label=_('Default user objectclasses'), - doc=_('Default user objectclassses (comma-separated list).'), + doc=_('Default user objectclasses (comma-separated list).'), ), Int('ipapwdexpadvnotify?', cli_name='pwdexpnotify', -- cgit