{
"id": "169436",
"key": "TIMOB-25084",
"fields": {
"issuetype": {
"id": "4",
"description": "An improvement or enhancement to an existing feature or task.",
"name": "Improvement",
"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": [],
"resolution": null,
"resolutiondate": null,
"created": "2017-08-10T15:47:55.000+0000",
"priority": null,
"labels": [
"alloy",
"bindings",
"feature"
],
"versions": [],
"issuelinks": [],
"assignee": null,
"updated": "2018-02-28T19:55:36.000+0000",
"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"
}
},
"components": [
{
"id": "10202",
"name": "Android",
"description": "Android Platform"
}
],
"description": "Be able to concatenate a localized string with a model attribute. According to the documentation, something the following is possible (and works as expected):\r\n\r\n\r\n\r\nHowever, the hardcoded text, in the example \"by\", cannot be replaced with a localized string. As in:\r\n\r\n\r\n\r\nIn this case, the function text (L('by')) is output verbatim rather than being resolved.",
"attachment": [
{
"id": "63047",
"filename": "app.zip",
"author": {
"name": "morahman",
"key": "morahman",
"displayName": "Motiur Rahman",
"active": true,
"timeZone": "Asia/Dhaka"
},
"created": "2017-08-11T08:38:30.000+0000",
"size": 7118847,
"mimeType": "application/zip"
},
{
"id": "63048",
"filename": "Screen Shot 2017-08-11 at 2.43.12 PM.png",
"author": {
"name": "morahman",
"key": "morahman",
"displayName": "Motiur Rahman",
"active": true,
"timeZone": "Asia/Dhaka"
},
"created": "2017-08-11T08:43:43.000+0000",
"size": 46455,
"mimeType": "image/png"
}
],
"flagged": false,
"summary": "Support localized string and model attribute together in binding",
"creator": {
"name": "MarkBoyer",
"key": "markboyer",
"displayName": "Mark Boyer",
"active": true,
"timeZone": "America/Los_Angeles"
},
"subtasks": [],
"reporter": {
"name": "MarkBoyer",
"key": "markboyer",
"displayName": "Mark Boyer",
"active": true,
"timeZone": "America/Los_Angeles"
},
"environment": "Mac OSX 10.12.5\r\nSDK 6.1.2GA\r\nCLI 6.2.3\r\nBuild for iOS",
"comment": {
"comments": [
{
"id": "426527",
"author": {
"name": "morahman",
"key": "morahman",
"displayName": "Motiur Rahman",
"active": true,
"timeZone": "Asia/Dhaka"
},
"body": "Hello!\r\n\r\nI tested this issue and it's a valid improvement. Localized string with a model attribute is not working in a level text. Please see the following code. First, localized string is not working but the second and third one is working. Please see the attachment image and the full code.\r\n\r\nTesting Environment\r\nTi SDK 6.1.2\r\nPlatform: iOS, Android both\r\n\r\n{code:title=index.xml}\r\n\r\n\t\r\n\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n \r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t\r\n \r\n{code}\r\n\r\nThanks\r\n",
"updateAuthor": {
"name": "morahman",
"key": "morahman",
"displayName": "Motiur Rahman",
"active": true,
"timeZone": "Asia/Dhaka"
},
"created": "2017-08-11T08:58:48.000+0000",
"updated": "2017-08-11T08:58:48.000+0000"
}
],
"maxResults": 1,
"total": 1,
"startAt": 0
}
}
}