-
-
Notifications
You must be signed in to change notification settings - Fork 824
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CRM-20718 CIVICRM-125 Use the "On behalf of" profile title... #10499
Conversation
…t title on Contribution pages instead of hardcoded title "Organization Details"
@@ -893,7 +893,7 @@ public function buildComponentForm($id, $form) { | |||
} | |||
} | |||
|
|||
$form->assign('fieldSetTitle', ts('Organization Details')); | |||
$form->assign('fieldSetTitle', CRM_Core_BAO_UFGroup::getTitle($form->_values['onbehalf_profile_id'])); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems that ts() on Organization Details
was displaying the converted string for each language. This seems to be working fine with the intention of the issue. But the organization title will only be shown in English after this change. Any reason of not passing the title to ts() before assigning to $form
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jitendrapurohit sure, why not :) Updated PR.
Makes sense to me |
@mlutfy Mathieu does this makes sense to you? |
@eileenmcnaughton are you able to review this small change? |
Makes sense & reviewed by @jitendrapurohit - merging. Thanks all! |
Use the "On behalf of" profile title as fieldset title