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:
authorLukas Winkler <git@lw1.at>2020-04-08 13:30:16 +0300
committerGitHub <noreply@github.com>2020-04-08 13:30:16 +0300
commit2c5c72e2da4c015efa78069c9c1b407fc55a6483 (patch)
treefecec8638249689fb02b93a883517cc7c64f52d6 /plugins/CoreHome
parentbb4cad6d756e119f92f397a8dd4574d0d1bf539c (diff)
many typo fixes in the code thanks to codespell (#15730)
* many typo fixes in the code thanks to codespell * reset submodules I really need to stop using `git commit -a` * reset change in library * rebuilt piwik.js * fix test * updates expected UI file Co-authored-by: sgiehl <sgiehl@users.noreply.github.com> Co-authored-by: Stefan Giehl <stefan@matomo.org>
Diffstat (limited to 'plugins/CoreHome')
-rw-r--r--plugins/CoreHome/Controller.php2
-rw-r--r--plugins/CoreHome/DataTableRowAction/RowEvolution.php2
-rw-r--r--plugins/CoreHome/angularjs/common/directives/focusif.js4
-rw-r--r--plugins/CoreHome/angularjs/common/services/piwik-api.spec.js4
-rw-r--r--plugins/CoreHome/javascripts/dataTable.js4
-rw-r--r--plugins/CoreHome/javascripts/donate.js2
6 files changed, 9 insertions, 9 deletions
diff --git a/plugins/CoreHome/Controller.php b/plugins/CoreHome/Controller.php
index a6f12a139a..d343a1fadb 100644
--- a/plugins/CoreHome/Controller.php
+++ b/plugins/CoreHome/Controller.php
@@ -201,7 +201,7 @@ class Controller extends \Piwik\Plugin\Controller
// --------------------------------------------------------
// ROW EVOLUTION
// The following methods render the popover that shows the
- // evolution of a singe or multiple rows in a data table
+ // evolution of a single or multiple rows in a data table
// --------------------------------------------------------
/** Render the entire row evolution popover for a single row */
diff --git a/plugins/CoreHome/DataTableRowAction/RowEvolution.php b/plugins/CoreHome/DataTableRowAction/RowEvolution.php
index bb73f9bb87..59d342274e 100644
--- a/plugins/CoreHome/DataTableRowAction/RowEvolution.php
+++ b/plugins/CoreHome/DataTableRowAction/RowEvolution.php
@@ -24,7 +24,7 @@ use Piwik\ViewDataTable\Factory;
/**
* ROW EVOLUTION
- * The class handles the popover that shows the evolution of a singe row in a data table
+ * The class handles the popover that shows the evolution of a single row in a data table
*/
class RowEvolution
{
diff --git a/plugins/CoreHome/angularjs/common/directives/focusif.js b/plugins/CoreHome/angularjs/common/directives/focusif.js
index 56940808b1..669e3e7ff5 100644
--- a/plugins/CoreHome/angularjs/common/directives/focusif.js
+++ b/plugins/CoreHome/angularjs/common/directives/focusif.js
@@ -6,7 +6,7 @@
*/
/**
- * If the given expression evaluates to true the element will be focussed
+ * If the given expression evaluates to true the element will be focused
*
* Example:
* <input type="text" piwik-focus-if="view.editName">
@@ -30,4 +30,4 @@
}
};
}
-})(); \ No newline at end of file
+})();
diff --git a/plugins/CoreHome/angularjs/common/services/piwik-api.spec.js b/plugins/CoreHome/angularjs/common/services/piwik-api.spec.js
index 916c5b73e1..e30ea0746e 100644
--- a/plugins/CoreHome/angularjs/common/services/piwik-api.spec.js
+++ b/plugins/CoreHome/angularjs/common/services/piwik-api.spec.js
@@ -251,7 +251,7 @@
$httpBackend.flush();
});
- it("shuld correctly handle errors in a bulk request response, regardless of error location", function (done) {
+ it("should correctly handle errors in a bulk request response, regardless of error location", function (done) {
piwikApi.bulkFetch([
{
method: "SomeOtherPlugin.whatever"
@@ -270,4 +270,4 @@
$httpBackend.flush();
});
});
-})(); \ No newline at end of file
+})();
diff --git a/plugins/CoreHome/javascripts/dataTable.js b/plugins/CoreHome/javascripts/dataTable.js
index 073781f369..d786f880d4 100644
--- a/plugins/CoreHome/javascripts/dataTable.js
+++ b/plugins/CoreHome/javascripts/dataTable.js
@@ -639,7 +639,7 @@ $.extend(DataTable.prototype, UIControl.prototype, {
var normalOverlapBecauseTableIsFullWidth = showScrollbarIfMoreThanThisPxOverlap || 51;
if (tableWidth > widthToCheckElementIsActuallyThere && dataTableWidth > widthToCheckElementIsActuallyThere
&& (dataTableWidth - tableWidth) > normalOverlapBecauseTableIsFullWidth) {
- // when after adjusting the columns the widget/report is sitll wider than the actual dataTable, we need
+ // when after adjusting the columns the widget/report is still wider than the actual dataTable, we need
// to make it scrollable otherwise reports overlap each other
$domNodeToSetOverflow.css('overflow-y', 'scroll');
@@ -1494,7 +1494,7 @@ $.extend(DataTable.prototype, UIControl.prototype, {
}
});
- // higlight all columns on hover
+ // highlight all columns on hover
$(domElem).on('mouseenter', 'td', function (e) {
e.stopPropagation();
var $this = $(e.target);
diff --git a/plugins/CoreHome/javascripts/donate.js b/plugins/CoreHome/javascripts/donate.js
index e403f18497..f377796d6c 100644
--- a/plugins/CoreHome/javascripts/donate.js
+++ b/plugins/CoreHome/javascripts/donate.js
@@ -133,7 +133,7 @@
}
});
- // event for programatically changing the position
+ // event for programmatically changing the position
$('body').on('piwik:changePosition', '.piwik-donate-slider', function (e, data) {
moveSliderPosition(this, data.position);
});