Opened 16 years ago
Closed 15 years ago
#7440 closed enhancement (duplicate)
[PATCH] Polish translation file.
Reported by: | Owned by: | Jeroen Ruigrok van der Werven | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | i18n | Version: | 0.12dev |
Severity: | normal | Keywords: | 0.12dev i18n |
Cc: | wmichalski@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
This is polish translation of messages.po (attached diff file). Please notice that for compound items from html templates (xml tag i18n:msg="") translation messages does not work correctly. I think that problem lies in Geisha/Filter not in Trac project, but I am not sure. I also noticed that error.html and wiki_edit.html template cause Track to dump unformatted error message with error:
IndexError: pop from empty list
After short investigation in template wiki_edit.html, found that code fragment causing error is:
<div id="help" i18n:msg=""> <b>Note:</b> See <a href="${href.wiki('WikiFormatting')}">WikiFormatting</a> and <a href="${href.wiki('TracWiki')}">TracWiki</a> for help on editing wiki content. </div>
changing to:
<div id="help" i18n:msg=""> <b>Note:</b> See <a href="${href.wiki('TracWiki')}">TracWiki</a> for help on editing wiki content. </div>
everything works ok, translation of course not ;). It is somehow connected with that only one statement ${…} can be inside tag marked as i18n:msg="".
Attachments (3)
Change History (10)
by , 16 years ago
Attachment: | messages.po-pl_PL.diff added |
---|
comment:1 by , 16 years ago
File "/usr/lib/python2.5/site-packages/Genshi-0.6dev_r0-py2.5-linux-i686.egg/genshi/filters/i18n.py, line 375, in append
This rather looks like a Genshi bug. Try again with the very latest Genshi trunk, and if the problem persists, please open a ticket on the Genshi Trac.
comment:2 by , 16 years ago
Owner: | set to |
---|---|
Status: | new → assigned |
comment:3 by , 16 years ago
Milestone: | 0.12 |
---|---|
Resolution: | → invalid |
Status: | assigned → closed |
Yeah, this is a bug introduced in the Genshi 0.5.1 release (and trunk). As a workaround, downgrade to Genshi 0.5.0 until this is fixed.
I created #G250 to track this on the Genshi side.
comment:4 by , 16 years ago
Milestone: | → 0.12 |
---|---|
Resolution: | invalid |
Status: | closed → reopened |
Oops, shouldn't have closed this as it's not limited to the Genshi bug.
comment:5 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
comment:7 by , 15 years ago
Milestone: | 0.12 |
---|---|
Resolution: | → duplicate |
Status: | reopened → closed |
diff file of translated file messages.po (pl_PL)