[G1] "Total points in brackets"/"Average points in brackets" resists translation

Yuan

Joined: 2003-12-03
Posts: 144
Posted: Wed, 2006-03-15 10:23

#: ../lib/voting.php:253
msgid "Total points in brackets"

#: ../lib/voting.php:257
msgid "Average points in brackets"

They are always displayed in English, even though gTranslate is used.

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Wed, 2006-03-15 12:34

For which language ?

Jens
--
Last Gallery v1 Developer and v1 translation manager.

 
Yuan

Joined: 2003-12-03
Posts: 144
Posted: Wed, 2006-03-15 16:57

Tested zh_CN, zh_TW, fr_FR, de_DE.

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Wed, 2006-03-15 18:14

Got it,

Bug :(

Fix: $summary="(". gTranslate('common', "Total points in brackets") . ")";

in lib/voting.php

Jens
--
Last Gallery v1 Developer and v1 translation manager.

 
Yuan

Joined: 2003-12-03
Posts: 144
Posted: Wed, 2006-03-15 19:51

Cool! This 'common' fixed it. Thanks.