summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2013-07-19 13:35:17 +0200
committerPetr Vobornik <pvoborni@redhat.com>2013-07-23 15:32:13 +0200
commite08f4620cf62872bbdf27ac561c283b02d1536e4 (patch)
tree2bacd71a4c38b502bd398ade859684af591af4df
parent1f89cb959c3cd0bd0a71a403c335be32cafa5133 (diff)
downloadfreeipa.git-e08f4620cf62872bbdf27ac561c283b02d1536e4.tar.gz
freeipa.git-e08f4620cf62872bbdf27ac561c283b02d1536e4.tar.xz
freeipa.git-e08f4620cf62872bbdf27ac561c283b02d1536e4.zip
Remove word 'field' from GECOS param label
No other param/field has 'field' in a label.
-rw-r--r--install/ui/test/data/ipa_init_commands.json12
-rw-r--r--install/ui/test/data/ipa_init_objects.json4
-rw-r--r--install/ui/test/data/json_metadata.json4
-rw-r--r--ipalib/plugins/user.py2
4 files changed, 11 insertions, 11 deletions
diff --git a/install/ui/test/data/ipa_init_commands.json b/install/ui/test/data/ipa_init_commands.json
index f83059bc..3a812ef5 100644
--- a/install/ui/test/data/ipa_init_commands.json
+++ b/install/ui/test/data/ipa_init_commands.json
@@ -16976,9 +16976,9 @@
{
"attribute": true,
"class": "Str",
- "doc": "GECOS field",
+ "doc": "GECOS",
"flags": [],
- "label": "GECOS field",
+ "label": "GECOS",
"name": "gecos",
"noextrawhitespace": true,
"type": "unicode"
@@ -17350,9 +17350,9 @@
{
"attribute": true,
"class": "Str",
- "doc": "GECOS field",
+ "doc": "GECOS",
"flags": [],
- "label": "GECOS field",
+ "label": "GECOS",
"name": "gecos",
"noextrawhitespace": true,
"query": true,
@@ -17807,9 +17807,9 @@
{
"attribute": true,
"class": "Str",
- "doc": "GECOS field",
+ "doc": "GECOS",
"flags": [],
- "label": "GECOS field",
+ "label": "GECOS",
"name": "gecos",
"noextrawhitespace": true,
"type": "unicode"
diff --git a/install/ui/test/data/ipa_init_objects.json b/install/ui/test/data/ipa_init_objects.json
index 5d1fd65a..7d8baed3 100644
--- a/install/ui/test/data/ipa_init_objects.json
+++ b/install/ui/test/data/ipa_init_objects.json
@@ -7671,9 +7671,9 @@
},
{
"class": "Str",
- "doc": "GECOS field",
+ "doc": "GECOS",
"flags": [],
- "label": "GECOS field",
+ "label": "GECOS",
"name": "gecos",
"noextrawhitespace": true,
"type": "unicode"
diff --git a/install/ui/test/data/json_metadata.json b/install/ui/test/data/json_metadata.json
index a3febc1f..928e5eaf 100644
--- a/install/ui/test/data/json_metadata.json
+++ b/install/ui/test/data/json_metadata.json
@@ -8940,12 +8940,12 @@
"cli_name": "gecos",
"cli_short_name": null,
"default": null,
- "doc": "GECOS field",
+ "doc": "GECOS",
"exclude": null,
"flags": [],
"hint": null,
"include": null,
- "label": "GECOS field",
+ "label": "GECOS",
"length": null,
"maxlength": null,
"minlength": null,
diff --git a/ipalib/plugins/user.py b/ipalib/plugins/user.py
index 4fd94210..471981f4 100644
--- a/ipalib/plugins/user.py
+++ b/ipalib/plugins/user.py
@@ -264,7 +264,7 @@ class user(LDAPObject):
label=_('Home directory'),
),
Str('gecos?',
- label=_('GECOS field'),
+ label=_('GECOS'),
default_from=lambda givenname, sn: '%s %s' % (givenname, sn),
autofill=True,
),