Opened 6 years ago

Closed 6 years ago

#6489 closed enhancement (fixed)

How to rename "Import" label shown in mainnav

Reported by: AdrianFritz Owned by: farialima
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 follow-up: Changed 6 years ago by AdrianFritz

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 6 years ago by AdrianFritz


It's that correct?

Is it correct?

comment:3 Changed 6 years ago by AdrianFritz

  • Resolution set to fixed
  • Status changed from new to closed

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

  • importer.label = Import Tickets

Add Comment

Modify Ticket

as closed The owner will remain farialima.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.