Closed (fixed)
Project:
DHTML Menu
Version:
7.x-1.x-dev
Component:
Localization
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Dec 2009 at 21:45 UTC
Updated:
23 Nov 2010 at 21:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
cburschkaWhoops. Thanks for the heads-up.
Here's a patch for HEAD. This will need to be fixed in 6.x-4.x-dev as well.
Comment #2
cburschkaEh; it's been a while since I did this. Of course t() takes an associative array; there's also a syntax error.
Comment #3
cburschka... and indentation.
Comment #4
arhak commentedif numeric values are (hard coded) constants then variables are not required (unless you're thinking to save some translator's time if you change them in the future)
anyway
!secondsis not needed,@secondsseems more appropriate (there is no markup involved)Comment #5
cburschkaYou're right that the values are unlikely to change, but it leaves that option open with no real downside.
But yeah, @ is the way to go. I usually use either % or ! by reflex, but since this is inside a tag attribute % would be completely wrong.
Comment #6
cburschkaI've committed this change to HEAD and to DRUPAL-6--4 (along with a newly generated dhtml_menu.pot template).