X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fstats%2Ft-test-parser.c;h=9e134e2a72372f79f7d57f59df04a102f402771a;hb=refs%2Fbuilds%2F20140222030507%2Fpspp;hp=089d0dd8a691db2d76c636afe91969ca95c16ce2;hpb=90a008db8b2f6e5bec903e584eb68e9bb20c061e;p=pspp diff --git a/src/language/stats/t-test-parser.c b/src/language/stats/t-test-parser.c index 089d0dd8a6..9e134e2a72 100644 --- a/src/language/stats/t-test-parser.c +++ b/src/language/stats/t-test-parser.c @@ -120,8 +120,8 @@ cmd_t_test (struct lexer *lexer, struct dataset *ds) if ( cut == true && var_is_alpha (gvar)) { - msg (SE, _("When applying GROUPS to a string variable, two " - "values must be specified.")); + msg (SE, _("When applying %s to a string variable, two " + "values must be specified."), "GROUPS"); goto parse_failed; } } @@ -132,7 +132,7 @@ cmd_t_test (struct lexer *lexer, struct dataset *ds) if (tt.n_vars > 0) { - msg (SE, _("VARIABLES subcommand may not be used with PAIRS.")); + msg (SE, _("%s subcommand may not be used with %s."), "VARIABLES", "PAIRS"); goto parse_failed; } @@ -228,7 +228,7 @@ cmd_t_test (struct lexer *lexer, struct dataset *ds) { if ( tt.mode == MODE_PAIRED) { - msg (SE, _("VARIABLES subcommand may not be used with PAIRS.")); + msg (SE, _("%s subcommand may not be used with %s."), "VARIABLES", "PAIRS"); goto parse_failed; } @@ -297,7 +297,7 @@ cmd_t_test (struct lexer *lexer, struct dataset *ds) if (tt.n_vars == 0 && tt.mode != MODE_PAIRED) { - msg (SE, _("One or more VARIABLES must be specified.")); + lex_sbc_missing ("VARIABLES"); goto parse_failed; }