El Dijous, 4 de desembre de 2014, a les 21:39:14, Yuri Chornoivan va escriure:
> Hi,
> 
> Due to some subtle peculiarities of xgettext processing some extracted
> strings (those with '%') are now wrongly c-formatted which prevents them
>  from to be translated well.
> 
> #. i18n: file: rkward/plugins/analysis/t_test.xml
> #. i18n: ectx: (t-Test) <wizard label="Two Variable t-Test"> <page> <text>
> #, c-format
> msgid ""
> "Below you can specify whether one should be shown, and which confidence-"
> "level should be applied (95% corresponds to a 5% level of significance)."
> 
> #. i18n: file: rkward/plugins/analysis/variances/F_test.rkh
> #. i18n: ectx: (Loaded from F test) <settings> <setting> (refers to
> element labelled "Confidence level")
> #, c-format
> msgid "Defines the confidence level of the interval (95% is typical)."
> 
> #. i18n: file:
> rkward/plugins/analysis/ansari_bradley/ansari_bradley_test.rkh
> #. i18n: file:
> rkward/plugins/analysis/ansari_bradley/ansari_bradley_exact_test.rkh
> #, c-format
> msgid ""
> "Here you can define the confidence level of the interval (95% is
> typical)."
> msgstr ""
> 
> #. i18n: ectx: (Loaded from N to 1 Crosstabulation)
> #: rkward/plugins/analysis/crosstab.js:51
> #: rkward/plugins/analysis/crosstab.js:58
> #, c-format
> msgid "% of row"
> 
> #. i18n: ectx: (Loaded from N to 1 Crosstabulation)
> #: rkward/plugins/analysis/crosstab.js:52
> #: rkward/plugins/analysis/crosstab.js:59
> #, c-format
> msgid "% of column"
> 
> #. i18n: ectx: (Loaded from N to 1 Crosstabulation)
> #: rkward/plugins/analysis/crosstab.js:53
> #: rkward/plugins/analysis/crosstab.js:60
> #, c-format
> msgid "% of total"
> 
> It is usually enough to add "xgettext:no-c-format" for such messages to be
> processed right, but it is evidently not the case this time (tested).

How did you test this? Modifying scripts/update_plugin_messages.py ?

Cheers,
  Albert

> 
> Is there any way to post-process the file to replace #, c-format with #,
> no-c-format ?
> 
> Thanks in advance for your answers.
> 
> Best regards,
> Yuri


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
RKWard-devel mailing list
RKWard-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rkward-devel

Reply via email to