Skip to content

Commit

Permalink
Change "Sponsors" navigation item to "Donate"
Browse files Browse the repository at this point in the history
  • Loading branch information
Gargron committed Sep 3, 2023
1 parent a0ddd56 commit c724756
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 13 deletions.
2 changes: 1 addition & 1 deletion components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export const Footer = () => (
>
<FormattedMessage
id="nav.sponsors.title"
defaultMessage="Sponsors"
defaultMessage="Donate"
/>
</Link>,
<Link
Expand Down
2 changes: 1 addition & 1 deletion components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const Header = ({ transparent = true }: HeaderProps) => {
label: <div className="flex gap-2 items-center"><FormattedMessage id="nav.merch.title" defaultMessage="Merch" /><span className="bg-goldenrod/[0.5] text-goldenrod c2 px-1.5 rounded border border-goldenrod"><FormattedMessage id='nav.new' defaultMessage='New' /></span></div>,
}, {
value: "/sponsors",
label: <FormattedMessage id="nav.sponsors.title" defaultMessage="Sponsors" />,
label: <FormattedMessage id="nav.sponsors.title" defaultMessage="Donate" />,
}, {
key: "resources",
label: <FormattedMessage id="nav.resources.title" defaultMessage="Resources" />,
Expand Down
11 changes: 6 additions & 5 deletions locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"nav.resources.title": "Resources",
"nav.roadmap.title": "Roadmap",
"nav.servers.title": "Servers",
"nav.sponsors.title": "Sponsors",
"nav.sponsors.title": "Donate",
"nav.status.title": "Status",
"nav.support.description": "Get help or suggest a feature on GitHub",
"nav.support.title": "Support",
Expand Down Expand Up @@ -136,14 +136,15 @@
"sponsors": "Sponsors",
"sponsors.additional_thanks_to": "Additional thanks to",
"sponsors.become_a_sponsor": "Become a sponsor",
"sponsors.hero.body": "You can back us on a monthly basis through Patreon or pledge to become a sponsor through our own platform. We are grateful for the companies and people who make Mastodon possible.",
"sponsors.hero.body": "We develop and maintain the free and open-source software that powers the social web. There is no capital behind this—we rely entirely on your support through platforms like Patreon.",
"sponsors.hero.title": "Donate",
"sponsors.page_description": "View people and companies who crowdfund the development of the decentralized, open-source social media platform Mastodon.",
"sponsors.page_title": "Sponsors of Mastodon",
"sponsors.page_title": "Donate to Mastodon",
"sponsors.patreon.body": "Making a contribution through our Patreon will reward you with access to our development Discord and your name listed on this page.",
"sponsors.patreon.cta": "Go to Patreon",
"sponsors.patreon.title": "Support us on Patreon",
"sponsors.sponsorship.body": "If you would like to see your company's logo with a go follow link on this site, you can become a sponsor directly through our own platform!",
"sponsors.sponsorship.title": "Sponsorship",
"sponsors.sponsorship.body": "If you would like to see your company's logo with a do-follow link on this site, you can become a sponsor directly through our own platform!",
"sponsors.sponsorship.title": "Commercial sponsorship",
"sponsors.supported_by": "Supported by",
"stats.disclaimer": "Data collected by crawling all accessible Mastodon servers on {date}.",
"stats.monthly_active_users": "Monthly Active Users",
Expand Down
12 changes: 6 additions & 6 deletions pages/sponsors.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ function Sponsors() {
<Layout>
<Hero>
<h1 className="h1 mb-5 lg:col-start-2">
<FormattedMessage id="sponsors" defaultMessage="Sponsors" />
<FormattedMessage id="sponsors.hero.title" defaultMessage="Donate" />
</h1>
<p className="sh1 lg:col-start-2 lg:col-end-6">
<FormattedMessage
id="sponsors.hero.body"
defaultMessage="You can back us on a monthly basis through Patreon or pledge to become a sponsor through our own platform. We are grateful for the companies and people who make Mastodon possible."
defaultMessage="We develop and maintain the free and open-source software that powers the social web. There is no capital behind this—we rely entirely on your support through platforms like Patreon."
/>
</p>
</Hero>
Expand All @@ -36,13 +36,13 @@ function Sponsors() {
title: (
<FormattedMessage
id="sponsors.sponsorship.title"
defaultMessage="Sponsorship"
defaultMessage="Commercial sponsorship"
/>
),
copy: (
<FormattedMessage
id="sponsors.sponsorship.body"
defaultMessage="If you would like to see your company's logo with a go follow link on this site, you can become a sponsor directly through our own platform!"
defaultMessage="If you would like to see your company's logo with a do-follow link on this site, you can become a sponsor directly through our own platform!"
/>
),
cta: (
Expand Down Expand Up @@ -149,14 +149,14 @@ function Sponsors() {
<title>
{`${intl.formatMessage({
id: "sponsors.page_title",
defaultMessage: "Sponsors of Mastodon",
defaultMessage: "Donate to Mastodon",
})} - Mastodon`}
</title>
<meta
property="og:title"
content={intl.formatMessage({
id: "sponsors.page_title",
defaultMessage: "Sponsors of Mastodon",
defaultMessage: "Donate to Mastodon",
})}
/>
<meta
Expand Down

0 comments on commit c724756

Please sign in to comment.