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

Bad {ts} usage in Contribute.tpl

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.12
    • Fix Version/s: 4.7.13
    • Component/s: None
    • Labels:
    • Documentation Required?:
      None
    • Funding Source:
      Core Team Funds

      Description

      Hi,

      Your PR for CRM-19262 included a bad

      {ts} usage:

      https://github.com/civicrm/civicrm-core/pull/8949/files#diff-c901defeafe677e3a1c2e18b793d18bcR42

      Instead of: {ts 1=$displayName 2=$contributionMode|upper}Use this form to {if $payNow} edit {else} submit a new {/if} contribution on behalf of %1. <strong> [...]

      Please use if/else on separate lines. These are two different translation strings and the smarty inside {ts}

      will break translation.

        Attachments

          Activity

            People

            • Assignee:
              yashodha Yashodha Chaku
              Reporter:
              mlutfy Mathieu Lutfy
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: