From bb1bd949c35e1f2b7be53fe050e143384782102b Mon Sep 17 00:00:00 2001 From: Julia Friesel Date: Tue, 28 May 2019 09:03:43 +0200 Subject: [PATCH] Add donation section to about --- components/settings/about.js | 3 +++ i18n/en/links.js | 4 ++++ i18n/en/settings.js | 4 ++++ 3 files changed, 11 insertions(+) diff --git a/components/settings/about.js b/components/settings/about.js index 46abf07..f5be4c4 100644 --- a/components/settings/about.js +++ b/components/settings/about.js @@ -18,6 +18,9 @@ export default class AboutSection extends Component { {labels.credits.note} + + {labels.donate.note} + {links.website.url} diff --git a/i18n/en/links.js b/i18n/en/links.js index 6d1fae9..c677b28 100644 --- a/i18n/en/links.js +++ b/i18n/en/links.js @@ -14,4 +14,8 @@ export default { website: { url: 'https://bloodyhealth.gitlab.io/' }, + donate: { + url: 'https://ko-fi.com/dripapp', + text: 'here' + } } diff --git a/i18n/en/settings.js b/i18n/en/settings.js index 5ea669a..b9424b6 100644 --- a/i18n/en/settings.js +++ b/i18n/en/settings.js @@ -123,5 +123,9 @@ You can contact us by bloodyhealth@mailbox.org.` credits: { title: 'Credits', note: 'Thanks and lots of <3 to all of our contributors as well as Susanne Umscheid for the wonderful design, and Paula Härtel for the symptom icons.' + }, + donate: { + title: 'Buy us a coffee!', + note: `The Bloody Health team is always grateful for donations, big or small, that help us maintain this app and develop new features. You can donate ${links.donate.url}. Thank you! You're awesome.` } }