Skip to content
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const TierPriceChangeEvent = require('../../../tiers/tier-price-change-event');
const TierNameChangeEvent = require('../../../tiers/tier-name-change-event');
const OfferCreatedEvent = require('../../../offers/domain/events/offer-created-event');
const {BadRequestError} = require('@tryghost/errors');
const {t} = require('../../../i18n');

class PaymentsService {
/**
Expand Down Expand Up @@ -358,7 +359,7 @@ class PaymentsService {
* @returns {string}
*/
getDonationPriceNickname() {
const nickname = 'Support ' + this.settingsCache.get('title');
const nickname = `${t('Support')} ${this.settingsCache.get('title')}`;
return nickname.substring(0, 250);
}

Expand Down
1 change: 1 addition & 0 deletions ghost/i18n/locales/af/ghost.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"Someone just replied to your comment": "",
"Someone just replied to your comment on {postTitle}.": "",
"Subscription details": "",
"Support": "",
"Tap the link below to complete the signup process for {siteTitle}, and be automatically signed in:": "Kliek op die skakel hieronder om die aanmeldproses vir {siteTitle} te voltooi, en om outomaties in te teken:",
"Thank you for signing up to {siteTitle}!": "Dankie dat u aangemeld het by {siteTitle}!",
"Thank you for subscribing to {siteTitle}!": "Dankie dat u ingeskryf het by {siteTitle}!",
Expand Down
1 change: 1 addition & 0 deletions ghost/i18n/locales/ar/ghost.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
"Someone just replied to your comment": "",
"Someone just replied to your comment on {postTitle}.": "",
"Subscription details": "تفاصيل الاشتراك",
"Support": "",
"Tap the link below to complete the signup process for {siteTitle}, and be automatically signed in:": "انقر الرابط ادناه لاكمال عملية التسجيل في {siteTitle}, والدخول مباشرة:",
"Thank you for signing up to {siteTitle}!": "شكرا لتسجيلك في {siteTitle}!",
"Thank you for subscribing to {siteTitle}!": "شكرا لاشتراكك في {siteTitle}!",
Expand Down
1 change: 1 addition & 0 deletions ghost/i18n/locales/bg/ghost.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"Someone just replied to your comment": "Някой току-що отговори на коментара ви",
"Someone just replied to your comment on {postTitle}.": "Някой току-що отговори на коментара ви към {postTitle}.",
"Subscription details": "Детайли за абонамента",
"Support": "",
"Tap the link below to complete the signup process for {siteTitle}, and be automatically signed in:": "Използвайте бутона долу, за да създадете профил в {siteTitle} и да влезете автоматично в сайта:",
"Thank you for signing up to {siteTitle}!": "Благодарим Ви, че се регистрирахте в {siteTitle}!",
"Thank you for subscribing to {siteTitle}!": "Благодарим Ви, че се абонирахте за {siteTitle}!",
Expand Down
1 change: 1 addition & 0 deletions ghost/i18n/locales/bn/ghost.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"Someone just replied to your comment": "",
"Someone just replied to your comment on {postTitle}.": "",
"Subscription details": "",
"Support": "",
"Tap the link below to complete the signup process for {siteTitle}, and be automatically signed in:": "{siteTitle} এর সাইন আপ প্রক্রিয়া সম্পূর্ণ করতে নিচের লিঙ্কে ট্যাপ করুন, এবং স্বয়ংক্রিয়ভাবে সাইন ইন হবেন:",
"Thank you for signing up to {siteTitle}!": "{siteTitle} এ সাইন আপ করার জন্য ধন্যবাদ!",
"Thank you for subscribing to {siteTitle}!": "{siteTitle} এ সাবস্ক্রাইব করার জন্য ধন্যবাদ!",
Expand Down
1 change: 1 addition & 0 deletions ghost/i18n/locales/bs/ghost.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
"Someone just replied to your comment": "",
"Someone just replied to your comment on {postTitle}.": "",
"Subscription details": "",
"Support": "",
"Tap the link below to complete the signup process for {siteTitle}, and be automatically signed in:": "Klikni na link ispod da dovršiš kreiranje računa za {siteTitle} i automatsku prijavu:",
"Thank you for signing up to {siteTitle}!": "Hvala na kreiranju računa za {siteTitle}!",
"Thank you for subscribing to {siteTitle}!": "Hvala na pretplati za {siteTitle}!",
Expand Down
1 change: 1 addition & 0 deletions ghost/i18n/locales/ca/ghost.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
"Someone just replied to your comment": "",
"Someone just replied to your comment on {postTitle}.": "",
"Subscription details": "Detalls de la subscripció",
"Support": "",
"Tap the link below to complete the signup process for {siteTitle}, and be automatically signed in:": "Fes clic sobre l'enllaç per completar el procés de registre a {siteTitle} i iniciar sessió automàticament:",
"Thank you for signing up to {siteTitle}!": "Gràcies per registrar-te a {siteTitle}!",
"Thank you for subscribing to {siteTitle}!": "Gràcies per subscriure't a {siteTitle}!",
Expand Down
3 changes: 2 additions & 1 deletion ghost/i18n/locales/context.json
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@
"Success! Your account is fully activated, you now have access to all content.": "Notification text when a user has activated their email and can access content",
"Success! Your email is updated.": "Notification text when a user has updated their email address",
"Successfully unsubscribed": "A confirmation message when a member clicks an unsubscribe link",
"Support": "Label used in the Stripe Checkout product title for site donations",
"Tags": "Search results header",
"Tap the link below to complete the signup process for {siteTitle}, and be automatically signed in:": "Magic link email",
"Thank you for signing up to {siteTitle}!": "Magic link email",
Expand Down Expand Up @@ -479,4 +480,4 @@
"{tierName} membership": "Label shown on the gift subscription Open Graph preview image, combining the membership tier name with the word 'membership' (e.g. 'Gold membership'). {tierName} is the tier name. Translators may reword as needed for their language.",
"{trialDays} days free": "Portal - label for a free trial that lasts a specific number of days",
"{years} years": "Duration label for a multiple-year subscription"
}
}
1 change: 1 addition & 0 deletions ghost/i18n/locales/cs/ghost.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
"Someone just replied to your comment": "",
"Someone just replied to your comment on {postTitle}.": "",
"Subscription details": "Detaily předplatného",
"Support": "",
"Tap the link below to complete the signup process for {siteTitle}, and be automatically signed in:": "Klikněte na následující odkaz pro dokončení registrace u {siteTitle} a automatické přihlášení:",
"Thank you for signing up to {siteTitle}!": "Děkujeme za registraci u {siteTitle}!",
"Thank you for subscribing to {siteTitle}!": "Děkujeme za odběr na {siteTitle}!",
Expand Down
1 change: 1 addition & 0 deletions ghost/i18n/locales/da/ghost.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"Someone just replied to your comment": "",
"Someone just replied to your comment on {postTitle}.": "",
"Subscription details": "Abonnementsoplysninger",
"Support": "",
"Tap the link below to complete the signup process for {siteTitle}, and be automatically signed in:": "Klik på linked nedenfor for at gennemføre oprettelsen af din konto hos {siteTitle}. Du bliver automatisk logget ind:",
"Thank you for signing up to {siteTitle}!": "Tak fordi du oprettede en konto hos {siteTitle}",
"Thank you for subscribing to {siteTitle}!": "Tak fordi du abonnerer hos {siteTitle}",
Expand Down
1 change: 1 addition & 0 deletions ghost/i18n/locales/de-CH/ghost.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"Someone just replied to your comment": "Jemand hat gerade auf Ihren Kommentar geantwortet",
"Someone just replied to your comment on {postTitle}.": "Jemand hat gerade auf Ihren Kommentar zu {postTitle} geantwortet",
"Subscription details": "Abo Details",
"Support": "",
"Tap the link below to complete the signup process for {siteTitle}, and be automatically signed in:": "Mit dem untenstehenden Link schliessen Sie Ihre Registrierung bei «{siteTitle}» ab:",
"Thank you for signing up to {siteTitle}!": "Danke für Ihre Registrierung bei unserer Seite «{siteTitle}»!",
"Thank you for subscribing to {siteTitle}!": "Danke für Ihr Abo bei unserer Seite «{siteTitle}»!",
Expand Down
1 change: 1 addition & 0 deletions ghost/i18n/locales/de/ghost.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"Someone just replied to your comment": "Jemand hat auf deinen Kommentar geantwortet",
"Someone just replied to your comment on {postTitle}.": "Jemand hat auf deinen Kommentar zu {postTitle} geantwortet.",
"Subscription details": "Abo Details",
"Support": "",
"Tap the link below to complete the signup process for {siteTitle}, and be automatically signed in:": "Bitte klicke auf den unten stehenden Link, um deine Registrierung bei {siteTitle} abzuschließen und automatisch eingeloggt zu werden:",
"Thank you for signing up to {siteTitle}!": "Danke für deine Registrierung bei {siteTitle}!",
"Thank you for subscribing to {siteTitle}!": "Danke für dein Abonnement von {siteTitle}!",
Expand Down
1 change: 1 addition & 0 deletions ghost/i18n/locales/el/ghost.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"Someone just replied to your comment": "",
"Someone just replied to your comment on {postTitle}.": "",
"Subscription details": "",
"Support": "",
"Tap the link below to complete the signup process for {siteTitle}, and be automatically signed in:": "Πατήστε τον παρακάτω σύνδεσμο για να ολοκληρώσετε τη διαδικασία εγγραφής στο {siteTitle} και να συνδεθείτε αυτόματα:",
"Thank you for signing up to {siteTitle}!": "Ευχαριστούμε που εγγραφήκατε στο {siteTitle}!",
"Thank you for subscribing to {siteTitle}!": "Ευχαριστούμε που εγγραφήκατε στο {siteTitle}!",
Expand Down
1 change: 1 addition & 0 deletions ghost/i18n/locales/en/ghost.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"Someone just replied to your comment": "",
"Someone just replied to your comment on {postTitle}.": "",
"Subscription details": "",
"Support": "",
"Tap the link below to complete the signup process for {siteTitle}, and be automatically signed in:": "",
"Thank you for signing up to {siteTitle}!": "",
"Thank you for subscribing to {siteTitle}!": "",
Expand Down
1 change: 1 addition & 0 deletions ghost/i18n/locales/eo/ghost.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"Someone just replied to your comment": "",
"Someone just replied to your comment on {postTitle}.": "",
"Subscription details": "",
"Support": "",
"Tap the link below to complete the signup process for {siteTitle}, and be automatically signed in:": "Premu la suban ligilon por kompletigi la aliĝprocezon por {siteTitle}, kaj estu ensalutinta aŭtomate:",
"Thank you for signing up to {siteTitle}!": "Dankon pro aliĝi al {siteTitle}!",
"Thank you for subscribing to {siteTitle}!": "Dankon pro abono al {siteTitle}!",
Expand Down
1 change: 1 addition & 0 deletions ghost/i18n/locales/es/ghost.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
"Someone just replied to your comment": "Alguien acaba de responder a tu comentario",
"Someone just replied to your comment on {postTitle}.": "Alguien acaba de responder a tu comentario en {postTitle}.",
"Subscription details": "Detalles de tu suscripción",
"Support": "",
"Tap the link below to complete the signup process for {siteTitle}, and be automatically signed in:": "Haz clic en el siguiente enlace para completar el registro en {siteTitle}, e iniciar sesión automáticamente:",
"Thank you for signing up to {siteTitle}!": "¡Gracias por tu registro en {siteTitle}!",
"Thank you for subscribing to {siteTitle}!": "¡Gracias por tu suscripción a {siteTitle}!",
Expand Down
1 change: 1 addition & 0 deletions ghost/i18n/locales/et/ghost.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"Someone just replied to your comment": "",
"Someone just replied to your comment on {postTitle}.": "",
"Subscription details": "",
"Support": "",
"Tap the link below to complete the signup process for {siteTitle}, and be automatically signed in:": "Vajuta alloleval lingil, et lõpetada {siteTitle} registreerimisprotsess ja et automaatselt sisse logida:",
"Thank you for signing up to {siteTitle}!": "Aitäh, et registreerusid {siteTitle} kasutajaks!",
"Thank you for subscribing to {siteTitle}!": "Aitäh, et hakkasid {siteTitle} jälgijaks!",
Expand Down
1 change: 1 addition & 0 deletions ghost/i18n/locales/eu/ghost.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"Someone just replied to your comment": "Norbaitek zure iruzkinari erantzun dio",
"Someone just replied to your comment on {postTitle}.": "Norbaitek {postTitle} argitalpenean egin zenuen iruzkinari erantzun dio.",
"Subscription details": "Harpidetzaren xehetasunak",
"Support": "",
"Tap the link below to complete the signup process for {siteTitle}, and be automatically signed in:": "Egin tap beheko estekan {siteTitle}(e)ko izen-ematea burutzeko eta saioa automatikoki hasteko:",
"Thank you for signing up to {siteTitle}!": "Eskerrik asko {siteTitle}(e)n izena emateagatik!",
"Thank you for subscribing to {siteTitle}!": "Eskerrik asko {siteTitle}(e)ra harpidetzeagatik!",
Expand Down
1 change: 1 addition & 0 deletions ghost/i18n/locales/fa/ghost.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"Someone just replied to your comment": "",
"Someone just replied to your comment on {postTitle}.": "",
"Subscription details": "",
"Support": "",
"Tap the link below to complete the signup process for {siteTitle}, and be automatically signed in:": "برای تکمیل عضویت خود برای وب\u200cسایت {siteTitle} برروی پیوند زیر کلیک کنید، پس از آن شما به صورت خودکار وارد حساب خود خواهید شد:",
"Thank you for signing up to {siteTitle}!": "با سپاس از عضویت شما برای وب\u200cسایت {siteTitle}!",
"Thank you for subscribing to {siteTitle}!": "با سپاس از مشترک شدن شما به برای وب\u200cسایت {siteTitle}!",
Expand Down
1 change: 1 addition & 0 deletions ghost/i18n/locales/fi/ghost.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"Someone just replied to your comment": "Joku on juuri vastannut kommenttiisi",
"Someone just replied to your comment on {postTitle}.": "Joku on juuri vastannut kommenttiisi kirjoituksessa {postTitle}",
"Subscription details": "Tilauksen tiedot",
"Support": "",
"Tap the link below to complete the signup process for {siteTitle}, and be automatically signed in:": "Klikkaa alla olevaa linkkiä viimeistelläksesi rekisteröitymisen sivulle {siteTitle}:",
"Thank you for signing up to {siteTitle}!": "Kiitos rekisteröitymisestä sivulle {siteTitle}",
"Thank you for subscribing to {siteTitle}!": "Kiitos tilauksestasi sivulle {siteTitle}",
Expand Down
1 change: 1 addition & 0 deletions ghost/i18n/locales/fr/ghost.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
"Someone just replied to your comment": "Quelqu'un vient de répondre à votre commentaire",
"Someone just replied to your comment on {postTitle}.": "Quelqu'un vient de répondre à votre commentaire sur {postTitle}.",
"Subscription details": "Détails de l'abonnement",
"Support": "Soutenir",
"Tap the link below to complete the signup process for {siteTitle}, and be automatically signed in:": "Cliquez sur le lien ci-dessous pour compléter votre inscription à {siteTitle} et vous connecter automatiquement :",
"Thank you for signing up to {siteTitle}!": "Merci pour votre inscription à {siteTitle} !",
"Thank you for subscribing to {siteTitle}!": "Merci pour votre abonnement à {siteTitle} !",
Expand Down
1 change: 1 addition & 0 deletions ghost/i18n/locales/gd/ghost.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
"Someone just replied to your comment": "",
"Someone just replied to your comment on {postTitle}.": "",
"Subscription details": "Fiosrachadh an fho-sgrìobhaidh",
"Support": "",
"Tap the link below to complete the signup process for {siteTitle}, and be automatically signed in:": "Dèan briog air a' cheangal gu h-ìosal gus dearbhadh gu bheil thu airson cunntas a chlàradh air an làrach-lìn, {siteTitle}, agus thèid do chlàradh a-steach gu fèin-obrachail",
"Thank you for signing up to {siteTitle}!": "Mòran taing airson cunntas a chlàradh air an làrach-lìn, {siteTitle}!",
"Thank you for subscribing to {siteTitle}!": "Mòran taing airson fo-sgrìobhadh ris an làrach-lìn, {siteTitle}!",
Expand Down
1 change: 1 addition & 0 deletions ghost/i18n/locales/he/ghost.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
"Someone just replied to your comment": "",
"Someone just replied to your comment on {postTitle}.": "",
"Subscription details": "פרטי מינוי",
"Support": "",
"Tap the link below to complete the signup process for {siteTitle}, and be automatically signed in:": "לחצו על הלינק למטה כדי לסיים את תהליך ההרשמה אל {siteTitle}, ותיכנסו למערכת באופן אוטומטי:",
"Thank you for signing up to {siteTitle}!": "תודה שנרשמתם אל {siteTitle}!",
"Thank you for subscribing to {siteTitle}!": "תודה שנרשמתם אל {siteTitle}!",
Expand Down
1 change: 1 addition & 0 deletions ghost/i18n/locales/hi/ghost.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"Someone just replied to your comment": "किसी ने आपकी टिप्पणी का उत्तर दिया है",
"Someone just replied to your comment on {postTitle}.": "किसी ने आपकी {postTitle} पर की गई टिप्पणी का उत्तर दिया है।",
"Subscription details": "सदस्यता विवरण",
"Support": "",
"Tap the link below to complete the signup process for {siteTitle}, and be automatically signed in:": "{siteTitle} के लिए साइनअप प्रक्रिया को पूरा करने के लिए नीचे दिए गए लिंक पर टैप करें, और स्वचालित रूप से साइन इन हो जाएं:",
"Thank you for signing up to {siteTitle}!": "{siteTitle} के लिए साइनअप करने के लिए धन्यवाद!",
"Thank you for subscribing to {siteTitle}!": "{siteTitle} की सदस्यता लेने के लिए धन्यवाद!",
Expand Down
1 change: 1 addition & 0 deletions ghost/i18n/locales/hr/ghost.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
"Someone just replied to your comment": "",
"Someone just replied to your comment on {postTitle}.": "",
"Subscription details": "Detalji pretplate",
"Support": "",
"Tap the link below to complete the signup process for {siteTitle}, and be automatically signed in:": "Završite registraciju na {siteTitle} klikom na ovaj link i automatski se prijavite:",
"Thank you for signing up to {siteTitle}!": "Hvala vam na registraciji na {siteTitle}!",
"Thank you for subscribing to {siteTitle}!": "Hvala vam na pretplati na {siteTitle}!",
Expand Down
1 change: 1 addition & 0 deletions ghost/i18n/locales/hu/ghost.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"Someone just replied to your comment": "Valaki válaszolt a hozzászólásodra",
"Someone just replied to your comment on {postTitle}.": "Valaki válaszolt a hozzászólásodra ennél a bejegyzésnél: {postTitle}",
"Subscription details": "Előfizetés részletei",
"Support": "",
"Tap the link below to complete the signup process for {siteTitle}, and be automatically signed in:": "Kattints az alábbi linkre a regisztráció befejezéséhez és az automatikus belépéshez {siteTitle} oldalon:",
"Thank you for signing up to {siteTitle}!": "{siteTitle} — Köszönjük a regisztrációt!",
"Thank you for subscribing to {siteTitle}!": "{siteTitle} — Köszönjük a feliratkozást!",
Expand Down
1 change: 1 addition & 0 deletions ghost/i18n/locales/id/ghost.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
"Someone just replied to your comment": "Seseorang baru saja membalas komentar Anda",
"Someone just replied to your comment on {postTitle}.": "Seseorang baru saja membalas komentar Anda pada {postTitle}.",
"Subscription details": "Keterangan langganan",
"Support": "",
"Tap the link below to complete the signup process for {siteTitle}, and be automatically signed in:": "Ketuk tautan di bawah ini untuk menyelesaikan proses pendaftaran pada {siteTitle}, dan masuk secara otomatis:",
"Thank you for signing up to {siteTitle}!": "Terima kasih telah mendaftar ke {siteTitle}!",
"Thank you for subscribing to {siteTitle}!": "Terima kasih telah berlangganan ke {siteTitle}!",
Expand Down
1 change: 1 addition & 0 deletions ghost/i18n/locales/is/ghost.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"Someone just replied to your comment": "",
"Someone just replied to your comment on {postTitle}.": "",
"Subscription details": "",
"Support": "",
"Tap the link below to complete the signup process for {siteTitle}, and be automatically signed in:": "Smellið á hlekkinn að neðan til að ganga frá skráningarferlingu fyrir {siteTitle}, og til að virkja sjálfvirka innskráningu:",
"Thank you for signing up to {siteTitle}!": "Takk fyrir nýskráningu á {siteTitle}!",
"Thank you for subscribing to {siteTitle}!": "Takk fyrir áskriftina að {siteTitle}!",
Expand Down
Loading
Loading