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:
authordizzy <diosmosis@users.noreply.github.com>2021-02-10 08:37:26 +0300
committerGitHub <noreply@github.com>2021-02-10 08:37:26 +0300
commitbc1d57f6dc43e843d26cbb5e484539201f518cf9 (patch)
tree124d9ba0bb2f0a860fdaa9e39c059944dc94af4e /plugins/UserCountryMap
parentf3782b96ad41d9ec52e759e7ca47bceba570bc35 (diff)
Display help icons for categories/subcategories (#17062)
* show help icons in left and display help messages on click * pointless commit * more fixes for when to show icon persistent * More docs & more fixes. * some fixes, more styling changes + UI test * remove line breaks * fix link * update SecurityInfo plugin to latest * apply more review feedback * Adding help text + tweak to notification title bar. * fix issues after review and make exception clearer * update submodules * Update CustomVariables submodule. * fixing tests * fix test Co-authored-by: sgiehl <stefan@matomo.org>
Diffstat (limited to 'plugins/UserCountryMap')
-rw-r--r--plugins/UserCountryMap/Categories/RealTimeMapSubcategory.php5
-rw-r--r--plugins/UserCountryMap/lang/en.json3
2 files changed, 7 insertions, 1 deletions
diff --git a/plugins/UserCountryMap/Categories/RealTimeMapSubcategory.php b/plugins/UserCountryMap/Categories/RealTimeMapSubcategory.php
index 00d02729a2..6fcde56f94 100644
--- a/plugins/UserCountryMap/Categories/RealTimeMapSubcategory.php
+++ b/plugins/UserCountryMap/Categories/RealTimeMapSubcategory.php
@@ -9,6 +9,7 @@
namespace Piwik\Plugins\UserCountryMap\Categories;
use Piwik\Category\Subcategory;
+use Piwik\Piwik;
class RealTimeMapSubcategory extends Subcategory
{
@@ -16,4 +17,8 @@ class RealTimeMapSubcategory extends Subcategory
protected $id = 'UserCountryMap_RealTimeMap';
protected $order = 9;
+ public function getHelp()
+ {
+ return '<p>' . Piwik::translate('UserCountryMap_RealTimeMapHelp') . '</p>';
+ }
}
diff --git a/plugins/UserCountryMap/lang/en.json b/plugins/UserCountryMap/lang/en.json
index a4e98e6331..985e1aa41f 100644
--- a/plugins/UserCountryMap/lang/en.json
+++ b/plugins/UserCountryMap/lang/en.json
@@ -22,6 +22,7 @@
"WithUnknownRegion": "%s with unknown region",
"WithUnknownCity": "%s with unknown city",
"NoVisitsInfo": "There are no visits displayed currently, because no visit for this period has the correct geolocation information (latitude & longitude).",
- "NoVisitsInfo2": "To resolve this issue, make sure you are using a GeoIP geolocation provider with a GeoIP city database. If this does not resolve your issue, then it is possible (though unlikely) that your visits have IP addresses that just cannot be geolocated."
+ "NoVisitsInfo2": "To resolve this issue, make sure you are using a GeoIP geolocation provider with a GeoIP city database. If this does not resolve your issue, then it is possible (though unlikely) that your visits have IP addresses that just cannot be geolocated.",
+ "RealTimeMapHelp": "The Real-time Map shows the location of visitors on your site within the last 30 minutes. Large orange bubbles represent more recent visits, while smaller grey bubbles represent older visits. This data refreshes every five seconds, and new visitors appear with a flashing effect."
}
} \ No newline at end of file