{ "id": "77960", "key": "TIMOB-4717", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11364", "description": "Mobile 1.8.0 M11", "name": "Sprint 2011-32", "archived": true, "released": true, "releaseDate": "2011-08-15" }, { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-11-05T13:54:09.000+0000", "created": "2011-07-19T09:49:07.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "parity" ], "versions": [ { "id": "11367", "description": "", "name": "Release 1.7.1", "archived": true, "released": true, "releaseDate": "2011-06-21" } ], "issuelinks": [], "assignee": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2011-11-05T13:54:09.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "iOS implements the \"ok\" property to allow setting the OK button's label. \"okid\" is also exposed to allow the property to be pulled from locale strings", "attachment": [], "flagged": false, "summary": "Android: Implement \"ok\" and \"okid\" in Titanium.UI.AlertDialog", "creator": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "162146", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "See test app:\r\n\r\nhttp://dl.dropbox.com/u/3756445/timob4717.zip\r\n\r\nThe test app allows you to play with the `message`, `ok`, `messageid` and `okid` both before and after the dialog object is created.\r\n\r\n", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-08-08T09:54:19.000+0000", "updated": "2011-08-08T09:54:19.000+0000" }, { "id": "163275", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hello Bill, any instructions for expected results on your test app? Seems comprehensive.\r\n\r\n", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-08-17T17:19:24.000+0000", "updated": "2011-08-17T17:19:24.000+0000" }, { "id": "163317", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "Better testing instructions. The other was pretty vague :).\r\n\r\nStart with the \"Play with 'message' and 'ok'\". This lets you play with setting the alert dialog's \"message\" and \"ok\" properties. At that window, you can click any of those \"Set ...\" options, then when you click the \"Show Dialog\" button make sure the dialog's message and the text on the \"OK\" button (which is the only button) match the last options that you clicked on.\r\n\r\nThen go back and click the \"Play with 'messageid' and 'okid'. This lets you mess around with setting the dialog's \"messageid\" and \"okid\" properties. These \"*id\" properties are used for local strings (English, German, whatever.) Specifically, the id values are defined in the file i18n/de/strings.xml (for German) and i18n/en/strings.xml (for English). So if you click \"set okid prop to 'ok1'\" and then \"set messagid prop to 'message1'\", then click \"Show Dialog\", you should see a dialog that has \"english message1\" as the dialog's message and \"english ok1\" as the text on the button, because those are the values that are assigned in i18n/en/strings.xml. (I'm assuming you have English set as your language on your phone. You can also change your phone's settings to German and test it if you want.)", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-08-18T09:09:52.000+0000", "updated": "2011-08-18T09:09:52.000+0000" }, { "id": "164056", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with 1.8.0.v20110819142548\nMotorola Xoom 3.2\nNexus One 2.2.2\n\nSetting messageid and okid and then press show dialog does not display an alert", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-08-25T13:43:46.000+0000", "updated": "2011-08-25T13:43:46.000+0000" }, { "id": "164431", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with 1.8.0.v20110819142548\nMotorola Xoom 3.2\nNexus One 2.2.2\n\nNeed to run as standalone, bug was because of QTS", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-08-29T16:08:56.000+0000", "updated": "2011-08-29T16:08:56.000+0000" }, { "id": "171620", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Standardizing summary and labels.", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-11-05T13:53:57.000+0000", "updated": "2011-11-05T13:53:57.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }