- Issue created by @ressa
- First commit to issue fork.
A lot of new features were recently added, which is great!
However, new texts were added with the HTML tag <br/>
, which causes a challenge with the translation system. I get five errors like this, when I install the module with Drush:
[error] Import of string "Sætter hoverIntent timeout aktivering (trin på 250 ms).<br/>Jo højere værdien er, desto længere tid vil menuen forblive vist, efter musen har forladt den (standard: 500ms)." was skipped because of disallowed or malformed HTML.
Install the module in another language than English, with translations such as Danish, and see errors.
Replace <br/>
with either <br>
or <br />
. Both are used in Drupal core:
$ grep '<br>' web/sites/default/files/translations/drupal-10.4.7.da.po | wc -l
6
$ grep '<br />' web/sites/default/files/translations/drupal-10.4.7.da.po | wc -l
9
Replace <br/>
in translatable strings.
Active
3.0
Code