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>2019-07-29 10:17:07 +0300
committerStefan Giehl <stefan@matomo.org>2019-07-29 10:17:07 +0300
commit868bb88a7abf961f6f723c1a053a670f1b04913e (patch)
tree697e5fd5e214fbc04a6544e0832dfb484812ae1c
parentf567986d5bca174615d331c34d235808617a744b (diff)
Fix missing translation key Goals_Patterns (#14707)
* Fix missing translation key Goals_Patterns * Update Goals.php * Update manage-goals.controller.js
-rw-r--r--plugins/Goals/Goals.php1
-rw-r--r--plugins/Goals/angularjs/manage-goals/manage-goals.controller.js4
2 files changed, 3 insertions, 2 deletions
diff --git a/plugins/Goals/Goals.php b/plugins/Goals/Goals.php
index d0c84ec7c5..8ad81a1144 100644
--- a/plugins/Goals/Goals.php
+++ b/plugins/Goals/Goals.php
@@ -368,5 +368,6 @@ class Goals extends \Piwik\Plugin
$translationKeys[] = 'Goals_Ecommerce';
$translationKeys[] = 'Goals_Optional';
$translationKeys[] = 'Goals_TimeInMinutes';
+ $translationKeys[] = 'Goals_Pattern';
}
}
diff --git a/plugins/Goals/angularjs/manage-goals/manage-goals.controller.js b/plugins/Goals/angularjs/manage-goals/manage-goals.controller.js
index e8431afa6d..44fd866889 100644
--- a/plugins/Goals/angularjs/manage-goals/manage-goals.controller.js
+++ b/plugins/Goals/angularjs/manage-goals/manage-goals.controller.js
@@ -207,9 +207,9 @@
};
this.getPatternFieldLabel = function () {
- return this.goal.matchAttribute === 'visit_duration' ? _pk_translate('Goals_TimeInMinutes') : _pk_translate('Goals_Patterns');
+ return this.goal.matchAttribute === 'visit_duration' ? _pk_translate('Goals_TimeInMinutes') : _pk_translate('Goals_Pattern');
};
this.showListOfReports(false);
}
-})(); \ No newline at end of file
+})();