Skip to content

Commit b015e29

Browse files
committed
update i18n strings
1 parent 2e6ab82 commit b015e29

File tree

3 files changed

+29
-6
lines changed

3 files changed

+29
-6
lines changed

components/DonateCheckout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ export function DonateCheckout({
158158
<LoadingIcon className="motion-safe:animate-spin size-5" />
159159
<FormattedMessage
160160
id="donate_widget.checkout.submitting"
161-
defaultMessage="Submitting&hellip;"
161+
defaultMessage="Submitting"
162162
/>
163163
</>
164164
) : (

locales/en.json

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"404.go_back_home": "Go back home",
44
"404.title": "Page not found",
55
"apps.free": "Free",
6-
"apps.lead": "The best way to get started with Mastodon is through our official apps for iOS and Android, but many third-party apps are also available below.",
6+
"apps.lead": "The best way to get started with Mastodon is through our official iOS and Android apps, but many third-party apps are also available below.",
77
"apps.open": "Open",
88
"apps.paid": "Paid",
99
"apps.title": "Apps",
@@ -24,6 +24,27 @@
2424
"browse_apps.web": "Web",
2525
"browse_apps.you_can_use_it_from_desktop": "You can always use Mastodon from the browser on your desktop or phone! It can be added to your home screen and some browsers even support push notifications, just like a native app!",
2626
"covenant.learn_more": "All servers listed here have committed to the <link>Mastodon Server Covenant</link>.",
27+
"donate_widget.amount_button": "Select {amount}",
28+
"donate_widget.amount_error": "Please input an amount above 1",
29+
"donate_widget.amount_select": "Amount to donate",
30+
"donate_widget.checkout.email": "Email",
31+
"donate_widget.checkout.header.back": "Edit your donation",
32+
"donate_widget.checkout.header.one_time": "You are donating {total} once",
33+
"donate_widget.checkout.header.recurring": "You are donating {total} every {frequency}",
34+
"donate_widget.checkout.pay_button": "Pay {total} now",
35+
"donate_widget.checkout.payment": "Payment",
36+
"donate_widget.checkout.submitting": "Submitting…",
37+
"donate_widget.currency.eur": "EUR",
38+
"donate_widget.currency.usd": "USD",
39+
"donate_widget.currency_select": "Select currency",
40+
"donate_widget.frequency.monthly": "Monthly",
41+
"donate_widget.frequency.once": "Just once",
42+
"donate_widget.frequency.yearly": "Yearly",
43+
"donate_widget.loading_checkout": "Loading…",
44+
"donate_widget.loading_error": "Loading checkout timed out, please try again",
45+
"donate_widget.success.close": "Close",
46+
"donate_widget.success.header": "Thank you for your contribution!",
47+
"donate_widget.success.subtitle": "You should receive an email confirming your donation soon.",
2748
"footer.follow_us_on_mastodon": "Follow us on Mastodon",
2849
"footer.quip": "Free, open-source decentralized social media platform.",
2950
"gold_sponsor": "Gold sponsor",
@@ -77,7 +98,6 @@
7798
"nav.docs.title": "Documentation",
7899
"nav.impressum.title": "Impressum",
79100
"nav.merch.title": "Merch",
80-
"nav.new": "New",
81101
"nav.privacy_policy.title": "Privacy Policy",
82102
"nav.product.title": "Product",
83103
"nav.resources.title": "Resources",

pages/donate/complete.tsx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ export default function DonateCompletePage() {
1818
<div className="flex flex-col p-8 gap-2">
1919
<h1 className="sh1">
2020
<FormattedMessage
21-
id="donate.success.header"
21+
id="donate_widget.success.header"
2222
defaultMessage="Thank you for your contribution!"
2323
/>
2424
</h1>
2525
<p className="text-gray-1">
2626
<FormattedMessage
27-
id="donate.success.subtitle"
27+
id="donate_widget.success.subtitle"
2828
defaultMessage="You should receive an email confirming your donation soon."
2929
/>
3030
</p>
@@ -34,7 +34,10 @@ export default function DonateCompletePage() {
3434
className="w-full max-w-80 mx-auto my-4"
3535
/>
3636
<Button onClick={handleClose} fullWidth dark>
37-
<FormattedMessage id="donate.success.close" defaultMessage="Close" />
37+
<FormattedMessage
38+
id="donate_widget.success.close"
39+
defaultMessage="Close"
40+
/>
3841
</Button>
3942
</div>
4043
)

0 commit comments

Comments
 (0)