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

Name of contact type not always translated

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.1
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      On the page of a new household:

      /civicrm/contact/add?ct=Household&reset=1

      The title (both on the html title and the main title in the page, aren't translated.

      It seems it's line 166 of CRM/Contact/Form/Edit.php
      if ( $this->_contactSubType )

      { CRM_Utils_System::setTitle( ts( 'New %1', array(1 => $this->_contactSubType ) ) ); }

      else

      { CRM_Utils_System::setTitle( ts( 'New %1', array(1 => $this->_contactType ) ) ); }

      I don't know what the subtypes are, can't provide a patch

        Attachments

          Activity

            People

            • Assignee:
              mover Michał Mach
              Reporter:
              xavier xavier dutoit
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: