Closed (fixed)
Project:
Fivestar
Version:
6.x-1.13
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Mar 2009 at 21:45 UTC
Updated:
24 Apr 2009 at 19:50 UTC
Jump to comment: Most recent file
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 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.