mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-22 11:16:01 +03:00
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:
parent
2036747bef
commit
bce8687004
@ -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 it’s complete. Usually this only takes a few minutes, but larger imports may take longer.`,
|
||||
cancelLabel: '',
|
||||
okLabel: 'Got it',
|
||||
onOk: confirmModal => confirmModal?.remove(),
|
||||
|
@ -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 it’s complete. Usually this only takes a few minutes, but larger imports may take longer.`,
|
||||
cancelLabel: '',
|
||||
okLabel: 'Got it',
|
||||
onOk: confirmModal => confirmModal?.remove(),
|
||||
|
@ -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 publication’s 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 publication’s Facebook Page`}
|
||||
value={facebookUrl}
|
||||
onBlur={(e) => {
|
||||
try {
|
||||
|
@ -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 publication’s 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 publication’s Facebook Page`);
|
||||
|
||||
await testUrlValidation(
|
||||
facebookInput,
|
||||
|
@ -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?
|
||||
You’re about to delete "<strong>{{@data.collection.title}}</strong>". This is permanent! We warned you, k?
|
||||
</div>
|
||||
|
||||
<div class="modal-footer">
|
||||
|
@ -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"}}What’s new</h4>
|
||||
</div>
|
||||
<div class="gh-dashboard-resource-body">
|
||||
<div class="gh-dashboard-list {{if this.whatsNew.hasNew "has-new"}}">
|
||||
|
@ -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 you’ve used this snippet in the past.
|
||||
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 you’ve used this snippet in the past.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
@ -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.
|
||||
We’ll 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.
|
||||
We’ll show this member’s email stats here once they receive their first newsletter.
|
||||
{{/if}}
|
||||
</p>
|
||||
</div>
|
||||
|
@ -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">What’s new?</span>
|
||||
</div>
|
||||
<div class="gh-sidebar-banner-msg">{{entry.title}}</div>
|
||||
{{#if entry.custom_excerpt}}
|
||||
|
@ -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?
|
||||
What’s 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}}
|
||||
|
@ -44,7 +44,7 @@
|
||||
<GhLoadingSpinner />
|
||||
{{else}}
|
||||
<p>
|
||||
You're about to delete
|
||||
You’re 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>
|
||||
|
@ -59,7 +59,7 @@
|
||||
/>
|
||||
{{else}}
|
||||
<p>
|
||||
You're about to unsubscribe
|
||||
You’re about to unsubscribe
|
||||
<strong data-test-text="unsubscribe-count">{{gh-pluralize countFetcher.count "member"}}</strong> from email newsletters.
|
||||
Are you sure?
|
||||
</p>
|
||||
|
@ -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?
|
||||
You’re about to delete label "<strong>{{this.label.name}}</strong>". This is permanent! We warned you, k?
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
@ -38,7 +38,7 @@
|
||||
{{else}}
|
||||
<div class="modal-body" data-test-state="unsubscribe-unconfirmed">
|
||||
<p>
|
||||
You're about to unsubscribe
|
||||
You’re about to unsubscribe
|
||||
<strong data-test-text="unsubscribe-count">{{gh-pluralize this.model.memberCount "member"}}</strong> from email newsletters.
|
||||
Are you sure?
|
||||
</p>
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
<div class="modal-body">
|
||||
<p>
|
||||
You're about to delete "<strong>{{@data.post.title}}</strong>".
|
||||
You’re about to delete "<strong>{{@data.post.title}}</strong>".
|
||||
This is permanent! We warned you, k?
|
||||
</p>
|
||||
</div>
|
||||
|
@ -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 you’re in the middle of writing something and
|
||||
you haven't saved all of your content.
|
||||
</p>
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
<div class="modal-content">
|
||||
<h1 class="gh-whasnew-modal-title">What's new?</h1>
|
||||
<h1 class="gh-whasnew-modal-title">What’s 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">
|
||||
|
@ -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>.
|
||||
You’re 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>
|
||||
|
@ -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.
|
||||
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.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
@ -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.
|
||||
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.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
@ -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?
|
||||
You’re about to delete "<strong>{{@data.tag.name}}</strong>". This is permanent! We warned you, k?
|
||||
</div>
|
||||
|
||||
<div class="modal-footer">
|
||||
|
@ -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"}} What’s 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">
|
||||
|
@ -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>We’ll 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>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>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user