Closed (fixed)
Project:
Yahoo YUI
Version:
6.x-1.1-rc2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
30 Mar 2009 at 15:49 UTC
Updated:
13 Apr 2009 at 21:30 UTC
As mentioned in the paragraph "example of incorrect usage of t():" of the t() API documentation, there shouldn't be any HTML code in language dependent strings. The translation importer of Drupal argues about
, but not about
which does not mean, that this would be better.
is a lot more worse as it makes your Drupal site not anymore validating as XHTML.
I added a patch which splits up the translated string into two parts and concats them with the
-Tag in-between.
| Comment | File | Size | Author |
|---|---|---|---|
| yui-1.1rc2-incorrect-t.patch | 658 bytes | xhochy |
Comments
Comment #1
bakyildiz commentedpatch applied. Thank you.
Comment #2
bakyildiz commented