diff --git a/app/locales/en.json b/app/locales/en.json index d0ad9cd54..04947c1b9 100644 --- a/app/locales/en.json +++ b/app/locales/en.json @@ -227,5 +227,11 @@ "Be the first": "Be the first", "Refreshing the Dewey Decimals": "Refreshing the Dewey Decimals", "This location is unused.": "This location is unused.", - "Put something here!": "Put something here!" + "Put something here!": "Put something here!", + "Transaction History": "Transaction History", + "You have no transactions.": "You have no transactions.", + "Loading transactions": "Loading transactions", + "Amount": "Amount", + "Time": "Time", + "Transaction": "Transaction" } \ No newline at end of file diff --git a/ui/js/component/header/view.jsx b/ui/js/component/header/view.jsx index 68328feb9..32d15501a 100644 --- a/ui/js/component/header/view.jsx +++ b/ui/js/component/header/view.jsx @@ -23,7 +23,7 @@ export const Header = (props) => { navigate('/wallet')} button="text" icon="icon-bank" label={balance} >
- navigate('/publish')} button="primary button--flat" icon="icon-upload" label="Publish" /> + navigate('/publish')} button="primary button--flat" icon="icon-upload" label={__("Publish")} />
navigate('/downloaded')} button="alt button--flat" icon="icon-folder" /> diff --git a/ui/js/component/transactionList/view.jsx b/ui/js/component/transactionList/view.jsx index 5d92e2b68..3da32a13d 100644 --- a/ui/js/component/transactionList/view.jsx +++ b/ui/js/component/transactionList/view.jsx @@ -22,8 +22,8 @@ class TransactionList extends React.Component{ rows.push( { (item.amount > 0 ? '+' : '' ) + item.amount } - { item.date ? item.date.toLocaleDateString() : (Transaction pending) } - { item.date ? item.date.toLocaleTimeString() : (Transaction pending) } + { item.date ? item.date.toLocaleDateString() : {__("(Transaction pending)")} } + { item.date ? item.date.toLocaleTimeString() : {__("(Transaction pending)")} } {item.id.substr(0, 7)} @@ -35,19 +35,19 @@ class TransactionList extends React.Component{ return (
-

Transaction History

+

{__("Transaction History")}

- { fetchingTransactions && } - { !fetchingTransactions && rows.length === 0 ?
You have no transactions.
: '' } + { fetchingTransactions && } + { !fetchingTransactions && rows.length === 0 ?
{__("You have no transactions.")}
: '' } { rows.length > 0 ? - - - - + + + + @@ -62,4 +62,4 @@ class TransactionList extends React.Component{ } } -export default TransactionList \ No newline at end of file +export default TransactionList
AmountDateTimeTransaction{__("Amount")}{__("Date")}{__("Time")}{__("Transaction")}