Details
-
Type:
Bug
-
Status: Closed
-
Priority:
High
-
Resolution: Fixed
-
Affects Version/s: Release 5.1.1
-
Fix Version/s: Release 6.0.0
-
Labels:
-
Environment:
TiSDK 7.3.0.GA & 7.2.0.GA
Alloy 1.12.0
-
Story Points:3
-
Sprint:2018 Sprint 21 Studio
Description
Community credit to Christian Moss for locating the problem
On both iOS and Android, when running an app with liveview translations with a newline character are displayed.
When running without liveview the newline is displayed, and the newline character is hidden. See attached screenshots for iOS and Android
strings.xml
<string name="Test">Test\nTest</string> |
index.xml
<Label id="myLabel"></Label> |
index.tss:
"#myLabel": {
|
color: "#000000",
|
text: L("Test")
|
}
|
Problem occurs also in xml:
<Label>L("Test")</Label> |
Problem doesn't occur when using the textid property.