Edgewall Software
Modify

Opened 16 years ago

Closed 14 years ago

#7440 closed enhancement (duplicate)

[PATCH] Polish translation file.

Reported by: wmichalski@… 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)

messages.po-pl_PL.diff (109.9 KB ) - added by wmichalski@… 16 years ago.
diff file of translated file messages.po (pl_PL)
function_calls.txt (5.7 KB ) - added by wmichalski@… 16 years ago.
function calls
system_info.txt (317 bytes ) - added by wmichalski@… 16 years ago.
system information

Download all attachments as: .zip

Change History (10)

by wmichalski@…, 16 years ago

Attachment: messages.po-pl_PL.diff added

diff file of translated file messages.po (pl_PL)

by wmichalski@…, 16 years ago

Attachment: function_calls.txt added

function calls

by wmichalski@…, 16 years ago

Attachment: system_info.txt added

system information

comment:1 by Christian Boos, 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 Jeroen Ruigrok van der Werven, 16 years ago

Owner: set to Jeroen Ruigrok van der Werven
Status: newassigned

comment:3 by Christopher Lenz, 16 years ago

Milestone: 0.12
Resolution: invalid
Status: assignedclosed

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 Christopher Lenz, 16 years ago

Milestone: 0.12
Resolution: invalid
Status: closedreopened

Oops, shouldn't have closed this as it's not limited to the Genshi bug.

comment:5 by Jeroen Ruigrok van der Werven, 16 years ago

Resolution: fixed
Status: reopenedclosed

Committed in r7424.

Please see #5480 for the pl_PL tracking ticket.

comment:6 by Christian Boos, 14 years ago

Resolution: fixed
Status: closedreopened

(fixing status)

comment:7 by Christian Boos, 14 years ago

Milestone: 0.12
Resolution: duplicate
Status: reopenedclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jeroen Ruigrok van der Werven.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jeroen Ruigrok van der Werven 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.