Changes between Initial Version and Version 2 of Ticket #4414


Ignore:
Timestamp:
May 29, 2007, 4:57:36 AM (17 years ago)
Author:
Malcolm Tredinnick
Comment:

(Fixed description formatting.)

Can you explain the bug a bit more? Is it that the first couple of lines you show do not work and they should work? Or there is some other thing that should work and you have to do the first two lines of Javascript instead?

What I'm after is a clear example of something that should work, but doesn't. If that's the first two lines you showed, just point that out. Otherwise, give us an example to test with.

Just looking at the change you propose, I'm willing to believe it's just an oversight (clearly not a popular one, since nobody's reported it before that I can see). Should be easy to fix once we understand what the real issue is.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4414

    • Property Component TranslationsInternationalization
    • Property Triage Stage UnreviewedAccepted
  • Ticket #4414 – Description

    initial v2  
    11why do you interpolate javascript translation strings just once? i currently have the case, that i have to replace like this:
    2 
     2{{{
    33var transObj = { numShown: numShown, numAvail: numAvail};
    44interpolate(gettext("%(numShown)s out of %(numAvail)s"), transObj, true));
    5 
     5}}}
     6{{{
     7#!python
    68Index: views/i18n.py
    79===================================================================
     
    2022 }
    2123 """
     24}}}
Back to Top