I've found that t() function wasn't used properly in quant.chart.in and quant.forms.inc. There should be no variables, constants etc inside its brackets. It was neccessary to remove them as suggested here. So I created two patches for quant.chart.in and quant.forms.inc and attached them to this issue.

CommentFileSizeAuthor
quant_forms_t.patch496 bytesIngumsky
quant_chart_t.patch1.93 KBIngumsky

Comments

mstef’s picture

Good catch good catch...when I'm coding at top speed, I always skip over a few t()'s by accident.

Ingumsky’s picture

Content is always much more important than form -)

mstef’s picture

Pretty sure a t shouldn't even be used here at all..

The labels should be overridden when they're originally declared.

mstef’s picture

http://drupal.org/cvs?commit=413120

Please revise your .pot and .po file and I'll bring them into the module.

mstef’s picture

Status: Needs review » Closed (fixed)
Ingumsky’s picture

It's been already done :) .pot and .po files were extracted from patched version of the module.

mstef’s picture

Can you just check again? I didn't use the patches - I did them manually.

Thanks

Ingumsky’s picture

Yep, I checked and they were okay. Anyway I decided to re-extract them and update Russian translation. Hopefully it's even better now. Both files were uploaded again in their respective threads.