Ticket #300 (new defect)

Opened 3 years ago

Last modified 2 years ago

Translation is not complete

Reported by: anonymous Assigned to: eblot
Priority: high Component: TracFrenchTranslation
Severity: major Keywords:
Cc: Trac Release: 0.10

Description

It seems that the <?cs alt:translation[something] ?><?cs var:something ?><?cs /alt ?> is not working and always returns the value of something (and not the translation). This could be especially seen in the ticket status.

Included is a patch that fixes that. I practically know nothing of python so a better version should be possible.

Attachments

hdf_trans.patch (2.3 kB) - added by mathieu on 04/12/06 05:20:44.

Change History

04/12/06 05:20:44 changed by mathieu

  • attachment hdf_trans.patch added.

07/20/06 04:02:34 changed by Guillaume <g+track_hacks@pkg.fr>

It seems you replace in your patch

    hdf['translation'] = {
    ...
    35 lines more
    ...

with

    hdf['translation'] = env.translations

It's working for me, and I think it's means better performance (so few). Also, this means you can define other translations in your trac.ini that you can use in your *.cs templates.

07/20/06 04:04:42 changed by Guillaume <g+track_hacks@pkg.fr>

Sorry I would say :

It seems you can replace in your patch

(argh... too much english fault :-P)

02/20/07 07:10:09 changed by anonymous


Add/Change #300 (Translation is not complete)




Change Properties
Action