|
3 | 3 | *
|
4 | 4 | * Copyright (c) 2000-2005, PostgreSQL Global Development Group
|
5 | 5 | *
|
6 |
| - * $PostgreSQL: pgsql/src/bin/psql/command.c,v 1.154 2005/10/15 02:49:40 momjian Exp $ |
| 6 | + * $PostgreSQL: pgsql/src/bin/psql/command.c,v 1.155 2005/12/08 21:18:22 petere Exp $ |
7 | 7 | */
|
8 | 8 | #include"postgres_fe.h"
|
9 | 9 | #include"command.h"
|
@@ -935,9 +935,9 @@ do_connect(const char *new_dbname, const char *new_user)
|
935 | 935 | password_prompt=strdup("Password: ");
|
936 | 936 | else
|
937 | 937 | {
|
938 |
| -password_prompt=malloc(strlen("Password for user %s: ")-2+ |
| 938 | +password_prompt=malloc(strlen(_("Password for user %s: "))-2+ |
939 | 939 | strlen(userparam)+1);
|
940 |
| -sprintf(password_prompt,"Password for user %s: ",userparam); |
| 940 | +sprintf(password_prompt,_("Password for user %s: "),userparam); |
941 | 941 | }
|
942 | 942 |
|
943 | 943 | /* need to prompt for password? */
|
|