diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-01-25 10:38:35 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-01-25 10:38:35 +0000 |
commit | af3f94b37ebb4e6b2d03f937e40a157a17dff223 (patch) | |
tree | 002f4e23f118c3324f7cf2bceb781c441f55406f /modules/system | |
parent | 4f6cf1d1a1ac7f6ef0295cbdcf24ea980fda61b7 (diff) | |
download | brdo-af3f94b37ebb4e6b2d03f937e40a157a17dff223.tar.gz brdo-af3f94b37ebb4e6b2d03f937e40a157a17dff223.tar.bz2 |
- Patch #693614 by asimmonds: fixed PHPDoc spelling typos.
Diffstat (limited to 'modules/system')
-rw-r--r-- | modules/system/image.gd.inc | 2 | ||||
-rw-r--r-- | modules/system/system.admin.inc | 2 | ||||
-rw-r--r-- | modules/system/system.api.php | 4 | ||||
-rw-r--r-- | modules/system/system.module | 8 | ||||
-rw-r--r-- | modules/system/system.test | 4 |
5 files changed, 10 insertions, 10 deletions
diff --git a/modules/system/image.gd.inc b/modules/system/image.gd.inc index d1b888e41..18ca62239 100644 --- a/modules/system/image.gd.inc +++ b/modules/system/image.gd.inc @@ -144,7 +144,7 @@ function image_gd_rotate(stdClass $image, $degrees, $background = NULL) { } } - // Images are assigned a new color pallete when rotating, removing any + // Images are assigned a new color palette when rotating, removing any // transparency flags. For GIF images, keep a record of the transparent color. if ($image->info['extension'] == 'gif') { $transparent_index = imagecolortransparent($image->resource); diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc index 9e58b25f3..be9597fdf 100644 --- a/modules/system/system.admin.inc +++ b/modules/system/system.admin.inc @@ -1669,7 +1669,7 @@ function system_performance_settings() { '#description' => t('External resources can be optimized automatically, which can reduce both the size and number of requests made to your website.') . $disabled_message, ); - // Do not allow Drupal to gzip pages if the server alredy does that. + // Do not allow Drupal to gzip pages if the server already does that. if (strpos($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip') === FALSE) { $js_hide = $cache == CACHE_DISABLED ? ' class="js-hide"' : ''; $form['bandwidth_optimization']['page_compression'] = array( diff --git a/modules/system/system.api.php b/modules/system/system.api.php index f92da9012..b1c82c920 100644 --- a/modules/system/system.api.php +++ b/modules/system/system.api.php @@ -905,7 +905,7 @@ function hook_image_toolkits() { * invoke hook_mail_alter(). For example, a contributed module directly * calling the drupal_mail_system()->mail() or PHP mail() function * will not invoke this hook. All core modules use drupal_mail() for - * messaging, it is best practice but not manditory in contributed modules. + * messaging, it is best practice but not mandatory in contributed modules. * * @param $message * An array containing the message data. Keys in this array include: @@ -1257,7 +1257,7 @@ function hook_xmlrpc_alter(&$methods) { * - request_uri: The Request URI for the page the event happened in. * - referer: The page that referred the use to the page where the event occurred. * - ip: The IP address where the request for the page came from. - * - timestamp: The UNIX timetamp of the date/time the event occurred + * - timestamp: The UNIX timestamp of the date/time the event occurred * - severity: One of the following values as defined in RFC 3164 http://www.faqs.org/rfcs/rfc3164.html * WATCHDOG_EMERG Emergency: system is unusable * WATCHDOG_ALERT Alert: action must be taken immediately diff --git a/modules/system/system.module b/modules/system/system.module index 465f6e266..3e3702746 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -966,7 +966,7 @@ function system_menu() { 'weight' => -10, ); - // Addititional categories + // Additional categories $items['admin/config/user-interface'] = array( 'title' => 'User interface', 'description' => 'Tools that enhance the user interface.', @@ -1978,7 +1978,7 @@ function system_check_directory($form_element) { } if (is_dir($directory) && !is_writable($directory) && !drupal_chmod($directory)) { - // If the directory is not writable and cannont be made so. + // If the directory is not writable and cannot be made so. form_set_error($form_element['#parents'][0], t('The directory %directory exists but is not writable and could not be made writable.', array('%directory' => $directory))); watchdog('file system', 'The directory %directory exists but is not writable and could not be made writable.', array('%directory' => $directory), WATCHDOG_ERROR); } @@ -2061,7 +2061,7 @@ function system_update_files_database(&$files, $type) { ->execute(); } - // Indiciate that the file exists already. + // Indicate that the file exists already. $files[$file->name]->exists = TRUE; } else { @@ -3052,7 +3052,7 @@ function system_image_toolkits() { * @param $destination * Where the file should be saved, if a directory is provided, file is saved * in that directory with its original name. If a filename is provided, - * remote fileis stored to that location. NOTE: Relative to drupal "files" directory" + * remote file is stored to that location. NOTE: Relative to drupal "files" directory" * * @param $overwrite boolean * Defaults to TRUE, will overwrite existing files of the same name. diff --git a/modules/system/system.test b/modules/system/system.test index cca0f6689..fada5816b 100644 --- a/modules/system/system.test +++ b/modules/system/system.test @@ -483,7 +483,7 @@ class CronRunTestCase extends DrupalWebTestCase { * Ensure that temporary files are removed. * * Create files for all the possible combinations of age and status. We are - * using UPDATE statments rather than file_save() because it would set the + * using UPDATE statements rather than file_save() because it would set the * timestamp. */ function testTempFileCleanup() { @@ -1020,7 +1020,7 @@ class SystemBlockTestCase extends DrupalWebTestCase { * Test displaying and hiding the powered-by block. */ function testPoweredByBlock() { - // Set block title and some settings to confirm that the interface is availble. + // Set block title and some settings to confirm that the interface is available. $this->drupalPost('admin/structure/block/manage/system/powered-by/configure', array('title' => $this->randomName(8)), t('Save block')); $this->assertText(t('The block configuration has been saved.'), t('Block configuration set.')); |