Made texts translatable
Texts will be translated now
This commit is contained in:
parent
a89efd981b
commit
4fbc4458e7
1 changed files with 8 additions and 8 deletions
|
@ -170,24 +170,24 @@ export default class SplashScreen extends React.PureComponent<Props, State> {
|
||||||
this.setState({ waitingForSync: this.state.waitingForSync + UPDATE_INTERVAL / 1000 });
|
this.setState({ waitingForSync: this.state.waitingForSync + UPDATE_INTERVAL / 1000 });
|
||||||
if (this.state.waitingForSync < MAX_SYNC_WAIT) {
|
if (this.state.waitingForSync < MAX_SYNC_WAIT) {
|
||||||
this.setState({
|
this.setState({
|
||||||
message: 'Loading Wallet',
|
message: __('Loading Wallet'),
|
||||||
details: 'Updating wallet data...',
|
details: __('Updating wallet data...'),
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
this.setState({
|
this.setState({
|
||||||
message: 'Loading Wallet',
|
message: __('Loading Wallet'),
|
||||||
details: (
|
details: (
|
||||||
<React.Fragment>
|
<React.Fragment>
|
||||||
<div>Large account history</div>
|
<div>__('Large account history')</div>
|
||||||
<div>Please wait...</div>
|
<div>__('Please wait...')</div>
|
||||||
</React.Fragment>
|
</React.Fragment>
|
||||||
),
|
),
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
} else if (wallet && !status.is_running && startupStatus.database) {
|
} else if (wallet && !status.is_running && startupStatus.database) {
|
||||||
this.setState({
|
this.setState({
|
||||||
message: 'Finalizing',
|
message: __('Finalizing'),
|
||||||
details: 'Almost ready...',
|
details: __('Almost ready...'),
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -307,7 +307,7 @@ export default class SplashScreen extends React.PureComponent<Props, State> {
|
||||||
<I18nMessage
|
<I18nMessage
|
||||||
tokens={{
|
tokens={{
|
||||||
help_link: (
|
help_link: (
|
||||||
<Button button="link" href="https://lbry.com/faq/startup-troubleshooting" label="this link" />
|
<Button button="link" href="https://lbry.com/faq/startup-troubleshooting" label={__("this link")} />
|
||||||
),
|
),
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|
Loading…
Add table
Reference in a new issue