{ "id": "135312", "key": "ALOY-1121", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [ { "id": "16596", "name": "Alloy 1.6.0", "archived": false, "released": true, "releaseDate": "2015-05-21" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-10-28T02:07:03.000+0000", "created": "2014-08-26T14:11:11.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [ { "id": "40938", "type": { "id": "10122", "name": "Gantt: start-finish", "inward": "is triggered by", "outward": "is triggering" }, "outwardIssue": { "id": "136294", "key": "TIDOC-1869", "fields": { "summary": "Update Alloy CLI docs for new extract-i18n features", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } }, { "id": "42716", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "139137", "key": "ALOY-1187", "fields": { "summary": "Update extract-18n command to extract i18n keys from special XML attributes", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "None", "id": "6" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "updated": "2015-03-19T23:25:07.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": "13604", "name": "Tooling", "description": "Items related to Alloy tooling and workflow" } ], "description": "Community PR https://github.com/appcelerator/alloy/pull/527\r\n\r\nTicket is to test, confirm functionality and applicability.", "attachment": [ { "id": "51078", "filename": "app.zip", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-09-09T15:53:24.000+0000", "size": 2239356, "mimeType": "application/zip" } ], "flagged": false, "summary": "Update extract-i18n command to extract strings from XML files in addition to TSS", "creator": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "environment": null, "closedSprints": [ { "id": 206, "state": "closed", "name": "2014 Sprint 18 Alloy", "startDate": "2014-09-02T13:23:09.065Z", "endDate": "2014-09-16T13:23:00.000Z", "completeDate": "2014-09-15T12:25:31.379Z", "originBoardId": 124 } ], "comment": { "comments": [ { "id": "322539", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "Test app attached", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-09-09T15:53:24.000+0000", "updated": "2014-09-09T15:53:24.000+0000" }, { "id": "322542", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "QE/Review steps:\r\n\r\n1. Create a new Alloy app. Copy the contents of the attached zip over the top of the app folder. Not that there is no i18n folder.\r\n2. From the project's root directory, run {{alloy extract-i18n}} the output should match the following:\r\n\r\n{code}\r\n[INFO] extract-i18n for \"i18n/en/strings.xml\"\r\n[DEBUG] /Users/admin/Documents/Titanium_Studio_Workspace/foo2/app/controllers/index.js: 1 strings found.\r\n[DEBUG] /Users/admin/Documents/Titanium_Studio_Workspace/foo2/app/styles/index.tss: 1 strings found.\r\n[DEBUG] /Users/admin/Documents/Titanium_Studio_Workspace/foo2/app/views/index.xml: 1 strings found.\r\n[INFO] Found 3 unique i18n strings in code. Checking against current i18n file...\r\n[INFO] ######## BEFORE ########\r\n\r\n\r\n[INFO] ######## AFTER ########\r\n\r\n label4\r\n label2\r\n label1\r\n\r\n[INFO] \r\n[WARN] Did not write the \"i18n/en/strings.xml\" file - use \"--apply\" option to write.\r\n{code}\r\n\r\nNote that internationalized strings identified by the {{textid}} or {{titleid}} properties are not extracted (they were not prior to this change either).", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-09-09T15:57:51.000+0000", "updated": "2014-09-09T15:57:51.000+0000" }, { "id": "329230", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "Reopen to backport to 1_6_X branch", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-10-23T19:58:18.000+0000", "updated": "2014-10-23T19:58:18.000+0000" }, { "id": "329379", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "PR https://github.com/appcelerator/alloy/pull/607 for 1_6_X\r\n\r\nFunctional test as above", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-10-24T19:07:26.000+0000", "updated": "2014-10-24T19:07:26.000+0000" }, { "id": "329676", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "PR merged.", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2014-10-28T02:07:03.000+0000", "updated": "2014-10-28T02:07:03.000+0000" }, { "id": "346614", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed using:\r\n\r\nTitanium SDK 3.5.1.GA\r\nStudio 3.4.2.201502181619\r\nCLI 4.0.0-alpha\r\nXcode 6.2\r\nNode 0.12\r\nAlloy 1.6.0-alpha\r\n\r\nOutput strings match expected output.", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-03-19T23:25:07.000+0000", "updated": "2015-03-19T23:25:07.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }