Removed 'name' from 'Sudo Command Group name'.

This commit is contained in:
Endi S. Dewata
2011-01-22 08:02:07 +07:00
committed by Adam Young
parent fa5ae89d7f
commit 9319385c7e
21 changed files with 29 additions and 29 deletions

14
API.txt
View File

@@ -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") output: Output('value', <type 'unicode'>, "The primary_key value of the entry, e.g. 'jdoe' for a user")
command: sudocmdgroup_add command: sudocmdgroup_add
args: 1,6,3 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('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('addattr*', validate_add_attribute, cli_name='addattr', exclude='webui')
option: Str('setattr*', validate_set_attribute, cli_name='setattr', 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") output: Output('value', <type 'unicode'>, "The primary_key value of the entry, e.g. 'jdoe' for a user")
command: sudocmdgroup_add_member command: sudocmdgroup_add_member
args: 1,5,3 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('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: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output'])
option: Str('version?', exclude='webui', flags=['no_option', '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)) output: Output('completed', <type 'int'>, Gettext('Number of members added', domain='ipa', localedir=None))
command: sudocmdgroup_del command: sudocmdgroup_del
args: 1,1,3 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)) 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('summary', (<type 'unicode'>, <type 'NoneType'>), 'User-friendly description of action performed')
output: Output('result', <type 'dict'>, 'list of deletions that failed') 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 command: sudocmdgroup_find
args: 1,7,4 args: 1,7,4
arg: Str('criteria?') 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: 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('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) 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') output: Output('truncated', <type 'bool'>, 'True if not all results were returned')
command: sudocmdgroup_mod command: sudocmdgroup_mod
args: 1,7,3 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('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('addattr*', validate_add_attribute, cli_name='addattr', exclude='webui')
option: Str('setattr*', validate_set_attribute, cli_name='setattr', 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") output: Output('value', <type 'unicode'>, "The primary_key value of the entry, e.g. 'jdoe' for a user")
command: sudocmdgroup_remove_member command: sudocmdgroup_remove_member
args: 1,5,3 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('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: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output'])
option: Str('version?', exclude='webui', flags=['no_option', '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)) output: Output('completed', <type 'int'>, Gettext('Number of members removed', domain='ipa', localedir=None))
command: sudocmdgroup_show command: sudocmdgroup_show
args: 1,4,3 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('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('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: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output'])

View File

@@ -1772,7 +1772,7 @@ msgid "Sudo Command Groups"
msgstr "" msgstr ""
#: ipalib/plugins/sudocmdgroup.py:71 #: ipalib/plugins/sudocmdgroup.py:71
msgid "Sudo Command Group name" msgid "Sudo Command Group"
msgstr "" msgstr ""
#: ipalib/plugins/sudocmdgroup.py:81 #: ipalib/plugins/sudocmdgroup.py:81

View File

@@ -1767,7 +1767,7 @@ msgid "Sudo Command Groups"
msgstr "" msgstr ""
#: ipalib/plugins/sudocmdgroup.py:71 #: ipalib/plugins/sudocmdgroup.py:71
msgid "Sudo Command Group name" msgid "Sudo Command Group"
msgstr "" msgstr ""
#: ipalib/plugins/sudocmdgroup.py:81 #: ipalib/plugins/sudocmdgroup.py:81

View File

@@ -1829,7 +1829,7 @@ msgstr ""
#: ipalib/plugins/sudocmdgroup.py:71 #: ipalib/plugins/sudocmdgroup.py:71
#, fuzzy #, fuzzy
msgid "Sudo Command Group name" msgid "Sudo Command Group"
msgstr "Nombre del grupo" msgstr "Nombre del grupo"
#: ipalib/plugins/sudocmdgroup.py:81 #: ipalib/plugins/sudocmdgroup.py:81

View File

@@ -1767,7 +1767,7 @@ msgid "Sudo Command Groups"
msgstr "" msgstr ""
#: ipalib/plugins/sudocmdgroup.py:71 #: ipalib/plugins/sudocmdgroup.py:71
msgid "Sudo Command Group name" msgid "Sudo Command Group"
msgstr "" msgstr ""
#: ipalib/plugins/sudocmdgroup.py:81 #: ipalib/plugins/sudocmdgroup.py:81

View File

@@ -1767,7 +1767,7 @@ msgid "Sudo Command Groups"
msgstr "" msgstr ""
#: ipalib/plugins/sudocmdgroup.py:71 #: ipalib/plugins/sudocmdgroup.py:71
msgid "Sudo Command Group name" msgid "Sudo Command Group"
msgstr "" msgstr ""
#: ipalib/plugins/sudocmdgroup.py:81 #: ipalib/plugins/sudocmdgroup.py:81

View File

@@ -1769,7 +1769,7 @@ msgid "Sudo Command Groups"
msgstr "" msgstr ""
#: ipalib/plugins/sudocmdgroup.py:71 #: ipalib/plugins/sudocmdgroup.py:71
msgid "Sudo Command Group name" msgid "Sudo Command Group"
msgstr "" msgstr ""
#: ipalib/plugins/sudocmdgroup.py:81 #: ipalib/plugins/sudocmdgroup.py:81

View File

@@ -1767,7 +1767,7 @@ msgid "Sudo Command Groups"
msgstr "" msgstr ""
#: ipalib/plugins/sudocmdgroup.py:71 #: ipalib/plugins/sudocmdgroup.py:71
msgid "Sudo Command Group name" msgid "Sudo Command Group"
msgstr "" msgstr ""
#: ipalib/plugins/sudocmdgroup.py:81 #: ipalib/plugins/sudocmdgroup.py:81

View File

@@ -1758,7 +1758,7 @@ msgid "Sudo Command Groups"
msgstr "" msgstr ""
#: ipalib/plugins/sudocmdgroup.py:71 #: ipalib/plugins/sudocmdgroup.py:71
msgid "Sudo Command Group name" msgid "Sudo Command Group"
msgstr "" msgstr ""
#: ipalib/plugins/sudocmdgroup.py:81 #: ipalib/plugins/sudocmdgroup.py:81

View File

@@ -1819,7 +1819,7 @@ msgstr ""
#: ipalib/plugins/sudocmdgroup.py:71 #: ipalib/plugins/sudocmdgroup.py:71
#, fuzzy #, fuzzy
msgid "Sudo Command Group name" msgid "Sudo Command Group"
msgstr "ಗುಂಪಿನ ಹೆಸರು" msgstr "ಗುಂಪಿನ ಹೆಸರು"
#: ipalib/plugins/sudocmdgroup.py:81 #: ipalib/plugins/sudocmdgroup.py:81

View File

@@ -1758,7 +1758,7 @@ msgid "Sudo Command Groups"
msgstr "" msgstr ""
#: ipalib/plugins/sudocmdgroup.py:71 #: ipalib/plugins/sudocmdgroup.py:71
msgid "Sudo Command Group name" msgid "Sudo Command Group"
msgstr "" msgstr ""
#: ipalib/plugins/sudocmdgroup.py:81 #: ipalib/plugins/sudocmdgroup.py:81

View File

@@ -1818,7 +1818,7 @@ msgid "Sudo Command Groups"
msgstr "Grupy polecenia sudo" msgstr "Grupy polecenia sudo"
#: ipalib/plugins/sudocmdgroup.py:71 #: ipalib/plugins/sudocmdgroup.py:71
msgid "Sudo Command Group name" msgid "Sudo Command Group"
msgstr "Nazwa grupy polecenia sudo" msgstr "Nazwa grupy polecenia sudo"
#: ipalib/plugins/sudocmdgroup.py:81 #: ipalib/plugins/sudocmdgroup.py:81

View File

@@ -1767,7 +1767,7 @@ msgid "Sudo Command Groups"
msgstr "" msgstr ""
#: ipalib/plugins/sudocmdgroup.py:71 #: ipalib/plugins/sudocmdgroup.py:71
msgid "Sudo Command Group name" msgid "Sudo Command Group"
msgstr "" msgstr ""
#: ipalib/plugins/sudocmdgroup.py:81 #: ipalib/plugins/sudocmdgroup.py:81

View File

@@ -1767,7 +1767,7 @@ msgid "Sudo Command Groups"
msgstr "" msgstr ""
#: ipalib/plugins/sudocmdgroup.py:71 #: ipalib/plugins/sudocmdgroup.py:71
msgid "Sudo Command Group name" msgid "Sudo Command Group"
msgstr "" msgstr ""
#: ipalib/plugins/sudocmdgroup.py:81 #: ipalib/plugins/sudocmdgroup.py:81

View File

@@ -1796,7 +1796,7 @@ msgid "Sudo Command Groups"
msgstr "" msgstr ""
#: ipalib/plugins/sudocmdgroup.py:71 #: ipalib/plugins/sudocmdgroup.py:71
msgid "Sudo Command Group name" msgid "Sudo Command Group"
msgstr "" msgstr ""
#: ipalib/plugins/sudocmdgroup.py:81 #: ipalib/plugins/sudocmdgroup.py:81

View File

@@ -1828,7 +1828,7 @@ msgid "Sudo Command Groups"
msgstr "Групи команд sudo" msgstr "Групи команд sudo"
#: ipalib/plugins/sudocmdgroup.py:71 #: ipalib/plugins/sudocmdgroup.py:71
msgid "Sudo Command Group name" msgid "Sudo Command Group"
msgstr "Назва групи команд sudo" msgstr "Назва групи команд sudo"
#: ipalib/plugins/sudocmdgroup.py:81 #: ipalib/plugins/sudocmdgroup.py:81

View File

@@ -1791,7 +1791,7 @@ msgstr ""
#: ipalib/plugins/sudocmdgroup.py:71 #: ipalib/plugins/sudocmdgroup.py:71
#, fuzzy #, fuzzy
msgid "Sudo Command Group name" msgid "Sudo Command Group"
msgstr "组名" msgstr "组名"
#: ipalib/plugins/sudocmdgroup.py:81 #: ipalib/plugins/sudocmdgroup.py:81

View File

@@ -1768,7 +1768,7 @@ msgid "Sudo Command Groups"
msgstr "" msgstr ""
#: ipalib/plugins/sudocmdgroup.py:71 #: ipalib/plugins/sudocmdgroup.py:71
msgid "Sudo Command Group name" msgid "Sudo Command Group"
msgstr "" msgstr ""
#: ipalib/plugins/sudocmdgroup.py:81 #: ipalib/plugins/sudocmdgroup.py:81

View File

@@ -6052,12 +6052,12 @@
"cli_name": "sudocmdgroup_name", "cli_name": "sudocmdgroup_name",
"cli_short_name": null, "cli_short_name": null,
"default": null, "default": null,
"doc": "Sudo Command Group name", "doc": "Sudo Command Group",
"exclude": null, "exclude": null,
"flags": [], "flags": [],
"hint": null, "hint": null,
"include": null, "include": null,
"label": "Sudo Command Group name", "label": "Sudo Command Group",
"length": null, "length": null,
"maxlength": null, "maxlength": null,
"minlength": null, "minlength": null,

View File

@@ -3096,12 +3096,12 @@
"cli_name": "name", "cli_name": "name",
"cli_short_name": null, "cli_short_name": null,
"default": null, "default": null,
"doc": "Sudo Command Group name", "doc": "Sudo Command Group",
"exclude": null, "exclude": null,
"flags": [], "flags": [],
"hint": null, "hint": null,
"include": null, "include": null,
"label": "Sudo Command Group name", "label": "Sudo Command Group",
"length": null, "length": null,
"maxlength": null, "maxlength": null,
"minlength": null, "minlength": null,

View File

@@ -70,7 +70,7 @@ class sudocmdgroup(LDAPObject):
takes_params = ( takes_params = (
Str('cn', Str('cn',
cli_name='sudocmdgroup_name', cli_name='sudocmdgroup_name',
label=_('Sudo Command Group name'), label=_('Sudo Command Group'),
primary_key=True, primary_key=True,
normalizer=lambda value: value.lower(), normalizer=lambda value: value.lower(),
), ),