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

PHP ts() extractor break when there?s a function call in count parameter

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: None
    • Fix Version/s: 1.0
    • Component/s: Internationalisation
    • Labels:
      None

      Description

      The PHP extractor for ts() functions breaks when called with function calls in the count value:
      ts('one developer', array('count' => count($developers), 'plural' => '%count developers'));

      The extractor should allow count to be a function result.

        Attachments

          Activity

            People

            • Assignee:
              shot Piotr Szotkowski
              Reporter:
              shot Piotr Szotkowski
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: