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

Fix broken time translation - Closes #875 #876

Merged
merged 1 commit into from
Oct 16, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/components/forging/forgingStats.js
Original file line number Diff line number Diff line change
@@ -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 (
2 changes: 2 additions & 0 deletions src/locales/en/common.json
Original file line number Diff line number Diff line change
@@ -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.",