Skip to content

Commit f8d19c3

Browse files
thedanhellerrenanvalentin
authored andcommitted
[DDW-854] New line
1 parent f7f48f5 commit f8d19c3

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

source/renderer/app/components/loading/syncing-connecting/SyncingConnectingStatus.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// @flow
22
import React, { Component } from 'react';
3-
import { defineMessages, intlShape } from 'react-intl';
3+
import { defineMessages, intlShape, FormattedHTMLMessage } from 'react-intl';
44
import classNames from 'classnames';
55
import styles from './SyncingConnectingStatus.scss';
66
import { CardanoNodeStates } from '../../../../../common/types/cardano-node.types';
@@ -198,7 +198,9 @@ export default class SyncingConnectingStatus extends Component<Props> {
198198
})}
199199
</h1>
200200
<div className={styles.description}>
201-
{connectingDescription && intl.formatMessage(connectingDescription)}
201+
{connectingDescription && (
202+
<FormattedHTMLMessage {...connectingDescription} />
203+
)}
202204
</div>
203205
</div>
204206
);

source/renderer/app/i18n/locales/en-US.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@
218218
"loading.screen.startingCardanoDescription": "This process validates the integrity of local blockchain data and could take several minutes.",
219219
"loading.screen.stoppedCardanoMessage": "Cardano node stopped",
220220
"loading.screen.stoppingCardanoMessage": "Stopping Cardano node",
221-
"loading.screen.stoppingCardanoDescription": "This process closes the databases and could take several minutes. To preserve data integrity, please allow it to complete.",
221+
"loading.screen.stoppingCardanoDescription": "This process closes the databases and could take several minutes.<br />To preserve data integrity, please allow it to complete.",
222222
"loading.screen.unrecoverableCardanoMessage": "Unable to start Cardano node. Please submit a support request.",
223223
"loading.screen.updatedCardanoMessage": "Cardano node updated",
224224
"loading.screen.updatingCardanoMessage": "Updating Cardano node",

0 commit comments

Comments
 (0)