From f566fcc8cdfbc61f533e2c088709464e6cf6641a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Renaudeau?= Date: Wed, 13 Jun 2018 12:29:52 +0200 Subject: [PATCH] Fix dashboard accounts title --- src/components/DashboardPage/index.js | 2 +- static/i18n/en/app.yml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/DashboardPage/index.js b/src/components/DashboardPage/index.js index cf4efa45..5c3b7ee0 100644 --- a/src/components/DashboardPage/index.js +++ b/src/components/DashboardPage/index.js @@ -137,7 +137,7 @@ class DashboardPage extends PureComponent { - {t('app:sidebar.accounts')} + {t('app:dashboard.accounts.title', { count: accounts.length })} diff --git a/static/i18n/en/app.yml b/static/i18n/en/app.yml index a84312b9..1a13fd61 100644 --- a/static/i18n/en/app.yml +++ b/static/i18n/en/app.yml @@ -75,6 +75,8 @@ account: desc: Lorem ipsum dolort amet dashboard: title: Dashboard + accounts: + title: Accounts ({{count}}) greeting: morning: "Good Morning!" evening: "Good Evening!"