From 2bf4a96d094b12a3b98d8baceb7dfe3ee26b98f3 Mon Sep 17 00:00:00 2001 From: infiinte-persistence Date: Wed, 20 Jan 2021 18:43:46 +0800 Subject: [PATCH] String fix for 'Support Repost' - Added to json - Don't need the context note for this case. --- static/app-strings.json | 1 + ui/component/claimSupportButton/view.jsx | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/static/app-strings.json b/static/app-strings.json index 04f21f854..e574abe01 100644 --- a/static/app-strings.json +++ b/static/app-strings.json @@ -257,6 +257,7 @@ "Support --[button to support a claim]--": "Support", "Support --[noun; transaction type]--": "Support", "Support --[used in footer; general help/support]--": "Support", + "Support Repost": "Support Repost", "Update": "Update", "Abandon": "Abandon", "Unlock tip": "Unlock tip", diff --git a/ui/component/claimSupportButton/view.jsx b/ui/component/claimSupportButton/view.jsx index e903bc046..b867b4b07 100644 --- a/ui/component/claimSupportButton/view.jsx +++ b/ui/component/claimSupportButton/view.jsx @@ -27,9 +27,7 @@ export default function ClaimSupportButton(props: Props) { className={classnames({ 'button--file-action': fileAction })} icon={ICONS.LBC} iconSize={fileAction ? 22 : undefined} - label={ - isRepost ? __('Support Repost --[button to support a claim]--') : __('Support --[button to support a claim]--') - } + label={isRepost ? __('Support Repost') : __('Support --[button to support a claim]--')} requiresAuth={IS_WEB} title={__('Support this claim')} onClick={() => doOpenModal(MODALS.SEND_TIP, { uri, isSupport: true })}