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:
authorChristian Schmidt <github@chsc.dk>2018-06-11 01:42:45 +0300
committerdiosmosis <diosmosis@users.noreply.github.com>2018-06-11 01:42:45 +0300
commit6666479c84793895d444f8209cc60137bd121604 (patch)
treee2d797c4fd030840f23d80ea37789b4f56761163 /plugins/PrivacyManager
parent592b13fd29ad9b7a53db032e53b09fcfb0691043 (diff)
Make some menus translatable (#12885)
* Make some menus translatable * Update changelog
Diffstat (limited to 'plugins/PrivacyManager')
-rw-r--r--plugins/PrivacyManager/Menu.php8
-rw-r--r--plugins/PrivacyManager/lang/en.json6
2 files changed, 9 insertions, 5 deletions
diff --git a/plugins/PrivacyManager/Menu.php b/plugins/PrivacyManager/Menu.php
index 949b733e6b..adacf8c9cb 100644
--- a/plugins/PrivacyManager/Menu.php
+++ b/plugins/PrivacyManager/Menu.php
@@ -24,10 +24,10 @@ class Menu extends \Piwik\Plugin\Menu
$menu->addItem($category, 'PrivacyManager_AnonymizeData', $this->urlForAction('privacySettings'), 5);
}
- $menu->addItem($category, 'Users opt-out', $this->urlForAction('usersOptOut'), 10);
- $menu->addItem($category, 'Asking for consent', $this->urlForAction('consent'), 15);
- $menu->addItem($category, 'GDPR Overview', $this->urlForAction('gdprOverview'), 20);
- $menu->addItem($category, 'GDPR Tools', $this->urlForAction('gdprTools'), 25);
+ $menu->addItem($category, 'PrivacyManager_UsersOptOut', $this->urlForAction('usersOptOut'), 10);
+ $menu->addItem($category, 'PrivacyManager_AskingForConsent', $this->urlForAction('consent'), 15);
+ $menu->addItem($category, 'PrivacyManager_GdprOverview', $this->urlForAction('gdprOverview'), 20);
+ $menu->addItem($category, 'PrivacyManager_GdprTools', $this->urlForAction('gdprTools'), 25);
}
}
}
diff --git a/plugins/PrivacyManager/lang/en.json b/plugins/PrivacyManager/lang/en.json
index db35747315..42e417fc7f 100644
--- a/plugins/PrivacyManager/lang/en.json
+++ b/plugins/PrivacyManager/lang/en.json
@@ -6,6 +6,7 @@
"AnonymizeIpExtendedHelp": "When users visit your website, Matomo will not use the full IP address (such as %1$s) but instead Matomo will anonymise it first (to %2$s). IP address anonymisation is one of the requirements set by the privacy laws in some countries such as Germany.",
"AnonymizeIpMaskLengtDescription": "Select how many bytes of the visitors' IPs should be masked.",
"AnonymizeIpMaskLength": "%1$s byte(s) - e.g. %2$s",
+ "AskingForConsent": "Asking for consent",
"CannotLockSoDeleteLogActions": "The log_action table will not be purged: please grant the LOCK TABLES privilege to the '%s' MySQL user.",
"ClickHereSettings": "Click here to access the %s settings.",
"CurrentDBSize": "Current database size",
@@ -43,6 +44,8 @@
"GeolocationAnonymizeIpNote": "Note: Geolocation will have approximately the same results with 1 byte anonymized. With 2 bytes or more, Geolocation will be inaccurate.",
"GDPR": "GDPR",
"GdprManager": "GDPR Manager",
+ "GdprOverview": "GDPR Overview",
+ "GdprTools": "GDPR Tools",
"GetPurgeEstimate": "Get purge estimate",
"KeepBasicMetrics": "Keep basic metrics (visits, page views, bounce rate, goal conversions, ecommerce conversions, etc.)",
"KeepDataFor": "Keep all data for",
@@ -73,6 +76,7 @@
"PseudonymizeUserId": "Replace User ID with a pseudonym",
"UseAnonymizeOrderId": "Anonymize Order ID",
"UseDeleteLog": "Regularly delete old visitor logs from the database",
- "UseDeleteReports": "Regularly delete old reports from the database"
+ "UseDeleteReports": "Regularly delete old reports from the database",
+ "UsersOptOut": "Users opt-out"
}
}