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
path: root/tests
diff options
context:
space:
mode:
authorChristian Schmidt <github@chsc.dk>2018-07-27 04:46:58 +0300
committerdiosmosis <diosmosis@users.noreply.github.com>2018-07-27 04:46:58 +0300
commit09c4fcc56a0e86728c3e37c94131312bc4cd703c (patch)
tree0dd8ba18e95018e4d5a6252e65691bd81ac722cc /tests
parent70d1b446778909b3beda16ff4dc50fdd968d63ea (diff)
Translate currency names (#13068)
* Translate currency names * Update tests * Fix more tests * Use plural form in config key name * Update screenshots
Diffstat (limited to 'tests')
-rw-r--r--tests/PHPUnit/Integration/MetricsTest.php4
-rw-r--r--tests/PHPUnit/Unit/Metrics/FormatterTest.php6
-rw-r--r--tests/UI/expected-screenshots/MeasurableManager_add_measurable_view.png4
-rw-r--r--tests/UI/expected-screenshots/MeasurableManager_add_new_dialog.png4
-rw-r--r--tests/UI/expected-screenshots/MeasurableManager_loaded.png4
5 files changed, 11 insertions, 11 deletions
diff --git a/tests/PHPUnit/Integration/MetricsTest.php b/tests/PHPUnit/Integration/MetricsTest.php
index 0c9ea26ba7..b687c8f27e 100644
--- a/tests/PHPUnit/Integration/MetricsTest.php
+++ b/tests/PHPUnit/Integration/MetricsTest.php
@@ -112,7 +112,7 @@ class MetricsTest extends IntegrationTestCase
array('avg_time_on_page', 's'),
array('sum_time_spent', 's'),
array('conversion_rate', '%'),
- array('revenue', '€'),
+ array('revenue', 'EUR'),
array('nb_visits', ''),
);
}
@@ -139,4 +139,4 @@ class MetricsTest extends IntegrationTestCase
'Piwik\Access' => new FakeAccess()
);
}
-} \ No newline at end of file
+}
diff --git a/tests/PHPUnit/Unit/Metrics/FormatterTest.php b/tests/PHPUnit/Unit/Metrics/FormatterTest.php
index d9ccc18c6d..97cb7757de 100644
--- a/tests/PHPUnit/Unit/Metrics/FormatterTest.php
+++ b/tests/PHPUnit/Unit/Metrics/FormatterTest.php
@@ -161,9 +161,9 @@ class FormatterTest extends \PHPUnit_Framework_TestCase
{
return array(
array(1, 1, '1 €'),
- array(1.045, 2, '1.04 kr'),
- array(1000.4445, 3, '1000.44 zł'),
- array(1234.56, 4, '$ 1234.56'),
+ array(1.045, 2, 'DKK 1.04'),
+ array(1000.4445, 3, 'PLN 1000.44'),
+ array(1234.56, 4, 'NZ$ 1234.56'),
array(234.76, 5, '¥ 234.76')
);
}
diff --git a/tests/UI/expected-screenshots/MeasurableManager_add_measurable_view.png b/tests/UI/expected-screenshots/MeasurableManager_add_measurable_view.png
index 5835bfc161..1030eebaba 100644
--- a/tests/UI/expected-screenshots/MeasurableManager_add_measurable_view.png
+++ b/tests/UI/expected-screenshots/MeasurableManager_add_measurable_view.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:5d1e604ea6b71778e00693466cee77a6864a432f4cd9f36f14f3d777d31b3092
-size 433946
+oid sha256:fb7e68d9b88d65e53fcc6d4bde110dab603379120ce18bf378e6d36559fb11a1
+size 437780
diff --git a/tests/UI/expected-screenshots/MeasurableManager_add_new_dialog.png b/tests/UI/expected-screenshots/MeasurableManager_add_new_dialog.png
index 9100933b8e..ce9bdb0c35 100644
--- a/tests/UI/expected-screenshots/MeasurableManager_add_new_dialog.png
+++ b/tests/UI/expected-screenshots/MeasurableManager_add_new_dialog.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:26367598e6529dbac3237611503fa6c83beb8258863312ae5c448cfe6b10c650
-size 164815
+oid sha256:483ab9e85e123dd7d7cdf0809a51121148252678873f4d6dae9a2a5c898db849
+size 168312
diff --git a/tests/UI/expected-screenshots/MeasurableManager_loaded.png b/tests/UI/expected-screenshots/MeasurableManager_loaded.png
index e989802f9d..c6a4d3fc59 100644
--- a/tests/UI/expected-screenshots/MeasurableManager_loaded.png
+++ b/tests/UI/expected-screenshots/MeasurableManager_loaded.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:d563d7d3b88c569b7eeb9e48a914ee00c825ea82b47e0ebd8b4f53b76a6939df
-size 182989
+oid sha256:e92fd941640f0debdf2e4f7125aeeea572ed431408010c3ba60a21061f304beb
+size 186599