if (strpos($name, 'status') !== FALSE) {
$name = 'status_id';
- $qillName = 'Membership Status(s)';
+ $qillName = ts('Membership Status');
}
elseif ($name == 'member_id') {
$name = 'id';
- $qillName = 'Membership ID';
+ $qillName = ts('Membership ID');
}
elseif ($name == 'member_campaign_id') {
$name = 'campaign_id';
- $qillName = 'Campaign';
+ $qillName = ts('Campaign');
}
else {
$name = 'membership_type_id';
- $qillName = 'Membership Type(s)';
+ $qillName = ts('Membership Type');
}
$query->_where[$grouping][] = CRM_Contact_BAO_Query::buildClause("civicrm_membership.$name",
$op,
"Integer"
);
list($op, $value) = CRM_Contact_BAO_Query::buildQillForFieldValue('CRM_Member_DAO_Membership', $name, $value, $op);
- $query->_qill[$grouping][] = ts('%1 %2 %3', array(
- 1 => $qillName,
- 2 => $op,
- 3 => $value,
- ));
+ $query->_qill[$grouping][] = $qillName . ' ' . $op . ' ' . $value;
$query->_tables['civicrm_membership'] = $query->_whereTables['civicrm_membership'] = 1;
return;
<div class="messages status no-popup">
<table>
<tr><td class="tasklist">
- {ts 1='{$registerSite}'}Have you registered this site at CiviCRM.org? If not, please help strengthen the CiviCRM ecosystem by taking a few minutes to <a href="%1" target="_blank">fill out the site registration form</a>. The information collected will help us prioritize improvements, target our communications and build the community. If you have a technical role for this site, be sure to check "Keep in Touch" to receive technical updates (a low volume mailing list).{/ts}</td>
+ {ts 1=$registerSite}Have you registered this site at CiviCRM.org? If not, please help strengthen the CiviCRM ecosystem by taking a few minutes to <a href="%1" target="_blank">fill out the site registration form</a>. The information collected will help us prioritize improvements, target our communications and build the community. If you have a technical role for this site, be sure to check "Keep in Touch" to receive technical updates (a low volume mailing list).{/ts}</td>
</tr>
</table>
</div>