Project: appceleratorstudio
Issue TISTUD-5205: Localization properties set in Alloy .tss files are marked as an error
h5. Problem description Specifying a String localized in the Styles .tss, Appclerator Studio marks it as an error (unexpected token "L"). 1. Create a new Alloy project 2. Edit views/index.xml {code}	via XML attribute:	via TSS:	via controller:	{code} 3. Edit styles/styles.tss {code} 'Label': {	top: '5dp',	color: '#222',	font: {	fontSize: '42dp',	fontWeight: 'bold'	},	height: Ti.UI.SIZE,	width: Ti.UI.SIZE,	textAlign: 'center' } '.header': {	top: '30dp',	color: '#a00',	font: {	fontSize: '24dp',	fontWeight: 'normal'	} } '#index': {	backgroundColor: '#fff',	fullscreen: false,	exitOnClose: true,	layout: 'vertical' } '#viaTss': {	text: L('hello_world') } {code} 4. Edit controllers/index.js {code} $.viaController.text = L('hello_world'); $.index.open(); {code} Result: Studio is showing two error markings in the styles/index.tss - the first on the first line ('Cannot recover from the syntax error'), the second on the localization line (unexpected token "L").
Story points: 8