Kudos to Yuri Chornoivan who contributed the patch in Bugzilla (and
remains the patch author).

Martin
>From 85a10dec792b7d6bb9a6a62a478c72257ee86132 Mon Sep 17 00:00:00 2001
From: Yuri Chornoivan <[email protected]>
Date: Wed, 4 May 2011 10:26:18 +0200
Subject: [PATCH] Typos in freeIPA messages and man page

https://fedorahosted.org/freeipa/ticket/1128
---
 doc/examples/examples.py   |    2 +-
 ipa.1                      |    8 ++++----
 ipalib/plugins/aci.py      |    4 ++--
 ipalib/plugins/batch.py    |    4 ++--
 ipalib/plugins/netgroup.py |    2 +-
 ipalib/plugins/sudocmd.py  |    2 +-
 ipalib/plugins/sudorule.py |    2 +-
 7 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/doc/examples/examples.py b/doc/examples/examples.py
index 0ae212601bf4e2a844f69da68f7fb8daf42bbf69..6711492c75fb34f23ce5688ed51e4d96851305e6 100644
--- a/doc/examples/examples.py
+++ b/doc/examples/examples.py
@@ -62,7 +62,7 @@ def validate_name(ugettext, name):
 
 class exhelloworld(Command):
     """
-    Example commnad: Hello world!
+    Example command: Hello world!
     """
     # takes_args is an attribute of Command. It's a tuple containing
     # instances of Param (or its subclasses such as Str) that define
diff --git a/ipa.1 b/ipa.1
index ba6c96041c6b87e82d48cd0817a72cbfab1c3ede..e5f0c6dbe83e9836e7932833f600fb329b94e1a3 100644
--- a/ipa.1
+++ b/ipa.1
@@ -38,7 +38,7 @@ Load configuration from \fIFILE\fR.
 Produce full debugging output.
 .TP
 \fB\-e\fR \fIKEY=VAL\fR
-Set enviromental variable \fIKEY\fR to the value \fIVAL\fR. This option overrides configuration files.
+Set environmental variable \fIKEY\fR to the value \fIVAL\fR. This option overrides configuration files.
 .TP
 \fB\-h\fR, \fB\-\-help\fR
 Display a help message with a list of options.
@@ -71,7 +71,7 @@ The \fBhelp\fR command invokes the built\-in documentation system. Without param
 .LP
 Plugin provided commands, as the name suggests, originate from IPA plugin modules. The available set may vary depending on your configuration and can be listed using the built\-in \fBhelp\fR command (see above).
 
-Most plugin provided commands are tied to a certain type of IPA object. IPA objects encompass common abstractions such as users (user identities/accounts), hosts (machine identities), services, password policies, etc. Commands associated with an object are easily identified thanks to the enforced naming convention; the command names are composed of two parts separated with a dash: the name of the corresponding IPA object type and the name of action performed on it. For example all commands used to manage user indentities start with "user\-" (e.g. user\-add, user\-del).
+Most plugin provided commands are tied to a certain type of IPA object. IPA objects encompass common abstractions such as users (user identities/accounts), hosts (machine identities), services, password policies, etc. Commands associated with an object are easily identified thanks to the enforced naming convention; the command names are composed of two parts separated with a dash: the name of the corresponding IPA object type and the name of action performed on it. For example all commands used to manage user identities start with "user\-" (e.g. user\-add, user\-del).
 
 The following actions are available for most IPA object types:
 .TP
@@ -109,7 +109,7 @@ For some types of objects, these commands might need to take more than one prima
 All commands that display objects have three special options for controlling output:
 .TP
 \fB\-\-all\fR
-Dispaly all attributes. Without this option only the most relevant attributes are displayed.
+Display all attributes. Without this option only the most relevant attributes are displayed.
 .TP
 \fB\-\-raw\fR
 Display objects as they are stored in the backing store. Disables formatting and attribute labels.
@@ -130,7 +130,7 @@ O \- self\-obliterate
 .TP
 \fBipa help commands\fR
 Display a list of available commands
-\fBipa help topoics\fR
+\fBipa help topics\fR
 Display a high\-level list of help topics
 \fBipa help user\fR
 Display documentation and list of commands in the "user" topic.
diff --git a/ipalib/plugins/aci.py b/ipalib/plugins/aci.py
index 336f16f689fb1970192847e5c92860f851e4131e..afdfaf4586daed0b83b980551d18fb730d82635b 100644
--- a/ipalib/plugins/aci.py
+++ b/ipalib/plugins/aci.py
@@ -72,7 +72,7 @@ more of:
 
 Note the distinction between attributes and entries. The permissions are
 independent, so being able to add a user does not mean that the user will
-be editabe.
+be editable.
 
 The bind rule defines who this ACI grants permissions to. The LDAP server
 allows this to be any valid LDAP entry but we encourage the use of
@@ -83,7 +83,7 @@ http://www.redhat.com/docs/manuals/dir-server/ag/8.0/Managing_Access_Control.htm
 
 EXAMPLES:
 
-NOTE: ACIs are now added via the permision plugin. These examples are to
+NOTE: ACIs are now added via the permission plugin. These examples are to
 demonstrate how the various options work but this is done via the permission
 command-line now (see last example).
 
diff --git a/ipalib/plugins/batch.py b/ipalib/plugins/batch.py
index 29dcc6648ded802b59a7a36c49e33d37757dbb4e..973526a627649914bb32f7728352ed2413c2105c 100644
--- a/ipalib/plugins/batch.py
+++ b/ipalib/plugins/batch.py
@@ -23,9 +23,9 @@ Plugin to make multiple ipa calls via one remote procedure call
 
 To run this code in the lite-server
 
-curl   -H "Content-Type:application/json"          -H "Acept:applicaton/json" -H "Accept-Language:en"        --negotiate -u :          --cacert /etc/ipa/ca.crt           -d  @batch_request.json -X POST       http://localhost:8888/ipa/json
+curl   -H "Content-Type:application/json"          -H "Accept:application/json" -H "Accept-Language:en"        --negotiate -u :          --cacert /etc/ipa/ca.crt           -d  @batch_request.json -X POST       http://localhost:8888/ipa/json
 
-where the contenst of the file batch_request.json follow the below example
+where the contents of the file batch_request.json follow the below example
 
 {"method":"batch","params":[[
         {"method":"group_find","params":[[],{}]},
diff --git a/ipalib/plugins/netgroup.py b/ipalib/plugins/netgroup.py
index eeb6de65f289056de2987f7cddd881302fd20149..7c2fc55e20484091723675cfac507083f0278d87 100644
--- a/ipalib/plugins/netgroup.py
+++ b/ipalib/plugins/netgroup.py
@@ -34,7 +34,7 @@ EXAMPLES:
  Remove a member from the netgroup:
    ipa netgroup-remove-member --users=tuser2 admins
 
- Display infromation about a netgroup:
+ Display information about a netgroup:
    ipa netgroup-show admins
 
  Delete a netgroup:
diff --git a/ipalib/plugins/sudocmd.py b/ipalib/plugins/sudocmd.py
index ad9f87d238e530fdf8bb8895b481d6cfa747219c..f8c4a8e790d71c9e9f832ca20f710a0b3b9f9bb0 100644
--- a/ipalib/plugins/sudocmd.py
+++ b/ipalib/plugins/sudocmd.py
@@ -23,7 +23,7 @@ Commands used as building blocks for sudo
 
 EXAMPLES:
 
- Create a new commnad
+ Create a new command
    ipa sudocmd-add --desc='For reading log files' /usr/bin/less
 
  Remove a command
diff --git a/ipalib/plugins/sudorule.py b/ipalib/plugins/sudorule.py
index 7a5364597290edb9e3827317dbbc1bb13bda51ad..4990e73770c2eadb3b66aa4d6857bbe09defe5a1 100644
--- a/ipalib/plugins/sudorule.py
+++ b/ipalib/plugins/sudorule.py
@@ -211,7 +211,7 @@ api.register(sudorule_find)
 
 class sudorule_show(LDAPRetrieve):
     """
-    Dispaly Sudo Rule.
+    Display Sudo Rule.
     """
 
 api.register(sudorule_show)
-- 
1.7.4.4

_______________________________________________
Freeipa-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to