From 048cc8557e96c95183e0a4b3ebde5ad0e2a0a9a1 Mon Sep 17 00:00:00 2001 From: Made Baruna Date: Fri, 9 Apr 2021 17:35:37 +0800 Subject: [PATCH] Update donate --- src/components/DonateModal.svelte | 101 ++++++++++++++++++++++-------- src/locales/en.json | 3 +- src/locales/id.json | 5 +- src/locales/ru.json | 3 +- 4 files changed, 82 insertions(+), 30 deletions(-) diff --git a/src/components/DonateModal.svelte b/src/components/DonateModal.svelte index 2676b31f..3998d3c3 100644 --- a/src/components/DonateModal.svelte +++ b/src/components/DonateModal.svelte @@ -1,7 +1,15 @@
@@ -9,33 +17,74 @@ import { t } from 'svelte-i18n';

{$t('donate.message.1')}

{$t('donate.message.2')}

- {$t('donate.message.3')} GithubGithub

- +
+ {#if showCrypto} +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
BTCbc1qdaz2893tprp2dsce2mclhcjq5xdk4mzapvnm8r
ETH0xD326831DFEf991F241B373F1Bc2966cf3Df140C6
DOGEDDDJbGi9QUTNJrRKzHbDV4tS2iRuPZuGcR
LTCltc1q5ycw4dfqc9uekgenp4u9ctrp286yguqvfskprj
BCHqqgn5pplwl4jr2eewgkc7y7vkxs7r4fgkyrvndtwc2
XMR4AVX6AV2XaGZL6a69krzUALe2d6ZSZvDnNi3SuXE3zaMbT6fQyAnjMBRSH9rKn587QWcnvT6xtcdya5Fbexi45La1ZKdrA5 +
- {$t('donate.kofi')} - - - - - + {:else} + + {/if} +
diff --git a/src/locales/en.json b/src/locales/en.json index 3602620a..1d16784e 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -492,7 +492,8 @@ "If you like coding, you can also contributing to the project on" ], "kofi": "Support me on Ko-fi", - "trakteer": "Support me on Trakteer" + "trakteer": "Support me on Trakteer", + "crypto": "Support me with Crypto" }, "reminder": { "notSupported": "Your browser does not support push notification, please try other browser!", diff --git a/src/locales/id.json b/src/locales/id.json index 26a8f30f..2819d2be 100644 --- a/src/locales/id.json +++ b/src/locales/id.json @@ -491,8 +491,9 @@ "Jika kamu ingin donasi, donasimu akan sangat membantu dalam meningkatkan webnya dan memotivasi saya untuk terus menambahkan hal-hal baru ke paimon.moe! Terimakasih banyak dan have fun, semoga kamu menyukainya!", "Jika kamu suka ngoding, kamu juga berkontribusi dalam projek ini di " ], - "kofi": "Support me on Ko-fi", - "trakteer": "Support me on Trakteer" + "kofi": "Support di Ko-fi", + "trakteer": "Support di Trakteer", + "crypto": "Support dengan Crypto" }, "reminder": { "notSupported": "Browser mu tidak mensupport notifikasi, silahkan coba browser lain!", diff --git a/src/locales/ru.json b/src/locales/ru.json index 258c8217..e5ec8270 100644 --- a/src/locales/ru.json +++ b/src/locales/ru.json @@ -489,7 +489,8 @@ "Если вы любите программировать, вы также можете внести свой вклад в проект в" ], "kofi": "Поддержать через Ko-fi", - "trakteer": "Поддержать через Trakteer" + "trakteer": "Поддержать через Trakteer", + "crypto": "Поддержать с Crypto" }, "reminder": { "notSupported": "Ваш браузер не поддерживает push-уведомления, попробуйте другой браузер!",