From 56c1eac1a5ab5d53281fe381a1ac7b72a18f5204 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Wed, 24 Oct 2018 17:32:22 -0400 Subject: [PATCH] fix translations on dashboard --- public/src/admin/general/dashboard.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/src/admin/general/dashboard.js b/public/src/admin/general/dashboard.js index 0d1de17e4c..486eee17ba 100644 --- a/public/src/admin/general/dashboard.js +++ b/public/src/admin/general/dashboard.js @@ -264,7 +264,7 @@ define('admin/general/dashboard', ['semver', 'Chart', 'translator', 'benchpress' graphs.registered = new Chart(registeredCtx, { type: 'doughnut', data: { - labels: translations.slice(2, 4), + labels: translations.slice(5, 7), datasets: [{ data: [1, 1], backgroundColor: ['#F7464A', '#46BFBD'], @@ -282,7 +282,7 @@ define('admin/general/dashboard', ['semver', 'Chart', 'translator', 'benchpress' graphs.presence = new Chart(presenceCtx, { type: 'doughnut', data: { - labels: translations.slice(4, 9), + labels: translations.slice(7, 12), datasets: [{ data: [1, 1, 1, 1, 1], backgroundColor: ['#F7464A', '#46BFBD', '#FDB45C', '#949FB1', '#9FB194'],