CRM-10836 - Change 'Is Deceased' to 'Deceased'
authorColeman Watts <coleman@civicrm.org>
Tue, 4 Aug 2015 01:36:42 +0000 (21:36 -0400)
committerColeman Watts <coleman@civicrm.org>
Tue, 4 Aug 2015 01:36:42 +0000 (21:36 -0400)
CRM/Contact/Import/Parser/Contact.php
api/v3/examples/Contact/GetFieldsOptions.php
xml/schema/Contact/Contact.xml
xml/schema/Contact/Individual.xml

index d1785ed72b336c4dcee4520dc267d720d9a1f448..a16b44f9a5f03db933bdeb4c6fc2557742408aa7 100644 (file)
@@ -1356,7 +1356,7 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Contact_Import_Parser {
 
           case 'is_deceased':
             if (CRM_Utils_String::strtoboolstr($value) === FALSE) {
-              self::addToErrorMsg(ts('Is Deceased'), $errorMessage);
+              self::addToErrorMsg(ts('Deceased'), $errorMessage);
             }
             break;
 
index d45717fe3711f9fbcfb90576138a6b77c2df4229..470b29bcaf9e33f52f7e184867f63af6fb2d15eb 100644 (file)
@@ -577,7 +577,7 @@ function contact_getfields_expectedresult() {
       'is_deceased' => array(
         'name' => 'is_deceased',
         'type' => 16,
-        'title' => 'Is Deceased',
+        'title' => 'Deceased',
         'import' => TRUE,
         'where' => 'civicrm_contact.is_deceased',
         'headerPattern' => '/i(s\\s)?d(eceased)$/i',
index 9383bfb9f84d872e15a6e8c91eebfddbdaee9eb2..b7b7a629cbd90e9cecaf62627c0062223df46711 100644 (file)
   </field>
   <field>
     <name>is_deceased</name>
-    <title>Is Deceased</title>
+    <title>Deceased</title>
     <import>true</import>
     <export>true</export>
     <headerPattern>/i(s\s)?d(eceased)$/i</headerPattern>
index 552d46f11a6800ec4a869d70b844eada74139745..007d5b52754b05e84bea4620a1ab31a02dec4d0d 100644 (file)
   </field>
   <field>
     <name>is_deceased</name>
-    <title>Is Deceased</title>
+    <title>Deceased</title>
     <import>true</import>
     <export>true</export>
     <headerPattern>/i(s\s)?d(eceased)$/i</headerPattern>