diff --git a/views_autocomplete_filters.inc b/views_autocomplete_filters.inc index 5445f19..1602c62 100644 --- a/views_autocomplete_filters.inc +++ b/views_autocomplete_filters.inc @@ -47,7 +47,7 @@ function views_autocomplete_filter($filter_name, $view_name, $display_name, $vie // Do not filter if the string length is less that minimum characters setting. if (drupal_strlen(trim($string)) < $expose_options['autocomplete_min_chars']) { - $matches[''] = '
' . t('The %string should have at least %min_chars characters.', array('%string' => $string, '%min_chars' => $expose_options['autocomplete_min_chars'])) . '
'; + $matches[''] = '
' . t('Search text should have at least %min_chars characters.', array('%min_chars' => $expose_options['autocomplete_min_chars'])) . '
'; return drupal_json_output($matches); } @@ -170,7 +170,7 @@ function views_autocomplete_filter($filter_name, $view_name, $display_name, $vie unset($view->row_index); if (empty($matches)) { - $matches[''] = '
' . t('The %string return no results. Please try something else.', array('%string' => $string)) . '
'; + $matches[''] = '
' . t('%string returned no results. Please try something else.', array('%string' => $string)) . '
'; } return drupal_json_output($matches);