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",
"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",
"Total Received Tips": "Total Received Tips",
"Withdrawn": "Withdrawn",
"Incoming": "Incoming",
"Outgoing": "Outgoing",
"Credits --[transactions tab]--": "Credits",

View file

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

View file

@ -56,7 +56,9 @@ const WalletBalance = (props: Props) => {
className=""
navigate={'/' + transaction.channel_name + ':' + transaction.source_claim_id}
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"
/>
@ -69,7 +71,7 @@ const WalletBalance = (props: Props) => {
))}
</tbody>
</table>
{!accountTransactions && <p className="wallet__fiat-transactions">No Transactions</p>}
{!accountTransactions && <p className="wallet__fiat-transactions">{__('No Transactions')}</p>}
</div>
);
};

View file

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