Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#9270 closed defect (fixed)

A keyword argument "fields" of gettext is wrong

Reported by: Jun Omae <jun66j5@…> Owned by: Jun Omae <jun66j5@…>
Priority: normal Milestone: 0.12
Component: i18n Version: 0.12dev
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Hi,

In trunk/trac/ticket/admin.py#L650, a keyword argument "fields" of gettext doesn't match a parameter "field" of the format string.

  • trac/ticket/admin.py

     
    648648                            enum = self._enum_cls(self.env, name, db=db)
    649649                            enum.delete()
    650650                    add_notice(req, _('The selected %(field)s values have '
    651                                       'been removed.', fields=label[0]))
     651                                      'been removed.', field=label[0]))
    652652                    req.redirect(req.href.admin(cat, page))
    653653
    654654                # Apply changes

Attachments (0)

Change History (2)

comment:1 by Remy Blank, 15 years ago

Resolution: fixed
Status: newclosed

Patch applied in [9558], thanks!

comment:2 by Remy Blank, 15 years ago

Owner: set to Jun Omae <jun66j5@…>

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jun Omae <jun66j5@…>.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jun Omae <jun66j5@…> to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.