Page MenuHomePhabricator

[chore] Replace `'` with `’` in user-displayed text
ClosedPublic

Authored by abosh on Jul 14 2022, 1:14 PM.
Tags
None
Referenced Files
F4954404: D4541.diff
Fri, Mar 21, 8:29 AM
Unknown Object (File)
Tue, Mar 18, 1:34 PM
Unknown Object (File)
Thu, Feb 27, 1:08 PM
Unknown Object (File)
Wed, Feb 26, 4:27 PM
Unknown Object (File)
Wed, Feb 26, 4:27 PM
Unknown Object (File)
Wed, Feb 26, 4:12 PM
Unknown Object (File)
Feb 16 2025, 1:11 PM
Unknown Object (File)
Jan 30 2025, 10:01 PM

Details

Summary

Replaced single quote with apostrophe in user-displayed text. Wasn't sure the best way to title this, but basically this diff only replaces the single quotes in text that can get displayed in a modal, the app, or an error message that isn't an invariant.

Test Plan

Used this regex to search for all instances of ' surrounded by "":

image.png (324×524 px, 25 KB)

Diff Detail

Repository
rCOMM Comm
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

abosh edited the summary of this revision. (Show Details)
abosh added inline comments.
lib/facts/genesis.json
1

Not sure where this or testers.json is used anymore, but it's human-readable/user-displayed text somewhere, so I changed it.

Seems reasonable. It might be hard to keep it this way in the codebase since the ' key is a single quote in code editors.

There's probably some way to enforce the rule, but I don't think it really matters enough to go through that effort.

This revision is now accepted and ready to land.Jul 14 2022, 5:49 PM

Yeah, it just depends on how stringent future code reviewers want to be.