CRM-14078 - More consistent contact field labels
[civicrm-core.git] / CRM / Contact / Form / Edit / Address.php
index b6cdd6b7f938157bda5aac3d89b17d4df3d3a15e..35d2ed39c0155828d305148dab4fadf836d627b0 100644 (file)
@@ -142,7 +142,13 @@ class CRM_Contact_Form_Edit_Address {
         $name = 'name';
       }
 
-      $form->addField("address[$blockId][$name]", array('entity' => 'address'));
+      $params = array('entity' => 'address');
+
+      if ($name == 'postal_code_suffix') {
+        $params['label'] = ts('Suffix');
+      }
+
+      $form->addField("address[$blockId][$name]", $params);
     }
 
     $entityId = NULL;