Modify

Opened 7 years ago

Closed 7 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

Description

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

[trac]
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":

[mainnav]
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

Adrián

Attachments (0)

Change History (3)

comment:1 Changed 7 years ago by Adrian Fritz

Seems it's fixed on source code (http://trac-hacks.org/browser/ticketimportplugin/0.11/talm_importer/importer.py)

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

It's that correct?

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

Ops,

It's that correct?

Is it correct?

comment:3 Changed 7 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
Action
as closed The owner will remain François Granade.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.