String fix for 'Support Repost'

- Added to json
- Don't need the context note for this case.
This commit is contained in:
infiinte-persistence 2021-01-20 18:43:46 +08:00 committed by Sean Yesmunt
parent bb3354581a
commit 2bf4a96d09
2 changed files with 2 additions and 3 deletions

View file

@ -257,6 +257,7 @@
"Support --[button to support a claim]--": "Support", "Support --[button to support a claim]--": "Support",
"Support --[noun; transaction type]--": "Support", "Support --[noun; transaction type]--": "Support",
"Support --[used in footer; general help/support]--": "Support", "Support --[used in footer; general help/support]--": "Support",
"Support Repost": "Support Repost",
"Update": "Update", "Update": "Update",
"Abandon": "Abandon", "Abandon": "Abandon",
"Unlock tip": "Unlock tip", "Unlock tip": "Unlock tip",

View file

@ -27,9 +27,7 @@ export default function ClaimSupportButton(props: Props) {
className={classnames({ 'button--file-action': fileAction })} className={classnames({ 'button--file-action': fileAction })}
icon={ICONS.LBC} icon={ICONS.LBC}
iconSize={fileAction ? 22 : undefined} iconSize={fileAction ? 22 : undefined}
label={ label={isRepost ? __('Support Repost') : __('Support --[button to support a claim]--')}
isRepost ? __('Support Repost --[button to support a claim]--') : __('Support --[button to support a claim]--')
}
requiresAuth={IS_WEB} requiresAuth={IS_WEB}
title={__('Support this claim')} title={__('Support this claim')}
onClick={() => doOpenModal(MODALS.SEND_TIP, { uri, isSupport: true })} onClick={() => doOpenModal(MODALS.SEND_TIP, { uri, isSupport: true })}