diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-11-29 06:20:18 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-11-29 06:20:18 +0000 |
commit | 69f3a4d654492a1c040e9d39bc45698702e356b4 (patch) | |
tree | b64a4f3e0219c3b0bd317941e55342770db77e83 /modules/search.module | |
parent | b9415b4b9cbc518594ded57a8aa9524319057bc1 (diff) | |
download | brdo-69f3a4d654492a1c040e9d39bc45698702e356b4.tar.gz brdo-69f3a4d654492a1c040e9d39bc45698702e356b4.tar.bz2 |
- Improved consistency: "Clear Site" -> "Clear site", "Re-index Site" -> "Re-index site"
Diffstat (limited to 'modules/search.module')
-rw-r--r-- | modules/search.module | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/search.module b/modules/search.module index ee4eeea6d..6cba60fe4 100644 --- a/modules/search.module +++ b/modules/search.module @@ -156,7 +156,7 @@ function search_menu($may_cache) { 'callback' => 'search_view', 'access' => user_access('search content'), 'type' => MENU_SUGGESTED_ITEM); - $items[] = array('path' => 'admin/settings/search/wipe', 'title' => t('Clear Index'), + $items[] = array('path' => 'admin/settings/search/wipe', 'title' => t('Clear index'), 'callback' => 'search_wipe_confirm', 'access' => user_access('administer search'), 'type' => MENU_CALLBACK); @@ -183,7 +183,7 @@ function search_menu($may_cache) { * Implementation of hook_validate(). */ function search_settings_form_validate($form_id, &$form) { - if ($_POST['op'] == t('Re-index Site')) { + if ($_POST['op'] == t('Re-index site')) { drupal_goto('admin/settings/search/wipe'); } // If these settings change, the index needs to be rebuilt. @@ -213,7 +213,7 @@ function search_settings() { $status = '<p><strong>'. t('%percentage of the site has been indexed.', array('%percentage' => $percentage)) .' '. $count .'</strong></p>'; $form['status'] = array('#type' => 'fieldset', '#title' => t('Indexing status')); $form['status']['status'] = array('#type' => 'markup', '#value' => $status); - $form['status']['wipe'] = array('#type' => 'submit', '#value' => t('Re-index Site')); + $form['status']['wipe'] = array('#type' => 'submit', '#value' => t('Re-index site')); $items = drupal_map_assoc(array(10, 20, 50, 100, 200, 500)); @@ -237,7 +237,7 @@ function search_settings() { */ function search_wipe_confirm() { return confirm_form('search_wipe_confirm', $form, t('Are you sure you want to re-index the site?'), - 'admin/forums', t(' The search index is not cleared but systematically updated to reflect the new settings. Searching will continue to work but new content won\'t be indexed until all existing content has been re-indexed. This action cannot be undone.'), t('Re-index Site'), t('Cancel')); + 'admin/forums', t(' The search index is not cleared but systematically updated to reflect the new settings. Searching will continue to work but new content won\'t be indexed until all existing content has been re-indexed. This action cannot be undone.'), t('Re-index site'), t('Cancel')); } /** |