From c74561b1a11c7ee5540336646f1f928bcbb77a05 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Thu, 11 Feb 2010 22:05:55 -0800 Subject: [PATCH] FACTOR: Mark translatable string as not a printf format string. gettext uses a heuristic to guess whether a translatable string is a printf format string. In this case, it guesses wrong, so add a comment that tells gettext that "% of Variance" is not a format string. Without this change, the translationproject.org robot rejects translations. Reported by fxmiguel@gmail.com. --- src/language/stats/factor.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/language/stats/factor.c b/src/language/stats/factor.c index 58d5b868..0679c5f5 100644 --- a/src/language/stats/factor.c +++ b/src/language/stats/factor.c @@ -1184,6 +1184,7 @@ show_explained_variance (const struct cmd_factor * factor, struct idata *idata, for (i = 0; i < (nc - heading_columns) / 3 ; ++i) { tab_text (t, i * 3 + 1, 1, TAB_CENTER | TAT_TITLE, _("Total")); + /* xgettext:no-c-format */ tab_text (t, i * 3 + 2, 1, TAB_CENTER | TAT_TITLE, _("% of Variance")); tab_text (t, i * 3 + 3, 1, TAB_CENTER | TAT_TITLE, _("Cumulative %")); -- 2.30.2