diff options
author | Nina Pypchenko <22447785+nina-py@users.noreply.github.com> | 2020-09-23 01:22:46 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-23 01:22:46 +0300 |
commit | da633933c169a530f737faa519149ff621875fd9 (patch) | |
tree | 5d180727e81f61da23249efd194daef818501d06 /plugins | |
parent | 780c5ab50e2afdb9db506d5645d80ab1b1e15e8c (diff) |
Moved search translation string from the Feedback plugin to the CoreHome one (#16460)
* Moved search translation string from the Feedback plugin to the CoreHome one
* Moved the translation string to the CoreHome plugin and updated its prefix from Feedback to CoreHome
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/CoreHome/CoreHome.php | 1 | ||||
-rw-r--r-- | plugins/CoreHome/angularjs/quick-access/quick-access.directive.html | 2 | ||||
-rw-r--r-- | plugins/CoreHome/lang/en.json | 5 | ||||
-rw-r--r-- | plugins/Feedback/Feedback.php | 1 | ||||
-rw-r--r-- | plugins/Feedback/lang/en.json | 5 |
5 files changed, 7 insertions, 7 deletions
diff --git a/plugins/CoreHome/CoreHome.php b/plugins/CoreHome/CoreHome.php index a2db0401d5..6b6b7bceb0 100644 --- a/plugins/CoreHome/CoreHome.php +++ b/plugins/CoreHome/CoreHome.php @@ -476,6 +476,7 @@ class CoreHome extends \Piwik\Plugin $translationKeys[] = 'CoreHome_PageDownShortcutDescription'; $translationKeys[] = 'CoreHome_MacPageUp'; $translationKeys[] = 'CoreHome_MacPageDown'; + $translationKeys[] = 'CoreHome_SearchOnMatomo'; $translationKeys[] = 'General_ComputedMetricMax'; $translationKeys[] = 'General_XComparedToY'; $translationKeys[] = 'General_ComparisonCardTooltip1'; diff --git a/plugins/CoreHome/angularjs/quick-access/quick-access.directive.html b/plugins/CoreHome/angularjs/quick-access/quick-access.directive.html index 5de3a7eeb5..c28c8f1d1f 100644 --- a/plugins/CoreHome/angularjs/quick-access/quick-access.directive.html +++ b/plugins/CoreHome/angularjs/quick-access/quick-access.directive.html @@ -41,7 +41,7 @@ <li ng-class="{selected: search.index == 'help'}" class="quick-access-help" ng-mouseenter="search.index='help'"> - <a ng-href="https://matomo.org?s={{ urlEncode(search.term) }}" target="_blank">{{'Feedback_SearchOnMatomo' | translate:(search.term)}}</a> + <a ng-href="https://matomo.org?s={{ urlEncode(search.term) }}" target="_blank">{{'CoreHome_SearchOnMatomo' | translate:(search.term)}}</a> </li> </ul> </div> diff --git a/plugins/CoreHome/lang/en.json b/plugins/CoreHome/lang/en.json index a3612f6e42..730834fcf9 100644 --- a/plugins/CoreHome/lang/en.json +++ b/plugins/CoreHome/lang/en.json @@ -110,6 +110,7 @@ "ReadMoreOnlineGuide": "Read more about this topic in the online guide.", "SeeAvailableVersions": "See Available Versions", "QuickLinks": "Quick Links", - "Profilable": "Profilable" + "Profilable": "Profilable", + "SearchOnMatomo": "Search '%1$s' on Matomo.org" } -}
\ No newline at end of file +} diff --git a/plugins/Feedback/Feedback.php b/plugins/Feedback/Feedback.php index a03153ea1b..2cad4d77de 100644 --- a/plugins/Feedback/Feedback.php +++ b/plugins/Feedback/Feedback.php @@ -64,7 +64,6 @@ class Feedback extends \Piwik\Plugin $translationKeys[] = 'Feedback_PleaseLeaveExternalReviewForMatomo'; $translationKeys[] = 'Feedback_RemindMeLater'; $translationKeys[] = 'Feedback_NeverAskMeAgain'; - $translationKeys[] = 'Feedback_SearchOnMatomo'; $translationKeys[] = 'General_Ok'; $translationKeys[] = 'General_Cancel'; } diff --git a/plugins/Feedback/lang/en.json b/plugins/Feedback/lang/en.json index 95139b8b7f..9c7182a8c4 100644 --- a/plugins/Feedback/lang/en.json +++ b/plugins/Feedback/lang/en.json @@ -41,7 +41,6 @@ "RemoveOtherLabel": "I want to see my 'Others' data", "PurgeOldData": "I want to remove some old data", "SearchHelpResources": "Search matomo.org help resources", - "PopularHelpTopics": "Popular help topics", - "SearchOnMatomo": "Search '%1$s' on Matomo.org" + "PopularHelpTopics": "Popular help topics" } -}
\ No newline at end of file +} |