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 |
||
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 , 9 years ago
Component: | general → i18n |
---|---|
Milestone: | → 1.2 |
comment:3 by , 9 years ago
API Changes: | modified (diff) |
---|---|
Owner: | set to |
Status: | new → assigned |
Thanks for the reviewing.
Additional changes:
- [cdca0ce8c/jomae.git]: add unit tests for
doc_args
- [1d4c6e35e/jomae.git]: add
doc()
method toConfigSection
andOption
to retrieve localized document - [e6e07f069/jomae.git]: add unit tests
doc()
methods
Note:
See TracTickets
for help on using tickets.
Right. Thanks for the reporting!
Considering, how about adding
doc_args
to pass parameters to the extracted messages? See jomae.git@t12222.