{ "id": "132184", "key": "ALOY-1059", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [ { "id": "16692", "name": "Alloy 1.7.0", "archived": false, "released": true, "releaseDate": "2015-07-22" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-02-13T18:28:03.000+0000", "created": "2014-06-24T16:39:19.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [ { "id": "15909", "description": "Alloy 1.5.0", "name": "Alloy 1.5.0", "archived": false, "released": true, "releaseDate": "2014-09-29" } ], "issuelinks": [ { "id": "38647", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "127308", "key": "ALOY-967", "fields": { "summary": "Support i18n directory in widgets", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "updated": "2015-02-13T18:28:03.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14203", "name": "I18N", "description": "Internationalization" } ], "description": "Given a language string in the app's i18n strings.xml file with the same name as a value in a widget's strings.xml file, the app's string must override that of the widget.\r\n\r\nTo create a test app for this:\r\n\r\n1. Copy the ALOY-967 test app\r\n2. Modify the app's i18n/en/strings.xml file to add this new key:\r\n{{i18n from app overrides widget}}\r\n3. Build the app and you should see the above string.\r\n\r\nCurrently, with the 967 test app, you see \"i18n from com.mylanguage.widget\" which is coming from the widget.", "attachment": [], "flagged": false, "summary": "i18n from app must override i18n from widgets", "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, "comment": { "comments": [ { "id": "318487", "author": { "name": "axmo", "key": "axmo", "displayName": "Alex Montgomery", "active": true, "timeZone": "America/Havana" }, "body": "Could the Alloy build system do some auto-namespacing for widget strings by prepending the widget identifier, to avoid these collisions in the first place?", "updateAuthor": { "name": "axmo", "key": "axmo", "displayName": "Alex Montgomery", "active": true, "timeZone": "America/Havana" }, "created": "2014-08-13T17:35:07.000+0000", "updated": "2014-08-13T17:35:07.000+0000" }, { "id": "343311", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "Resolved by ALOY-858", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2015-02-13T18:28:03.000+0000", "updated": "2015-02-13T18:28:03.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }