> > On Tuesday, February 28, 2012 2:39:35 PM UTC-8, Jon Drukman wrote:
> >>
> >> Is it possible to change the name of the Severity field to 
> something else?
> >>  I just want to it to look different on the ticket display 
> page, it doesn't
> >> have to change internally.  I can't find the string 
> "Severity" anywhere in
> >> the templates directory!
> >
> On Tue, Mar 6, 2012 at 12:23 PM, Jon Drukman 
> <[email protected]> wrote:
> > Anybody?
> >
> >
> 
> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Benjamin Lau
> Sent: 06 March 2012 21:13
> To: [email protected]
> Subject: Re: [Trac] Re: Renaming Severity
> 
> I don't know how to do this myself... and I don't have a machine handy
> on which to try this out... but I wonder if you could use the
> localization system to accomplish what you want...
> 
> http://trac.edgewall.org/wiki/TracL10N
> 
> There's already a translation for en_GB... so I don't see why you
> couldn't create one for en_US that overrides the default and allows
> you to keep the underlying variable... but show a different label. Of
> course this would be confusing if you wanted to use things like the
> TicketQuery macro with the severity option that you had renamed...
> since the name wouldn't match... not sure how much of an issue this
> would be.
> 
> Ben

I believe that you could also do this by implementing a Genshi StreamFilter but 
I would not know how to go about it.  Search the list archives as I seem to 
remember something similar was discussed a few months back.

~ mark c

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to