Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add bl-ue's accumulated fixes #2266

Merged
merged 1 commit into from
Aug 3, 2022
Merged

Conversation

luzpaz
Copy link
Collaborator

@luzpaz luzpaz commented Feb 2, 2022

Cleaning out my local backlog of branches. This one was from @bl-ue. I've added some refinements.

@peternewman peternewman added the dictionary Changes to the dictionary label Feb 21, 2022
@luzpaz luzpaz force-pushed the refinements branch 2 times, most recently from 28935c2 to 9dc973a Compare July 19, 2022 10:40
@luzpaz
Copy link
Collaborator Author

luzpaz commented Jul 28, 2022

@vikivivi do you mind reviewing this PR ?

luzpaz added a commit to luzpaz/codespell that referenced this pull request Jul 29, 2022
luzpaz added a commit to luzpaz/codespell that referenced this pull request Jul 29, 2022
@luzpaz luzpaz requested a review from peternewman July 29, 2022 14:08
improted->imported
improter->importer
improting->importing
improts->imporsts
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The suggested word improts->imporsts is a misspell.

improts->imports

improtantly->importantly
improters->importers
improtance->importance
improtation->importation
improtations->importations

cteateing->creating
cteater->creator
cteates->creates
cteating->creating
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you mind adding this?

cteation->creation
cteations->creations

aotomatic->automatic
aotomatical->automatic
aotomaticall->automatically
aotomatically->automatically
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aotomate->automate
aotomated->automated
aotomation->automation

@@ -18740,12 +18810,13 @@ japanses->Japanese
jaques->jacques
javacript->javascript
javascipt->javascript
JavaSciript->JavaScript
Javasciript->Javascript
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The word JavaScript is normally written in CamelCase. A search will show the result.
Shall we change all to JavaScript with capital J and S? IMO, the dictionary should hold true to the actual represented spelling form.

Copy link
Collaborator Author

@luzpaz luzpaz Jul 30, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed the capitalization altogether. I don't think it makes sense to always capitalize programming languages. Most of the time in source code comments folks keep things pretty informal. My observation and also opinion

Copy link
Contributor

@vikivivi vikivivi Jul 31, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In my opinion, those folks who make an effort for their code quality, documentation and spelling will use tools like codespell. Those folks who can't be bothered and want things to be informal, would mostly likely not be using quality checking tools.

The results from hunspell, aspell and ispell. All of them indicate a misspell and proposed JavaScript.
When I am typing this reply using Chrome browser, the browser recognises Javascript as misspelled, the word is underlined with a wavy red line. When I type in CamelCase, the wavy red line disappeared.

I understand codespell is not supporting CamelCase now, but it should not prevent us from getting dictionary in shape. IMO, the dictionary should hold true to what it should be. Not based on informal folks way of writing. People will then feel confident. @peternewman what do you think?

### hunspell: /usr/share/hunspell: en_GB
& Javascript 3 0: JavaScript, Java script, Java-script
### hunspell: /usr/share/hunspell: en_US
& Javascript 3 0: JavaScript, Java script, Java-script
### aspell: /var/lib/aspell: en_GB
& Javascript 4 0: JavaScript, Java script, Java-script, JavaScript's
### aspell: /var/lib/aspell: en_US
& Javascript 4 0: JavaScript, Java script, Java-script, JavaScript's
### ispell: /usr/share/ispell: british-insane
& Javascript 3 0: JavaScript, Java script, Java-script
### ispell: /usr/share/ispell: american-insane
& Javascript 3 0: JavaScript, Java script, Java-script
### look: marcoagpinto/aoo-mozilla-en-dict: en_GB (Marco Pinto)
JavaScript
### look: marcoagpinto/aoo-mozilla-en-dict: en_US (Kevin Atkinson)
JavaScript

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understand your point.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've opened #2426 to discuss this in more detail, and unblock the merging of this PR because it's a separate issue altogether (preexisting entries are also called in to question).

@luzpaz
Copy link
Collaborator Author

luzpaz commented Jul 30, 2022

Added @vikivivi feedback, squashed and rebased

Add refinements
Fix formatting error
fix codespell formatting
Add revisions by vikivivi
@luzpaz luzpaz enabled auto-merge (squash) August 3, 2022 12:07
@luzpaz luzpaz merged commit bfa73a2 into codespell-project:master Aug 3, 2022
@luzpaz luzpaz deleted the refinements branch August 3, 2022 12:09
DimitriPapadopoulos added a commit to DimitriPapadopoulos/codespell that referenced this pull request Oct 24, 2023
Split off from codespell-project#2266

Co-authored-by: Dimitri Papadopoulos Orfanos <3234522+DimitriPapadopoulos@users.noreply.github.com>
DimitriPapadopoulos added a commit to DimitriPapadopoulos/codespell that referenced this pull request Oct 24, 2023
Split off from codespell-project#2266

Co-authored-by: Dimitri Papadopoulos Orfanos <3234522+DimitriPapadopoulos@users.noreply.github.com>
DimitriPapadopoulos added a commit to DimitriPapadopoulos/codespell that referenced this pull request Oct 24, 2023
Split off from codespell-project#2266

Co-authored-by: Dimitri Papadopoulos Orfanos <3234522+DimitriPapadopoulos@users.noreply.github.com>
DimitriPapadopoulos pushed a commit to luzpaz/codespell that referenced this pull request Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dictionary Changes to the dictionary
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants