From 6c6748748bca8dba6e8af55917e92839734bbc7b Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Mon, 29 Aug 2011 17:34:10 -0500 Subject: 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 --- install/ui/test/data/ipa_init.json | 38 +++++++++++++++++++++++--------------- 1 file changed, 23 insertions(+), 15 deletions(-) (limited to 'install/ui/test') diff --git a/install/ui/test/data/ipa_init.json b/install/ui/test/data/ipa_init.json index 8c4a7807..3de974e4 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 follow these directions 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 follow these directions 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" ] } ], -- cgit