From: systopia Date: Fri, 6 Jun 2014 09:52:20 +0000 (+0200) Subject: fixed missing ts tags in mailing form and member dashboard X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=7ccbe5564d27ec377ebbccea891aa20d8ee7304c;p=civicrm-core.git fixed missing ts tags in mailing form and member dashboard --- diff --git a/CRM/Mailing/Form/Search.php b/CRM/Mailing/Form/Search.php index 1495328523..9d49b45551 100644 --- a/CRM/Mailing/Form/Search.php +++ b/CRM/Mailing/Form/Search.php @@ -56,9 +56,9 @@ class CRM_Mailing_Form_Search extends CRM_Core_Form { $statusVals = array('Scheduled', 'Complete', 'Running', 'Canceled'); foreach ($statusVals as $status) { - $this->addElement('checkbox', "mailing_status[$status]", NULL, $status); + $this->addElement('checkbox', "mailing_status[$status]", NULL, ts($status)); } - $this->addElement('checkbox', 'status_unscheduled', NULL, 'Draft / Unscheduled'); + $this->addElement('checkbox', 'status_unscheduled', NULL, ts('Draft / Unscheduled')); $this->addYesNo('is_archived', ts('Mailing is Archived'), TRUE); if ($parent->_sms) { diff --git a/templates/CRM/Member/Page/DashBoard.tpl b/templates/CRM/Member/Page/DashBoard.tpl index 24867b13dd..89e0a0c218 100644 --- a/templates/CRM/Member/Page/DashBoard.tpl +++ b/templates/CRM/Member/Page/DashBoard.tpl @@ -248,7 +248,7 @@ - Primary member counts (those who "own" the membership rather than receiving via relationship) are in [brackets]. + {ts}Primary member counts (those who "own" the membership rather than receiving via relationship) are in [brackets].{/ts} {/if}