summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/common.inc4
-rw-r--r--includes/conf.php2
-rw-r--r--includes/file.inc2
-rw-r--r--includes/locale.inc4
-rw-r--r--includes/module.inc4
-rw-r--r--includes/xmlrpc.inc2
6 files changed, 9 insertions, 9 deletions
diff --git a/includes/common.inc b/includes/common.inc
index 1984796c9..cb40c7f54 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -1064,7 +1064,7 @@ function format_name($object) {
*
* Drupal uses these functions to achieve consistency in its form presentation,
* while at the same time simplifying code and reducing the amount of HTML that
- * must be explicily generated by modules.
+ * must be explicitly generated by modules.
*/
/**
@@ -1253,7 +1253,7 @@ function form_checkbox($title, $name, $value = 1, $checked = FALSE, $description
* @param $name
* The internal name used to refer to the buttons.
* @param $values
- * A linear array of keys of the initally checked boxes.
+ * A linear array of keys of the initially checked boxes.
* @param $options
* An associative array of buttons to display. The keys in this array are
* button values, while the values are the labels to display for each button.
diff --git a/includes/conf.php b/includes/conf.php
index 90d4dd62c..1fb92208a 100644
--- a/includes/conf.php
+++ b/includes/conf.php
@@ -45,7 +45,7 @@ $base_url = "http://localhost";
#
# To see what PHP settings are known to work well, take a look at
# the .htaccesss file in Drupal's root directory. If you get
-# unexcepted warnings or errors, double-check your PHP settings.
+# unexpected warnings or errors, double-check your PHP settings.
# If required, update PHP's include path to include your PEAR directory:
// ini_set("include_path", ".:/path/to/pear");
diff --git a/includes/file.inc b/includes/file.inc
index 027b9f125..c32ce6e78 100644
--- a/includes/file.inc
+++ b/includes/file.inc
@@ -44,7 +44,7 @@ function file_create_url($path) {
* file system directory, if it is not prepend the
* file system directory.
*
- * @param $dest Path to verifiy
+ * @param $dest Path to verify
* @return Path to file with file system directory appended if necessary.
*/
function file_create_path($dest = 0) {
diff --git a/includes/locale.inc b/includes/locale.inc
index ec6884935..ad8521fe2 100644
--- a/includes/locale.inc
+++ b/includes/locale.inc
@@ -77,7 +77,7 @@ function _locale_admin_manage_add_screen() {
$edit = &$_POST['edit'];
$output .= '<h2>'. t('Custom language') .'</h2>';
$form = form_textfield(t('Language code'), 'langcode', $edit['langcode'], 70, 12, t("Commonly this is an <a href=\"%iso-codes\">ISO 639 language code</a> with an optional country code for regional variants. Examples include 'en', 'en-US' and 'zh-cn'.", array('%iso-codes' => 'http://www.w3.org/WAI/ER/IG/ert/iso639.htm')));
- $form .= form_textfield(t('Language name in English'), 'langname', $edit['langname'], 70, 64, t('Name of the language. Will be availabale for translation in all languages.'));
+ $form .= form_textfield(t('Language name in English'), 'langname', $edit['langname'], 70, 64, t('Name of the language. Will be available for translation in all languages.'));
$form .= form_submit(t('Add language'));
$output .= form($form);
@@ -249,7 +249,7 @@ function _locale_import_po($file, $lang, $mode) {
}
}
- // Successfull import
+ // Successful import
// rebuild locale cache
cache_clear_all("locale:$lang");
diff --git a/includes/module.inc b/includes/module.inc
index 6c7ce15bb..543c51057 100644
--- a/includes/module.inc
+++ b/includes/module.inc
@@ -117,12 +117,12 @@ function module_get_path($module) {
}
/**
- * Load a module into Drupal, but check first wether a module by the same name
+ * Load a module into Drupal, but check first whether a module by the same name
* has been loaded, and that the filename being included exists.
* @param $module
* The name of the module to be loaded.
* @return
- * TRUE if the load was successfull.
+ * TRUE if the load was successful.
*/
function module_load($module) {
static $loaded = array();
diff --git a/includes/xmlrpc.inc b/includes/xmlrpc.inc
index 9ad7f8ea1..42f90693f 100644
--- a/includes/xmlrpc.inc
+++ b/includes/xmlrpc.inc
@@ -1008,7 +1008,7 @@ function iso8601_decode($idate, $utc=0) {
/*****************************************************************
* _xmlrpc_decode takes a message in PHP xmlrpc object format and *
- * tranlates it into native PHP types. *
+ * translates it into native PHP types. *
* *
* author: Dan Libby (dan@libby.com) *
*****************************************************************/