CRM-15603 - Standardize case of 'Proximity Search'
authorColeman Watts <coleman@civicrm.org>
Sun, 16 Nov 2014 03:28:18 +0000 (22:28 -0500)
committerColeman Watts <coleman@civicrm.org>
Sun, 16 Nov 2014 13:41:38 +0000 (08:41 -0500)
CRM/UF/Form/AdvanceSetting.php
js/model/crm.uf.js
tests/phpunit/WebTest/Generic/GeneralClickAroundTest.php

index d02d092291610db8ee77e00cccec9f41c4df1844..3ae4863f7ca6adb50abbcfc41675018df5c1e5fc 100644 (file)
@@ -99,7 +99,7 @@ class CRM_UF_Form_AdvanceSetting extends CRM_UF_Form_Group {
     $proxOptions[] = $form->createElement('radio', NULL, NULL, ts('Optional'), 1);
     $proxOptions[] = $form->createElement('radio', NULL, NULL, ts('Required'), 2);
 
-    $form->addGroup($proxOptions, 'is_proximity_search', ts('Proximity search'));
+    $form->addGroup($proxOptions, 'is_proximity_search', ts('Proximity Search'));
   }
 }
 
index 787172ec3f8c158f9cb3ffce4bbe8c6fc7bf3985..1e78b53cfb72100d2bd0d09e48eb89973560acbc 100644 (file)
         options: YESNO
       },
       'is_proximity_search': {
-        title: ts('Proximity search'),
+        title: ts('Proximity Search'),
         help: ts('FIXME'),
         type: 'Select',
         options: YESNO // FIXME
index df7dfd20eadd54b1f18bdb1dad154b402df51afe..20074d2e998d3b9be6eb00d87c89076300cd00dd 100644 (file)
@@ -291,7 +291,7 @@ class WebTest_Generic_GeneralClickAroundTest extends CiviSeleniumTestCase {
     $this->assertElementPresent("post_URL");
     $this->assertTextPresent("Drupal user account registration option?");
     $this->assertTextPresent("What to do upon duplicate match");
-    $this->assertTextPresent("Proximity search");
+    $this->assertTextPresent("Proximity Search");
   }
 
   function testTags() {