{ "id": "150454", "key": "TIMOB-19430", "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": [], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2019-08-13T17:28:43.000+0000", "created": "2015-08-17T12:30:44.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "android", "i18n", "localization", "regression" ], "versions": [ { "id": "16593", "description": "Release 4.0.0", "name": "Release 4.0.0", "archived": false, "released": true, "releaseDate": "2015-05-21" }, { "id": "16723", "description": "Windows Platform Support, ListView updates, Vector overlays in maps", "name": "Release 4.1.0", "archived": false, "released": true, "releaseDate": "2015-07-08" } ], "issuelinks": [], "assignee": null, "updated": "2019-08-13T17:28:43.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": "Till now (version 3.5.0GA) to do a CR+LF in alerts I was using successfully *\\n\\n*\r\n\r\nNow in 4.1.1 it's not working for *Android* at least (only in translations, it works in direct tests).\r\n\r\nTo test it:\r\n\r\n{code:javascript}\r\n// this works\r\nalert('Hi \\n\\n you'); \r\n\r\n// This works if the text id *hi* is not defined inside i18n folder, \r\n// but is it's defined, then symply all the text appears, including \\n\\n\r\nalert(L('hi', 'Hi \\n\\n you')); \r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "Android: i18n translations CR+LF not working on 4.1", "creator": { "name": "mcvendrell", "key": "mcvendrell", "displayName": "Manuel Conde Vendrell", "active": true, "timeZone": "Europe/Madrid" }, "subtasks": [], "reporter": { "name": "mcvendrell", "key": "mcvendrell", "displayName": "Manuel Conde Vendrell", "active": true, "timeZone": "Europe/Madrid" }, "environment": "Win 7 32bit, Ti 4.1.1GA", "comment": { "comments": [ { "id": "404135", "author": { "name": "mcvendrell", "key": "mcvendrell", "displayName": "Manuel Conde Vendrell", "active": true, "timeZone": "Europe/Madrid" }, "body": "More info after all this time.\r\n\r\nThis only happens to me when I'm using Liveview (which is all the time). \r\nWithout Liveview, /n works fine again. So production apps will work fine.\r\n\r\nProbably I detected this problem because from SDK 4.1 I started to use Liveview instead of TiShadow.", "updateAuthor": { "name": "mcvendrell", "key": "mcvendrell", "displayName": "Manuel Conde Vendrell", "active": true, "timeZone": "Europe/Madrid" }, "created": "2017-01-05T10:55:08.000+0000", "updated": "2017-01-05T10:55:08.000+0000" }, { "id": "450449", "author": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Unable to reproduce with 8.0.2.GA SDK. ", "updateAuthor": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-08-13T17:28:43.000+0000", "updated": "2019-08-13T17:28:43.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }