diff options
author | Matthieu Aubry <mattab@users.noreply.github.com> | 2018-01-11 02:23:40 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-11 02:23:40 +0300 |
commit | 07adf0ac04dfb8f35be41d9add1855b6e646f8db (patch) | |
tree | 5c3b3d0db2ef82c663d34551394a9ede03167e82 /tests | |
parent | 62e3c3f89a4c8bb29f710901de7d62e6576e03cd (diff) |
Show Matomo instead of Piwik in the user interface in more places (#12421)
* Replace all occurences of Piwik in english translations of Actions plugin
* translation update
* Replace all occurences of Piwik in english translations of API plugin
* translation update
* Replace all occurences of Piwik in english translations of core
* replace Piwik occurrences
* Rename widget piwik.org blog => matomo.org blog
* fix widget name
* replaced some more piwik mentions
* Renamed to Matomo a few strings
* Replaced more strings to Matomo in JSON files, twig templates
* Replaced more strings to Matomo in INI file
* Replaced more strings to Matomo in API docs, error messages, feedback forms
* introduce API.getMatomoVersion and ExampleAPI.getMatomoVersion API + deprecate old ones
Diffstat (limited to 'tests')
-rw-r--r-- | tests/UI/specs/UIIntegration_spec.js | 4 | ||||
-rw-r--r-- | tests/javascript/index.php | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/UI/specs/UIIntegration_spec.js b/tests/UI/specs/UIIntegration_spec.js index 6812cd9e96..436d1e08b6 100644 --- a/tests/UI/specs/UIIntegration_spec.js +++ b/tests/UI/specs/UIIntegration_spec.js @@ -669,8 +669,8 @@ describe("UIIntegrationTest", function () { // TODO: Rename to Piwik? page.evaluate(function () { $('.enrichedHeadline .title').each(function () { - if ($(this).text().indexOf("Piwik") !== -1) { - var replace = $(this).text().replace(/Piwik\s*\d+\.\d+(\.\d+)?([\-a-z]*\d+)?/g, 'Piwik'); + if ($(this).text().indexOf("Matomo") !== -1) { + var replace = $(this).text().replace(/Matomo\s*\d+\.\d+(\.\d+)?([\-a-z]*\d+)?/g, 'Matomo'); $(this).text(replace); } }); diff --git a/tests/javascript/index.php b/tests/javascript/index.php index a07967a5f9..e4897353e3 100644 --- a/tests/javascript/index.php +++ b/tests/javascript/index.php @@ -420,8 +420,8 @@ function setupContentTrackingFixture(name, targetNode) { <div id="clickDiv"></div> </div> <map name="map"> - <area id="area1" shape="rect" coords="0,0,10,10" href="img.jpg" alt="Piwik"> - <area shape="circle" coords="10,10,10,20" href="img2.jpg" alt="Piwik2"> + <area id="area1" shape="rect" coords="0,0,10,10" href="img.jpg" alt="Matomo"> + <area shape="circle" coords="10,10,10,20" href="img2.jpg" alt="Matomo2"> </map> <ol id="qunit-tests"></ol> |