Skip to content

Commit

Permalink
update tr language #272
Browse files Browse the repository at this point in the history
  • Loading branch information
thanhvk committed Aug 6, 2020
1 parent a823a31 commit c3cebc4
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/app/lending/DappOrders/DappOrders.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ export default class DappOrders extends React.PureComponent<Props, State> {
handleTabsChartChange = (tabId) => this.setState({chartTadId: tabId})

render() {
const { currentPairName } = this.props
if (!isTomoWallet() && !isWeb3()) return <Redirect to={`/dapp/${currentPairName.replace('/', '-')}`} />
const { currentPair } = this.props
if (!isTomoWallet() && !isWeb3()) return <Redirect to={`/dapp/${currentPair.pair.replace('/', '-')}`} />

return (
<OrdersTableCell>
<DappLendingOrdersTable />
{currentPairName && <BackButton to={`/dapp/lending/trade/${currentPairName.replace(' ', '_').replace('/', '-')}`}><Icon icon="arrow-left" color={TmColors.WHITE} /></BackButton>}
{currentPair.pair && <BackButton to={`/dapp/lending/trade/${currentPair.pair.replace(' ', '_').replace('/', '-')}`}><Icon icon="arrow-left" color={TmColors.WHITE} /></BackButton>}
</OrdersTableCell>
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ const OpenOrderTable = ({orders, cancelOrder, isHideOtherPairs, handleChangeHide
</div>
</Cell>
<Cell width="30%">
{order.cancelAble && (<CancelButton onClick={() => cancelOrder(order.hash)}>Cancel</CancelButton>)}
{order.cancelAble && (<CancelButton onClick={() => cancelOrder(order.hash)}><FormattedMessage id="exchangePage.cancel" /></CancelButton>)}
</Cell>
</ChildRow>
</Cell>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ const OpenOrderTable = ({orders, cancelOrder, isHideOtherPairs, handleChangeHide
</div>
</Cell>
<Cell width="30%">
{order.cancelAble && (<CancelButton onClick={() => cancelOrder(order.hash)}>Cancel</CancelButton>)}
{order.cancelAble && (<CancelButton onClick={() => cancelOrder(order.hash)}><FormattedMessage id="exchangePage.cancel" /></CancelButton>)}
</Cell>
</ChildRow>
</Cell>
Expand Down
1 change: 1 addition & 0 deletions src/locales/langs/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@
"exchangePage.rejected": "Rejected",
"exchangePage.orderPlace.buy": "Buy {baseTokenSymbol}",
"exchangePage.orderPlace.sell": "Sell {baseTokenSymbol}",
"exchangePage.cancel": "Cancel",
"exchangeLendingPage.orderPlace.day": "day",
"exchangeLendingPage.orderPlace.days": "days",
"exchangeLendingPage.orderPlace.lend": "Lend {lendingSymbol} for {termByDay} {termUnit}",
Expand Down
1 change: 1 addition & 0 deletions src/locales/langs/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@
"exchangePage.rejected": "Rejeté",
"exchangePage.orderPlace.buy": "Acheter {baseTokenSymbol}",
"exchangePage.orderPlace.sell": "Vendre {baseTokenSymbol}",
"exchangePage.cancel": "Annuler",
"exchangeLendingPage.orderPlace.day": "day",
"exchangeLendingPage.orderPlace.days": "days",
"exchangeLendingPage.orderPlace.lend": "Prêter {lendingSymbol} pour {termByDay} {termUnit}",
Expand Down
1 change: 1 addition & 0 deletions src/locales/langs/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@
"exchangePage.rejected": "却下",
"exchangePage.orderPlace.buy": "{baseTokenSymbol}を購入",
"exchangePage.orderPlace.sell": "{baseTokenSymbol}を売却",
"exchangePage.cancel": "キャンセル",
"exchangeLendingPage.orderPlace.day": "day",
"exchangeLendingPage.orderPlace.days": "days",
"exchangeLendingPage.orderPlace.lend": "{termByDay} {termUnit}で{lendingSymbol}を貸す",
Expand Down
1 change: 1 addition & 0 deletions src/locales/langs/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@
"exchangePage.rejected": "Afgewezen",
"exchangePage.orderPlace.buy": "Koop {baseTokenSymbol}",
"exchangePage.orderPlace.sell": "Verkoop {baseTokenSymbol}",
"exchangePage.cancel": "Annuleren",
"exchangeLendingPage.orderPlace.day": "day",
"exchangeLendingPage.orderPlace.days": "days",
"exchangeLendingPage.orderPlace.lend": "Uitlenen {lendingSymbol} voor {termByDay} {termUnit}",
Expand Down
1 change: 1 addition & 0 deletions src/locales/langs/tr.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@
"exchangePage.rejected": "Reddedildi",
"exchangePage.orderPlace.buy": "{baseTokenSymbol} Al",
"exchangePage.orderPlace.sell": "{baseTokenSymbol} Sat",
"exchangePage.cancel": "İptal",
"exchangeLendingPage.orderPlace.day": "gün",
"exchangeLendingPage.orderPlace.days": "gün",
"exchangeLendingPage.orderPlace.lend": "{termByDay} {termUnit} için {lendingSymbol} borç ver",
Expand Down
1 change: 1 addition & 0 deletions src/locales/langs/vi.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@
"exchangePage.rejected": "Rejected",
"exchangePage.orderPlace.buy": "Mua {baseTokenSymbol}",
"exchangePage.orderPlace.sell": "Bán {baseTokenSymbol}",
"exchangePage.cancel": "Hủy",
"exchangeLendingPage.orderPlace.day": "ngày",
"exchangeLendingPage.orderPlace.days": "ngày",
"exchangeLendingPage.orderPlace.lend": "Cho vay {lendingSymbol} trong {termByDay} {termUnit}",
Expand Down
1 change: 1 addition & 0 deletions src/locales/langs/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@
"exchangePage.rejected": "被拒绝",
"exchangePage.orderPlace.buy": "购买{baseTokenSymbol}",
"exchangePage.orderPlace.sell": "售出{baseTokenSymbol}",
"exchangePage.cancel": "取消",
"exchangeLendingPage.orderPlace.day": "day",
"exchangeLendingPage.orderPlace.days": "days",
"exchangeLendingPage.orderPlace.lend": "通过{termByDay} {termUnit}借出{lendingSymbol}",
Expand Down

0 comments on commit c3cebc4

Please sign in to comment.