Skip to content

Commit

Permalink
use ts so clicks/opens is translatable
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcclelland committed Mar 2, 2024
1 parent 0761015 commit f19ae2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CRM/Mailing/BAO/Mailing.php
Original file line number Diff line number Diff line change
Expand Up @@ -2822,8 +2822,8 @@ public static function getContactMailingSelector(&$params) {
//CRM-12814
$clicks = $clickCounts[$values['mailing_id']] ?? 0;
$opens = $openCounts[$values['mailing_id']] ?? 0;
$mailing['openstats'] = "Opens: {$opens}" .
"<br />Clicks: {$clicks}";
$mailing['openstats'] = ts('Opens: %1', [1 => $opens]) . '<br />' .
ts('Clicks: %1', [1 => $clicks]);

$actionLinks = [
CRM_Core_Action::VIEW => [
Expand Down

0 comments on commit f19ae2d

Please sign in to comment.