Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-10415

Line breaks in TabHeader.tpl comes out wrong

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.4.8, 4.2.0, Unscheduled
    • Fix Version/s: 4.2.0
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      A text string from /templates/CRM/common/TabHeader.tpl comes out wrong at Transifex translation service. It shows like this:
      ConfirmnnAre you sure you want to navigate away from this tab?nnYou have unsaved changes.nnPress OK to continue, or Cancel to stay on the current tab.

      Transifex:
      https://www.transifex.net/projects/p/civicrm/resource/common-base/l/da/

      I've checked trunk version + 3.4 + 4.2. They look the same, see below.

      http://svn.civicrm.org/civicrm/trunk/templates/CRM/common/TabHeader.tpl
      var message = '

      {/literal}{ts escape="js"}Confirm\n\nAre you sure you want to navigate away from this tab?\n\nYou have unsaved changes.\n\nPress OK to continue, or Cancel to stay on the current tab.{/ts}{literal}';

      http://svn.civicrm.org/civicrm/branches/v4.2/templates/CRM/common/TabHeader.tpl
      var message = '{/literal} {ts escape="js"}Confirm\n\nAre you sure you want to navigate away from this tab?\n\nYou have unsaved changes.\n\nPress OK to continue, or Cancel to stay on the current tab.{/ts}{literal}';

      http://svn.civicrm.org/civicrm/branches/v3.4/templates/CRM/common/TabHeader.tpl
      var message = '{/literal}{ts escape="js"}

      Confirm\n\nAre you sure you want to navigate away from this tab?\n\nYou have unsaved changes.\n\nPress OK to continue, or Cancel to stay on the current tab.

      {/ts} {literal}

      ';

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              aputsiaq Aputsiaq Janussen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: