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

Fix a lot of typos and initial codespell action run #7752

Merged
merged 17 commits into from
Oct 5, 2020

Conversation

peternewman
Copy link
Contributor

@peternewman peternewman commented Jun 28, 2020

Most of these are probably genuine typos. A few may be legitimate that don't need fixing. I'll try and work through some soon.

See here if it doesn't show up in the PR action:
https://github.com/peternewman/iD/runs/816084284?check_suite_focus=true

Copy link
Contributor Author

@peternewman peternewman left a comment

Choose a reason for hiding this comment

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

A few comments/queries for someone to double-check.

@@ -4,5 +4,5 @@
"reference": {
"key": "healthcare"
},
"label": "Specialties"
"label": "Specialities"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I assume because it's a label this is a safe change?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Label changes are okay if needed, but Specialties is the common American spelling for this and is intentional.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oops, fixed in Codespell in codespell-project/codespell@ed89a55 .

Okay undone @quincylvania , although it's rather mixed messages being in a British English file with a US English Label, or is that covered by further translation?

Copy link
Collaborator

Choose a reason for hiding this comment

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

So British English is the default for OSM's tags, while US English is the default for iD's interface. This causes lots of these types of mismatches in the preset files. Kerb/curb, groyne/groin, centre/center, etc.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh dear, that's entertaining!

test/spec/osm/lanes.js Show resolved Hide resolved
test/spec/services/taginfo.js Show resolved Hide resolved
@peternewman peternewman changed the title Initial codespell action run Fix a lot of typos and initial codespell action run Jun 28, 2020
@quincylvania quincylvania added the chore Improvements to the iD development experience or codebase label Jul 12, 2020
@peternewman
Copy link
Contributor Author

Hi @quincylvania ,

How do you want to progress with this? Is it worth me for example pulling out all the fixes in readme files and comments, or all the stuff overall I've committed so far to get that merged, and then working separately on the remaining bits codespell is reporting until the action is green. Or narrow the scope of codespell to just the stuff that already passes.

@peternewman
Copy link
Contributor Author

Bump @quincylvania ? I see #7845 has gone in since.

@quincylvania
Copy link
Collaborator

@peternewman Sorry for the delay, I've been on a volunteer basis for the past month or so and haven't had time to consider this.

It sounds fine to pull out the markdown and comment fixes and we can merge them right in. The code and data changes would take more attention.

@peternewman peternewman mentioned this pull request Aug 10, 2020
@peternewman
Copy link
Contributor Author

It sounds fine to pull out the markdown and comment fixes and we can merge them right in. The code and data changes would take more attention.

See #7892 when you get a chance then.

@@ -4,5 +4,5 @@
"reference": {
"key": "healthcare"
},
"label": "Specialties"
"label": "Specialities"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Label changes are okay if needed, but Specialties is the common American spelling for this and is intentional.

.github/workflows/codespell.yml Show resolved Hide resolved
test/spec/services/taginfo.js Show resolved Hide resolved
test/spec/osm/lanes.js Show resolved Hide resolved
@peternewman
Copy link
Contributor Author

I think this is ready for re-review now.

@quincylvania quincylvania merged commit 80eb197 into openstreetmap:develop Oct 5, 2020
@quincylvania quincylvania added this to the 2.19.0 milestone Oct 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Improvements to the iD development experience or codebase
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants