|
10 | 10 | * Portions Copyright (c) 1994, Regents of the University of California |
11 | 11 | * |
12 | 12 | * IDENTIFICATION |
13 | | - * $PostgreSQL: pgsql/src/backend/parser/scan.l,v 1.117 2004/08/29 04:12:42 momjian Exp $ |
| 13 | + * $PostgreSQL: pgsql/src/backend/parser/scan.l,v 1.118 2004/09/09 06:56:48 dennis Exp $ |
14 | 14 | * |
15 | 15 | *------------------------------------------------------------------------- |
16 | 16 | */ |
@@ -618,15 +618,15 @@ yyerror(const char *message) |
618 | 618 | ereport(ERROR, |
619 | 619 | (errcode(ERRCODE_SYNTAX_ERROR), |
620 | 620 | /* translator: %s is typically "syntax error" */ |
621 | | -errmsg("%s at end of input", message), |
| 621 | +errmsg("%s at end of input",gettext(message)), |
622 | 622 | errposition(cursorpos))); |
623 | 623 | } |
624 | 624 | else |
625 | 625 | { |
626 | 626 | ereport(ERROR, |
627 | 627 | (errcode(ERRCODE_SYNTAX_ERROR), |
628 | 628 | /* translator: first %s is typically "syntax error" */ |
629 | | -errmsg("%s at or near\"%s\"", message, loc), |
| 629 | +errmsg("%s at or near\"%s\"",gettext(message), loc), |
630 | 630 | errposition(cursorpos))); |
631 | 631 | } |
632 | 632 | } |
|