Problem/Motivation
Exactly 3 items for now
core/modules/locale/config/optional/tour.tour.locale.yml:16: body: 'This page allows you to translate the user interface or modify existing translations. If you have installed your site initially in English, you must first add another language on the <a href="[site:url]/admin/config/regional/language">Languages page</a>, in order to use this page.'
core/includes/unicode.inc:39: $requirements['unicode']['description'] = t('Multibyte string function overloading in PHP is active and must be disabled. Check the php.ini <em>mbstring.func_overload</em> setting. Please refer to the <a href=":url">PHP mbstring documentation</a> for more information.', $t_args);
git grep 'Now that you have an overview'
core/modules/language/config/optional/tour.tour.language-add.yml:28: body: '<p>Now that you have an overview of the "Add languages" feature, you can continue by:<ul><li>Adding a language</li><li>Adding a custom language</li><li><a href="[site:url]/admin/config/regional/language">Viewing configured languages</a></li></ul></p>'
core/modules/language/config/optional/tour.tour.language-edit.yml:44: body: '<p>Now that you have an overview of the "Edit language" feature, you can continue by:<ul><li>Editing a language</li><li><a href="[site:url]/admin/config/regional/language">Viewing configured languages</a></li></ul></p>'
core/modules/language/config/optional/tour.tour.language.yml:52: body: '<p>Now that you have an overview of the "Languages" page, you can continue by:<ul><li><a href="[site:url]/admin/config/regional/language/add">Adding a language</a></li><li>Reordering languages</li><li>Editing a language</li><li>Deleting a language</li></ul></p>'
Proposed resolution
Find a way to pass allowed tags for tour and t()
Comments
Comment #2
andypostSteps to reproduce:
1) add one more language and visit
admin/config/regional/translate2) Filter by "This page allows you to translate the user interface"
3) copy source string to translation and try import
expected - translation saved
actually -
Отправленная строка содержит запрещенный HTML: This page allows you to translate the user interface or modify existing translations. If you have installed your site initially in English, you must first add another language on the <a href="[site:url]/admin/config/regional/language">Languages page</a>, in order to use this page.caused by:
Comment #3
andypost#2371861: Strings including tokens in href or src attributes cannot be translated due to safeness check incompatibilities
Comment #4
gábor hojtsyYay, that one is closed now. Needs to be backported to D7 though if people can help :)