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 typos newly found by codespell #11735

Merged
merged 4 commits into from Jan 4, 2024

Conversation

DimitriPapadopoulos
Copy link
Contributor

Subject: fix typos

Feature or Bugfix

  • Bugfix

@picnixz picnixz added the i18n label Oct 25, 2023
Copy link
Member

@picnixz picnixz left a comment

Choose a reason for hiding this comment

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

Looks good to me (still you'll need to wait for Adam's approval).

doc/index.rst Show resolved Hide resolved
doc/latex.rst Show resolved Hide resolved
Copy link
Member

Choose a reason for hiding this comment

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

All of the .po files can be excluded from the spelling checker, they're automatically updated from the source.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That's what I thought, but I had been told otherwise in #11735 (comment).

Any way, these updates are in a separate commit, they would be easy to discard.

Copy link
Member

Choose a reason for hiding this comment

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

If we change a localized string, I think what is autogenerated is an empty translation, hence we probably need to manually update translations in this case but I may be wrong.

@@ -156,7 +156,7 @@ def cell_width(self, cell: Cell, source: list[int]) -> int:
This takes into account cells spanning multiple columns.
"""
if cell.row is None or cell.col is None:
msg = 'Cell co-ordinates have not been set'
msg = 'Cell coordinates have not been set'
Copy link
Member

Choose a reason for hiding this comment

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

co-ordinates is fine

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Both co-ordinate and coordinate are fine, especially in British English according to dictionaries. However, the Google Ngram Viewer shows coordinate in wider use, including in the British English corpus strangely enough.

It's up to you, but what's wrong with following common use when targetting a large and international audience?

Copy link
Member

Choose a reason for hiding this comment

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

Even though co-ordinate is fine, I personally prefer one without "-". Also it removes one character from the code base so it's technically an optimization!

Copy link
Contributor

Choose a reason for hiding this comment

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

How about a compromise and use "coördinates" like the New Yorker! 🙃

https://www.newyorker.com/culture/culture-desk/the-curse-of-the-diaeresis

@AA-Turner AA-Turner merged commit 460a630 into sphinx-doc:master Jan 4, 2024
22 checks passed
@DimitriPapadopoulos DimitriPapadopoulos deleted the codespell branch January 4, 2024 06:43
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants