#10592 closed defect (fixed)
Error when generating the documentation of the 'smtp_always_cc' option
Reported by: | sdegrande | Owned by: | Radek Bartoň |
---|---|---|---|
Priority: | normal | Component: | DiscussionPlugin |
Severity: | normal | Keywords: | |
Cc: | Ryan J Ollos | Trac Release: | 1.0 |
Description (last modified by )
With r12143 on Trac1.0, on the wiki/TracIni page, there is an error report instead of the documentation string of the 'smtp_always_cc' option:
Project-Id-Version: Trac 0.13 Report-Msgid-Bugs-To: trac- dev@googlegroups.com POT-Creation-Date: 2011-02-23 13:05+0900 PO- Revision-Date: 2011-02-23 22:27+0900 Last-Translator: FULL NAME <EMAIL@ADDRESS> Language-Team: en_US <LL@li.org> Plural-Forms: nplurals=2; plural=(n != 1) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Generated-By: Babel 0.9.6
The proposed attached patch fixes it.
Thanks for your great work !
Attachments (4)
Change History (15)
Changed 12 years ago by
Attachment: | doc_error.patch added |
---|
comment:1 Changed 12 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Changed 12 years ago by
Attachment: | Before.png added |
---|
Changed 12 years ago by
comment:3 follow-up: 4 Changed 12 years ago by
comment:4 follow-up: 5 Changed 12 years ago by
Replying to rjollos:
Before/After screen captures of discussion documentation section:
How comes that you have a blank documentation (in your "before" screenshot) while I have an error msg ?
comment:5 follow-up: 6 Changed 12 years ago by
Replying to sdegrande:
How comes that you have a blank documentation (in your "before" screenshot) while I have an error msg ?
I'm not sure. I was testing with the latest version of the Trac trunk, running tracd. Do you have a screen capture of the error?
comment:6 follow-up: 8 Changed 12 years ago by
Replying to rjollos:
I'm not sure. I was testing with the latest version of the Trac trunk, running tracd. Do you have a screen capture of the error?
Here it is :
System informations:
Trac | 1.0 |
Babel | 0.9.6 |
Docutils | 0.8.1 |
Genshi | 0.6 (without speedups) |
mod_wsgi | 3.3 (WSGIProcessGroup sites WSGIApplicationGroup %{GLOBAL}) |
Pygments | 1.5 |
pysqlite | 2.4.1 |
Python | 2.6.6 (r266:84292, Dec 26 2010, 22:48:11) [GCC 4.4.5] |
pytz | 2012b |
setuptools | 0.6 |
SQLite | 3.7.3 |
jQuery | 1.7.2 |
Changed 12 years ago by
Attachment: | doc_error.png added |
---|
comment:7 Changed 12 years ago by
I suspect the difference is that you are using Babel and a non-English language.
comment:8 follow-up: 9 Changed 12 years ago by
Replying to sdegrande:
Here it is : (image)
This issue is TracIni
macro issue in Trac core with Babel. gettext
and dgettext
functions, which are translation functions in Babel, translate an empty string to the *.po
header.
IniAdminPlugin has the same issue and it was fixed in r12306. And, I'll fix in Trac 1.0.1. Thanks.
comment:9 Changed 12 years ago by
Replying to jun66j5:
This issue is
TracIni
macro issue in Trac core with Babel.gettext
anddgettext
functions, which are translation functions in Babel, translate an empty string to the*.po
header.IniAdminPlugin has the same issue and it was fixed in r12306. And, I'll fix in Trac 1.0.1. Thanks.
Oh, my bad...
I should have trace the code more deeply, instead of thinking it was a kind of an error msg.
Sorry.
(In [12292]) Fixes #10592: Implemented missing TracIni option documentation for
smtp_always_cc
. Thanks to sdegrande for the patch.