From 7c38bbf025d68b24ed968c964cff0b2d3c47896d Mon Sep 17 00:00:00 2001 From: scardinius Date: Wed, 4 Sep 2019 14:15:08 +0200 Subject: [PATCH] (patch.ts-deceased) Add ts() to deceased --- CRM/Contact/Form/Contact.php | 2 +- CRM/Contact/Page/View.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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}"; -- 2.25.1