Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-12024

iOS: \n ("backslash en") is ignored in strings.xml

    Details

      Description

      Problem description
      In strings.xml if there is a value with \n ("backslash") is ignored. In 2.1.4. it works fine.

      strings.xml

      <?xml version="1.0" encoding="UTF-8"?>
      <resources>
          <string name="welcome_message">Appcelerator\nTitanium</string>
      </resources>
      

      app.js

      var win = Ti.UI.createWindow();
       
      var label = Titanium.UI.createLabel({
      	text : L("welcome_message"),
      	height : 'auto',
      	width : 'auto',
      	color : '#900',
      	font : {
      		fontSize : 48
      	},
      	textAlign : 'center'
      });
       
      win.add(label);
       
      win.open();
      

        Attachments

          Activity

            People

            • Assignee:
              cbarber Chris Barber
              Reporter:
              konrous Konstantinos Roussos
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-15152
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Source Code