You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
impr(quotes): change em-dashes in English quotes to hyphens (@redfp) (#7785)
### Description
Changed all em-dashes without surrounding spaces to hyphens with
surrounding spaces.
I did `Ctrl-F —` in English quotes and changed all instances where
em-dashes were not surrounded by spaces. I came across this problem in
quote 7669 and decided to fix others like it too.
<!--
Please describe the change(s) made in your PR:
- explain the problem being solved
- for bug fixes without an open issue, include steps to reproduce the
issue
- summarize the approach taken
Use your own words. Do not rely on AI-generated descriptions.
They do not demonstrate your understanding of the problem or the
solution.
Writing the description yourself helps you verify the scope of your work
and
helps us better understand your intent, reasoning and level of insight.
-->
### Checks
- [ ] Adding quotes?
- Make sure to follow the [quotes
documentation](https://github.com/monkeytypegame/monkeytype/blob/master/docs/QUOTES.md)
- [ ] Make sure to include translations for the quotes in the
description (or another comment) so we can verify their content.
- [ ] Adding a language?
- Make sure to follow the [languages
documentation](https://github.com/monkeytypegame/monkeytype/blob/master/docs/LANGUAGES.md)
- [ ] Add language to `packages/schemas/src/languages.ts`
- [ ] Add language to exactly one group in
`frontend/src/ts/constants/languages.ts`
- [ ] Add language json file to `frontend/static/languages`
- [ ] Adding a theme?
- Make sure to follow the [themes
documentation](https://github.com/monkeytypegame/monkeytype/blob/master/docs/THEMES.md)
- [ ] Add theme to `packages/schemas/src/themes.ts`
- [ ] Add theme to `frontend/src/ts/constants/themes.ts`
- [ ] (optional) Add theme css file to `frontend/static/themes`
- [ ] Add some screenshots of the theme, especially with different test
settings (colorful, flip colors) to your pull request
- [ ] Adding a layout?
- [ ] Make sure to follow the [layouts
documentation](https://github.com/monkeytypegame/monkeytype/blob/master/docs/LAYOUTS.md)
- [ ] Add layout to `packages/schemas/src/layouts.ts`
- [ ] Add layout json file to `frontend/static/layouts`
- [ ] Adding a font?
- Make sure to follow the [fonts
documentation](https://github.com/monkeytypegame/monkeytype/blob/master/docs/FONTS.md)
- [ ] Add font file to `frontend/static/webfonts`
- [ ] Add font to `packages/schemas/src/fonts.ts`
- [ ] Add font to `frontend/src/ts/constants/fonts.ts`
- [x] Check if any open issues are related to this PR; if so, be sure to
tag them below.
- [x] Make sure the PR title follows the Conventional Commits standard.
(https://www.conventionalcommits.org for more info)
- [x] Make sure to include your GitHub username prefixed with @ inside
parentheses at the end of the PR title.
<!-- label(optional scope): pull request title (@your_github_username)
-->
<!-- I know I know they seem boring but please do them, they help us and
you will find out it also helps you. -->
<!-- The issue(s) your PR resolves if any (delete if that is not the
case) -->
<!-- Please reference any issues and/or PRs related to your pull request
-->
<!-- Pro tip: you can mention an issue, PR, or discussion on GitHub by
referencing its hash number, e.g.:
[#1234](#1234) -->
<!-- Pro tip: you can press . (dot or period) in the code tab of any
GitHub repo to get access to GitHub's VS Code web editor. Enjoy! :) -->
Copy file name to clipboardExpand all lines: frontend/static/quotes/english.json
+12-12Lines changed: 12 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -38675,16 +38675,16 @@
38675
38675
"length": 704
38676
38676
},
38677
38677
{
38678
-
"text": "In inner cities, some buildings are beautiful and clean, while others are rotting hulks. Why? Researchers in the field of crime and urban decay discovered a fascinating trigger mechanism, one that very quickly turns a clean, intact, inhabited building into a smashed and abandoned derelict. A broken window. One broken window, left unrepaired for any substantial length of time, instills in the inhabitants of the building a sense of abandonment—a sense that the powers that be don’t care about the building. So another window gets broken. People start littering. Graffiti appears. Serious structural damage begins. In a relatively short span of time, the building becomes damaged beyond the owner’s desire to fix it, and the sense of abandonment becomes reality.",
38678
+
"text": "In inner cities, some buildings are beautiful and clean, while others are rotting hulks. Why? Researchers in the field of crime and urban decay discovered a fascinating trigger mechanism, one that very quickly turns a clean, intact, inhabited building into a smashed and abandoned derelict. A broken window. One broken window, left unrepaired for any substantial length of time, instills in the inhabitants of the building a sense of abandonment - a sense that the powers that be don’t care about the building. So another window gets broken. People start littering. Graffiti appears. Serious structural damage begins. In a relatively short span of time, the building becomes damaged beyond the owner’s desire to fix it, and the sense of abandonment becomes reality.",
38679
38679
"source": "The Pragmatic Programmer (2nd Edition)",
38680
38680
"id": 7659,
38681
-
"length": 763
38681
+
"length": 765
38682
38682
},
38683
38683
{
38684
-
"text": "The three soldiers returning home from war were hungry. When they saw the village ahead their spirits lifted—they were sure the villagers would give them a meal. But when they got there, they found the doors locked and the windows closed. After many years of war, the villagers were short of food, and hoarded what they had. Undeterred, the soldiers boiled a pot of water and carefully placed three stones into it. The amazed villagers came out to watch. \"This is stone soup,\" the soldiers explained. \"Is that all you put in it?\" asked the villagers. \"Absolutely—although some say it tastes even better with a few carrots…\" A villager ran off, returning in no time with a basket of carrots from his hoard. A couple of minutes later, the villagers again asked \"Is that it?\" \"Well,\" said the soldiers, \"a couple of potatoes give it body.\" Off ran another villager. Over the next hour, the soldiers listed more ingredients that would enhance the soup: beef, leeks, salt, and herbs. Each time a different villager would run off to raid their personal stores. Eventually they had produced a large pot of steaming soup. The soldiers removed the stones, and they sat down with the entire village to enjoy the first square meal any of them had eaten in months.",
38684
+
"text": "The three soldiers returning home from war were hungry. When they saw the village ahead their spirits lifted - they were sure the villagers would give them a meal. But when they got there, they found the doors locked and the windows closed. After many years of war, the villagers were short of food, and hoarded what they had. Undeterred, the soldiers boiled a pot of water and carefully placed three stones into it. The amazed villagers came out to watch. \"This is stone soup,\" the soldiers explained. \"Is that all you put in it?\" asked the villagers. \"Absolutely - although some say it tastes even better with a few carrots…\" A villager ran off, returning in no time with a basket of carrots from his hoard. A couple of minutes later, the villagers again asked \"Is that it?\" \"Well,\" said the soldiers, \"a couple of potatoes give it body.\" Off ran another villager. Over the next hour, the soldiers listed more ingredients that would enhance the soup: beef, leeks, salt, and herbs. Each time a different villager would run off to raid their personal stores. Eventually they had produced a large pot of steaming soup. The soldiers removed the stones, and they sat down with the entire village to enjoy the first square meal any of them had eaten in months.",
38685
38685
"source": "The Pragmatic Programmer (2nd Edition)",
38686
38686
"id": 7660,
38687
-
"length": 1252
38687
+
"length": 1256
38688
38688
},
38689
38689
{
38690
38690
"text": "There’s an old(ish) joke about a company that places an order for 100,000 ICs with a Japanese manufacturer. Part of the specification was the defect rate: one chip in 10,000. A few weeks later the order arrived: one large box containing thousands of ICs, and a small one containing just ten. Attached to the small box was a label that read: \"These are the faulty ones.\"",
@@ -38693,10 +38693,10 @@
38693
38693
"length": 369
38694
38694
},
38695
38695
{
38696
-
"text": "You’re communicating only if you’re conveying what you mean to convey—just talking isn’t enough. To do that, you need to understand the needs, interests, and capabilities of your audience.",
38696
+
"text": "You’re communicating only if you’re conveying what you mean to convey - just talking isn’t enough. To do that, you need to understand the needs, interests, and capabilities of your audience.",
38697
38697
"source": "The Pragmatic Programmer (2nd Edition)",
38698
38698
"id": 7662,
38699
-
"length": 188
38699
+
"length": 190
38700
38700
},
38701
38701
{
38702
38702
"text": "It’s six o’clock on Friday afternoon, following a week when the auditors have been in. Your boss’s youngest is in the hospital, it’s pouring rain outside, and the commute home is guaranteed to be a nightmare. This probably isn’t a good time to ask her for a memory upgrade for your laptop.",
@@ -38711,10 +38711,10 @@
38711
38711
"length": 1580
38712
38712
},
38713
38713
{
38714
-
"text": "Many industries use prototypes to try out specific ideas; prototyping is much cheaper than full-scale production. Car makers, for example, may build many different prototypes of a new car design. Each one is designed to test a specific aspect of the car—the aerodynamics, styling, structural characteristics, and so on. Old school folks might use a clay model for wind tunnel testing, maybe a balsa wood and duct tape model will do for the art department, and so on. The less romantic will do their modeling on a computer screen or in virtual reality, reducing costs even further. In this way, risky or uncertain elements can be tried out without committing to building the real item.",
38714
+
"text": "Many industries use prototypes to try out specific ideas; prototyping is much cheaper than full-scale production. Car makers, for example, may build many different prototypes of a new car design. Each one is designed to test a specific aspect of the car - the aerodynamics, styling, structural characteristics, and so on. Old school folks might use a clay model for wind tunnel testing, maybe a balsa wood and duct tape model will do for the art department, and so on. The less romantic will do their modeling on a computer screen or in virtual reality, reducing costs even further. In this way, risky or uncertain elements can be tried out without committing to building the real item.",
38715
38715
"source": "The Pragmatic Programmer (2nd Edition)",
38716
38716
"id": 7665,
38717
-
"length": 684
38717
+
"length": 686
38718
38718
},
38719
38719
{
38720
38720
"text": "To some extent, all answers are estimates. It’s just that some are more accurate than others. So the first question you have to ask yourself when someone asks you for an estimate is the context in which your answer will be taken. Do they need high accuracy, or are they looking for a ballpark figure?",
@@ -38735,10 +38735,10 @@
38735
38735
"length": 408
38736
38736
},
38737
38737
{
38738
-
"text": "The word bug has been used to describe an \"object of terror\" ever since the fourteenth century. Rear Admiral Dr. Grace Hopper, the inventor of COBOL, is credited with observing the first computer bug—literally, a moth caught in a relay in an early computer system. When asked to explain why the machine wasn’t behaving as intended, a technician reported that there was “a bug in the system,” and dutifully taped it— wings and all—into the log book.",
38738
+
"text": "The word bug has been used to describe an \"object of terror\" ever since the fourteenth century. Rear Admiral Dr. Grace Hopper, the inventor of COBOL, is credited with observing the first computer bug - literally, a moth caught in a relay in an early computer system. When asked to explain why the machine wasn’t behaving as intended, a technician reported that there was “a bug in the system,” and dutifully taped it - wings and all - into the log book.",
38739
38739
"source": "The Pragmatic Programmer (2nd Edition)",
38740
38740
"id": 7669,
38741
-
"length": 448
38741
+
"length": 453
38742
38742
},
38743
38743
{
38744
38744
"text": "A very simple but particularly useful technique for finding the cause of a problem is simply to explain it to someone else. The other person should look over your shoulder at the screen, and nod his or her head constantly (like a rubber duck bobbing up and down in a bathtub). They do not need to say a word; the simple act of explaining, step by step, what the code is supposed to do often causes the problem to leap off the screen and announce itself.",
@@ -38921,10 +38921,10 @@
38921
38921
"length": 153
38922
38922
},
38923
38923
{
38924
-
"text": "Any fool can criticize, complain, and condemn—and most fools do. But it takes character and self-control to be understanding and forgiving.",
38924
+
"text": "Any fool can criticize, complain, and condemn - and most fools do. But it takes character and self-control to be understanding and forgiving.",
38925
38925
"source": "Dale Carnegie, How to Win Friends & Influence People",
38926
38926
"id": 7700,
38927
-
"length": 139
38927
+
"length": 141
38928
38928
},
38929
38929
{
38930
38930
"text": "When dealing with people, remember you are not dealing with creatures of logic, but with creatures bristling with prejudice and motivated by pride and vanity.",
0 commit comments