From 6269798089c3c9889e9097d84ce491c33473748c Mon Sep 17 00:00:00 2001 From: Alejandro Alonso Date: Mon, 13 Apr 2015 09:34:52 +0200 Subject: [PATCH] Fixing i18n for graph hovers --- app/coffee/modules/backlog/main.coffee | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/coffee/modules/backlog/main.coffee b/app/coffee/modules/backlog/main.coffee index 2dcf2362..b2794808 100644 --- a/app/coffee/modules/backlog/main.coffee +++ b/app/coffee/modules/backlog/main.coffee @@ -956,16 +956,16 @@ tgBacklogGraphDirective = ($translate) -> tooltipOpts: { content: (label, xval, yval, flotItem) -> if flotItem.seriesIndex == 1 - return $translate.instant("BACKLOG.OPTIMA", {xval: xval, yval: yval}) + return $translate.instant("BACKLOG.CHART.OPTIMAL", {xval: xval, yval: yval}) else if flotItem.seriesIndex == 2 - return $translate.instant("BACKLOG.REAL", {xval: xval, yval: yval}) + return $translate.instant("BACKLOG.CHART.REAL", {xval: xval, yval: yval}) else if flotItem.seriesIndex == 3 - return $translate.instant("BACKLOG.INCREMENT_TEAM", {xval: xval, yval: Math.abs(yval)}) + return $translate.instant("BACKLOG.CHART.INCREMENT_TEAM", {xval: xval, yval: Math.abs(yval)}) else - return $translate.instant("BACKLOG.INCREMENT_CLIENT", {xval: xval, yval: Math.abs(yval)}) + return $translate.instant("BACKLOG.CHART.INCREMENT_CLIENT", {xval: xval, yval: Math.abs(yval)}) } }