Skip to content

Commit d967abd

Browse files
committed
Issue #1054848 by barraponto: Fixing common typos through codespell.py.
1 parent 9c42142 commit d967abd

43 files changed

Lines changed: 60 additions & 60 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎CHANGELOG.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1059,7 +1059,7 @@ Drupal 4.5.0, 2004-10-18
10591059
- Filter system:
10601060
* Added support for using multiple input formats on the site
10611061
* Expanded the embedded PHP-code feature so it can be used everywhere
1062-
* Added support for role-dependant filtering, through input formats
1062+
* Added support for role-dependent filtering, through input formats
10631063
- UI translation:
10641064
* Managing translations is now completely done through the administration interface
10651065
* Added support for importing/exporting gettext .po files

‎authorize.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ function authorize_access_allowed() {
7474
global $conf;
7575

7676
// We have to enable the user and system modules, even to check access and
77-
// display errors via the maintainence theme.
77+
// display errors via the maintenance theme.
7878
$module_list['system']['filename'] = 'modules/system/system.module';
7979
$module_list['user']['filename'] = 'modules/user/user.module';
8080
module_list(TRUE, FALSE, FALSE, $module_list);

‎includes/bootstrap.inc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2449,7 +2449,7 @@ function drupal_installation_attempted() {
24492449
* non-installation time, such as while installing the module from the the
24502450
* module administration page.
24512451
*
2452-
* Example useage:
2452+
* Example usage:
24532453
* @code
24542454
* $t = get_t();
24552455
* $translated = $t('translate this');

‎includes/common.inc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3019,7 +3019,7 @@ function drupal_sort_css_js($a, $b) {
30193019
* are always groupable, and items of the 'external' type are never groupable.
30203020
* This function also ensures that the process of grouping items does not change
30213021
* their relative order. This requirement may result in multiple groups for the
3022-
* same type, media, and browsers, if needed to accomodate other items in
3022+
* same type, media, and browsers, if needed to accommodate other items in
30233023
* between.
30243024
*
30253025
* @param $css

‎includes/database/database.inc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@
152152
* }
153153
*
154154
* // $txn goes out of scope here. Unless the transaction was rolled back, it
155-
* // gets automatically commited here.
155+
* // gets automatically committed here.
156156
* }
157157
*
158158
* function my_other_function($id) {

‎includes/database/query.inc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -839,7 +839,7 @@ class DeleteQuery extends Query implements QueryConditionInterface {
839839
* Executes the DELETE query.
840840
*
841841
* @return
842-
* The return value is dependant on the database connection.
842+
* The return value is dependent on the database connection.
843843
*/
844844
public function execute() {
845845
$values = array();

‎includes/database/sqlite/database.inc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ class DatabaseConnection_sqlite extends DatabaseConnection {
119119
try {
120120
$count = $this->query('SELECT COUNT(*) FROM ' . $prefix . '.sqlite_master WHERE type = :type AND name NOT LIKE :pattern', array(':type' => 'table', ':pattern' => 'sqlite_%'))->fetchField();
121121

122-
// We can prune the database file if it doens't have any tables.
122+
// We can prune the database file if it doesn't have any tables.
123123
if ($count == 0) {
124124
// Detach the database.
125125
$this->query('DETACH DATABASE :schema', array(':schema' => $prefix));

‎includes/entity.inc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ class DrupalDefaultEntityController implements DrupalEntityControllerInterface {
307307
* @param $queried_entities
308308
* Associative array of query results, keyed on the entity ID.
309309
* @param $revision_id
310-
* ID of the revision that was loaded, or FALSE if teh most current revision
310+
* ID of the revision that was loaded, or FALSE if the most current revision
311311
* was loaded.
312312
*/
313313
protected function attachLoad(&$queried_entities, $revision_id = FALSE) {

‎includes/errors.inc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ function _drupal_decode_exception($exception) {
136136
}
137137

138138
/**
139-
* Render an error message for an exception without any possibility of a further exception occuring.
139+
* Render an error message for an exception without any possibility of a further exception occurring.
140140
*
141141
* @param $exception
142142
* The exception object that was thrown.

‎includes/form.inc‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -919,7 +919,7 @@ function drupal_process_form($form_id, &$form, &$form_state) {
919919
// have set $form_state['cache'] to indicate that the form and form state
920920
// shall be cached. But the form may only be cached if the 'no_cache' property
921921
// is not set to TRUE. Only cache $form as it was prior to form_builder(),
922-
// because form_builder() must run for each request to accomodate new user
922+
// because form_builder() must run for each request to accommodate new user
923923
// input. Rebuilt forms are not cached here, because drupal_rebuild_form()
924924
// already takes care of that.
925925
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) {
19411941
// drupal_form_submit() must not be able to get around this. Forms that set
19421942
// #access=FALSE on an element usually allow access for some users, so forms
19431943
// submitted with drupal_form_submit() may bypass access restriction and be
1944-
// treated as high-privelege users instead.
1944+
// treated as high-privilege users instead.
19451945
$process_input = empty($element['#disabled']) && ($form_state['programmed'] || ($form_state['process_input'] && (!isset($element['#access']) || $element['#access'])));
19461946

19471947
// Set the element's #value property.

0 commit comments

Comments
 (0)