From da9c6159702a228c1d50b65b87dd416730c092b0 Mon Sep 17 00:00:00 2001 From: Stefan Giehl Date: Tue, 5 Jan 2021 01:41:51 +0100 Subject: Adds missing report documentations (#16878) * Fix report documentation not shown when switching between related reports * Adds report documentation for DevicesDetection reports * Adds some more report documentations * Adds documentation to Event reports * Adds documentation to Content reports * Adds documentation to VisitorFrequency report * Adds documentation to Goals reports * Adds documentation to VisitsSummary report * fixes & test updates * fix typo Co-authored-by: Lukas Winkler * small tweaks to some docs * revising some of the report documentation * fix translation file * updates expected test files Co-authored-by: Lukas Winkler Co-authored-by: diosmosis --- plugins/UserId/Reports/GetUsers.php | 2 +- plugins/UserId/lang/en.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins/UserId') diff --git a/plugins/UserId/Reports/GetUsers.php b/plugins/UserId/Reports/GetUsers.php index 58c3216c70..406eb7a9d2 100644 --- a/plugins/UserId/Reports/GetUsers.php +++ b/plugins/UserId/Reports/GetUsers.php @@ -27,7 +27,7 @@ class GetUsers extends Base $this->name = Piwik::translate('UserId_UserReportTitle'); $this->subcategoryId = 'UserId_UserReportTitle'; - $this->documentation = ''; + $this->documentation = Piwik::translate('UserId_UserReportDocumentation'); $this->dimension = new UserId(); $this->metrics = array('label', 'nb_visits', 'nb_actions', 'nb_visits_converted'); $this->supportsFlatten = false; diff --git a/plugins/UserId/lang/en.json b/plugins/UserId/lang/en.json index f849012bdb..4fccd61bd4 100644 --- a/plugins/UserId/lang/en.json +++ b/plugins/UserId/lang/en.json @@ -2,6 +2,7 @@ "UserId": { "UserId": "UserId", "UserReportTitle": "User IDs", + "UserReportDocumentation": "This report shows visits and other general metrics for every individual User ID.", "PluginDescription": "Shows user reports" } } \ No newline at end of file -- cgit v1.2.3