Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 1.6
-
Fix Version/s: 1.7
-
Component/s: Internationalisation
-
Labels:None
Description
CRM/Contact/Form/Edit.php line 175 contains wrong ts()tagging for new contact (sub)types:
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 ) ) );
}
This is wrong, as the (sub-)types might have different genders in different lanugages, so the 'New %1' string might translate to different forms. There's no trivial solution to this, as the contact subtypes are user-defined.