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

Use ellipsis character consistently #52128

Merged
merged 4 commits into from
Oct 19, 2021

Conversation

casswedson
Copy link
Contributor

Summary

None

Purpose of change

Makes every instance of "…" the same, no spaces before, only one space
after and this character does not end a sentence
As to why I chose this arbitrary rules, they are the most common in the current data

rg "" data/ | wc -l
154

rg "" data/ | wc -l
665

rg "… [a-z]" data/ | wc -l # ignore double space instances 'cause the are few of them
460

rg "… [A-Z]" data/ | wc -l # not ignoring I's and You's etc
57

Also add a bit of documentation.

Describe the solution

Describe alternatives you've considered

Testing

Additional context

@casswedson casswedson requested a review from I-am-Erk as a code owner October 5, 2021 23:04
data/json/items/book/misc_scifi.json Outdated Show resolved Hide resolved
data/json/items/generic.json Outdated Show resolved Hide resolved
@Maleclypse Maleclypse added the [JSON] Changes (can be) made in JSON label Oct 6, 2021
@casswedson casswedson marked this pull request as draft October 6, 2021 01:44
casswedson and others added 3 commits October 16, 2021 12:25
Makes every instance of "…" the same, no spaces before, only one space
after and this character does not end a sentence
Co-authored-by: Jianxiang Wang (王健翔) <qrox@sina.com>
@casswedson casswedson marked this pull request as ready for review October 16, 2021 21:01
@ZhilkinSerg ZhilkinSerg merged commit 1c8c303 into CleverRaven:master Oct 19, 2021
@Faalagorn
Copy link
Contributor

Ellipsis and a full stop? Is that correct grammar-wise?

@casswedson
Copy link
Contributor Author

I think you can use it that way and remains correct https://www.grammarly.com/blog/ellipsis/

@casswedson casswedson deleted the typo-smash branch October 19, 2021 22:40
casswedson added a commit to casswedson/Cataclysm-DDA that referenced this pull request Oct 20, 2021
Makes every instance of "…" the same, no spaces before, only one space
after and this character does not end a sentence. src folder edition
forgot there are a ton of strings in the src folder.
Continuation of CleverRaven#52128
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[JSON] Changes (can be) made in JSON
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants