Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion apps/comments-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tryghost/comments-ui",
"version": "1.4.2",
"version": "1.4.3",
"license": "MIT",
"repository": "https://github.com/TryGhost/Ghost",
"author": "Ghost Foundation",
Expand Down Expand Up @@ -43,6 +43,7 @@
]
},
"dependencies": {
"@doist/react-interpolate": "2.2.1",
"@headlessui/react": "1.7.19",
"@tiptap/core": "2.26.3",
"@tiptap/extension-blockquote": "2.26.3",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import Interpolate from '@doist/react-interpolate';
import {useAppContext} from '../../app-context';

const CommentingDisabledBox: React.FC = () => {
Expand All @@ -14,13 +15,12 @@ const CommentingDisabledBox: React.FC = () => {
</h1>
<p className="w-full text-balance text-center text-lg leading-normal text-neutral-900 sm:px-8 dark:text-white/85">
{supportEmail ? (
<>
{t('You can\'t post comments in this publication.')}{' '}
<a className="font-semibold hover:opacity-90" href={`mailto:${supportEmail}`} style={linkStyle}>
{t('Contact support')}
</a>{' '}
{t('for more information.')}
</>
<Interpolate
mapping={{
a: <a className="font-semibold hover:opacity-90" href={`mailto:${supportEmail}`} style={linkStyle} />
}}
string={t('You can\'t post comments in this publication. <a>Contact support</a> for more information.')}
/>
) : (
t('You can\'t post comments in this publication.')
)}
Expand Down
3 changes: 1 addition & 2 deletions ghost/i18n/locales/af/comments.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"Comment": "Kommentaar",
"Commenting disabled": "",
"Complete your profile": "Voltooi jou profiel",
"Contact support": "",
"Delete": "Skrap",
"Deleted": "",
"Deleted member": "Geskrapte lid",
Expand All @@ -30,7 +29,6 @@
"edited": "geredigeer",
"Enter your name": "Voer jou naam in",
"Expertise": "Kundigheid",
"for more information.": "",
"Founder @ Acme Inc": "Stigter @ Acme Inc",
"Full-time parent": "Voltydse ouer",
"Head of Marketing at Acme, Inc": "Hoof van Bemarking by Acme, Inc",
Expand Down Expand Up @@ -76,5 +74,6 @@
"View in admin": "",
"Yesterday": "Gister",
"You can't post comments in this publication.": "",
"You can't post comments in this publication. <a>Contact support</a> for more information.": "",
"Your request will be sent to the owner of this site.": "Jou versoek sal aan die eienaar van hierdie webwerf gestuur word."
}
3 changes: 1 addition & 2 deletions ghost/i18n/locales/ar/comments.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"Comment": "تعليق",
"Commenting disabled": "",
"Complete your profile": "إكمال ملفك الشخصى",
"Contact support": "",
"Delete": "حذف",
"Deleted": "",
"Deleted member": "الاعضاء المحذوفين",
Expand All @@ -30,7 +29,6 @@
"edited": "تم التعديل",
"Enter your name": "اكتب اسمك",
"Expertise": "مجال تخصصك",
"for more information.": "",
"Founder @ Acme Inc": "مؤسس لدى شركة أكمي",
"Full-time parent": "أب بدوام كامل",
"Head of Marketing at Acme, Inc": "رئيس وحدة التسويق لدى شركة أكمى",
Expand Down Expand Up @@ -76,5 +74,6 @@
"View in admin": "",
"Yesterday": "أمس",
"You can't post comments in this publication.": "",
"You can't post comments in this publication. <a>Contact support</a> for more information.": "",
"Your request will be sent to the owner of this site.": "سيتم ارسال طلبك لصاحب الموقع"
}
3 changes: 1 addition & 2 deletions ghost/i18n/locales/bg/comments.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"Comment": "Коментар",
"Commenting disabled": "Коментирането е изключено",
"Complete your profile": "Попълнете профила си",
"Contact support": "Връзка с поддръжката",
"Delete": "Изтриване",
"Deleted": "Изтрито",
"Deleted member": "Изтрит абонат",
Expand All @@ -30,7 +29,6 @@
"edited": "редактиран",
"Enter your name": "Попълнете името си",
"Expertise": "Компетенции",
"for more information.": "за повече информация.",
"Founder @ Acme Inc": "Основател на Компания ООД",
"Full-time parent": "Родител на пълно работно време",
"Head of Marketing at Acme, Inc": "Директор маркетинг в Компания ООД",
Expand Down Expand Up @@ -76,5 +74,6 @@
"View in admin": "Преглед в админ панела",
"Yesterday": "Вчера",
"You can't post comments in this publication.": "Не може да коментирате под тази публикация.",
"You can't post comments in this publication. <a>Contact support</a> for more information.": "Не може да коментирате под тази публикация. <a>Връзка с поддръжката</a> за повече информация.",
"Your request will be sent to the owner of this site.": "Искането ще бъде изпратено до собственика на сайта."
}
3 changes: 1 addition & 2 deletions ghost/i18n/locales/bn/comments.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"Comment": "মন্তব্য",
"Commenting disabled": "",
"Complete your profile": "আপনার প্রোফাইল সম্পূর্ণ করুন",
"Contact support": "",
"Delete": "মুছে ফেলুন",
"Deleted": "",
"Deleted member": "মুছে ফেলা সদস্য",
Expand All @@ -30,7 +29,6 @@
"edited": "",
"Enter your name": "আপনার নাম লিখুন",
"Expertise": "বিশেষজ্ঞতা",
"for more information.": "",
"Founder @ Acme Inc": "প্রতিষ্ঠাতা @ বাংলাদেশ ট্রেড হাব",
"Full-time parent": "পূর্ণকালীন অভিভাবক",
"Head of Marketing at Acme, Inc": "মার্কেটিং প্রধান @ বাংলাদেশ ট্রেড হাব",
Expand Down Expand Up @@ -76,5 +74,6 @@
"View in admin": "",
"Yesterday": "গতকাল",
"You can't post comments in this publication.": "",
"You can't post comments in this publication. <a>Contact support</a> for more information.": "",
"Your request will be sent to the owner of this site.": "আপনার অনুরোধ সাইটের মালিকের কাছে পাঠানো হবে।"
}
3 changes: 1 addition & 2 deletions ghost/i18n/locales/bs/comments.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"Comment": "Komentar",
"Commenting disabled": "",
"Complete your profile": "Dovrši svoj profil",
"Contact support": "",
"Delete": "Obriši",
"Deleted": "",
"Deleted member": "Obrisan član",
Expand All @@ -30,7 +29,6 @@
"edited": "uređeno",
"Enter your name": "Unesi ime",
"Expertise": "Stručnost",
"for more information.": "",
"Founder @ Acme Inc": "Acme Inc osnivač",
"Full-time parent": "Full time roditelj",
"Head of Marketing at Acme, Inc": "Šef marketinga u kompaniji Acme d.o.o",
Expand Down Expand Up @@ -76,5 +74,6 @@
"View in admin": "",
"Yesterday": "Jučer",
"You can't post comments in this publication.": "",
"You can't post comments in this publication. <a>Contact support</a> for more information.": "",
"Your request will be sent to the owner of this site.": "Tvoj zahtjev je poslan vlasniku stranice."
}
3 changes: 1 addition & 2 deletions ghost/i18n/locales/ca/comments.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"Comment": "Comentari",
"Commenting disabled": "",
"Complete your profile": "Completa el teu perfil",
"Contact support": "",
"Delete": "Esborra",
"Deleted": "Esborrat",
"Deleted member": "Membre esborrat",
Expand All @@ -30,7 +29,6 @@
"edited": "editat",
"Enter your name": "Escriu el teu nom",
"Expertise": "Expertesa",
"for more information.": "",
"Founder @ Acme Inc": "Fundador @ Acme Inc",
"Full-time parent": "Pare a temps complet",
"Head of Marketing at Acme, Inc": "Cap de màrqueting a Acme, Inc",
Expand Down Expand Up @@ -76,5 +74,6 @@
"View in admin": "",
"Yesterday": "Ahir",
"You can't post comments in this publication.": "",
"You can't post comments in this publication. <a>Contact support</a> for more information.": "",
"Your request will be sent to the owner of this site.": "La teva sol·licitud s'enviarà al propietari d'aquest lloc."
}
8 changes: 4 additions & 4 deletions ghost/i18n/locales/context.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"Code": "",
"Comment": "Button text to post your comment, on smaller devices",
"Comment preferences updated.": "Shown when a user changes preferences in Portal",
"Commenting disabled": "",
"Commenting disabled": "Heading shown in the comments UI when a member's commenting privileges have been disabled",
"Comments": "A title for the comments section on a post",
"Complete signup for {siteTitle}!": "Magic link email",
"Complete your profile": "Title of the modal to edit your expertise in the comments app",
Expand Down Expand Up @@ -329,7 +329,7 @@
"Verify your email address is correct": "A section title in the email receiving FAQ",
"Verifying...": "",
"View comments": "Link text in comment email to view the comments",
"View in admin": "",
"View in admin": "Context menu item in the comments UI that opens a comment in the Ghost admin panel",
"View in browser": "Link in the newsletter header taking the user to the website",
"View plans": "A button to view available plans",
"We couldn't unsubscribe you as the email address was not found. Please contact the site owner.": "An error message when an unsubscribe link is clicked, but we don't have any record of the address being unsubscribed. Probably because the email address on the account has been changed.",
Expand All @@ -350,7 +350,8 @@
"You are receiving this because you are a <strong>%%{status}%% subscriber</strong> to {site}.": "Shown at the bottom of the newsletter. Status will be one of free/paid/trialing/complimentary - see those strings below.",
"You can also copy & paste this URL into your browser:": "Descriptive text displayed underneath the buttons in login/signup emails, right before authentication URLs which can be copy/pasted",
"You can unsubscribe from these notifications at {profileUrl}.": "Footer text in comments email to manage notification preferences for users",
"You can't post comments in this publication.": "",
"You can't post comments in this publication.": "Shown in the comments UI when a member's commenting privileges have been disabled and no support email is configured",
"You can't post comments in this publication. <a>Contact support</a> for more information.": "Shown in the comments UI when a member's commenting privileges have been disabled. The <a>...</a> tag wraps a mailto link to the publication's support email address",
"You currently have a free membership, upgrade to a paid subscription for full access.": "A message indicating that the member is using a free subcription, and could access more content with a paid subscription",
"You have been successfully resubscribed": "A confirmation message when a member has had emails turned off, but they have been successfully turned back on",
"You just tried to access your account from a new device.": "Device verification (forthcoming)",
Expand Down Expand Up @@ -380,7 +381,6 @@
"Your verification code for {siteTitle}": "Device verification email",
"complimentary": "Will be substituted into status for 'You are receiving this because you are a <strong>%%{status}%% subscriber</strong> to {site}.'",
"edited": "label for an edited comment",
"for more information.": "",
"free": "Will be substituted into status for 'You are receiving this because you are a <strong>%%{status}%% subscriber</strong> to {site}.'",
"jamie@example.com": "Placeholder for email input field",
"month": "the subscription interval (monthly), following the /",
Expand Down
3 changes: 1 addition & 2 deletions ghost/i18n/locales/cs/comments.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"Comment": "Komentář",
"Commenting disabled": "",
"Complete your profile": "Dokončete svůj profil",
"Contact support": "",
"Delete": "Smazat",
"Deleted": "",
"Deleted member": "Smazaný člen",
Expand All @@ -30,7 +29,6 @@
"edited": "upraveno",
"Enter your name": "Zadejte své jméno",
"Expertise": "Odbornost",
"for more information.": "",
"Founder @ Acme Inc": "Zakladatel @ Acme Inc",
"Full-time parent": "Rodič na plný úvazek",
"Head of Marketing at Acme, Inc": "Vedoucí marketingu v Acme, Inc",
Expand Down Expand Up @@ -76,5 +74,6 @@
"View in admin": "",
"Yesterday": "Včera",
"You can't post comments in this publication.": "",
"You can't post comments in this publication. <a>Contact support</a> for more information.": "",
"Your request will be sent to the owner of this site.": "Vaše žádost bude odeslána vlastníkovi tohoto webu."
}
3 changes: 1 addition & 2 deletions ghost/i18n/locales/da/comments.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"Comment": "Kommentér",
"Commenting disabled": "",
"Complete your profile": "Færdiggør din profil",
"Contact support": "",
"Delete": "Slet",
"Deleted": "Slettet",
"Deleted member": "Slettet medlem",
Expand All @@ -30,7 +29,6 @@
"edited": "redigeret",
"Enter your name": "Indtast dit navn",
"Expertise": "Ekspertise",
"for more information.": "",
"Founder @ Acme Inc": "Grundlægger @ Acme Inc",
"Full-time parent": "Forældre på fuld tid",
"Head of Marketing at Acme, Inc": "Chef for marking hos Acme, Inc",
Expand Down Expand Up @@ -76,5 +74,6 @@
"View in admin": "",
"Yesterday": "I går",
"You can't post comments in this publication.": "",
"You can't post comments in this publication. <a>Contact support</a> for more information.": "",
"Your request will be sent to the owner of this site.": "Din anmodning vil blive sendt til ejeren af dette site."
}
3 changes: 1 addition & 2 deletions ghost/i18n/locales/de-CH/comments.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"Comment": "Kommentar",
"Commenting disabled": "Kommentare deaktiviert",
"Complete your profile": "Vervollständigen Sie Ihr Profil",
"Contact support": "Kontaktieren Sie den Support",
"Delete": "Löschen",
"Deleted": "Gelöscht",
"Deleted member": "Gelöschtes Mitglied",
Expand All @@ -30,7 +29,6 @@
"edited": "bearbeitet",
"Enter your name": "Geben Sie Ihren Namen ein",
"Expertise": "Expertise",
"for more information.": "für weitere Informationen.",
"Founder @ Acme Inc": "Gründer bei Acme Inc",
"Full-time parent": "Vollzeit-Elternteil",
"Head of Marketing at Acme, Inc": "Leiter Marketing bei Acme, Inc",
Expand Down Expand Up @@ -76,5 +74,6 @@
"View in admin": "Im Admin anzeigen",
"Yesterday": "Gestern",
"You can't post comments in this publication.": "Sie können in dieser Publikation keine Kommentare schreiben.",
"You can't post comments in this publication. <a>Contact support</a> for more information.": "Sie können in dieser Publikation keine Kommentare schreiben. <a>Kontaktieren Sie den Support</a> für weitere Informationen.",
"Your request will be sent to the owner of this site.": "Ihre Anfrage wird an den Seitenbesitzer gesendet."
}
3 changes: 1 addition & 2 deletions ghost/i18n/locales/de/comments.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"Comment": "Kommentar",
"Commenting disabled": "",
"Complete your profile": "Vervollständige dein Profil",
"Contact support": "",
"Delete": "Löschen",
"Deleted": "Gelöscht",
"Deleted member": "Gelöschtes Mitglied",
Expand All @@ -30,7 +29,6 @@
"edited": "bearbeitet",
"Enter your name": "Gib deinen Namen ein",
"Expertise": "Expertise",
"for more information.": "",
"Founder @ Acme Inc": "Gründer bei Acme Inc",
"Full-time parent": "Vollzeit-Elternteil",
"Head of Marketing at Acme, Inc": "Leiter Marketing bei Acme, Inc",
Expand Down Expand Up @@ -76,5 +74,6 @@
"View in admin": "",
"Yesterday": "Gestern",
"You can't post comments in this publication.": "",
"You can't post comments in this publication. <a>Contact support</a> for more information.": "",
"Your request will be sent to the owner of this site.": "Deine Anfrage wird an den Besitzer dieser Website gesendet."
}
3 changes: 1 addition & 2 deletions ghost/i18n/locales/el/comments.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"Comment": "Σχόλιο",
"Commenting disabled": "",
"Complete your profile": "Ολοκληρώστε το προφίλ σας",
"Contact support": "",
"Delete": "Διαγραφή",
"Deleted": "",
"Deleted member": "Διαγραμμένο μέλος",
Expand All @@ -30,7 +29,6 @@
"edited": "Επεξεργασμένο",
"Enter your name": "Εισάγετε το όνομά σας",
"Expertise": "Εξειδίκευση",
"for more information.": "",
"Founder @ Acme Inc": "Ιδρυτής @ Acme Inc",
"Full-time parent": "Γονέας πλήρους απασχόλησης",
"Head of Marketing at Acme, Inc": "Επικεφαλής Μάρκετινγκ στην Acme, Inc",
Expand Down Expand Up @@ -76,5 +74,6 @@
"View in admin": "",
"Yesterday": "Χθες",
"You can't post comments in this publication.": "",
"You can't post comments in this publication. <a>Contact support</a> for more information.": "",
"Your request will be sent to the owner of this site.": "Το αίτημά σας θα σταλεί στον ιδιοκτήτη αυτού του ιστότοπου."
}
3 changes: 1 addition & 2 deletions ghost/i18n/locales/en/comments.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"Comment": "",
"Commenting disabled": "",
"Complete your profile": "",
"Contact support": "",
"Delete": "",
"Deleted": "",
"Deleted member": "",
Expand All @@ -30,7 +29,6 @@
"edited": "",
"Enter your name": "",
"Expertise": "",
"for more information.": "",
"Founder @ Acme Inc": "",
"Full-time parent": "",
"Head of Marketing at Acme, Inc": "",
Expand Down Expand Up @@ -76,5 +74,6 @@
"View in admin": "",
"Yesterday": "",
"You can't post comments in this publication.": "",
"You can't post comments in this publication. <a>Contact support</a> for more information.": "",
"Your request will be sent to the owner of this site.": ""
}
3 changes: 1 addition & 2 deletions ghost/i18n/locales/eo/comments.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"Comment": "",
"Commenting disabled": "",
"Complete your profile": "",
"Contact support": "",
"Delete": "",
"Deleted": "",
"Deleted member": "",
Expand All @@ -30,7 +29,6 @@
"edited": "",
"Enter your name": "",
"Expertise": "",
"for more information.": "",
"Founder @ Acme Inc": "",
"Full-time parent": "",
"Head of Marketing at Acme, Inc": "",
Expand Down Expand Up @@ -76,5 +74,6 @@
"View in admin": "",
"Yesterday": "",
"You can't post comments in this publication.": "",
"You can't post comments in this publication. <a>Contact support</a> for more information.": "",
"Your request will be sent to the owner of this site.": ""
}
3 changes: 1 addition & 2 deletions ghost/i18n/locales/es/comments.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"Comment": "Comentar",
"Commenting disabled": "",
"Complete your profile": "Completa tu perfil",
"Contact support": "",
"Delete": "Eliminar",
"Deleted": "Eliminado",
"Deleted member": "Eliminar miembro",
Expand All @@ -30,7 +29,6 @@
"edited": "editado",
"Enter your name": "Introduce tu nombre",
"Expertise": "Experiencia",
"for more information.": "",
"Founder @ Acme Inc": "Fundador @ Acme Inc",
"Full-time parent": "Padre a tiempo completo",
"Head of Marketing at Acme, Inc": "Jefe de Marketing en Acme, Inc",
Expand Down Expand Up @@ -76,5 +74,6 @@
"View in admin": "",
"Yesterday": "Ayer",
"You can't post comments in this publication.": "",
"You can't post comments in this publication. <a>Contact support</a> for more information.": "",
"Your request will be sent to the owner of this site.": "Tu petición será enviada al dueño de este sitio web."
}
Loading
Loading