Problem/Motivation

As you can see the pipelines report issues with CSpell => https://git.drupalcode.org/project/navigation_extra/-/jobs/6567159

config/schema/navigation_extra.schema.yml:81:7      - Unknown word (lable)      -- lable: 'Override max menu
	 Suggestions: [label, labe, ladle, labile, liable]
src/Plugin/Block/NavigationExtraVersionBlock.php:61:22     - Unknown word (blockd)     -- protected function blockdAccess(AccountInterface
	 Suggestions: [block, blocks, blocky, blocked, bloc]
src/Plugin/Block/NavigationMenuBlockOverride.php:16:67     - Unknown word (unfortunatly) -- we need to copy it unfortunatly.
	 Suggestions: [unfortunately, unfortunate, unfortunates, unfortunate's]
src/Plugin/Navigation/Extra/FormsPlugin.php:26:45     - Unknown word (webform)    -- moduleHandler->moduleExists('webform')) {
	 Suggestions: [webworm, webfont, webfoot, wexford, webworms]
src/Plugin/Navigation/Extra/FormsPlugin.php:27:18     - Unknown word (webform)    -- $elements['webform'] = [
	 Suggestions: [webworm, webfont, webfoot, wexford, webworms]
src/Plugin/Navigation/Extra/FormsPlugin.php:29:31     - Unknown word (Webform)    -- title' => $this->t('Webform'),
	 Suggestions: [Webworm, Webfont, Webfoot, wexford, Wexford]
src/Plugin/Navigation/Extra/FormsPlugin.php:32:18     - Unknown word (webform)    -- $elements['webform']['enable'] = [
	 Suggestions: [webworm, webfont, webfoot, wexford, webworms]
src/Plugin/Navigation/Extra/FormsPlugin.php:34:35     - Unknown word (webform)    -- title' => $this->t('Add webform links'),
	 Suggestions: [webworm, webfont, webfoot, wexford, webworms]
src/Plugin/Navigation/Extra/FormsPlugin.php:35:51     - Unknown word (webforms)   -- this->t('Show links to webforms.'),
	 Suggestions: [webworms, webworm, subforms, webos, webers]
src/Plugin/Navigation/Extra/FormsPlugin.php:36:63     - Unknown word (webform)    -- >get('plugins.forms.webform.enable') ?? 0,
	 Suggestions: [webworm, webfont, webfoot, wexford, webworms]
src/Plugin/Navigation/Extra/FormsPlugin.php:84:8      - Unknown word (Webforms)   -- // Webforms take precedence over
	 Suggestions: [Webworms, Webworm, Deforms, Reforms, Performs]
src/Plugin/Navigation/Extra/FormsPlugin.php:87:22     - Unknown word (webforms)   -- // Link to the webforms overview of results
	 Suggestions: [webworms, webworm, subforms, webos, webers]
src/Plugin/Navigation/Extra/FormsPlugin.php:130:26    - Unknown word (webforms)   -- // Add a group for webforms and contact if both
	 Suggestions: [webworms, webworm, subforms, webos, webers]
src/Plugin/Navigation/Extra/FormsPlugin.php:133:30    - Unknown word (Webform)    -- title' => $this->t('Webform'),
	 Suggestions: [Webworm, Webfont, Webfoot, wexford, Wexford]
src/Plugin/Navigation/Extra/FormsPlugin.php:167:31    - Unknown word (webforms)   -- Add the item links for webforms.
	 Suggestions: [webworms, webworm, subforms, webos, webers]
src/Plugin/Navigation/Extra/FormsPlugin.php:212:36    - Unknown word (submisions) -- Contact forms don't store submisions so link to the settings
	 Suggestions: [submissions, submission, submersions, submission's, submiss]
CSpell: Files checked: 38, Issues found: 16 in 4 files.

Steps to reproduce

See https://git.drupalcode.org/project/navigation_extra/-/jobs/6567159

Proposed resolution

Fix the issues. Except the 'lable' and 'blockd' ones as those are handled in a different issues.

Remaining tasks

Create MR with fixes.

User interface changes

None

API changes

None

Data model changes

None

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

tim-diels created an issue. See original summary.

tim-diels’s picture

Issue summary: View changes

nickolaj made their first commit to this issue’s fork.

nickolaj’s picture

Status: Active » Needs review

Fixed CSpell issues: corrected "unfortunatly" → "unfortunately" and "submisions" → "submissions" typos, and added `.cspell.json` with "webform"/"webforms" as known words. Excludes "lable" and "blockd" fixes per issue description.

paraderojether’s picture

Status: Needs review » Needs work

Hi

I reviewed MR!21, and CSpell is failed on Gitlab CI.

Kindly check and advise, please.
Thank you.

tim-diels’s picture

As explained in https://project.pages.drupalcode.org/gitlab_templates/jobs/cspell/ the use of a .cspell.json is discouraged. Rather use a variable in the gitlab ci template. When using this own file, it will generate different issues.

Please refactor the code and use the documentation as provided in https://project.pages.drupalcode.org/gitlab_templates/jobs/cspell/#short...

tim-diels’s picture

Assigned: Unassigned » tim-diels

  • tim-diels committed fb3956a1 on 1.0.x authored by nickolaj
    chore: #3573074 Fix issues with CSpell
    
    By: tim-diels
    By: nickolaj
    
tim-diels’s picture

Assigned: tim-diels » Unassigned
Status: Needs work » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.