From: scardinius Date: Wed, 4 Sep 2019 12:15:08 +0000 (+0200) Subject: (patch.ts-deceased) Add ts() to deceased X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=7c38bbf025d68b24ed968c964cff0b2d3c47896d;p=civicrm-core.git (patch.ts-deceased) Add ts() to deceased --- diff --git a/CRM/Contact/Form/Contact.php b/CRM/Contact/Form/Contact.php index f275cfa377..11bef4a629 100644 --- a/CRM/Contact/Form/Contact.php +++ b/CRM/Contact/Form/Contact.php @@ -227,7 +227,7 @@ class CRM_Contact_Form_Contact extends CRM_Core_Form { $displayName = CRM_Contact_BAO_Contact::displayName($this->_contactId); if ($defaults['is_deceased']) { - $displayName .= ' (deceased)'; + $displayName .= ' (' . ts('deceased') . ')'; } $displayName = ts('Edit %1', [1 => $displayName]); diff --git a/CRM/Contact/Page/View.php b/CRM/Contact/Page/View.php index 8f7a78f214..52fb0683bb 100644 --- a/CRM/Contact/Page/View.php +++ b/CRM/Contact/Page/View.php @@ -323,7 +323,7 @@ class CRM_Contact_Page_View extends CRM_Core_Page { // set page title $title = "{$contactImage} {$displayName}"; if ($contactDetails[$contactId]['isDeceased']) { - $title .= ' (deceased)'; + $title .= ' (' . ts('deceased') . ')'; } if ($isDeleted) { $title = "{$title}";