From 661e4240e8427a28873deb5706a7867b16b1623f Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Tue, 25 Feb 2014 10:23:54 -0500 Subject: [PATCH] CRM-13966 - Improve entityRef default placeholder --- CRM/Core/Form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Core/Form.php b/CRM/Core/Form.php index 23ab78413e..2bedd4fc68 100644 --- a/CRM/Core/Form.php +++ b/CRM/Core/Form.php @@ -1284,7 +1284,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page { $defaults = array( 'minimumInputLength' => 1, 'multiple' => !empty($props['multiple']), - 'placeholder' => CRM_Utils_Array::value('placeholder', $props, $required ? ts('- select -') : ts('- none -')), + 'placeholder' => CRM_Utils_Array::value('placeholder', $props, $required ? ts('- select %1 -', array(1 => ts($props['entity']))) : ts('- none -')), 'allowClear' => !$required, ); if ($props['entity'] == 'contact') { -- 2.25.1