From 553022ec58814da68bd2b05b03b37d34dff865ae Mon Sep 17 00:00:00 2001 From: Asturyan Date: Fri, 21 Mar 2014 11:52:06 +0100 Subject: [PATCH] Add translation to jQPlot title --- core/lib/Thelia/Controller/Admin/HomeController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/lib/Thelia/Controller/Admin/HomeController.php b/core/lib/Thelia/Controller/Admin/HomeController.php index d4458843d..eb7a9a2ab 100644 --- a/core/lib/Thelia/Controller/Admin/HomeController.php +++ b/core/lib/Thelia/Controller/Admin/HomeController.php @@ -45,7 +45,7 @@ class HomeController extends BaseAdminController $data = new \stdClass(); - $data->title = "Stats on " . $this->getRequest()->query->get('month', date('m')) . "/" . $this->getRequest()->query->get('year', date('Y')); + $data->title = $this->getTranslator()->trans("Stats on %month/%year", array('%month' => $this->getRequest()->query->get('month', date('m')), '%year' => $this->getRequest()->query->get('year', date('Y')))); /* sales */ $saleSeries = new \stdClass();