Issue #535616 by jhodgdon, rootwork, ianthomas_uk, pwolanin, oriol_e9g | tgeller: Make Content Ranking settings for Search not say "weights" to avoid confusion.

merge-requests/26/head
David Rothstein 2014-04-05 21:02:16 -04:00
parent 50b258cded
commit 95614ce35d
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,8 @@
Drupal 7.27, xxxx-xx-xx (development version)
-----------------------
- Replaced the term "weight" with "influence" in the content ranking settings
for search, and added help text for administrators (string change).
- Fixed untranslatable text strings in the administrative interface for the
"Crop" effect provided by the Image module (minor string change).
- Fixed a bug in the Taxonomy module update function introduced in Drupal 7.26

View File

@ -1683,7 +1683,7 @@ function node_search_admin() {
);
$form['content_ranking']['#theme'] = 'node_search_admin';
$form['content_ranking']['info'] = array(
'#value' => '<em>' . t('The following numbers control which properties the content search should favor when ordering the results. Higher numbers mean more influence, zero means the property is ignored. Changing these numbers does not require the search index to be rebuilt. Changes take effect immediately.') . '</em>'
'#markup' => '<p><em>' . t('Influence is a numeric multiplier used in ordering search results. A higher number means the corresponding factor has more influence on search results; zero means the factor is ignored. Changing these numbers does not require the search index to be rebuilt. Changes take effect immediately.') . '</em></p>'
);
// Note: reversed to reflect that higher number = higher ranking.
@ -1870,7 +1870,7 @@ function theme_node_search_admin($variables) {
$output = drupal_render($form['info']);
$header = array(t('Factor'), t('Weight'));
$header = array(t('Factor'), t('Influence'));
foreach (element_children($form['factors']) as $key) {
$row = array();
$row[] = $form['factors'][$key]['#title'];