Page 1 of 1

sc report and translations

Posted: 05 Feb 2013 23:40
by pirgygab
Hello
I have some problems with report() function - with Template parameters; it's OK in English but not when French langage is selected.

in English: text report("{name}, {size} "); -> display is OK
in French: same function -> {name}, {size}...

I can make it working if I translate the parameters: text report("{nom}, {taille} "); -> display is OK
I can live with this, except that if I want want to use the size format options, I have to re-use "size" and no longer "taille":
text report("{nom}, {size kb} ");

Scripting with a mix of the 2 langages becomes more fun!

XYplorer 12.00.0011 - I don't try other langages

Re: sc report and translations

Posted: 06 Feb 2013 10:49
by admin
Ah, good bug! Thanks! Fix is coming.

Re: sc report and translations

Posted: 06 Feb 2013 13:52
by TheQwerty
Don, you might want to check SortBy as well.
I haven't checked it but it could be prone to the same issue.

Re: sc report and translations

Posted: 06 Feb 2013 14:03
by admin
Good guess, you are right! selfilter and sortby.