Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <tsteur@users.noreply.github.com>2015-06-09 05:59:58 +0300
committerThomas Steur <tsteur@users.noreply.github.com>2015-06-09 05:59:58 +0300
commited071abfe7183988273121354996643831f5c4a8 (patch)
treed5bec8dc3c06fa2069317cae062eaf9177b35246 /plugins/Ecommerce
parent44a75228edf9fb1841d8b5dbf126861073bf018f (diff)
parent579d240b99025042f158252950cb556a074ca738 (diff)
Merge pull request #7885 from spacenate/6948_rename_ecomm_goal_categories
Rename Ecommerce & Goals Category Titles
Diffstat (limited to 'plugins/Ecommerce')
-rw-r--r--plugins/Ecommerce/Controller.php5
-rw-r--r--plugins/Ecommerce/lang/en.json3
2 files changed, 5 insertions, 3 deletions
diff --git a/plugins/Ecommerce/Controller.php b/plugins/Ecommerce/Controller.php
index b1ce7cdd4a..7cfb955184 100644
--- a/plugins/Ecommerce/Controller.php
+++ b/plugins/Ecommerce/Controller.php
@@ -14,6 +14,7 @@ use Piwik\FrontController;
use Piwik\Piwik;
use Piwik\Translation\Translator;
use Piwik\View;
+use Piwik\Plugins\Goals\TranslationHelper;
class Controller extends \Piwik\Plugins\Goals\Controller
{
@@ -22,11 +23,11 @@ class Controller extends \Piwik\Plugins\Goals\Controller
*/
private $translator;
- public function __construct(Translator $translator)
+ public function __construct(Translator $translator, TranslationHelper $translationHelper)
{
$this->translator = $translator;
- parent::__construct($translator);
+ parent::__construct($translator, $translationHelper);
}
public function ecommerceReport()
diff --git a/plugins/Ecommerce/lang/en.json b/plugins/Ecommerce/lang/en.json
index 30a8edd89a..1bde457d46 100644
--- a/plugins/Ecommerce/lang/en.json
+++ b/plugins/Ecommerce/lang/en.json
@@ -2,6 +2,7 @@
"Ecommerce": {
"PluginDescription": "Ecommerce lets you track when users add products to carts, and when they convert to a ecommerce sale. Also track products and product categories views and abandoned carts.",
"Sales": "Sales",
- "ViewSalesBy": "View sales by %s"
+ "SalesBy": "Sales by %s",
+ "SalesAdjective": "Sales %s"
}
} \ No newline at end of file