Added nicer apostrophes (#21271)

ref https://linear.app/tryghost/issue/DES-814/replace-dumb-quotes-with-smart-quotes-in-admin

- Replaced “dumb” apostrophes with “smart” (or “curly”) apostrophes, see
http://quotesandaccents.com/
This commit is contained in:
Djordje Vlaisavljevic 2024-10-10 10:11:19 +01:00 committed by GitHub
parent 2036747bef
commit bce8687004
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
23 changed files with 28 additions and 28 deletions

View File

@ -21,7 +21,7 @@ const ImportModalContent = () => {
modal.remove();
NiceModal.show(ConfirmationModal, {
title: 'Import in progress',
prompt: `Your import is being processed, and you'll receive a confirmation email as soon as it's complete. Usually this only takes a few minutes, but larger imports may take longer.`,
prompt: `Your import is being processed, and you'll receive a confirmation email as soon as its complete. Usually this only takes a few minutes, but larger imports may take longer.`,
cancelLabel: '',
okLabel: 'Got it',
onOk: confirmModal => confirmModal?.remove(),

View File

@ -28,7 +28,7 @@ const UniversalImportModal: React.FC = () => {
modal.remove();
NiceModal.show(ConfirmationModal, {
title: 'Import in progress',
prompt: `Your import is being processed, and you'll receive a confirmation email as soon as it's complete. Usually this only takes a few minutes, but larger imports may take longer.`,
prompt: `Your import is being processed, and you'll receive a confirmation email as soon as its complete. Usually this only takes a few minutes, but larger imports may take longer.`,
cancelLabel: '',
okLabel: 'Got it',
onOk: confirmModal => confirmModal?.remove(),

View File

@ -31,7 +31,7 @@ const SocialAccounts: React.FC<{ keywords: string[] }> = ({keywords}) => {
<SettingGroupContent
values={[
{
heading: `URL of your publication's Facebook Page`,
heading: `URL of your publications Facebook Page`,
key: 'facebook',
value: facebookUrl,
hideEmptyValue: true
@ -53,7 +53,7 @@ const SocialAccounts: React.FC<{ keywords: string[] }> = ({keywords}) => {
hint={errors.facebook}
inputRef={focusRef}
placeholder="https://www.facebook.com/ghost"
title={`URL of your publication's Facebook Page`}
title={`URL of your publications Facebook Page`}
value={facebookUrl}
onBlur={(e) => {
try {

View File

@ -21,7 +21,7 @@ test.describe('Social account settings', async () => {
await section.getByRole('button', {name: 'Edit'}).click();
await section.getByLabel(`URL of your publication's Facebook Page`).fill('https://www.facebook.com/fb');
await section.getByLabel(`URL of your publications Facebook Page`).fill('https://www.facebook.com/fb');
await section.getByLabel('URL of your X (formerly Twitter) profile').fill('https://x.com/tw');
await section.getByRole('button', {name: 'Save'}).click();
@ -49,7 +49,7 @@ test.describe('Social account settings', async () => {
const section = page.getByTestId('social-accounts');
await section.getByRole('button', {name: 'Edit'}).click();
const facebookInput = section.getByLabel(`URL of your publication's Facebook Page`);
const facebookInput = section.getByLabel(`URL of your publications Facebook Page`);
await testUrlValidation(
facebookInput,

View File

@ -8,7 +8,7 @@
{{#if @data.collection.count.posts}}
<span class="red">This collection is attached to <span data-test-text="posts-count">{{gh-pluralize @data.collection.count.posts "post"}}</span>.</span>
{{/if}}
You're about to delete "<strong>{{@data.collection.title}}</strong>". This is permanent! We warned you, k?
Youre about to delete "<strong>{{@data.collection.title}}</strong>". This is permanent! We warned you, k?
</div>
<div class="modal-footer">

View File

@ -1,7 +1,7 @@
<section class="gh-dashboard-resource gh-dashboard-whats-new" {{did-insert this.load}}>
<article class="gh-dashboard-resource-box">
<div class="gh-dashboard-resource-title">
<h4>{{svg-jar "gift" alt="Gift" class="v-mid"}}What's new</h4>
<h4>{{svg-jar "gift" alt="Gift" class="v-mid"}}Whats new</h4>
</div>
<div class="gh-dashboard-resource-body">
<div class="gh-dashboard-list {{if this.whatsNew.hasNew "has-new"}}">

View File

@ -6,7 +6,7 @@
<div class="modal-body">
<p>
You're about to delete the "<strong>{{@data.snippet.name}}</strong>" snippet. This is permanent, and will delete the snippet for all staff users. It will <strong>not</strong> change any posts where youve used this snippet in the past.
Youre about to delete the "<strong>{{@data.snippet.name}}</strong>" snippet. This is permanent, and will delete the snippet for all staff users. It will <strong>not</strong> change any posts where youve used this snippet in the past.
</p>
</div>

View File

@ -79,9 +79,9 @@
<div class="gh-members-no-stats">
<p>
{{#if @member.name}}
We'll show {{first-name @member.name}}'s email stats here once they receive their first newsletter.
Well show {{first-name @member.name}}s email stats here once they receive their first newsletter.
{{else}}
We'll show this member's email stats here once they receive their first newsletter.
Well show this members email stats here once they receive their first newsletter.
{{/if}}
</p>
</div>

View File

@ -16,7 +16,7 @@
<a class="gh-sidebar-banner-container" href={{entry.url}} target="_blank" rel="noopener noreferrer" {{on "click" (fn this.openFeaturedWhatsNew entry.url)}}>
<div class="gh-sidebar-banner-head">
{{svg-jar "sparkle-fill" class="gh-sidebar-banner-icon gh-whatsnew-banner-icon"}}
<span class="gh-sidebar-banner-subhead">What's new?</span>
<span class="gh-sidebar-banner-subhead">Whats new?</span>
</div>
<div class="gh-sidebar-banner-msg">{{entry.title}}</div>
{{#if entry.custom_excerpt}}

View File

@ -53,7 +53,7 @@
{{else}}
<li>
<button class="dropdown-item" tabindex="-1" data-test-nav="whatsnew" type="button" {{on "click" this.openWhatsNew}}>
What's new?
Whats new?
{{#if this.whatsNew.hasNew}}
<div class="flex-grow-1 flex justify-end"><span class="dib w2 h2 top-0 right-0 bg-green br-100"></span></div>
{{/if}}

View File

@ -44,7 +44,7 @@
<GhLoadingSpinner />
{{else}}
<p>
You're about to delete
Youre about to delete
<strong data-test-text="delete-count">{{gh-pluralize countFetcher.count "member"}}</strong>.
This is permanent! All Ghost data will be deleted, this will have no effect on subscriptions in Stripe.
</p>

View File

@ -59,7 +59,7 @@
/>
{{else}}
<p>
You're about to unsubscribe
Youre about to unsubscribe
<strong data-test-text="unsubscribe-count">{{gh-pluralize countFetcher.count "member"}}</strong> from email newsletters.
Are you sure?
</p>

View File

@ -6,7 +6,7 @@
<div class="modal-body">
<p>
You're about to delete label "<strong>{{this.label.name}}</strong>". This is permanent! We warned you, k?
Youre about to delete label "<strong>{{this.label.name}}</strong>". This is permanent! We warned you, k?
</p>
</div>

View File

@ -38,7 +38,7 @@
{{else}}
<div class="modal-body" data-test-state="unsubscribe-unconfirmed">
<p>
You're about to unsubscribe
Youre about to unsubscribe
<strong data-test-text="unsubscribe-count">{{gh-pluralize this.model.memberCount "member"}}</strong> from email newsletters.
Are you sure?
</p>

View File

@ -6,7 +6,7 @@
<div class="modal-body">
<p>
You're about to delete "<strong>{{@data.post.title}}</strong>".
Youre about to delete "<strong>{{@data.post.title}}</strong>".
This is permanent! We warned you, k?
</p>
</div>

View File

@ -6,7 +6,7 @@
<div class="modal-body">
<p>
Hey there! It looks like you're in the middle of writing something and
Hey there! It looks like youre in the middle of writing something and
you haven't saved all of your content.
</p>

View File

@ -1,5 +1,5 @@
<div class="modal-content">
<h1 class="gh-whasnew-modal-title">What's new?</h1>
<h1 class="gh-whasnew-modal-title">Whats new?</h1>
<section class="gh-whatsnew-modal-entries" {{did-insert (perform this.whatsNew.updateLastSeen)}}>
{{#each this.whatsNew.entries as |entry|}}
<a class="gh-whatsnew-modal-entry" href={{entry.url}} target="_blank" rel="noopener noreferrer">

View File

@ -6,7 +6,7 @@
<div class="modal-body mb9">
<p>
You're about to delete <strong>{{if @data.selectionList.isSingle (concat '"' @data.selectionList.first.title '"') (concat @data.selectionList.count ' ' @data.type 's')}}</strong>.
Youre about to delete <strong>{{if @data.selectionList.isSingle (concat '"' @data.selectionList.first.title '"') (concat @data.selectionList.count ' ' @data.type 's')}}</strong>.
This is permanent! We warned you, k?
</p>
</div>

View File

@ -6,7 +6,7 @@
<div class="modal-body mb9">
<p>
You're about to revert <strong>{{if @data.selectionList.isSingle (concat '"' @data.selectionList.first.title '"') (concat @data.selectionList.count ' ' @data.type 's')}}</strong> to a private draft.
Youre about to revert <strong>{{if @data.selectionList.isSingle (concat '"' @data.selectionList.first.title '"') (concat @data.selectionList.count ' ' @data.type 's')}}</strong> to a private draft.
</p>
</div>

View File

@ -6,7 +6,7 @@
<div class="modal-body mb9">
<p>
You're about to revert <strong>{{if @data.selectionList.isSingle (concat '"' @data.selectionList.first.title '"') (concat @data.selectionList.count ' ' @data.type 's')}}</strong> to a private draft.
Youre about to revert <strong>{{if @data.selectionList.isSingle (concat '"' @data.selectionList.first.title '"') (concat @data.selectionList.count ' ' @data.type 's')}}</strong> to a private draft.
</p>
</div>

View File

@ -8,7 +8,7 @@
{{#if @data.tag.count.posts}}
<span class="red">This tag is attached to <span data-test-text="posts-count">{{gh-pluralize @data.tag.count.posts "post"}}</span>.</span>
{{/if}}
You're about to delete "<strong>{{@data.tag.name}}</strong>". This is permanent! We warned you, k?
Youre about to delete "<strong>{{@data.tag.name}}</strong>". This is permanent! We warned you, k?
</div>
<div class="modal-footer">

View File

@ -1,6 +1,6 @@
<section class="gh-canvas js-settings-content gh-whats-new-canvas" {{scroll-top}}>
<GhCanvasHeader class="gh-canvas-header">
<h2 class="gh-whats-new-heading">{{svg-jar "gift"}} What's new?</h2>
<h2 class="gh-whats-new-heading">{{svg-jar "gift"}} Whats new?</h2>
<a href="https://ghost.org/changelog/#/portal/signup" class="gh-btn gh-btn-primary" type="button" target="_blank" rel="noopener noreferrer"><span>Turn on notifications</span></a>
</GhCanvasHeader>
<section class="view-container">

View File

@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>We'll be right back</title>
<title>Well be right back</title>
<style type="text/css">
* {
box-sizing: border-box;
@ -80,8 +80,8 @@ img {
</head>
<body>
<div class="content">
<h1>We'll be right back.</h1>
<p>We're busy updating our site to give you the best experience, and will be back soon.</p>
<h1>Well be right back.</h1>
<p>Were busy updating our site to give you the best experience, and will be back soon.</p>
</div>
</body>
</html>