Opened 8 years ago

Closed 8 years ago

#6489 closed enhancement (fixed)

How to rename "Import" label shown in mainnav

Reported by: Adrian Fritz Owned by: François Granade
Priority: normal Component: TicketImportPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11


Modifiying mainnav section on trac.ini file I'm able to set the order "Importer" will display.

mainnav = wiki,...,tickets,newticket,importer,timeline,tags,Billing,admin,search

But I'm not able to modify its label, let's say from "Importer" to "Import Tickets":

wiki.label = Home
admin.label = Config Trac
newticket.label = New Ticket
tickets.label = View Tickets
import.label = Import Tickets

I wonder to know if there is a way to do so?

Thank you


Attachments (0)

Change History (3)

comment:1 Changed 8 years ago by Adrian Fritz

Seems it's fixed on source code (

41 	        yield ('mainnav', 'importer',
42 	               html.a('Import', href=req.href.importer()))

It's that correct?

comment:2 in reply to:  1 Changed 8 years ago by Adrian Fritz


It's that correct?

Is it correct?

comment:3 Changed 8 years ago by Adrian Fritz

Resolution: fixed
Status: newclosed

I found my error. Instead of 'import' I should have used 'importer'

  • importer.label = Import Tickets

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain François Granade.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.