This is required by the latest spec.

--
Endi S. Dewata
From b538f494c02c825caec999582a9f473fb01b82d7 Mon Sep 17 00:00:00 2001
From: Endi S. Dewata <edew...@redhat.com>
Date: Sat, 22 Jan 2011 08:02:07 +0700
Subject: [PATCH] Removed 'name' from 'Sudo Command Group name'.

---
 API.txt                                 |   14 +++++++-------
 install/po/bn_IN.po                     |    2 +-
 install/po/de.po                        |    2 +-
 install/po/es.po                        |    2 +-
 install/po/fr.po                        |    2 +-
 install/po/he.po                        |    2 +-
 install/po/id.po                        |    2 +-
 install/po/it.po                        |    2 +-
 install/po/ja.po                        |    2 +-
 install/po/kn.po                        |    2 +-
 install/po/ko.po                        |    2 +-
 install/po/pl.po                        |    2 +-
 install/po/pt.po                        |    2 +-
 install/po/pt_BR.po                     |    2 +-
 install/po/ru.po                        |    2 +-
 install/po/uk.po                        |    2 +-
 install/po/zh_CN.po                     |    2 +-
 install/po/zh_TW.po                     |    2 +-
 install/ui/test/data/ipa_init.json      |    4 ++--
 install/ui/test/data/json_metadata.json |    4 ++--
 ipalib/plugins/sudocmdgroup.py          |    2 +-
 21 files changed, 29 insertions(+), 29 deletions(-)

diff --git a/API.txt b/API.txt
index 650c47a628e1b07b328a21fe29555991991d4a30..ba468480f08efb9c29a2c0b7396b6b8995cc5e4a 100644
--- a/API.txt
+++ b/API.txt
@@ -2162,7 +2162,7 @@ output: Entry('result', <type 'dict'>, Gettext('A dictionary representing an LDA
 output: Output('value', <type 'unicode'>, "The primary_key value of the entry, e.g. 'jdoe' for a user")
 command: sudocmdgroup_add
 args: 1,6,3
-arg: Str('cn', attribute=True, cli_name='sudocmdgroup_name', label=Gettext('Sudo Command Group name', domain='ipa', localedir=None), multivalue=False, normalizer=<lambda>, primary_key=True, required=True)
+arg: Str('cn', attribute=True, cli_name='sudocmdgroup_name', label=Gettext('Sudo Command Group', domain='ipa', localedir=None), multivalue=False, normalizer=<lambda>, primary_key=True, required=True)
 option: Str('description', attribute=True, cli_name='desc', label=Gettext('Description', domain='ipa', localedir=None), multivalue=False, required=True)
 option: Str('addattr*', validate_add_attribute, cli_name='addattr', exclude='webui')
 option: Str('setattr*', validate_set_attribute, cli_name='setattr', exclude='webui')
@@ -2174,7 +2174,7 @@ output: Entry('result', <type 'dict'>, Gettext('A dictionary representing an LDA
 output: Output('value', <type 'unicode'>, "The primary_key value of the entry, e.g. 'jdoe' for a user")
 command: sudocmdgroup_add_member
 args: 1,5,3
-arg: Str('cn', attribute=True, cli_name='sudocmdgroup_name', label=Gettext('Sudo Command Group name', domain='ipa', localedir=None), multivalue=False, normalizer=<lambda>, primary_key=True, query=True, required=True)
+arg: Str('cn', attribute=True, cli_name='sudocmdgroup_name', label=Gettext('Sudo Command Group', domain='ipa', localedir=None), multivalue=False, normalizer=<lambda>, primary_key=True, query=True, required=True)
 option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output'])
 option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output'])
 option: Str('version?', exclude='webui', flags=['no_option', 'no_output'])
@@ -2185,7 +2185,7 @@ output: Output('failed', <type 'dict'>, Gettext('Members that could not be added
 output: Output('completed', <type 'int'>, Gettext('Number of members added', domain='ipa', localedir=None))
 command: sudocmdgroup_del
 args: 1,1,3
-arg: Str('cn', attribute=True, cli_name='sudocmdgroup_name', label=Gettext('Sudo Command Group name', domain='ipa', localedir=None), multivalue=True, normalizer=<lambda>, primary_key=True, query=True, required=True)
+arg: Str('cn', attribute=True, cli_name='sudocmdgroup_name', label=Gettext('Sudo Command Group', domain='ipa', localedir=None), multivalue=True, normalizer=<lambda>, primary_key=True, query=True, required=True)
 option: Flag('continue', autofill=True, cli_name='continue', default=False,lag('continue', autofill=True, cli_name='continue', default=False, doc=Gettext("Continuous mode: Don't stop on errors.", domain='ipa', localedir=None))
 output: Output('summary', (<type 'unicode'>, <type 'NoneType'>), 'User-friendly description of action performed')
 output: Output('result', <type 'dict'>, 'list of deletions that failed')
@@ -2193,7 +2193,7 @@ output: Output('value', <type 'unicode'>, "The primary_key value of the entry, e
 command: sudocmdgroup_find
 args: 1,7,4
 arg: Str('criteria?')
-option: Str('cn', attribute=True, autofill=False, cli_name='sudocmdgroup_name', label=Gettext('Sudo Command Group name', domain='ipa', localedir=None), multivalue=False, normalizer=<lambda>, primary_key=True, query=True, required=False)
+option: Str('cn', attribute=True, autofill=False, cli_name='sudocmdgroup_name', label=Gettext('Sudo Command Group', domain='ipa', localedir=None), multivalue=False, normalizer=<lambda>, primary_key=True, query=True, required=False)
 option: Str('description', attribute=True, autofill=False, cli_name='desc', label=Gettext('Description', domain='ipa', localedir=None), multivalue=False, query=True, required=False)
 option: Int('timelimit?', autofill=False, flags=['no_display'], label=Gettext('Time Limit', domain='ipa', localedir=None), minvalue=0)
 option: Int('sizelimit?', autofill=False, flags=['no_display'], label=Gettext('Size Limit', domain='ipa', localedir=None), minvalue=0)
@@ -2206,7 +2206,7 @@ output: Output('count', <type 'int'>, 'Number of entries returned')
 output: Output('truncated', <type 'bool'>, 'True if not all results were returned')
 command: sudocmdgroup_mod
 args: 1,7,3
-arg: Str('cn', attribute=True, cli_name='sudocmdgroup_name', label=Gettext('Sudo Command Group name', domain='ipa', localedir=None), multivalue=False, normalizer=<lambda>, primary_key=True, query=True, required=True)
+arg: Str('cn', attribute=True, cli_name='sudocmdgroup_name', label=Gettext('Sudo Command Group', domain='ipa', localedir=None), multivalue=False, normalizer=<lambda>, primary_key=True, query=True, required=True)
 option: Str('description', attribute=True, autofill=False, cli_name='desc', label=Gettext('Description', domain='ipa', localedir=None), multivalue=False, required=False)
 option: Str('addattr*', validate_add_attribute, cli_name='addattr', exclude='webui')
 option: Str('setattr*', validate_set_attribute, cli_name='setattr', exclude='webui')
@@ -2219,7 +2219,7 @@ output: Entry('result', <type 'dict'>, Gettext('A dictionary representing an LDA
 output: Output('value', <type 'unicode'>, "The primary_key value of the entry, e.g. 'jdoe' for a user")
 command: sudocmdgroup_remove_member
 args: 1,5,3
-arg: Str('cn', attribute=True, cli_name='sudocmdgroup_name', label=Gettext('Sudo Command Group name', domain='ipa', localedir=None), multivalue=False, normalizer=<lambda>, primary_key=True, query=True, required=True)
+arg: Str('cn', attribute=True, cli_name='sudocmdgroup_name', label=Gettext('Sudo Command Group', domain='ipa', localedir=None), multivalue=False, normalizer=<lambda>, primary_key=True, query=True, required=True)
 option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output'])
 option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output'])
 option: Str('version?', exclude='webui', flags=['no_option', 'no_output'])
@@ -2230,7 +2230,7 @@ output: Output('failed', <type 'dict'>, Gettext('Members that could not be remov
 output: Output('completed', <type 'int'>, Gettext('Number of members removed', domain='ipa', localedir=None))
 command: sudocmdgroup_show
 args: 1,4,3
-arg: Str('cn', attribute=True, cli_name='sudocmdgroup_name', label=Gettext('Sudo Command Group name', domain='ipa', localedir=None), multivalue=False, normalizer=<lambda>, primary_key=True, query=True, required=True)
+arg: Str('cn', attribute=True, cli_name='sudocmdgroup_name', label=Gettext('Sudo Command Group', domain='ipa', localedir=None), multivalue=False, normalizer=<lambda>, primary_key=True, query=True, required=True)
 option: Flag('rights', autofill=True, default=False, label=Gettext('Rights', domain='ipa', localedir=None))
 option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output'])
 option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output'])
diff --git a/install/po/bn_IN.po b/install/po/bn_IN.po
index f9ab81cc9c629eb82c2733ff38ededb95f0474fa..0c2c9bc1ea5521acca5e30848290acb6a3e491b9 100644
--- a/install/po/bn_IN.po
+++ b/install/po/bn_IN.po
@@ -1772,7 +1772,7 @@ msgid "Sudo Command Groups"
 msgstr ""
 
 #: ipalib/plugins/sudocmdgroup.py:71
-msgid "Sudo Command Group name"
+msgid "Sudo Command Group"
 msgstr ""
 
 #: ipalib/plugins/sudocmdgroup.py:81
diff --git a/install/po/de.po b/install/po/de.po
index 01eccf3bdc288c476768593ae0e25d1d13451120..63a43f5f2ff6eb769ccab36e96ca76be180be86e 100644
--- a/install/po/de.po
+++ b/install/po/de.po
@@ -1767,7 +1767,7 @@ msgid "Sudo Command Groups"
 msgstr ""
 
 #: ipalib/plugins/sudocmdgroup.py:71
-msgid "Sudo Command Group name"
+msgid "Sudo Command Group"
 msgstr ""
 
 #: ipalib/plugins/sudocmdgroup.py:81
diff --git a/install/po/es.po b/install/po/es.po
index beef6a462e2586b94918e21fdf20fae12284710c..3244fc51795bd759c4341525041db42adca5db3e 100644
--- a/install/po/es.po
+++ b/install/po/es.po
@@ -1829,7 +1829,7 @@ msgstr ""
 
 #: ipalib/plugins/sudocmdgroup.py:71
 #, fuzzy
-msgid "Sudo Command Group name"
+msgid "Sudo Command Group"
 msgstr "Nombre del grupo"
 
 #: ipalib/plugins/sudocmdgroup.py:81
diff --git a/install/po/fr.po b/install/po/fr.po
index de4a8c0a41b0a1d4a86b9d235de2bf344266b599..13c6a82f7ca1b152269b195dc61db256bd2a2455 100644
--- a/install/po/fr.po
+++ b/install/po/fr.po
@@ -1767,7 +1767,7 @@ msgid "Sudo Command Groups"
 msgstr ""
 
 #: ipalib/plugins/sudocmdgroup.py:71
-msgid "Sudo Command Group name"
+msgid "Sudo Command Group"
 msgstr ""
 
 #: ipalib/plugins/sudocmdgroup.py:81
diff --git a/install/po/he.po b/install/po/he.po
index 78b23be785972735b90a2572ab8c5c0a3ecd272a..525b9f6460a1aa5d4c750445e515d7568acca647 100644
--- a/install/po/he.po
+++ b/install/po/he.po
@@ -1767,7 +1767,7 @@ msgid "Sudo Command Groups"
 msgstr ""
 
 #: ipalib/plugins/sudocmdgroup.py:71
-msgid "Sudo Command Group name"
+msgid "Sudo Command Group"
 msgstr ""
 
 #: ipalib/plugins/sudocmdgroup.py:81
diff --git a/install/po/id.po b/install/po/id.po
index 1a7cb79546fb3ca2bd8922ad22bde447361d9622..0bfdf30b0083cea102a8b7f84b4fe05c1356548f 100644
--- a/install/po/id.po
+++ b/install/po/id.po
@@ -1769,7 +1769,7 @@ msgid "Sudo Command Groups"
 msgstr ""
 
 #: ipalib/plugins/sudocmdgroup.py:71
-msgid "Sudo Command Group name"
+msgid "Sudo Command Group"
 msgstr ""
 
 #: ipalib/plugins/sudocmdgroup.py:81
diff --git a/install/po/it.po b/install/po/it.po
index c15ba3b06719e08348fef15ced54d47c96c1cbf9..4795a2ea73135073ff6bb43334238529ca42369c 100644
--- a/install/po/it.po
+++ b/install/po/it.po
@@ -1767,7 +1767,7 @@ msgid "Sudo Command Groups"
 msgstr ""
 
 #: ipalib/plugins/sudocmdgroup.py:71
-msgid "Sudo Command Group name"
+msgid "Sudo Command Group"
 msgstr ""
 
 #: ipalib/plugins/sudocmdgroup.py:81
diff --git a/install/po/ja.po b/install/po/ja.po
index bd001c9f2279eaccd533e5038f03ed48923c77d4..7889ff32e763675604ba95e0f32f0641953a41c4 100644
--- a/install/po/ja.po
+++ b/install/po/ja.po
@@ -1758,7 +1758,7 @@ msgid "Sudo Command Groups"
 msgstr ""
 
 #: ipalib/plugins/sudocmdgroup.py:71
-msgid "Sudo Command Group name"
+msgid "Sudo Command Group"
 msgstr ""
 
 #: ipalib/plugins/sudocmdgroup.py:81
diff --git a/install/po/kn.po b/install/po/kn.po
index e0115ffc6389061a2d1ea94d2ffb410c3ccb1249..94f23a191dfa9048531c772b6620fa8779f9f310 100644
--- a/install/po/kn.po
+++ b/install/po/kn.po
@@ -1819,7 +1819,7 @@ msgstr ""
 
 #: ipalib/plugins/sudocmdgroup.py:71
 #, fuzzy
-msgid "Sudo Command Group name"
+msgid "Sudo Command Group"
 msgstr "ಗುಂಪಿನ ಹೆಸರು"
 
 #: ipalib/plugins/sudocmdgroup.py:81
diff --git a/install/po/ko.po b/install/po/ko.po
index 94287ba0d1026768767c073287ad68f9612ec4ed..613759681bc37e9819a2c40a3019bde582fca408 100644
--- a/install/po/ko.po
+++ b/install/po/ko.po
@@ -1758,7 +1758,7 @@ msgid "Sudo Command Groups"
 msgstr ""
 
 #: ipalib/plugins/sudocmdgroup.py:71
-msgid "Sudo Command Group name"
+msgid "Sudo Command Group"
 msgstr ""
 
 #: ipalib/plugins/sudocmdgroup.py:81
diff --git a/install/po/pl.po b/install/po/pl.po
index 11650562af8a4a76086d168e1785bb4a41a47d23..10a880cd63ee6e85d4434973731eb5cda086ca3f 100644
--- a/install/po/pl.po
+++ b/install/po/pl.po
@@ -1818,7 +1818,7 @@ msgid "Sudo Command Groups"
 msgstr "Grupy polecenia sudo"
 
 #: ipalib/plugins/sudocmdgroup.py:71
-msgid "Sudo Command Group name"
+msgid "Sudo Command Group"
 msgstr "Nazwa grupy polecenia sudo"
 
 #: ipalib/plugins/sudocmdgroup.py:81
diff --git a/install/po/pt.po b/install/po/pt.po
index 632c176b325f25dfe9abd9384a747520f49e4130..7cfb0e247576d134bbcc5276a23d4d286b5036bf 100644
--- a/install/po/pt.po
+++ b/install/po/pt.po
@@ -1767,7 +1767,7 @@ msgid "Sudo Command Groups"
 msgstr ""
 
 #: ipalib/plugins/sudocmdgroup.py:71
-msgid "Sudo Command Group name"
+msgid "Sudo Command Group"
 msgstr ""
 
 #: ipalib/plugins/sudocmdgroup.py:81
diff --git a/install/po/pt_BR.po b/install/po/pt_BR.po
index 43996b315419797b9185784ab965c2f4e0606879..3256f41c8942e9e59c1742a2786ddc5267b1844e 100644
--- a/install/po/pt_BR.po
+++ b/install/po/pt_BR.po
@@ -1767,7 +1767,7 @@ msgid "Sudo Command Groups"
 msgstr ""
 
 #: ipalib/plugins/sudocmdgroup.py:71
-msgid "Sudo Command Group name"
+msgid "Sudo Command Group"
 msgstr ""
 
 #: ipalib/plugins/sudocmdgroup.py:81
diff --git a/install/po/ru.po b/install/po/ru.po
index 399528bad3bd9cd764c52f713afc360772faa2ae..f1d916ff87ce20bb4c246d78f05ded1c0671b210 100644
--- a/install/po/ru.po
+++ b/install/po/ru.po
@@ -1796,7 +1796,7 @@ msgid "Sudo Command Groups"
 msgstr ""
 
 #: ipalib/plugins/sudocmdgroup.py:71
-msgid "Sudo Command Group name"
+msgid "Sudo Command Group"
 msgstr ""
 
 #: ipalib/plugins/sudocmdgroup.py:81
diff --git a/install/po/uk.po b/install/po/uk.po
index 68eb42fb9c9ddf0674c60e64728a4d25a0a413b5..1b04cf4989e8df7d04403fe613f80c03e2f92397 100644
--- a/install/po/uk.po
+++ b/install/po/uk.po
@@ -1828,7 +1828,7 @@ msgid "Sudo Command Groups"
 msgstr "Групи команд sudo"
 
 #: ipalib/plugins/sudocmdgroup.py:71
-msgid "Sudo Command Group name"
+msgid "Sudo Command Group"
 msgstr "Назва групи команд sudo"
 
 #: ipalib/plugins/sudocmdgroup.py:81
diff --git a/install/po/zh_CN.po b/install/po/zh_CN.po
index 06ce6a22c77cd6a9c4120b5ed844d881bb76aa9a..4ef37d566fde31a13d0742a8bfa43e0f85c44e31 100644
--- a/install/po/zh_CN.po
+++ b/install/po/zh_CN.po
@@ -1791,7 +1791,7 @@ msgstr ""
 
 #: ipalib/plugins/sudocmdgroup.py:71
 #, fuzzy
-msgid "Sudo Command Group name"
+msgid "Sudo Command Group"
 msgstr "组名"
 
 #: ipalib/plugins/sudocmdgroup.py:81
diff --git a/install/po/zh_TW.po b/install/po/zh_TW.po
index ae36c9fd741303089a787ce2c049219eb7c41478..a8c56c5501673e36224df83cfef7a5071c901462 100644
--- a/install/po/zh_TW.po
+++ b/install/po/zh_TW.po
@@ -1768,7 +1768,7 @@ msgid "Sudo Command Groups"
 msgstr ""
 
 #: ipalib/plugins/sudocmdgroup.py:71
-msgid "Sudo Command Group name"
+msgid "Sudo Command Group"
 msgstr ""
 
 #: ipalib/plugins/sudocmdgroup.py:81
diff --git a/install/ui/test/data/ipa_init.json b/install/ui/test/data/ipa_init.json
index 73ee8dc95c414e51e1cf9e6a9756ea0a7adf5b48..ba236a7f7333995308ac05fe51407f2c9560844f 100644
--- a/install/ui/test/data/ipa_init.json
+++ b/install/ui/test/data/ipa_init.json
@@ -6052,12 +6052,12 @@
                                 "cli_name": "sudocmdgroup_name",
                                 "cli_short_name": null,
                                 "default": null,
-                                "doc": "Sudo Command Group name",
+                                "doc": "Sudo Command Group",
                                 "exclude": null,
                                 "flags": [],
                                 "hint": null,
                                 "include": null,
-                                "label": "Sudo Command Group name",
+                                "label": "Sudo Command Group",
                                 "length": null,
                                 "maxlength": null,
                                 "minlength": null,
diff --git a/install/ui/test/data/json_metadata.json b/install/ui/test/data/json_metadata.json
index 6aa02578852747201b9f84efca04620248dc24ba..5cc44ec3aa883fa6f6b0593ad1d127aa4a2df044 100644
--- a/install/ui/test/data/json_metadata.json
+++ b/install/ui/test/data/json_metadata.json
@@ -3096,12 +3096,12 @@
                         "cli_name": "name",
                         "cli_short_name": null,
                         "default": null,
-                        "doc": "Sudo Command Group name",
+                        "doc": "Sudo Command Group",
                         "exclude": null,
                         "flags": [],
                         "hint": null,
                         "include": null,
-                        "label": "Sudo Command Group name",
+                        "label": "Sudo Command Group",
                         "length": null,
                         "maxlength": null,
                         "minlength": null,
diff --git a/ipalib/plugins/sudocmdgroup.py b/ipalib/plugins/sudocmdgroup.py
index cab89069afc7b883ac1b43cb8a70422e3a21689a..c13d5481095d6367e0b43539716bb4b3fba22339 100644
--- a/ipalib/plugins/sudocmdgroup.py
+++ b/ipalib/plugins/sudocmdgroup.py
@@ -70,7 +70,7 @@ class sudocmdgroup(LDAPObject):
     takes_params = (
         Str('cn',
             cli_name='sudocmdgroup_name',
-            label=_('Sudo Command Group name'),
+            label=_('Sudo Command Group'),
             primary_key=True,
             normalizer=lambda value: value.lower(),
         ),
-- 
1.6.6.1

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to