summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-10-21 18:59:02 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-10-21 18:59:02 +0000
commitb94f2716cfc4d1e91304a5fbf7783486932fa8c1 (patch)
treeeec1247c3005598869732c7db68c0db316c66035 /includes
parent7c31bcdeac94c254130845c3959753b68c36ea1e (diff)
downloadbrdo-b94f2716cfc4d1e91304a5fbf7783486932fa8c1.tar.gz
brdo-b94f2716cfc4d1e91304a5fbf7783486932fa8c1.tar.bz2
#184867 by deekayen, catch and keith.smith: fix some spelling errors in our source code and messages printed
Diffstat (limited to 'includes')
-rw-r--r--includes/form.inc4
-rw-r--r--includes/menu.inc2
-rw-r--r--includes/unicode.inc4
3 files changed, 5 insertions, 5 deletions
diff --git a/includes/form.inc b/includes/form.inc
index 9c1062ef4..a6cf31996 100644
--- a/includes/form.inc
+++ b/includes/form.inc
@@ -1847,7 +1847,7 @@ function theme_form($element) {
function theme_textarea($element) {
$class = array('form-textarea');
- // Add teaser behaviour (must come before resizable)
+ // Add teaser behavior (must come before resizable)
if (!empty($element['#teaser'])) {
drupal_add_js('misc/teaser.js');
// Note: arrays are merged in drupal_get_js().
@@ -1856,7 +1856,7 @@ function theme_textarea($element) {
$class[] = 'teaser';
}
- // Add resizable behaviour
+ // Add resizable behavior
if ($element['#resizable'] !== FALSE) {
drupal_add_js('misc/textarea.js');
$class[] = 'resizable';
diff --git a/includes/menu.inc b/includes/menu.inc
index 63282ca7f..74694c8e0 100644
--- a/includes/menu.inc
+++ b/includes/menu.inc
@@ -560,7 +560,7 @@ function _menu_link_translate(&$item) {
// menu_tree_check_access() may set this ahead of time for links to nodes.
if (!isset($item['access'])) {
if (!_menu_load_objects($item, $map)) {
- // An error occured loading an object.
+ // An error occurred loading an object.
$item['access'] = FALSE;
return FALSE;
}
diff --git a/includes/unicode.inc b/includes/unicode.inc
index 20ce94b95..a9c417404 100644
--- a/includes/unicode.inc
+++ b/includes/unicode.inc
@@ -104,7 +104,7 @@ function unicode_requirements() {
return $requirements;
}
-
+
/**
* Prepare a new XML parser.
*
@@ -427,7 +427,7 @@ function drupal_ucfirst($text) {
/**
* Cut off a piece of a string based on character indices and counts. Follows
- * the same behaviour as PHP's own substr() function.
+ * the same behavior as PHP's own substr() function.
*
* Note that for cutting off a string at a known character/substring
* location, the usage of PHP's normal strpos/substr is safe and