swapProgress: add translations and remove ng-scopes
This commit is contained in:
parent
73d54f562d
commit
62150fb63b
|
@ -1,7 +1,7 @@
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
// import { toFixedIfLarger } from 'utils/formatters';
|
// import { toFixedIfLarger } from 'utils/formatters';
|
||||||
// import translate from 'translations';
|
import translate from 'translations';
|
||||||
|
|
||||||
export default class SwapProgress extends Component {
|
export default class SwapProgress extends Component {
|
||||||
constructor(props) {
|
constructor(props) {
|
||||||
|
@ -22,25 +22,25 @@ export default class SwapProgress extends Component {
|
||||||
<div className="sep" />
|
<div className="sep" />
|
||||||
<div className="progress-item progress-true">
|
<div className="progress-item progress-true">
|
||||||
<div className="progress-circle"><i>1</i></div>
|
<div className="progress-circle"><i>1</i></div>
|
||||||
<p className="ng-scope">Order Initiated</p>
|
<p>{translate('SWAP_progress_1')}</p>
|
||||||
</div>
|
</div>
|
||||||
<div className="progress-item progress-true">
|
<div className="progress-item progress-true">
|
||||||
<div className="progress-circle"><i>2</i></div>
|
<div className="progress-circle"><i>2</i></div>
|
||||||
<p>
|
<p>
|
||||||
<span className="ng-scope">Waiting for your </span>{originKind}...
|
<span>{translate('SWAP_progress_2')}</span>{originKind}...
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div className="progress-item progress-active">
|
<div className="progress-item progress-active">
|
||||||
<div className="progress-circle"><i>3</i></div>
|
<div className="progress-circle"><i>3</i></div>
|
||||||
<p>
|
<p>
|
||||||
ETH <span className="ng-scope">Received!</span>
|
{originKind} <span>{translate('SWAP_progress_3')}</span>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div className="progress-item">
|
<div className="progress-item">
|
||||||
<div className="progress-circle"><i>4</i></div>
|
<div className="progress-circle"><i>4</i></div>
|
||||||
<p>
|
<p>
|
||||||
<span className="ng-scope">destination your</span>{' '}
|
<span>Sending your </span>{destinationKind}
|
||||||
{destinationKind} <br />
|
<br />
|
||||||
<small>
|
<small>
|
||||||
Waiting for {numberOfConfirmations} confirmations...
|
Waiting for {numberOfConfirmations} confirmations...
|
||||||
</small>
|
</small>
|
||||||
|
@ -48,7 +48,7 @@ export default class SwapProgress extends Component {
|
||||||
</div>
|
</div>
|
||||||
<div className="progress-item">
|
<div className="progress-item">
|
||||||
<div className="progress-circle"><i>5</i></div>
|
<div className="progress-circle"><i>5</i></div>
|
||||||
<p className="ng-scope">Order Complete</p>
|
<p>Order Complete</p>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue