diff options
author | Endi S. Dewata <edewata@redhat.com> | 2011-08-29 17:34:10 -0500 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2011-08-31 16:30:19 +0000 |
commit | 99a7e90c0a8315da0bfcb3df28c198ea403e4e7a (patch) | |
tree | 063ab3d848ed9a11dfda25fd37992b152acbfbcc /install/ui/test/data | |
parent | 5a495b91dea527f9ac051655e2fd26ca3f9deab5 (diff) | |
download | freeipa-99a7e90c0a8315da0bfcb3df28c198ea403e4e7a.tar.gz freeipa-99a7e90c0a8315da0bfcb3df28c198ea403e4e7a.tar.xz freeipa-99a7e90c0a8315da0bfcb3df28c198ea403e4e7a.zip |
Fixed hard-coded UI messages.
Some hard-coded messages in ipa.js have been moved into internal.py.
The messages in internal.py have been rearranged to match the output
(ipa_init.json).
A new method IPA.get_message() has been added to take a message ID and
return the translated message or a default message if not found.
Ticket #1701
Diffstat (limited to 'install/ui/test/data')
-rw-r--r-- | install/ui/test/data/ipa_init.json | 38 |
1 files changed, 23 insertions, 15 deletions
diff --git a/install/ui/test/data/ipa_init.json b/install/ui/test/data/ipa_init.json index 8c4a78077..3de974e43 100644 --- a/install/ui/test/data/ipa_init.json +++ b/install/ui/test/data/ipa_init.json @@ -2578,6 +2578,7 @@ "class": "Password", "cli_name": "password", "cli_short_name": null, + "confirm": false, "default": null, "doc": "Registration password", "exclude": null, @@ -9057,6 +9058,7 @@ "ipadefaultprimarygroup", "ipaenabledflag", "ipaentitlementid", + "ipaexternalmember", "ipagroupobjectclasses", "ipagroupsearchfields", "ipahomesrootdir", @@ -15474,6 +15476,7 @@ "class": "Password", "cli_name": "password", "cli_short_name": null, + "confirm": true, "default": null, "doc": "Prompt to set the user password", "exclude": [ @@ -15912,7 +15915,10 @@ "error": null, "messages": { "ajax": { - "401": "Your Kerberos ticket is no longer valid. Please run kinit and then click 'Retry'. If this is your first time running the IPA Web UI <a href='/ipa/config/unauthorized.html'>follow these directions</a> to configure your browser." + "401": { + "message": "Your Kerberos ticket is no longer valid. Please run kinit and then click 'Retry'. If this is your first time running the IPA Web UI <a href='/ipa/config/unauthorized.html'>follow these directions</a> to configure your browser.", + "title": "Kerberos ticket no longer valid." + } }, "association": { "add": { @@ -15984,8 +15990,16 @@ "remove_empty": "Select entries to be removed.", "remove_title": "Remove ${entity}", "show_details": "Show details", - "validation_title": "Validation error", - "validation_message": "Input form contains invalid or missing values." + "validation_message": "Input form contains invalid or missing values.", + "validation_title": "Validation error" + }, + "errors": { + "http_error": "HTTP Error", + "internal_error": "Internal Error", + "ipa_error": "IPA Error", + "no_response": "No response", + "unknown_error": "Unknown Error", + "url": "URL" }, "facet_groups": { "managedby": "${primary_key} is managed by:", @@ -16278,7 +16292,7 @@ "Administrator" ], "gidnumber": [ - "166000000" + "1890800000" ], "has_keytab": true, "has_password": true, @@ -16286,24 +16300,18 @@ "/home/admin" ], "ipauniqueid": [ - "a632c9f6-cdf7-11e0-89ce-525400e135d8" + "dcc874a0-d2d1-11e0-83f8-525400e135d8" ], "krbextradata": [ { - "__base64__": "AAJyYFROcm9vdC9hZG1pbkBJRE0uTEFCLkJPUy5SRURIQVQuQ09NAA==" - }, - { - "__base64__": "AAgBAA==" + "__base64__": "AAJ/hFxOcm9vdC9hZG1pbkBJRE0uTEFCLkJPUy5SRURIQVQuQ09NAA==" } ], "krblastpwdchange": [ - "20110824022242Z" - ], - "krblastsuccessfulauth": [ - "20110824023056Z" + "20110830063439Z" ], "krbpasswordexpiration": [ - "20111122022242Z" + "20111128063439Z" ], "krbprincipalname": [ "admin@IDM.LAB.BOS.REDHAT.COM" @@ -16331,7 +16339,7 @@ "admin" ], "uidnumber": [ - "166000000" + "1890800000" ] } ], |