From bc6acd7efb9ac4326de022217abe9c61edcf141b Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Wed, 12 Jul 2023 00:23:54 -0700 Subject: [PATCH] fix: :lipstick: locales, transition for MkDonation --- locales/en-US.yml | 2 + locales/ja-JP.yml | 2 + packages/client/src/components/MkDonation.vue | 107 ++++++++++++------ 3 files changed, 74 insertions(+), 37 deletions(-) diff --git a/locales/en-US.yml b/locales/en-US.yml index d8a26b1f2..c61b573ba 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -1119,6 +1119,8 @@ showPopup: "Notify users with popup" showWithSparkles: "Show with sparkles" youHaveUnreadAnnouncements: "You have unread announcements" donationLink: "Link to donation page" +neverShow: "Don't show again" +remindMeLater: "Maybe later" _sensitiveMediaDetection: description: "Reduces the effort of server moderation through automatically recognizing diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 95fb7bcf8..fe03d1f41 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -983,6 +983,8 @@ enableIdenticonGeneration: "ユーザーごとのIdenticon生成を有効にす showPopup: "ポップアップを表示してユーザーに知らせる" showWithSparkles: "タイトルをキラキラさせる" youHaveUnreadAnnouncements: "未読のお知らせがあります" +neverShow: "今後表示しない" +remindMeLater: "また後で" _sensitiveMediaDetection: description: "機械学習を使って自動でセンシティブなメディアを検出し、モデレーションに役立てられます。サーバーの負荷が少し増えます。" diff --git a/packages/client/src/components/MkDonation.vue b/packages/client/src/components/MkDonation.vue index 367ec7b58..9ec99a6ec 100644 --- a/packages/client/src/components/MkDonation.vue +++ b/packages/client/src/components/MkDonation.vue @@ -1,50 +1,68 @@