Edgewall Software

Opened 9 years ago

Last modified 7 years ago

#12222 closed defect

Bad translatable string for Pygments options config section — at Version 3

Reported by: Lele Gaifax Owned by: Jun Omae
Priority: normal Milestone: 1.2
Component: i18n Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:

Add doc_args to pass parameters to the extracted messages to ConfigSection and Option classes.

Internal Changes:

Description

At source:/trunk/trac/mimeview/pygments.py#L51 the description uses interpolation to inject the same URL in a couple of places: that confuses the i18n extractor, that puts a wrong entry in the pot file (see source:/trunk/trac/locale/tracini.pot#L506).

Change History (3)

comment:1 by Jun Omae, 9 years ago

Component: generali18n
Milestone: 1.2

Right. Thanks for the reporting!

Considering, how about adding doc_args to pass parameters to the extracted messages? See jomae.git@t12222.

comment:2 by Ryan J Ollos, 9 years ago

Those changes look good. Thanks for fixing.

comment:3 by Jun Omae, 9 years ago

API Changes: modified (diff)
Owner: set to Jun Omae
Status: newassigned

Thanks for the reviewing.

Additional changes:

Last edited 9 years ago by Jun Omae (previous) (diff)
Note: See TracTickets for help on using tickets.