Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When importing the fr.po translation for this module, I get:
2 translation strings were skipped because they contain disallowed HTML.
The issue seems similar to the one there:
http://drupal.org/node/362647
The two translatable strings used by fivestart that look like HTML tags are '' and ''. I *think* a good solution would be to use '<none>' instead, but maybe someone more knowledgeable on this will know better.
Comment | File | Size | Author |
---|---|---|---|
#4 | fivestar_t_brackets.patch | 1.81 KB | quicksketch |
Comments
Comment #1
quicksketchLooks like your text got parsed out by the HTML filter, wrap in
<code>
tags to keep them in place.Quoted with code tags:
Comment #2
quicksketchAlso, thanks for the report. :)
Perhaps what we should do is translate the inside of the the brackets?
We don't need to URL encode these strings since they are encoded for us when we put them into a select list. I've never heard of the error you described, but then again I don't work on many translated websites.
Comment #3
dbr CreditAttribution: dbr commentedYes, your solution does make sense. In all languages the < and > should be there, so only the text inside has to be translated.
Comment #4
quicksketchFixed with the attached patch, which has been committed to CVS.