-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Franz wrote: > Hi, > > I would like to change the date delta string > "Openend 7 hours ago" > into an absolute date timestamp, like > "Opened at 09.09.2010 08:47:22" > > So far, I got it that it changed to "Opened 09.09.2010 08:47:22 > ago" (the "ago" not correct in this case); I just changed the function > "dateinfo" in a plugin, so it returns the actual date instead of > datedelta. > > But how can I change the description? I tried to put it in > message.pot, but it seems that it always uses the trac standard > message, even if I add i18n:domain="plugin-name". > > Is it possible to change a trac msg-String?
No, don't try to change the Trac msgid/msgstr, but simply don't use it: You need to provide a modified version of the HTML template in question, where the "$(pretty_timedelta) ago" is no longer (hard)coded in. Steffen Hoffmann (hasienda) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkyJJMgACgkQ31DJeiZFuHfD3gCfajdoZmM7GsRZl0+tBc6SMbN7 oiYAoJS3XslSn+sxfMONBqA+TOq62XP8 =8KdD -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "Trac Development" group. To post to this group, send email to trac-...@googlegroups.com. To unsubscribe from this group, send email to trac-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-dev?hl=en.