Skip to content
Snippets Groups Projects
Commit 7544dbb6 authored by Jonathan Smith's avatar Jonathan Smith Committed by Stephen Mustgrave
Browse files

Issue #3431234: Fix spelling

parent f8a57701
No related branches found
No related tags found
1 merge request!45Issue #3431234: Fix spelling
Pipeline #172988 failed
......@@ -58,13 +58,14 @@ variables:
# _PHPUNIT_CONCURRENT=1 uses run-tests.sh, 0 uses phpunit directly.
_PHPUNIT_CONCURRENT: 1
# Skip (1) or execute (0) the following jobs.
SKIP_COMPOSER: 0
SKIP_COMPOSER_LINT: 0
SKIP_ESLINT: 0
SKIP_STYLELINT: 0
SKIP_PHPCS: 0
SKIP_PHPSTAN: 0
SKIP_PHPUNIT: 0
# There are several part-words used for matching in tests. Tell CSpell not to report these.
_CSPELL_WORDS: 'nana, untain, toco, ctools, interdif'
eslint:
before_script:
......
......@@ -126,6 +126,8 @@ tools"' or '"bulk export"').
## Maintainers
[//]: # cSpell:disable
[//]: # Do not want to add these names, just ignore to the end of this file.
- greenSkin ([greenSkin](https://www.drupal.org/u/greenskin))
- Andrey Troeglazov ([andrey.troeglazov](https://www.drupal.org/u/andreytroeglazov))
- Stephen Mustgrave ([smustgrave](https://www.drupal.org/u/smustgrave))
......@@ -17,7 +17,7 @@
ModuleFilter.input.bind('winnow:start', function () {
// Note that we first open all <details> to be able to use ':visible'.
// Mark the <details> elements that were closed before filtering, so
// they can be reclosed when filtering is removed.
// they can be re-closed when filtering is removed.
$details
.show()
.not('[open]')
......
......@@ -404,14 +404,14 @@
// Sort rows by module name.
const $rows = $('tbody tr', $table);
$rows.sort(function (a, b) {
const aname = $('td.module label', a).text();
const bname = $('td.module label', b).text();
const aName = $('td.module label', a).text();
const bName = $('td.module label', b).text();
if (aname === bname) {
if (aName === bName) {
return 0;
}
return aname > bname ? 1 : -1;
return aName > bName ? 1 : -1;
});
$rows.detach().appendTo($('tbody', $table));
......
......@@ -29,7 +29,7 @@
item.isModule = item.element.has('.module').length;
if (item.isModule) {
// This is a module so initialise the children array to store
// This is a module so initialize the children array to store
// the permission items.
item.children = [];
lastModuleItem = item;
......
......@@ -61,10 +61,10 @@ class ModuleFilterJavascriptInstallPageTest extends ModuleFilterJavascriptTestBa
$assert->pageTextContains('Mountains of Virginia');
// Enter 'low' as the filter and check that both the Red Roses and Yellow
// Banana modules are dispayed, and the Blue Ridge module is not. This shows
// that filtering can work simultaneously on two different sources, as it
// matches 'flowers' in the Roses desciption and also 'yellow' in the Banana
// module name.
// Banana modules are displayed, and the Blue Ridge module is not. This
// shows that filtering can work simultaneously on two different sources, as
// it matches 'flowers' in the Roses description and also 'yellow' in the
// Banana module name.
$page->fillField('edit-text', 'low');
$assert->waitForText('Roses');
$assert->pageTextContains('Roses');
......
......@@ -3,7 +3,7 @@
namespace Drupal\Tests\module_filter\FunctionalJavascript;
/**
* Tests the Permisions tab on admin/people/permissions.
* Tests the Permissions tab on admin/people/permissions.
*
* @group module_filter
*/
......@@ -54,7 +54,7 @@ class ModuleFilterJavascriptPermissionsTest extends ModuleFilterJavascriptTestBa
$assert->pageTextContains('Buy fruit');
// Enter 'buy' as the filter and check that both of the modules are shown
// but only with the permissions that contain 'buy'. This demonstates that
// but only with the permissions that contain 'buy'. This demonstrates that
// matching text on permission hides permissions from a matching module that
// do not contain that text in the permission.
$page->fillField('edit-text', 'buy');
......@@ -66,7 +66,7 @@ class ModuleFilterJavascriptPermissionsTest extends ModuleFilterJavascriptTestBa
$assert->pageTextContains('Buy fruit');
// Enter 'ana' as the filter and check that the matching module (Banana) is
// shown, and also the matching permission (Panama). This demonstates that
// shown, and also the matching permission (Panama). This demonstrates that
// matching can be done simultaneously on the module and the permission.
$page->fillField('edit-text', 'ana');
$assert->waitForText('Send');
......
......@@ -60,10 +60,10 @@ class ModuleFilterJavascriptUninstallPageTest extends ModuleFilterJavascriptTest
$assert->pageTextContains('Mountains of Virginia');
// Enter 'low' as the filter and check that both the Red Roses and Yellow
// Banana modules are dispayed, and the Blue Ridge module is not. This shows
// that filtering can work simultaneously on two different sources, as it
// matches 'flowers' in the Roses desciption and also 'yellow' in the Banana
// module name.
// Banana modules are displayed, and the Blue Ridge module is not. This
// shows that filtering can work simultaneously on two different sources, as
// it matches 'flowers' in the Roses description and also 'yellow' in the
// Banana module name.
$page->fillField('edit-text', 'low');
$assert->waitForText('Roses');
$assert->pageTextContains('Roses');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment