mirror of
https://github.com/zadam/trilium.git
synced 2025-11-08 06:15:48 +01:00
feat(website/i18n): translate support us
This commit is contained in:
@@ -7,6 +7,7 @@ import Button, { Link } from "../../components/Button.js";
|
||||
import Card from "../../components/Card.js";
|
||||
import { usePageTitle } from "../../hooks.js";
|
||||
import { t } from "../../i18n.js";
|
||||
import { Trans } from "react-i18next";
|
||||
|
||||
export default function Donate() {
|
||||
usePageTitle(t("support_us.title"));
|
||||
@@ -15,13 +16,20 @@ export default function Donate() {
|
||||
<>
|
||||
<Section title={t("support_us.title")} className="donate fill">
|
||||
<div class="grid-2-cols">
|
||||
<Card title="Financial donations">
|
||||
<Card title={t("support_us.financial_donations_title")}>
|
||||
<p>
|
||||
Trilium is built and maintained with <Link href="https://github.com/TriliumNext/Trilium/graphs/commit-activity" openExternally>hundreds of hours of work</Link>.
|
||||
Your support keeps it open-source, improves features, and covers costs such as hosting.
|
||||
<Trans
|
||||
i18nKey="support_us.financial_donations_description"
|
||||
components={{ Link: <Link href="https://github.com/TriliumNext/Trilium/graphs/commit-activity" openExternally /> }}
|
||||
/>
|
||||
</p>
|
||||
|
||||
<p>Consider supporting the main developer (<Link href="https://github.com/eliandoran" openExternally>eliandoran</Link>) of the application via:</p>
|
||||
<p>
|
||||
<Trans
|
||||
i18nKey="support_us.financial_donations_cta"
|
||||
components={{ Link: <Link href="https://github.com/eliandoran" openExternally /> }}
|
||||
/>
|
||||
</p>
|
||||
|
||||
<ul class="donate-buttons">
|
||||
<li>
|
||||
@@ -55,13 +63,27 @@ export default function Donate() {
|
||||
</ul>
|
||||
</Card>
|
||||
|
||||
<Card title={t("support_us.other_ways_to_contribute")}>
|
||||
<Card title={t("contribute.title")}>
|
||||
<ul>
|
||||
<li>Translate the application into your native language via <Link href="https://hosted.weblate.org/engage/trilium/" openExternally>Weblate</Link>.</li>
|
||||
<li>Interact with the community on <Link href="https://github.com/orgs/TriliumNext/discussions" openExternally>GitHub Discussions</Link> or on <Link href="https://matrix.to/#/#triliumnext:matrix.org" openExternally>Matrix</Link>.</li>
|
||||
<li>Report bugs via <Link href="https://github.com/TriliumNext/Trilium/issues" openExternally>GitHub issues</Link>.</li>
|
||||
<li>Improve the documentation by informing us on gaps in the documentation or contributing guides, FAQs or tutorials.</li>
|
||||
<li>Spread the word: Share Trilium Notes with friends, or on blogs and social media.</li>
|
||||
<li>
|
||||
<Trans i18nKey="contribute.way_translate"
|
||||
components={{ Link: <Link href="https://hosted.weblate.org/engage/trilium/" openExternally /> }} />
|
||||
</li>
|
||||
<li>
|
||||
<Trans i18nKey="contribute.way_community"
|
||||
components={{
|
||||
Discussions: <Link href="https://github.com/orgs/TriliumNext/discussions" openExternally />,
|
||||
Matrix: <Link href="https://matrix.to/#/#triliumnext:matrix.org" openExternally />
|
||||
}}
|
||||
/>
|
||||
</li>
|
||||
<li>
|
||||
<Trans i18nKey="contribute.way_reports"
|
||||
components={{ Link: <Link href="https://github.com/TriliumNext/Trilium/issues" openExternally /> }}
|
||||
/>
|
||||
</li>
|
||||
<li><Trans i18nKey="contribute.way_document" /></li>
|
||||
<li><Trans i18nKey="contribute.way_market" /></li>
|
||||
</ul>
|
||||
</Card>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user