diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2006-10-22 08:28:47 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2006-10-22 08:28:47 +0000 |
commit | 36d44fbfb07e4682f219368e1424c58fc61315a1 (patch) | |
tree | d6a5363c6ec34a5b81aac6fee283ee7479d45ea4 /modules/system/system.module | |
parent | c93c0fc7000f5cbb78ac2715ace58c28b789dc81 (diff) | |
download | brdo-36d44fbfb07e4682f219368e1424c58fc61315a1.tar.gz brdo-36d44fbfb07e4682f219368e1424c58fc61315a1.tar.bz2 |
#84146: Use 'Sentence capitalization' for menu items, page titles, form items, etc
Diffstat (limited to 'modules/system/system.module')
-rw-r--r-- | modules/system/system.module | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/modules/system/system.module b/modules/system/system.module index 773b2b219..bb9161718 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -101,25 +101,25 @@ function system_menu($may_cache) { $items = array(); if ($may_cache) { - $items[] = array('path' => 'system/files', 'title' => t('file download'), + $items[] = array('path' => 'system/files', 'title' => t('File download'), 'callback' => 'file_download', 'access' => TRUE, 'type' => MENU_CALLBACK); $access = user_access('administer site configuration'); - $items[] = array('path' => 'admin', 'title' => t('administer'), + $items[] = array('path' => 'admin', 'title' => t('Administer'), 'access' => user_access('access administration pages'), 'callback' => 'system_main_admin_page', 'weight' => 9); - $items[] = array('path' => 'admin/compact', 'title' => t('compact mode'), + $items[] = array('path' => 'admin/compact', 'title' => t('Compact mode'), 'access' => user_access('access administration pages'), 'callback' => 'system_admin_compact_page', 'type' => MENU_CALLBACK); - $items[] = array('path' => 'admin/by-task', 'title' => t('by task'), + $items[] = array('path' => 'admin/by-task', 'title' => t('By task'), 'callback' => 'system_main_admin_page', 'type' => MENU_DEFAULT_LOCAL_TASK); - $items[] = array('path' => 'admin/by-module', 'title' => t('by module'), + $items[] = array('path' => 'admin/by-module', 'title' => t('By module'), 'callback' => 'system_admin_by_module', 'type' => MENU_LOCAL_TASK, 'weight' => 2); @@ -127,7 +127,7 @@ function system_menu($may_cache) { // menu items that are basically just menu blocks $items[] = array( 'path' => 'admin/settings', - 'title' => t('site configuration'), + 'title' => t('Site configuration'), 'description' => t('Adjust basic site configuration options.'), 'position' => 'right', 'weight' => -5, @@ -135,7 +135,7 @@ function system_menu($may_cache) { 'access' => $access); $items[] = array('path' => 'admin/build', - 'title' => t('site building'), + 'title' => t('Site building'), 'description' => t('Control how your site looks and feels.'), 'position' => 'right', 'weight' => -10, @@ -144,7 +144,7 @@ function system_menu($may_cache) { $items[] = array( 'path' => 'admin/settings/admin', - 'title' => t('administration theme'), + 'title' => t('Administration theme'), 'description' => t('Settings for how your administrative pages should look.'), 'position' => 'left', 'callback' => 'drupal_get_form', @@ -155,7 +155,7 @@ function system_menu($may_cache) { // Themes: $items[] = array( 'path' => 'admin/build/themes', - 'title' => t('themes'), + 'title' => t('Themes'), 'description' => t('Change which theme your site uses or allows users to set.'), 'callback' => 'drupal_get_form', 'callback arguments' => array('system_themes'), @@ -163,7 +163,7 @@ function system_menu($may_cache) { $items[] = array( 'path' => 'admin/build/themes/select', - 'title' => t('list'), + 'title' => t('List'), 'description' => t('Select the default theme.'), 'callback' => 'drupal_get_form', 'callback arguments' => array('system_themes'), @@ -172,14 +172,14 @@ function system_menu($may_cache) { 'weight' => -1); $items[] = array('path' => 'admin/build/themes/settings', - 'title' => t('configure'), + 'title' => t('Configure'), 'callback' => 'drupal_get_form', 'callback arguments' => array('system_theme_settings'), 'access' => $access, 'type' => MENU_LOCAL_TASK); // Theme configuration subtabs - $items[] = array('path' => 'admin/build/themes/settings/global', 'title' => t('global settings'), + $items[] = array('path' => 'admin/build/themes/settings/global', 'title' => t('Global settings'), 'callback' => 'drupal_get_form', 'callback arguments' => array('system_theme_settings'), 'access' => $access, @@ -196,7 +196,7 @@ function system_menu($may_cache) { // Modules: $items[] = array('path' => 'admin/build/modules', - 'title' => t('modules'), + 'title' => t('Modules'), 'description' => t('Enable or disable add-on modules for your site.'), 'callback' => 'drupal_get_form', 'callback arguments' => array('system_modules'), @@ -205,31 +205,31 @@ function system_menu($may_cache) { // Settings: $items[] = array( 'path' => 'admin/settings/site-information', - 'title' => t('site information'), + 'title' => t('Site information'), 'description' => t('Change basic site information, such as the site name, slogan, e-mail address, mission, front page and more.'), 'callback' => 'drupal_get_form', 'callback arguments' => array('system_site_information_settings')); $items[] = array( 'path' => 'admin/settings/error-reporting', - 'title' => t('error reporting'), + 'title' => t('Error reporting'), 'description' => t('Control how Drupal deals with errors including 403/404 errors as well as PHP error reporting.'), 'callback' => 'drupal_get_form', 'callback arguments' => array('system_error_reporting_settings')); $items[] = array( 'path' => 'admin/settings/page-caching', - 'title' => t('page caching'), + 'title' => t('Page caching'), 'description' => t('Enable or disable page caching for anonymous users.'), 'callback' => 'drupal_get_form', 'callback arguments' => array('system_page_caching_settings')); $items[] = array( 'path' => 'admin/settings/file-system', - 'title' => t('file system'), + 'title' => t('File system'), 'description' => t('Tell Drupal where to store uploaded files and how they are accessed.'), 'callback' => 'drupal_get_form', 'callback arguments' => array('system_file_system_settings')); $items[] = array( 'path' => 'admin/settings/image-toolkit', - 'title' => t('image toolkit'), + 'title' => t('Image toolkit'), 'description' => t('Choose which image toolkit to use if you have installed optional toolkits.'), 'callback' => 'drupal_get_form', 'callback arguments' => array('system_image_toolkit_settings')); @@ -241,19 +241,19 @@ function system_menu($may_cache) { 'callback arguments' => array('system_rss_feeds_settings')); $items[] = array( 'path' => 'admin/settings/date-time', - 'title' => t('date and time'), + 'title' => t('Date and time'), 'description' => t('Settings for how Drupal displays date and time, as well as the system\'s default timezone.'), 'callback' => 'drupal_get_form', 'callback arguments' => array('system_date_time_settings')); $items[] = array( 'path' => 'admin/settings/site-maintenance', - 'title' => t('site maintenance'), + 'title' => t('Site maintenance'), 'description' => t('Take the site off-line for maintenance or bring it back online.'), 'callback' => 'drupal_get_form', 'callback arguments' => array('system_site_maintenance_settings')); $items[] = array( 'path' => 'admin/settings/clean-urls', - 'title' => t('clean URLs'), + 'title' => t('Clean URLs'), 'description' => t('Enable or disable clean URLs for your site.'), 'callback' => 'drupal_get_form', 'callback arguments' => array('system_clean_url_settings')); @@ -262,21 +262,21 @@ function system_menu($may_cache) { // Logs: $items[] = array( 'path' => 'admin/logs', - 'title' => t('logs'), + 'title' => t('Logs'), 'description' => t('View system logs and other status information.'), 'callback' => 'system_admin_menu_block_page', 'weight' => 5, 'position' => 'left'); $items[] = array( 'path' => 'admin/logs/status', - 'title' => t('status report'), + 'title' => t('Status report'), 'description' => t('Get a status report about your site\'s operation and any detected problems.'), 'callback' => 'system_status', 'weight' => 10, 'access' => $access); $items[] = array( 'path' => 'admin/logs/status/run-cron', - 'title' => t('run cron'), + 'title' => t('Run cron'), 'callback' => 'system_run_cron', 'type' => MENU_CALLBACK); $items[] = array( @@ -520,7 +520,7 @@ function system_site_information_settings() { $form['site_name'] = array( '#type' => 'textfield', '#title' => t('Name'), - '#default_value' => variable_get('site_name', 'drupal'), + '#default_value' => variable_get('site_name', 'Drupal'), '#description' => t('The name of this web site.'), '#required' => TRUE ); @@ -2063,7 +2063,7 @@ function system_admin_by_module() { // Check for permissions. if (module_hook($module, 'perm')) { - $admin_tasks[-1] = l(t('configure permissions'), 'admin/user/access'); + $admin_tasks[-1] = l(t('Configure permissions'), 'admin/user/access'); } // Check for menu items that are admin links. @@ -2079,7 +2079,7 @@ function system_admin_by_module() { // Check for help links. if (module_invoke($module, 'help', "admin/help#$module")) { - $admin_tasks[100] = l(t('get help'), "admin/help/$module"); + $admin_tasks[100] = l(t('Get help'), "admin/help/$module"); } // Sort |