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

Support localized string and model attribute together in binding

    Details

    • Type: Improvement
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Android
    • Environment:

      Mac OSX 10.12.5
      SDK 6.1.2GA
      CLI 6.2.3
      Build for iOS

      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):

      <Label text="

      {title} by {artist}" />

      However, the hardcoded text, in the example "by", cannot be replaced with a localized string. As in:

      <Label text="{title}

      L('by')

      {artist}

      " />

      In this case, the function text (L('by')) is output verbatim rather than being resolved.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              MarkBoyer Mark Boyer
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Source Code