diff --git a/src/GoogleAnalyticsExtension.php b/src/GoogleAnalyticsExtension.php index 69b361e..27539ce 100644 --- a/src/GoogleAnalyticsExtension.php +++ b/src/GoogleAnalyticsExtension.php @@ -35,6 +35,7 @@ protected function registerMenuEntries() $menu = (new MenuEntry('google', 'google-analytics')) ->setLabel(Trans::__('Statistics')) + ->setPermission('googleanalytics') ->setIcon('fa:area-chart'); return [$menu]; diff --git a/templates/widget.twig b/templates/widget.twig index f22b9f4..ee5416a 100644 --- a/templates/widget.twig +++ b/templates/widget.twig @@ -11,7 +11,7 @@
{% if statisticspage %} - More statistics + {{__("More statistics")}} {% endif %} diff --git a/translations/en.yml b/translations/en.yml index 96bde88..63368ed 100644 --- a/translations/en.yml +++ b/translations/en.yml @@ -12,6 +12,13 @@ City: City "New visitors": "New visitors" "Returning visitors": "Returning visitors" "Computer": "Computer" +"Pageviews last week": "Pageviews last week" +"Pageviews this week": "Pageviews this week" +"Visits last week": "Visits last week" +"Visits this week": "Visits this week" +"More statistics": "More statistics" +"Visitors/Pageviews in the last 7 days.": "Visitors/Pageviews in the last 7 days." +"Visitors in the last 7 days, compared to the previous week": "Visitors in the last 7 days, compared to the previous week" "Tablet": "Tablet" "Phone": "Phone" "No data": "No data" diff --git a/translations/nl.yml b/translations/nl.yml new file mode 100644 index 0000000..1e0112a --- /dev/null +++ b/translations/nl.yml @@ -0,0 +1,37 @@ +Statistics: Statistieken +"Unique visitors this month compared to last month": "Unieke bezoekers deze maand vergeleken met vorige maand" +"Unique visitors this year compared to last year": "Unieke bezoekers dit jaar in vergelijking met vorig jaar" +City: Plaats +"Visitor type": "Soort bezoekers" +"Device type": "Apparaat type" +"Active visitors right now": "Actieve bezoekers" +"Last month": "Vorige maand" +"This month": "Deze maand" +"Last year": "Vorig jaar" +"This year": "Dit jaar" +"New visitors": "Nieuwe bezoekers " +"Returning visitors": "Terugkerende bezoekers" +"Computer": "Computer" +"Pageviews last week": "Paginaweergaven vorige week" +"Pageviews this week": "Paginaweergaven deze week" +"Visits last week": "Bezoekers vorige week" +"Visits this week": "Bezoekers deze week" +"More statistics": "Meer statistieken" +"Visitors/Pageviews in the last 7 days.": "Bezoekers/Paginaweergaven" +"Visitors in the last 7 days, compared to the previous week": "Bezoekers in de afgelopen 7 dagen, vergeleken met vorige week" +"Tablet": "Tablet" +"Phone": "Mobiel" +"No data": "No data" +"Months": + "Jan": "Jan" + "Feb": "Feb" + "Mar": "Mrt" + "Apr": "Apr" + "May": "Mei" + "Jun": "Jun" + "Jul": "Jul" + "Aug": "Aug" + "Sep": "Sep" + "Oct": "Okt" + "Nov": "Nov" + "Dec": "Dec"