Edgewall Software

Ticket #7440 (closed enhancement: fixed)

Opened 7 weeks ago

Last modified 5 weeks ago

[PATCH] Polish translation file.

Reported by: wmichalski@… Owned by: jruigrok
Priority: normal Milestone: 0.12
Component: i18n Version: 0.12dev
Severity: normal Keywords: 0.12dev i18n
Cc: wmichalski@…

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

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

Change History

Changed 7 weeks ago by wmichalski@…

diff file of translated file messages.po (pl_PL)

Changed 7 weeks ago by wmichalski@…

function calls

Changed 7 weeks ago by wmichalski@…

system information

Changed 7 weeks ago by cboos

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.

Changed 6 weeks ago by jruigrok

  • owner set to jruigrok
  • status changed from new to assigned

Changed 5 weeks ago by cmlenz

  • status changed from assigned to closed
  • resolution set to invalid
  • milestone 0.12 deleted

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.

Changed 5 weeks ago by cmlenz

  • status changed from closed to reopened
  • resolution invalid deleted
  • milestone set to 0.12

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

Changed 5 weeks ago by jruigrok

  • status changed from reopened to closed
  • resolution set to fixed

Committed in r7424.

Please see #5480 for the pl_PL tracking ticket.

Add/Change #7440 ([PATCH] Polish translation file.)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.