diff options
author | webchick <webchick@24967.no-reply.drupal.org> | 2012-04-30 21:51:35 -0700 |
---|---|---|
committer | webchick <webchick@24967.no-reply.drupal.org> | 2012-04-30 21:51:35 -0700 |
commit | bd7712385a86bf4df9c35733c5ae2bb48277590f (patch) | |
tree | 7ebde89ea41f658065a80c57c7d0f5a4e08bfe26 /modules | |
parent | f6c660169c90c755bf0868c8e65d45c6113aa164 (diff) | |
download | brdo-bd7712385a86bf4df9c35733c5ae2bb48277590f.tar.gz brdo-bd7712385a86bf4df9c35733c5ae2bb48277590f.tar.bz2 |
Issue #1540072 by mstrelan, xjm: Use American spelling for 'behavior'.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/filter/filter.module | 2 | ||||
-rw-r--r-- | modules/node/node.module | 2 | ||||
-rw-r--r-- | modules/simpletest/tests/form.test | 4 | ||||
-rw-r--r-- | modules/user/user.test | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/modules/filter/filter.module b/modules/filter/filter.module index 071d639c3..431e0d4f6 100644 --- a/modules/filter/filter.module +++ b/modules/filter/filter.module @@ -1111,7 +1111,7 @@ function filter_dom_serialize_escape_cdata_element($dom_document, $dom_element, $embed_suffix = "\n{$comment_start}--><!]]>{$comment_end}\n"; // Prevent invalid cdata escaping as this would throw a DOM error. - // This is the same behaviour as found in libxml2. + // This is the same behavior as found in libxml2. // Related W3C standard: http://www.w3.org/TR/REC-xml/#dt-cdsection // Fix explanation: http://en.wikipedia.org/wiki/CDATA#Nesting $data = str_replace(']]>', ']]]]><![CDATA[>', $node->data); diff --git a/modules/node/node.module b/modules/node/node.module index 2614c4119..57133c6b0 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -2949,7 +2949,7 @@ function node_access($op, $node, $account = NULL) { return $result; } elseif (is_object($node) && $op == 'view' && $node->status) { - // If no modules implement hook_node_grants(), the default behaviour is to + // If no modules implement hook_node_grants(), the default behavior is to // allow all users to view published nodes, so reflect that here. $rights[$account->uid][$cid][$op] = TRUE; return TRUE; diff --git a/modules/simpletest/tests/form.test b/modules/simpletest/tests/form.test index df8d3f27f..2f5a9cd14 100644 --- a/modules/simpletest/tests/form.test +++ b/modules/simpletest/tests/form.test @@ -666,12 +666,12 @@ class FormsElementsLabelsTestCase extends DrupalWebTestCase { $this->assertTrue(isset($elements[0]), t("Label 0 found radios.")); // Exercise various defaults for checkboxes and modifications to ensure - // appropriate override and correct behaviour. + // appropriate override and correct behavior. $elements = $this->xpath('//input[@id="edit-form-checkbox-test"]/following-sibling::label[@for="edit-form-checkbox-test" and @class="option"]'); $this->assertTrue(isset($elements[0]), t("Label follows field and label option class correct for a checkbox by default.")); // Exercise various defaults for textboxes and modifications to ensure - // appropriate override and correct behaviour. + // appropriate override and correct behavior. $elements = $this->xpath('//label[@for="edit-form-textfield-test-title-and-required"]/child::span[@class="form-required"]/parent::*/following-sibling::input[@id="edit-form-textfield-test-title-and-required"]'); $this->assertTrue(isset($elements[0]), t("Label precedes textfield, with required marker inside label.")); diff --git a/modules/user/user.test b/modules/user/user.test index abcb0202c..339a2d2ee 100644 --- a/modules/user/user.test +++ b/modules/user/user.test @@ -1572,7 +1572,7 @@ class UserBlocksUnitTests extends DrupalWebTestCase { } /** - * Test case to test user_save() behaviour. + * Tests saving a user account. */ class UserSaveTestCase extends DrupalWebTestCase { @@ -1661,7 +1661,7 @@ class UserCreateTestCase extends DrupalWebTestCase { } /** - * Test case to test user_save() behaviour. + * Tests editing a user account. */ class UserEditTestCase extends DrupalWebTestCase { |