Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Commit

Permalink
Merge pull request #876 from LiskHQ/875-add-missing-translation-source
Browse files Browse the repository at this point in the history
Fix broken time translation - Closes #875
  • Loading branch information
slaweet authored Oct 16, 2017
2 parents bc36bc4 + 5ded917 commit 5b5fa1f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/forging/forgingStats.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ class ForgingStats extends React.Component {
render() {
statCardObjects[0].label = this.props.t('Last 24 hours');
[1, 2, 3].forEach((i) => {
statCardObjects[i].label = this.props.t(
'Last {{count}} days', { count: statCardObjects[i].days });
statCardObjects[i].label = this.props.t('Last {{count}} days',
{ count: statCardObjects[i].days });
});

return (
Expand Down
2 changes: 2 additions & 0 deletions src/locales/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@
"LSK received": "LSK received",
"Language": "Language",
"Last 24 hours": "Last 24 hours",
"Last {{count}} days": "Last {{count}} day",
"Last {{count}} days_plural": "Last {{count}} days",
"Lisk Address": "Lisk Address",
"Login": "Login",
"Losing access to this passphrase will mean no funds can be sent from this account.": "Losing access to this passphrase will mean no funds can be sent from this account.",
Expand Down

0 comments on commit 5b5fa1f

Please sign in to comment.