[rkward-devel] c-formatted strings in rkward__analysis.po

Yuri Chornoivan yurchor at ukr.net
Thu Dec 4 19:39:14 UTC 2014


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:  
#. i18n: file:  
#, c-format
msgid ""
"Here you can define the confidence level of the interval (95% is  
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).

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,

More information about the Rkward-devel mailing list