summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2011-10-02 11:09:00 -0700
committerwebchick <webchick@24967.no-reply.drupal.org>2011-10-02 11:09:00 -0700
commitd967abdf1dab8b23fba39ce2aa35fe09cd5578f5 (patch)
treeb4c4c404d4683b934b4687ed696b883dd2ec905a /includes
parent9c42142614fdb292e231766dc778b959d74649c9 (diff)
downloadbrdo-d967abdf1dab8b23fba39ce2aa35fe09cd5578f5.tar.gz
brdo-d967abdf1dab8b23fba39ce2aa35fe09cd5578f5.tar.bz2
Issue #1054848 by barraponto: Fixing common typos through codespell.py.
Diffstat (limited to 'includes')
-rw-r--r--includes/bootstrap.inc2
-rw-r--r--includes/common.inc2
-rw-r--r--includes/database/database.inc2
-rw-r--r--includes/database/query.inc2
-rw-r--r--includes/database/sqlite/database.inc2
-rw-r--r--includes/entity.inc2
-rw-r--r--includes/errors.inc2
-rw-r--r--includes/form.inc4
-rw-r--r--includes/pager.inc2
-rw-r--r--includes/theme.inc2
-rw-r--r--includes/utility.inc2
11 files changed, 12 insertions, 12 deletions
diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc
index 545beba21..e76d52699 100644
--- a/includes/bootstrap.inc
+++ b/includes/bootstrap.inc
@@ -2449,7 +2449,7 @@ function drupal_installation_attempted() {
* non-installation time, such as while installing the module from the the
* module administration page.
*
- * Example useage:
+ * Example usage:
* @code
* $t = get_t();
* $translated = $t('translate this');
diff --git a/includes/common.inc b/includes/common.inc
index 355ef379b..a94b011f1 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -3019,7 +3019,7 @@ function drupal_sort_css_js($a, $b) {
* are always groupable, and items of the 'external' type are never groupable.
* This function also ensures that the process of grouping items does not change
* their relative order. This requirement may result in multiple groups for the
- * same type, media, and browsers, if needed to accomodate other items in
+ * same type, media, and browsers, if needed to accommodate other items in
* between.
*
* @param $css
diff --git a/includes/database/database.inc b/includes/database/database.inc
index 610861429..c77bcffbf 100644
--- a/includes/database/database.inc
+++ b/includes/database/database.inc
@@ -152,7 +152,7 @@
* }
*
* // $txn goes out of scope here. Unless the transaction was rolled back, it
- * // gets automatically commited here.
+ * // gets automatically committed here.
* }
*
* function my_other_function($id) {
diff --git a/includes/database/query.inc b/includes/database/query.inc
index c7363f238..c77968767 100644
--- a/includes/database/query.inc
+++ b/includes/database/query.inc
@@ -839,7 +839,7 @@ class DeleteQuery extends Query implements QueryConditionInterface {
* Executes the DELETE query.
*
* @return
- * The return value is dependant on the database connection.
+ * The return value is dependent on the database connection.
*/
public function execute() {
$values = array();
diff --git a/includes/database/sqlite/database.inc b/includes/database/sqlite/database.inc
index 0fc0b5528..3e2490b00 100644
--- a/includes/database/sqlite/database.inc
+++ b/includes/database/sqlite/database.inc
@@ -119,7 +119,7 @@ class DatabaseConnection_sqlite extends DatabaseConnection {
try {
$count = $this->query('SELECT COUNT(*) FROM ' . $prefix . '.sqlite_master WHERE type = :type AND name NOT LIKE :pattern', array(':type' => 'table', ':pattern' => 'sqlite_%'))->fetchField();
- // We can prune the database file if it doens't have any tables.
+ // We can prune the database file if it doesn't have any tables.
if ($count == 0) {
// Detach the database.
$this->query('DETACH DATABASE :schema', array(':schema' => $prefix));
diff --git a/includes/entity.inc b/includes/entity.inc
index 45d697c80..07ee06162 100644
--- a/includes/entity.inc
+++ b/includes/entity.inc
@@ -307,7 +307,7 @@ class DrupalDefaultEntityController implements DrupalEntityControllerInterface {
* @param $queried_entities
* Associative array of query results, keyed on the entity ID.
* @param $revision_id
- * ID of the revision that was loaded, or FALSE if teh most current revision
+ * ID of the revision that was loaded, or FALSE if the most current revision
* was loaded.
*/
protected function attachLoad(&$queried_entities, $revision_id = FALSE) {
diff --git a/includes/errors.inc b/includes/errors.inc
index bd31bebed..cb708d860 100644
--- a/includes/errors.inc
+++ b/includes/errors.inc
@@ -136,7 +136,7 @@ function _drupal_decode_exception($exception) {
}
/**
- * Render an error message for an exception without any possibility of a further exception occuring.
+ * Render an error message for an exception without any possibility of a further exception occurring.
*
* @param $exception
* The exception object that was thrown.
diff --git a/includes/form.inc b/includes/form.inc
index dc2a5a01d..42c108b8e 100644
--- a/includes/form.inc
+++ b/includes/form.inc
@@ -919,7 +919,7 @@ function drupal_process_form($form_id, &$form, &$form_state) {
// have set $form_state['cache'] to indicate that the form and form state
// shall be cached. But the form may only be cached if the 'no_cache' property
// is not set to TRUE. Only cache $form as it was prior to form_builder(),
- // because form_builder() must run for each request to accomodate new user
+ // because form_builder() must run for each request to accommodate new user
// input. Rebuilt forms are not cached here, because drupal_rebuild_form()
// already takes care of that.
if (!$form_state['rebuild'] && $form_state['cache'] && empty($form_state['no_cache'])) {
@@ -1941,7 +1941,7 @@ function _form_builder_handle_input_element($form_id, &$element, &$form_state) {
// drupal_form_submit() must not be able to get around this. Forms that set
// #access=FALSE on an element usually allow access for some users, so forms
// submitted with drupal_form_submit() may bypass access restriction and be
- // treated as high-privelege users instead.
+ // treated as high-privilege users instead.
$process_input = empty($element['#disabled']) && ($form_state['programmed'] || ($form_state['process_input'] && (!isset($element['#access']) || $element['#access'])));
// Set the element's #value property.
diff --git a/includes/pager.inc b/includes/pager.inc
index 7a3a7be30..a5d3e6be0 100644
--- a/includes/pager.inc
+++ b/includes/pager.inc
@@ -200,7 +200,7 @@ function pager_find_page($element = 0) {
* to theme('pager') will render a pager that correctly corresponds to the
* items being displayed.
*
- * If the items being displayed result from a database query peformed using
+ * If the items being displayed result from a database query performed using
* Drupal's database API, and if you have control over the construction of the
* database query, you do not need to call this function directly; instead, you
* can simply extend the query object with the 'PagerDefault' extender before
diff --git a/includes/theme.inc b/includes/theme.inc
index c4ce2a735..17c49f1c4 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -2097,7 +2097,7 @@ function template_preprocess(&$variables, $hook) {
}
/**
- * Returns hook-independant variables to template_preprocess().
+ * Returns hook-independent variables to template_preprocess().
*/
function _template_preprocess_default_variables() {
global $user;
diff --git a/includes/utility.inc b/includes/utility.inc
index 254313f73..df6c48fb9 100644
--- a/includes/utility.inc
+++ b/includes/utility.inc
@@ -11,7 +11,7 @@
* @param $var
* The variable to export.
* @param $prefix
- * A prefix that will be added at the begining of every lines of the output.
+ * A prefix that will be added at the beginning of every lines of the output.
* @return
* The variable exported in a way compatible to Drupal's coding standards.
*/