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:
authorThomas Steur <thomas.steur@gmail.com>2015-09-09 17:53:39 +0300
committerThomas Steur <thomas.steur@gmail.com>2015-10-07 14:42:28 +0300
commit10d482f1d3deb4c717fbb87f523428196634a326 (patch)
treefe4ba19fe7a69afed399812fdeed70e123e79579 /plugins/ZenMode
parent8d2e4b1d1ae867b8a1fedcc0d937ef2ad00431b0 (diff)
Left menu design
Diffstat (limited to 'plugins/ZenMode')
-rw-r--r--plugins/ZenMode/ZenMode.php51
-rw-r--r--plugins/ZenMode/angularjs/quick-access/quick-access.directive.html41
-rw-r--r--plugins/ZenMode/angularjs/quick-access/quick-access.directive.js140
-rw-r--r--plugins/ZenMode/angularjs/quick-access/quick-access.directive.less20
-rw-r--r--plugins/ZenMode/angularjs/zen-mode/zen-mode-switcher.directive.js54
-rw-r--r--plugins/ZenMode/angularjs/zen-mode/zen-mode.less93
-rw-r--r--plugins/ZenMode/javascripts/zen-mode.js138
-rw-r--r--plugins/ZenMode/lang/cs.json10
-rw-r--r--plugins/ZenMode/lang/da.json9
-rw-r--r--plugins/ZenMode/lang/de.json10
-rw-r--r--plugins/ZenMode/lang/el.json10
-rwxr-xr-xplugins/ZenMode/lang/en.json10
-rw-r--r--plugins/ZenMode/lang/es.json10
-rw-r--r--plugins/ZenMode/lang/fa.json5
-rw-r--r--plugins/ZenMode/lang/fr.json10
-rw-r--r--plugins/ZenMode/lang/hi.json8
-rw-r--r--plugins/ZenMode/lang/it.json10
-rw-r--r--plugins/ZenMode/lang/ja.json9
-rw-r--r--plugins/ZenMode/lang/nb.json6
-rw-r--r--plugins/ZenMode/lang/nl.json10
-rw-r--r--plugins/ZenMode/lang/pl.json8
-rw-r--r--plugins/ZenMode/lang/pt-br.json10
-rw-r--r--plugins/ZenMode/lang/ro.json9
-rw-r--r--plugins/ZenMode/lang/ru.json9
-rw-r--r--plugins/ZenMode/lang/sr.json10
-rw-r--r--plugins/ZenMode/lang/sv.json9
-rw-r--r--plugins/ZenMode/lang/ta.json6
-rw-r--r--plugins/ZenMode/lang/tl.json9
28 files changed, 0 insertions, 724 deletions
diff --git a/plugins/ZenMode/ZenMode.php b/plugins/ZenMode/ZenMode.php
deleted file mode 100644
index bbacb157c3..0000000000
--- a/plugins/ZenMode/ZenMode.php
+++ /dev/null
@@ -1,51 +0,0 @@
-<?php
-/**
- * Piwik - free/libre analytics platform
- *
- * @link http://piwik.org
- * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
- *
- */
-namespace Piwik\Plugins\ZenMode;
-
-/**
- */
-class ZenMode extends \Piwik\Plugin
-{
- /**
- * @see Piwik\Plugin::registerEvents
- */
- public function registerEvents()
- {
- return array(
- 'AssetManager.getJavaScriptFiles' => 'getJsFiles',
- 'AssetManager.getStylesheetFiles' => 'getStylesheetFiles',
- 'Translate.getClientSideTranslationKeys' => 'getClientSideTranslationKeys'
- );
- }
-
- public function getClientSideTranslationKeys(&$translations)
- {
- $translations[] = 'SitesManager_Sites';
- $translations[] = 'General_Reports';
- $translations[] = 'MultiSites_LoadingWebsites';
- $translations[] = 'ZenMode_SearchForAnything';
- $translations[] = 'ZenMode_QuickAccessTitle';
- $translations[] = 'ZenMode_HowToSearch';
- $translations[] = 'ZenMode_HowToToggleZenMode';
- $translations[] = 'ZenMode_Activated';
- }
-
- public function getJsFiles(&$jsFiles)
- {
- $jsFiles[] = "plugins/ZenMode/javascripts/zen-mode.js";
- $jsFiles[] = "plugins/ZenMode/angularjs/quick-access/quick-access.directive.js";
- $jsFiles[] = "plugins/ZenMode/angularjs/zen-mode/zen-mode-switcher.directive.js";
- }
-
- public function getStylesheetFiles(&$stylesheets)
- {
- $stylesheets[] = "plugins/ZenMode/angularjs/quick-access/quick-access.directive.less";
- $stylesheets[] = "plugins/ZenMode/angularjs/zen-mode/zen-mode.less";
- }
-}
diff --git a/plugins/ZenMode/angularjs/quick-access/quick-access.directive.html b/plugins/ZenMode/angularjs/quick-access/quick-access.directive.html
deleted file mode 100644
index efc284d9da..0000000000
--- a/plugins/ZenMode/angularjs/quick-access/quick-access.directive.html
+++ /dev/null
@@ -1,41 +0,0 @@
-<div class="quick-access" title="{{ 'ZenMode_QuickAccessTitle' | translate }}">
- <input ng-keydown="onKeypress($event)"
- ng-change="search(search.term)"
- ng-model="search.term"
- type="text"
- placeholder="{{ 'ZenMode_SearchForAnything' | translate }}"/>
- <ul ng-show="search.term">
- <li class="quick-access-category"
- ng-click="search('menuCategory')">Menu</li>
- <li class="no-result"
- ng-hide="menuItems | length">---</li>
- <li class="result"
- ng-class="{selected: $index == search.index}"
- ng-click="selectMenuItem(entry.index)"
- ng-mouseenter="search.index=$index"
- ng-repeat="entry in menuItems"><a>{{ entry.name | trim }}</a></li>
-
- <li class="quick-access-category"
- ng-click="search('reportCategory')">{{ 'General_Reports' | translate }}</li>
- <li class="no-result"
- ng-hide="reportEntries | length">---</li>
- <li class="result"
- ng-class="{selected: ((menuItems | length) + $index) == search.index}"
- ng-mouseenter="search.index=((menuItems | length) + $index)"
- ng-click="selectMenuItem(report.index)"
- ng-repeat="report in reportEntries"><a>{{ report.name | trim }}</a></li>
-
- <li class="quick-access-category"
- ng-click="search('%')">{{ 'SitesManager_Sites' | translate }}</li>
- <li class="no-result"
- ng-hide="(sitesModel.sites | length) || sitesModel.isLoading">---</li>
- <li class="no-result"
- ng-show="sitesModel.isLoading">{{ 'MultiSites_LoadingWebsites' | translate }}</li>
- <li class="result"
- ng-show="!sitesModel.isLoading"
- ng-mouseenter="search.index=((menuItems | length) + $index + (reportEntries | length))"
- ng-class="{selected: ((menuItems | length) + $index + (reportEntries | length)) == search.index}"
- ng-click="selectSite(site.idsite)"
- ng-repeat="site in sitesModel.sites"><a>{{ site.name | trim }}</a></li>
- </ul>
-</div> \ No newline at end of file
diff --git a/plugins/ZenMode/angularjs/quick-access/quick-access.directive.js b/plugins/ZenMode/angularjs/quick-access/quick-access.directive.js
deleted file mode 100644
index c05fb5fbbc..0000000000
--- a/plugins/ZenMode/angularjs/quick-access/quick-access.directive.js
+++ /dev/null
@@ -1,140 +0,0 @@
-/*!
- * Piwik - free/libre analytics platform
- *
- * @link http://piwik.org
- * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
- */
-
-/**
- * Usage:
- * <div piwik-dialog="showDialog">...</div>
- * Will show dialog once showDialog evaluates to true.
- *
- * Will execute the "executeMyFunction" function in the current scope once the yes button is pressed.
- */
-(function () {
- angular.module('piwikApp').directive('piwikQuickAccess', QuickAccessDirective);
-
- QuickAccessDirective.$inject = ['$rootElement', '$timeout', '$filter', 'siteSelectorModel', 'piwik'];
-
- function QuickAccessDirective ($rootElement, $timeout, $filter, siteSelectorModel, piwik) {
-
- return {
- restrict: 'A',
- replace: true,
- scope: {},
- templateUrl: 'plugins/ZenMode/angularjs/quick-access/quick-access.directive.html?cb=' + piwik.cacheBuster,
- link: function (scope, element, attrs) {
-
- var menuIndex = -1;
- var menuItems = [];
- var reportEntries = [];
-
- scope.reportEntries = [];
- scope.menuItems = [];
- scope.sitesModel = siteSelectorModel;
-
- function getMenuItems()
- {
- if (menuItems && menuItems.length) {
- return menuItems;
- }
-
- $rootElement.find('#topRightBar .topBarElem a').each(function (index, element) {
- menuItems.push({name: $(element).text(), index: ++menuIndex, category: 'menuCategory'});
- $(element).attr('quick_access', menuIndex);
- });
-
- return menuItems;
- }
-
- function getReportEntries()
- {
- if (reportEntries && reportEntries.length) {
- return reportEntries;
- }
-
- $rootElement.find('.Menu-tabList a').each(function (index, element) {
- reportEntries.push({name: $(element).text(), category: 'reportCategory', index: ++menuIndex});
- $(element).attr('quick_access', menuIndex);
- });
-
- return reportEntries;
- }
-
- function highlightPreviousItem()
- {
- if (0 >= (scope.search.index - 1)) {
- scope.search.index = 0;
- } else {
- scope.search.index--;
- }
- }
-
- function highlightNextItem()
- {
- var numTotal = element.find('li.result').length;
-
- if (numTotal <= (scope.search.index + 1)) {
- scope.search.index = numTotal - 1;
- } else {
- scope.search.index++;
- }
- }
-
- function executeMenuItem()
- {
- var results = element.find('li.result');
- if (results && results.length && results[scope.search.index]) {
- var selectedMenuElement = $(results[scope.search.index]);
- $timeout(function () {
- selectedMenuElement.click();
- }, 20);
- }
- }
-
- scope.onKeypress = function (event) {
-
- if (38 == event.which) {
- highlightPreviousItem();
- event.preventDefault();
- } else if (40 == event.which) {
- highlightNextItem();
- event.preventDefault();
- } else if (13 == event.which) {
- executeMenuItem();
- }
- };
-
- scope.search = function (searchTerm) {
- this.search.index = 0;
-
- this.menuItems = $filter('filter')(getMenuItems(), searchTerm);
- this.reportEntries = $filter('filter')(getReportEntries(), searchTerm);
- this.sitesModel.searchSite(searchTerm);
- };
-
- scope.selectSite = function (idsite) {
- this.sitesModel.loadSite(idsite);
- };
-
- scope.selectMenuItem = function (index) {
- var target = $rootElement.find('[quick_access=' + index + ']');
-
- if (target && target.length && target[0]) {
- var actualTarget = target[0];
-
- var href = $(actualTarget).attr('href');
-
- if (href && href.length > 10) {
- actualTarget.click();
- } else {
- $(actualTarget).click();
- }
- }
- };
-
- }
- };
- }
-})(); \ No newline at end of file
diff --git a/plugins/ZenMode/angularjs/quick-access/quick-access.directive.less b/plugins/ZenMode/angularjs/quick-access/quick-access.directive.less
deleted file mode 100644
index 52d29dafa9..0000000000
--- a/plugins/ZenMode/angularjs/quick-access/quick-access.directive.less
+++ /dev/null
@@ -1,20 +0,0 @@
-.quick-access {
- .selected {
- background-color: #f2f2f2 !important;
- }
- .quick-access-category {
- text-align: left !important;
- font-size: 14px;
- padding: 5px;
- cursor: pointer;
- }
- .result {
- cursor: pointer;
- }
- .quick-access-category:hover {
- background: none !important;
- }
- .no-result {
- padding-left: 27px;
- }
-} \ No newline at end of file
diff --git a/plugins/ZenMode/angularjs/zen-mode/zen-mode-switcher.directive.js b/plugins/ZenMode/angularjs/zen-mode/zen-mode-switcher.directive.js
deleted file mode 100644
index 36ac43a39a..0000000000
--- a/plugins/ZenMode/angularjs/zen-mode/zen-mode-switcher.directive.js
+++ /dev/null
@@ -1,54 +0,0 @@
-/*!
- * Piwik - free/libre analytics platform
- *
- * @link http://piwik.org
- * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
- */
-
-/**
- * Usage:
- * <div piwik-zen-mode-switcher>...</div>
- * Will toggle the zen mode on click on this element.
- */
-(function () {
- angular.module('piwikApp').directive('piwikZenModeSwitcher', piwikZenModeSwitcher);
-
- piwikZenModeSwitcher.$inject = ['$rootElement', '$filter'];
-
- function piwikZenModeSwitcher($rootElement, $filter) {
-
- function showZenModeIsActivatedNotification() {
- var howToSearch = $filter('translate')('ZenMode_HowToSearch');
- var howToToggle = $filter('translate')('ZenMode_HowToToggleZenMode');
- var activated = $filter('translate')('ZenMode_Activated');
-
- var message = '<ul><li>' + howToSearch + '</li><li>' + howToToggle + '</li></ul>';
-
- var UI = require('piwik/UI');
- var notification = new UI.Notification();
- notification.show(message, {
- title: activated,
- context: 'info',
- id: 'ZenMode_EnabledInfo'
- });
- }
-
- return {
- restrict: 'A',
- compile: function (element, attrs) {
-
- element.on('click', function() {
- $rootElement.trigger('zen-mode-toggle', {});
-
- if ($rootElement.hasClass('zenMode')) {
- showZenModeIsActivatedNotification();
- }
- });
-
- return function () {
- };
- }
- };
-
- }
-})(); \ No newline at end of file
diff --git a/plugins/ZenMode/angularjs/zen-mode/zen-mode.less b/plugins/ZenMode/angularjs/zen-mode/zen-mode.less
deleted file mode 100644
index d637f20241..0000000000
--- a/plugins/ZenMode/angularjs/zen-mode/zen-mode.less
+++ /dev/null
@@ -1,93 +0,0 @@
-.deactivateZenMode {
- float:right;
- margin-right: 13px;
- margin-top: 4px;
- display: none;
- img {
- width: 16px;
- height: 16px;
- }
-}
-
-.activateZenMode {
- img {
- margin-top: -3px;
- margin-bottom: -3px;
- width: 16px;
- height: 16px;
- }
-}
-
-.Menu--dashboard #Searchmenu {
- display: none;
-}
-
-.zenMode {
-
- #header {
- display: none;
- }
-
- .Menu--dashboard {
- border-bottom: 1px solid @theme-color-background-lowContrast !important;
-
- #Searchmenu {
- display: block;
- }
- }
-
- .quick-access {
- display: inline-block;
- color: #999;
- padding: 8px 20px 7px 20px;
- input {
- border:0px;
- border-bottom: 1px solid #CCC;
- font-size: 11px !important;
- }
- }
-
- .deactivateZenMode {
- display: block;
- }
-
- .activateZenMode {
- display: none;
- }
-
- .nav_sep {
- display: none;
- }
-
- /* MENU LEVEL2 HOVER */
- .Menu--dashboard > .Menu-tabList > li li {
- float: none;
- text-align: left;
- }
-
- .Menu--dashboard > .Menu-tabList > li li:hover {
- background-color: #f2f2f2;
- }
-
- .Menu--dashboard > .Menu-tabList > li ul {
- display: none;
- }
-
- .Menu--dashboard > .Menu-tabList > li.sfHover ul,
- .Menu--dashboard > .Menu-tabList > li:hover ul {
- display: none;
- z-index: 150;
- background-color: @theme-color-background-base;
- width: auto;
- border: 1px solid #D9D9D9;
- padding-top: 0px;
- border-top: 4px solid #D3291F;
- }
-
- #root .sites_selector_in_dashboard {
- margin-top:0px;
- margin-right: 0px;
- display: none;
- }
-
-}
diff --git a/plugins/ZenMode/javascripts/zen-mode.js b/plugins/ZenMode/javascripts/zen-mode.js
deleted file mode 100644
index bc2a793942..0000000000
--- a/plugins/ZenMode/javascripts/zen-mode.js
+++ /dev/null
@@ -1,138 +0,0 @@
-/*!
- * Piwik - free/libre analytics platform
- *
- * @link http://piwik.org
- * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
- */
-
-$(document).ready(function () {
-
- if (!isDashboard()) {
- return;
- }
-
- var addedElement = $('#topRightBar').append(
- ' | <span class="topBarElem activateZenMode" piwik-zen-mode-switcher>'
- + '<img src="plugins/CoreHome/images/navigation_expand.png">'
- + ' </span>'
- );
-
- piwikHelper.compileAngularComponents(addedElement);
-
- addedElement = $('.Menu--dashboard').prepend(
- '<span piwik-zen-mode-switcher class="deactivateZenMode">'
- + '<img src="plugins/CoreHome/images/navigation_collapse.png" >'
- + '</span>');
-
- piwikHelper.compileAngularComponents(addedElement);
-
- angular.element(document).injector().invoke(handleZenMode);
-
- function handleZenMode ($rootElement, $cookies) {
-
- var zenMode = !!parseInt($cookies.zenMode, 10);
-
- $rootElement.on('zen-mode-toggle', toggleZenMode);
-
- function toggleZenMode()
- {
- zenMode = !zenMode;
-
- updateZenMode();
- }
-
- function updateZenMode()
- {
- $cookies.zenMode = zenMode ? '1' : '0';
-
- if (zenMode) {
- $rootElement.addClass('zenMode');
- initMenu();
- } else {
- $rootElement.removeClass('zenMode');
- uninitMenu();
- }
-
- resetSubmenu();
- }
-
- if (zenMode) {
- updateZenMode();
- }
-
- Mousetrap.bind('alt+z', function() {
- toggleZenMode();
- });
-
- Mousetrap.bind('alt+f', function(event) {
- if (event.preventDefault) {
- event.preventDefault();
- } else {
- event.returnValue = false; // IE
- }
-
- $('.quick-access input').focus();
- });
- }
-
- function isDashboard()
- {
- return !!$('.Menu--dashboard').length;
- }
-
- function initMenu () {
- var menuNode = $('.Menu--dashboard');
- menuNode.on('piwikSwitchPage', resetSubmenu);
- menuNode.on('mouseenter', 'li:has(ul)', overMainLI);
- menuNode.on('mouseleave', 'li:has(ul)', outMainLI);
-
- $('#Searchmenu').on('keydown focus', '.quick-access input', showQuickAccessMenu);
- $('#Searchmenu').on('blur', '.quick-access input', hideQuickAccessMenu);
- }
-
- function uninitMenu () {
- var menuNode = $('.Menu--dashboard');
- menuNode.off('piwikSwitchPage', resetSubmenu);
- menuNode.off('mouseenter', 'li:has(ul)', overMainLI);
- menuNode.off('mouseleave', 'li:has(ul)', outMainLI);
-
- $('#Searchmenu').off('keydown focus', '.quick-access input', showQuickAccessMenu);
- $('#Searchmenu').off('blur', '.quick-access input', hideQuickAccessMenu);
- menu.prototype.adaptSubMenuHeight();
- }
-
- function overMainLI () {
- var $this = $(this);
- var position = $this.position();
- var width = $this.width();
- var height = $this.height();
-
- $this.find('ul').css({
- left: position.left + 'px',
- display: 'block',
- minWidth: width + 'px',
- position: 'absolute',
- top: (position.top + height) + 'px',
- maxHeight: 'none'
- });
- }
-
- function outMainLI () {
- $(this).find('ul').css({left: '', display: '', minWidth: '', position: '', top: '', maxHeight: ''});
- }
-
- function resetSubmenu()
- {
- $('.Menu--dashboard').find('li:has(ul)').mouseleave();
- }
-
- function showQuickAccessMenu() {
- resetSubmenu();
- $('#Searchmenu').mouseenter();
- }
-
- function hideQuickAccessMenu() {
- $('#Searchmenu').mouseleave();
- }
-});
-
diff --git a/plugins/ZenMode/lang/cs.json b/plugins/ZenMode/lang/cs.json
deleted file mode 100644
index 9ff86d3615..0000000000
--- a/plugins/ZenMode/lang/cs.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "ZenMode": {
- "PluginDescription": "Nebuďte rušeni. Zen režim věci zjednoduší. Je dostupný přes ikonu v pravém horním rohu obrazovky.",
- "SearchForAnything": "Hledat cokoliv",
- "QuickAccessTitle": "Hledat hlášení, webové stránky nebo položky menu",
- "HowToSearch": "Pokud chcete najít hlášení nebo položky menu, použijte vyhledávací pole v pravé horní části, nebo stiskněte 'alt+f'.",
- "HowToToggleZenMode": "Pokud chcete přepnout zen režim, použijte šipku v pravé horní oblasti, nebo stiskněte 'alt+z'.",
- "Activated": "Zen režim aktivován"
- }
-} \ No newline at end of file
diff --git a/plugins/ZenMode/lang/da.json b/plugins/ZenMode/lang/da.json
deleted file mode 100644
index 8275461eaf..0000000000
--- a/plugins/ZenMode/lang/da.json
+++ /dev/null
@@ -1,9 +0,0 @@
-{
- "ZenMode": {
- "SearchForAnything": "Søg efter alt",
- "QuickAccessTitle": "Søg efter menupunkter, rapporter og hjemmesider",
- "HowToSearch": "For at søge efter menupunkter, rapporter eller hjemmesider bruge søgefeltet øverst til højre, eller tryk på 'alt+f'.",
- "HowToToggleZenMode": "Forlad eller kom i Zen-tilstand ved at klikke på pilen øverst til højre, eller tryk på 'alt+z'.",
- "Activated": "Zen-tilstand aktiveret"
- }
-} \ No newline at end of file
diff --git a/plugins/ZenMode/lang/de.json b/plugins/ZenMode/lang/de.json
deleted file mode 100644
index 24ffa53ade..0000000000
--- a/plugins/ZenMode/lang/de.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "ZenMode": {
- "PluginDescription": "Bleiben Sie \"Zen\" mit Piwik. Der \"Zen-Modus\" hält die Dinge einfach. Er ist verfügbar über das Icon am rechten, oberen Ende des Bildschirms.",
- "SearchForAnything": "Nach etwas suchen",
- "QuickAccessTitle": "Nach Menüeinträgen, Berichten oder Websites suchen",
- "HowToSearch": "Um nach Menüeinträgen, Berichten oder Websites zu suchen, das Suchfeld oben benutzen oder Alt+f drücken.",
- "HowToToggleZenMode": "Auf den oberen rechten Pfeil klicken um den Zen Modus zu verlassen oder Alt+t drücken.",
- "Activated": "Zen Modus aktiviert"
- }
-} \ No newline at end of file
diff --git a/plugins/ZenMode/lang/el.json b/plugins/ZenMode/lang/el.json
deleted file mode 100644
index 5a29f9805a..0000000000
--- a/plugins/ZenMode/lang/el.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "ZenMode": {
- "PluginDescription": "Μείνετε στο Zen με το Piwik. Η κατάσταση Zen τηρεί τα πράματα σε απλή κατάσταση. Είναι διαθέσιμη ως εικονίδιο πάνω δεξιά στην οθόνη.",
- "SearchForAnything": "Αναζήτηση για όλα",
- "QuickAccessTitle": "Αναζήτηση για καταχωρήσεις μενού, αναφορές και ιστοτόπους",
- "HowToSearch": "Για να αναζητήσετε σε καταχωρήσεις μενού, αναφορές ή ιστοτόπους χρησιμοποιείστε το πλαίσιο αναζήτηση πάνω δεξιά ή πατήστε 'Alt+F'.",
- "HowToToggleZenMode": "Για να βγείτε ή μεταβείτε σε κατάσταση Zen, πατήστε στο βέλος πάνω δεξιά ή πατήστε 'Alt+Z'.",
- "Activated": "Η κατάσταση Zen ενεργοποιήθηκε"
- }
-} \ No newline at end of file
diff --git a/plugins/ZenMode/lang/en.json b/plugins/ZenMode/lang/en.json
deleted file mode 100755
index 4a3aa78ee8..0000000000
--- a/plugins/ZenMode/lang/en.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "ZenMode": {
- "PluginDescription": "Stay Zen with Piwik. Zen mode keeps things simple. It is available via the icon in the top right of the screen.",
- "SearchForAnything": "Search for anything",
- "QuickAccessTitle": "Search for menu entries, reports and websites",
- "HowToSearch": "To search for menu items, reports or websites use the search box on the top right or press 'alt+f'.",
- "HowToToggleZenMode": "To leave or enter the zen mode click the arrow on the top right or press 'alt+z'.",
- "Activated": "Zen mode activated"
- }
-} \ No newline at end of file
diff --git a/plugins/ZenMode/lang/es.json b/plugins/ZenMode/lang/es.json
deleted file mode 100644
index 27fcf38a62..0000000000
--- a/plugins/ZenMode/lang/es.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "ZenMode": {
- "PluginDescription": "Permanecer Zen con Piwik. El modo Zen mantiene las cosas simples. Está disponible vía el icono en el extremo superior derecho de la pantalla.",
- "SearchForAnything": "Buscar lo que quiera",
- "QuickAccessTitle": "Buscar entradas de menú, reportes y sitios de internet",
- "HowToSearch": "Para buscar entradas de menú, reportes o sitios de internet utilice la caja de búsqueda en la parte superior derecha o presione 'alt+f'.",
- "HowToToggleZenMode": "Para salir o ingresar al modo Zen haga clic en la flecha en la parte superior derecha o presione 'alt+z'.",
- "Activated": "Modo Zen activado"
- }
-} \ No newline at end of file
diff --git a/plugins/ZenMode/lang/fa.json b/plugins/ZenMode/lang/fa.json
deleted file mode 100644
index d221d07b56..0000000000
--- a/plugins/ZenMode/lang/fa.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "ZenMode": {
- "SearchForAnything": "جستجوی همه"
- }
-} \ No newline at end of file
diff --git a/plugins/ZenMode/lang/fr.json b/plugins/ZenMode/lang/fr.json
deleted file mode 100644
index bd8c99350c..0000000000
--- a/plugins/ZenMode/lang/fr.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "ZenMode": {
- "PluginDescription": "Restez zen avec Piwik. Le mode zen conserve les choses simples. Il est disponible via l'icône en haut à droite de l'écran.",
- "SearchForAnything": "Rechercher tout",
- "QuickAccessTitle": "Rechercher des éléments du menu, rapports et sites web",
- "HowToSearch": "Pour rechercher des éléments du menu, rapports ou sites web utilisez la barre de recherche en haut à droite ou pressez 'alt+f'.",
- "HowToToggleZenMode": "Pour quitter ou entrer en mode zen cliquez sur la flèche dans le coin supérieur droit ou pressez 'alt+z'.",
- "Activated": "Mode zen activé"
- }
-} \ No newline at end of file
diff --git a/plugins/ZenMode/lang/hi.json b/plugins/ZenMode/lang/hi.json
deleted file mode 100644
index 44ac4ac168..0000000000
--- a/plugins/ZenMode/lang/hi.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "ZenMode": {
- "PluginDescription": "Piwik साथ जेन रहें। ज़ेन मोड सरल बातें करती रहती है। यह स्क्रीन के ऊपर सही में आइकन के माध्यम से उपलब्ध है।",
- "SearchForAnything": "कुछ के लिए खोज",
- "QuickAccessTitle": "मेनू प्रविष्टियों, रिपोर्टों और वेबसाइटों के लिए खोज",
- "Activated": "ज़ेन मोड सक्रिय"
- }
-} \ No newline at end of file
diff --git a/plugins/ZenMode/lang/it.json b/plugins/ZenMode/lang/it.json
deleted file mode 100644
index cb5bcb5295..0000000000
--- a/plugins/ZenMode/lang/it.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "ZenMode": {
- "PluginDescription": "Sii Zen con Piwik. La modalità Zen rende le cose facili. È disponibile tramite l'icona che si trova nell'angolo in alto a destra dello schermo.",
- "SearchForAnything": "Cerca tutto",
- "QuickAccessTitle": "Ricerca elementi di menù, report e siti web",
- "HowToSearch": "Per ricercare elementi di menù, report o siti web utilizza la casella di ricerca in alto a destra o premi 'alt+f'.",
- "HowToToggleZenMode": "Per lasciare la modalità Zen o entrarvi, clicca sulla freccia in alto a destra o premi 'alt+z'.",
- "Activated": "Modalità Zen attivata"
- }
-} \ No newline at end of file
diff --git a/plugins/ZenMode/lang/ja.json b/plugins/ZenMode/lang/ja.json
deleted file mode 100644
index 3bc49cdb1e..0000000000
--- a/plugins/ZenMode/lang/ja.json
+++ /dev/null
@@ -1,9 +0,0 @@
-{
- "ZenMode": {
- "SearchForAnything": "なんでも検索",
- "QuickAccessTitle": "メニューエントリー、レポート、ウェブサイトを検索",
- "HowToSearch": "メニュー項目やレポート、ウェブサイトをお探しの場合、右上の検索ボックスをご利用になるか、キーボードの 'alt+f' を押してください。",
- "HowToToggleZenMode": "禅モードを切り替えるには、右上の矢印をクリックするか、キーボードの 'alt+z' を押してください。",
- "Activated": "禅モードを有効化"
- }
-} \ No newline at end of file
diff --git a/plugins/ZenMode/lang/nb.json b/plugins/ZenMode/lang/nb.json
deleted file mode 100644
index 0b5c865c5e..0000000000
--- a/plugins/ZenMode/lang/nb.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "ZenMode": {
- "SearchForAnything": "Søk etter noe",
- "Activated": "Zen-modus aktivert"
- }
-} \ No newline at end of file
diff --git a/plugins/ZenMode/lang/nl.json b/plugins/ZenMode/lang/nl.json
deleted file mode 100644
index 930411c0ed..0000000000
--- a/plugins/ZenMode/lang/nl.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "ZenMode": {
- "PluginDescription": "Blijf zen met Piwik. Zen mode houdt de dingen eenvoudig. Het is beschikbaar via het icoon in de rechterbovenhoek van het scherm.",
- "SearchForAnything": "Zoeken op alles",
- "QuickAccessTitle": "Zoeken op menu-items, rapporten en websites",
- "HowToSearch": "Om te zoeken op menu-items, rapporten of websites gebruik het zoekvak rechtsboven of druk op 'alt+f'.",
- "HowToToggleZenMode": "Om de zen-modus te betreden of verlaten klik op pijl rechtsboven of druk 'alt+z'.",
- "Activated": "Zen-modus geactiveerd"
- }
-} \ No newline at end of file
diff --git a/plugins/ZenMode/lang/pl.json b/plugins/ZenMode/lang/pl.json
deleted file mode 100644
index d638e2b004..0000000000
--- a/plugins/ZenMode/lang/pl.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "ZenMode": {
- "SearchForAnything": "Szukaj czegokolwiek",
- "QuickAccessTitle": "Szukaj wpisów w menu, raportów i stron.",
- "HowToToggleZenMode": "Aby wyjść albo wejść do trybu Zen należy kliknąć strzałkę w górnym prawym rogu albo wcisnąć 'alt+z'.",
- "Activated": "Tryb Zen został aktywowany"
- }
-} \ No newline at end of file
diff --git a/plugins/ZenMode/lang/pt-br.json b/plugins/ZenMode/lang/pt-br.json
deleted file mode 100644
index 640da2c93b..0000000000
--- a/plugins/ZenMode/lang/pt-br.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "ZenMode": {
- "PluginDescription": "Fique Zen com Piwik. O modo Zen mantém as coisas simples. Está disponível através do ícone no canto superior direito da tela.",
- "SearchForAnything": "Buscar por qualquer coisa",
- "QuickAccessTitle": "Pesquisar por entradas do menu, relatórios e websites",
- "HowToSearch": "Para procurar itens do menu, relatórios ou sites utilize a caixa de pesquisa no canto superior direito ou pressione 'alt+f'.",
- "HowToToggleZenMode": "Para sair ou entrar no modo zen clique na seta no canto superior direito ou pressione 'alt+z'.",
- "Activated": "Modo Zen ativado"
- }
-} \ No newline at end of file
diff --git a/plugins/ZenMode/lang/ro.json b/plugins/ZenMode/lang/ro.json
deleted file mode 100644
index 495fd70b9e..0000000000
--- a/plugins/ZenMode/lang/ro.json
+++ /dev/null
@@ -1,9 +0,0 @@
-{
- "ZenMode": {
- "SearchForAnything": "Caută orice",
- "QuickAccessTitle": "Caută elemente de meniu, rapoarte şi site-uri",
- "HowToSearch": "Pentru a căuta elemente de meniu, rapoarte sau site-uri, foloseşte cutia de căutare din dreapta sus sau apasă 'alt+f'.",
- "HowToToggleZenMode": "Pentru a intra sau a părăsi modul zen, dă click pe săgeata din dreapta sus sau apasă 'alt+z'.",
- "Activated": "Modul Zen a fost activat"
- }
-} \ No newline at end of file
diff --git a/plugins/ZenMode/lang/ru.json b/plugins/ZenMode/lang/ru.json
deleted file mode 100644
index 68799e808c..0000000000
--- a/plugins/ZenMode/lang/ru.json
+++ /dev/null
@@ -1,9 +0,0 @@
-{
- "ZenMode": {
- "SearchForAnything": "Поиск везде",
- "QuickAccessTitle": "Поиск по пунктам меню, отчетам и сайтам",
- "HowToSearch": "Для поиска элементов меню, отчетов и веб-сайтов используйте окно поиска в правом верхнем углу или нажмите \"alt+f\"",
- "HowToToggleZenMode": "Чтобы выйти или войти в Дзен режим нажмите на стрелку в правом верхнем углу или нажмите \"alt+z\".",
- "Activated": "Активирован Дзен режим"
- }
-} \ No newline at end of file
diff --git a/plugins/ZenMode/lang/sr.json b/plugins/ZenMode/lang/sr.json
deleted file mode 100644
index 4f73c1cf1a..0000000000
--- a/plugins/ZenMode/lang/sr.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "ZenMode": {
- "PluginDescription": "Budite u Zenu sa Pivikom. Zen mod čini stvari jednostavnim. Možete ga omogućiti preko sličice u gornjem desnom uglu ekrana.",
- "SearchForAnything": "Pretraži sve",
- "QuickAccessTitle": "Pretraživanje stavki menija, izveštaja i sajtova",
- "HowToSearch": "Ukoliko želite da pretražujete stavke menija, izveštaje ili sajtove, upotrebite polje za pretraživanje u gornjem desnom uglu ili pritisnite Alt + f.",
- "HowToToggleZenMode": "Ukoliko želite da napustite ili ponovo aktivirate zen mod, kliknite na strelicu u gornjem desnom uglu ili pritisnite Alt + z.",
- "Activated": "Zen mod aktiviran"
- }
-} \ No newline at end of file
diff --git a/plugins/ZenMode/lang/sv.json b/plugins/ZenMode/lang/sv.json
deleted file mode 100644
index d42ff6428e..0000000000
--- a/plugins/ZenMode/lang/sv.json
+++ /dev/null
@@ -1,9 +0,0 @@
-{
- "ZenMode": {
- "SearchForAnything": "Sök efter vad som helst",
- "QuickAccessTitle": "Sök efter meny-poster, rapporter och webbplatser",
- "HowToSearch": "För att söka efter meny-poster, rapporter eller webbplatser - använd sökfältet uppe till höger eller tryck 'alt+f'.",
- "HowToToggleZenMode": "För att gå i\/ur zen mode, klicka på pilen uppe till höger eller tryck 'alt+z'.",
- "Activated": "Zen mode aktiverat"
- }
-} \ No newline at end of file
diff --git a/plugins/ZenMode/lang/ta.json b/plugins/ZenMode/lang/ta.json
deleted file mode 100644
index c9c6a76d75..0000000000
--- a/plugins/ZenMode/lang/ta.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "ZenMode": {
- "SearchForAnything": "எதைபற்றியும் தேடு",
- "Activated": "ஜென் நிலை செயற்பாட்டில் உள்ளது"
- }
-} \ No newline at end of file
diff --git a/plugins/ZenMode/lang/tl.json b/plugins/ZenMode/lang/tl.json
deleted file mode 100644
index 7f738608d1..0000000000
--- a/plugins/ZenMode/lang/tl.json
+++ /dev/null
@@ -1,9 +0,0 @@
-{
- "ZenMode": {
- "SearchForAnything": "Paghahanap sa kahit ano",
- "QuickAccessTitle": "Maghanap ng mga entry ng menu mga ulat at mga website.",
- "HowToSearch": "Para maghanap ng items sa menu ulat o websites gamitin ang search box sa kanang tuktok o pindutin ang 'alt+f'.",
- "HowToToggleZenMode": "Upang umalis o ipasok ang Zen mode i-click ang arrow sa kanang tuktok o pindutin ang 'alt + z'.",
- "Activated": "Ang Zen mode ay na activate"
- }
-} \ No newline at end of file