This commit is contained in:
infinite-persistence 2021-10-15 14:17:23 +08:00
parent b86a56f75b
commit d1493d5fb3
No known key found for this signature in database
GPG key ID: B9C3252EDC3D0AA0
4 changed files with 11 additions and 5 deletions

View file

@ -2164,6 +2164,8 @@
"Bank Accounts": "Bank Accounts", "Bank Accounts": "Bank Accounts",
"Connect a bank account to receive tips and compensation in your local currency.": "Connect a bank account to receive tips and compensation in your local currency.", "Connect a bank account to receive tips and compensation in your local currency.": "Connect a bank account to receive tips and compensation in your local currency.",
"Payment Methods": "Payment Methods", "Payment Methods": "Payment Methods",
"Total Received Tips": "Total Received Tips",
"Withdrawn": "Withdrawn",
"Incoming": "Incoming", "Incoming": "Incoming",
"Outgoing": "Outgoing", "Outgoing": "Outgoing",
"Credits --[transactions tab]--": "Credits", "Credits --[transactions tab]--": "Credits",

View file

@ -300,7 +300,7 @@ function CommentList(props: Props) {
title={ title={
(totalComments === 0 && __('Leave a comment')) || (totalComments === 0 && __('Leave a comment')) ||
(totalComments === 1 && __('1 comment')) || (totalComments === 1 && __('1 comment')) ||
__('%totalComments% comments', { totalComments }) __('%total_comments% comments', { totalComments })
} }
titleActions={ titleActions={
<> <>

View file

@ -56,7 +56,9 @@ const WalletBalance = (props: Props) => {
className="" className=""
navigate={'/' + transaction.channel_name + ':' + transaction.source_claim_id} navigate={'/' + transaction.channel_name + ':' + transaction.source_claim_id}
label={ label={
transaction.channel_claim_id === transaction.source_claim_id ? __('Channel Page') : __('Content Page') transaction.channel_claim_id === transaction.source_claim_id
? __('Channel Page')
: __('Content Page')
} }
button="link" button="link"
/> />
@ -69,7 +71,7 @@ const WalletBalance = (props: Props) => {
))} ))}
</tbody> </tbody>
</table> </table>
{!accountTransactions && <p className="wallet__fiat-transactions">No Transactions</p>} {!accountTransactions && <p className="wallet__fiat-transactions">{__('No Transactions')}</p>}
</div> </div>
); );
}; };

View file

@ -80,7 +80,9 @@ const WalletBalance = (props: Props) => {
className="" className=""
navigate={'/' + transaction.channel_name + ':' + transaction.source_claim_id} navigate={'/' + transaction.channel_name + ':' + transaction.source_claim_id}
label={ label={
transaction.channel_claim_id === transaction.source_claim_id ? __('Channel Page') : __('Content Page') transaction.channel_claim_id === transaction.source_claim_id
? __('Channel Page')
: __('Content Page')
} }
button="link" button="link"
/> />
@ -98,7 +100,7 @@ const WalletBalance = (props: Props) => {
</table> </table>
{/* show some markup if there's no transactions */} {/* show some markup if there's no transactions */}
{(!accountTransactions || accountTransactions.length === 0) && ( {(!accountTransactions || accountTransactions.length === 0) && (
<p className="wallet__fiat-transactions">No Transactions</p> <p className="wallet__fiat-transactions">{__('No Transactions')}</p>
)} )}
</div> </div>
</div> </div>