-
-
Notifications
You must be signed in to change notification settings - Fork 825
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
Translate strings in "Report" UI, et al #12009
Conversation
); | ||
if (!empty($graphRows)) { | ||
foreach ($graphRows[$this->_interval] as $key => $val) { | ||
$graph[$val] = $graphRows['value'][$key]; | ||
} | ||
$chartInfo['values'] = $graph; | ||
$chartInfo['tip'] = 'Participants : #val#'; | ||
$chartInfo['tip'] = ts('Participants : %1', array(1 => '#val#')); |
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.
I think civilint
is highlighting a double-space in this line.
(CiviCRM Review Template WORD-1.1)
|
CRM/Report/Form/Mailing/Bounce.php
Outdated
@@ -470,7 +470,7 @@ public function alterDisplay(&$rows) { | |||
// If the email address has been deleted | |||
if (array_key_exists('civicrm_email_email', $row)) { | |||
if (empty($rows[$rowNum]['civicrm_email_email'])) { | |||
$rows[$rowNum]['civicrm_email_email'] = '<del>Email address deleted</del>'; | |||
$rows[$rowNum]['civicrm_email_email'] = ts('<del>Email address deleted</del>'); |
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.
@totten @seamuslee001 |
I merged the PR based on the reviews by Tim and Seamus. I also reviewed the code of the latest changes by Yashodha. |
Perform translation (
ts()
) on an assortment of strings. Most of the strings are the CiviReport forms (although there are a few others).