Closed (fixed)
Project:
Chat Box
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 May 2006 at 06:07 UTC
Updated:
28 Sep 2006 at 14:15 UTC
Jump to comment: Most recent file
Comments
Comment #1
administrador@fidp.net commentedI've found what's the problem, but I don't know why happens...
When entering the translation of the string
to any languaje, the substring
is deleted...
Anybody knows what's happening?
TIA
Comment #2
adixon commentedI don't know why it's doing that, but you probably shouldn't be trying to translate the word 'javascript' anyway. If you use the fancy paramaterized version of the t() function, then it won't mangle it (I'd hope ..).
e.g. replace
with
I haven't tested the above (so there might be some syntax errors), but it gives you an idea how to use the t() function in a way that makes translation more straightforward and hopefully solve your problem.
Comment #3
adixon commentedokay, i should have read the documentation here:
http://api.drupal.org/api/HEAD/function/t
so the 'right' way is:
which is shorter, easier to read and fixes my typo.
Comment #4
darren ohHere is a patch to test.
Comment #5
darren ohCommitted to DRUPAL-4-7 and HEAD.
Comment #6
(not verified) commented