diff options
author | Stefan Giehl <stefan@matomo.org> | 2022-09-14 18:52:05 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-14 18:52:05 +0300 |
commit | 253bae53ab35caa2ca815ad46e2c7c7a95b6090a (patch) | |
tree | c195ea8b8e23cd6b4955dc02f18192635b8dcee4 /tests | |
parent | 6cd1a2e967e2ce06e0c69a30b646fcc0ae6e27a6 (diff) |
Some translations might be displayed with encoded entities (#19190)
* replace some html entities in translations sources
* Ensure encoded & is displayed correctly for some translations
* Ensure content title component handles encoded entities correctly
* fix ui test
* use arrows
* tweak some translations
* updates expected test files
* submodule update
* use htmldecode instead of inserting html for titles
* prefer using rawSafeDecoded over raw for translation output
Diffstat (limited to 'tests')
7 files changed, 16 insertions, 16 deletions
diff --git a/tests/PHPUnit/System/expected/test_apiGetReportMetadata__API.getAvailableMeasurableTypes.xml b/tests/PHPUnit/System/expected/test_apiGetReportMetadata__API.getAvailableMeasurableTypes.xml index bdd0dd09db..8c2d7ce7cb 100644 --- a/tests/PHPUnit/System/expected/test_apiGetReportMetadata__API.getAvailableMeasurableTypes.xml +++ b/tests/PHPUnit/System/expected/test_apiGetReportMetadata__API.getAvailableMeasurableTypes.xml @@ -27,7 +27,7 @@ https://www.example.org/</placeholder> </uiControlAttributes> <availableValues /> <description /> - <inlineHelp>It is recommended, but not required, to specify the various URLs, one per line, that your visitors use to access this website. Alias URLs for a website will not appear in the Referrers > Websites report. Note that it is not necessary to specify the URLs with and without 'www' as Matomo automatically considers both.</inlineHelp> + <inlineHelp>It is recommended, but not required, to specify the various URLs, one per line, that your visitors use to access this website. Alias URLs for a website will not appear in the Referrers → Websites report. Note that it is not necessary to specify the URLs with and without 'www' as Matomo automatically considers both.</inlineHelp> <templateFile /> <introduction /> <condition /> @@ -245,7 +245,7 @@ https://www.example.org/</placeholder> <row>Ecommerce enabled</row> </availableValues> <description /> - <inlineHelp>When enabled, the "Goals" report will have a new "Ecommerce" section.<br />Matomo allows for advanced Ecommerce Analytics tracking & reporting. Learn more about <a href='https://matomo.org/docs/ecommerce-analytics/' target='_blank'> Ecommerce Analytics</a>.</inlineHelp> + <inlineHelp>When enabled, the "Goals" report will have a new "Ecommerce" section.<br />Matomo allows for advanced Ecommerce Analytics tracking and reporting. Learn more about <a href='https://matomo.org/docs/ecommerce-analytics/' target='_blank'> Ecommerce Analytics</a>.</inlineHelp> <templateFile /> <introduction /> <condition /> @@ -347,7 +347,7 @@ https://www.example.org/</placeholder> </uiControlAttributes> <availableValues /> <description /> - <inlineHelp>It is recommended, but not required, to specify the various URLs, one per line, that your visitors use to access this website. Alias URLs for a website will not appear in the Referrers > Websites report. Note that it is not necessary to specify the URLs with and without 'www' as Matomo automatically considers both.</inlineHelp> + <inlineHelp>It is recommended, but not required, to specify the various URLs, one per line, that your visitors use to access this website. Alias URLs for a website will not appear in the Referrers → Websites report. Note that it is not necessary to specify the URLs with and without 'www' as Matomo automatically considers both.</inlineHelp> <templateFile /> <introduction /> <condition /> @@ -565,7 +565,7 @@ https://www.example.org/</placeholder> <row>Ecommerce enabled</row> </availableValues> <description /> - <inlineHelp>When enabled, the "Goals" report will have a new "Ecommerce" section.<br />Matomo allows for advanced Ecommerce Analytics tracking & reporting. Learn more about <a href='https://matomo.org/docs/ecommerce-analytics/' target='_blank'> Ecommerce Analytics</a>.</inlineHelp> + <inlineHelp>When enabled, the "Goals" report will have a new "Ecommerce" section.<br />Matomo allows for advanced Ecommerce Analytics tracking and reporting. Learn more about <a href='https://matomo.org/docs/ecommerce-analytics/' target='_blank'> Ecommerce Analytics</a>.</inlineHelp> <templateFile /> <introduction /> <condition /> diff --git a/tests/UI/expected-screenshots/MeasurableManager_add_measurable_view.png b/tests/UI/expected-screenshots/MeasurableManager_add_measurable_view.png index 7900ac673d..5e8d43eccd 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:f410432470a8cacf09dcf3b1ecdbd6e95dc4a6d5d5b46ec6175107613d333d9f -size 536031 +oid sha256:1a20318980da9d6c9f7e56353b9e73328d6d62f86261e9638be0e3f064a18186 +size 535762 diff --git a/tests/UI/expected-screenshots/OneClickUpdate_update_success.png b/tests/UI/expected-screenshots/OneClickUpdate_update_success.png index 6c5607f5af..bad7670d9b 100644 --- a/tests/UI/expected-screenshots/OneClickUpdate_update_success.png +++ b/tests/UI/expected-screenshots/OneClickUpdate_update_success.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:5de9ddc99af708b5314651e54fcae22f9222f939577ae7f4148d50b8f48c6087 -size 73714 +oid sha256:d12443ea4ac5a07bc26d9c928a2955bde3aeebcc0a3b703150065105923071ea +size 73818 diff --git a/tests/UI/expected-screenshots/UIIntegrationTest_admin_diagnostics_configfile.png b/tests/UI/expected-screenshots/UIIntegrationTest_admin_diagnostics_configfile.png index a7fe494209..77ed610ea2 100644 --- a/tests/UI/expected-screenshots/UIIntegrationTest_admin_diagnostics_configfile.png +++ b/tests/UI/expected-screenshots/UIIntegrationTest_admin_diagnostics_configfile.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c21000b35f17b1990557090297b7817cc13f0b29e8e2dcbd1e0b966bdede9337 -size 5236295 +oid sha256:401f41770fa2444a1860498e6796e59a05712f466e234bdac194ea150332f650 +size 5220373 diff --git a/tests/UI/expected-screenshots/UIIntegrationTest_admin_themes.png b/tests/UI/expected-screenshots/UIIntegrationTest_admin_themes.png index 5d3c794ecf..19b9f9db80 100644 --- a/tests/UI/expected-screenshots/UIIntegrationTest_admin_themes.png +++ b/tests/UI/expected-screenshots/UIIntegrationTest_admin_themes.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:cac88819a84a83aff3f3a0f440ca5a3e4a267dacdd4d57f917dc6844bf2fab77 -size 79035 +oid sha256:972e8994cb5c2e251dd3654caf7acccb972ef5c1ab28093c96157845bb3fdad7 +size 78617 diff --git a/tests/UI/expected-screenshots/UIIntegrationTest_category_help.png b/tests/UI/expected-screenshots/UIIntegrationTest_category_help.png index c14b7687c3..d592e5d40f 100644 --- a/tests/UI/expected-screenshots/UIIntegrationTest_category_help.png +++ b/tests/UI/expected-screenshots/UIIntegrationTest_category_help.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:94f990c894251eca9bcba9ae84f23d1a06120305730a69daea3ff7465f4d9970 -size 131900 +oid sha256:36771298b82dba4ded35ae4451deeed41a7fb6557512367e4037aa90e322d909 +size 131621 diff --git a/tests/UI/expected-screenshots/ViewDataTableTest_export_options_2.png b/tests/UI/expected-screenshots/ViewDataTableTest_export_options_2.png index 34c18e8e0c..b60d3efac0 100644 --- a/tests/UI/expected-screenshots/ViewDataTableTest_export_options_2.png +++ b/tests/UI/expected-screenshots/ViewDataTableTest_export_options_2.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:55ee36f394e4b137c7357c77fe405aa9f524f6491a9bd5082cab2ca70269c3f6 -size 76536 +oid sha256:09c7bad0199703a3f5a9fa2a8e83f5aebd489aafaed70812613faf31bf8d0562 +size 76516 |