diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2005-12-08 21:18:22 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2005-12-08 21:18:22 +0000 |
commit | a80c9ad00de2baa669d62f6482bee6dbc0eaf285 (patch) | |
tree | c95bc64bb5140d668780f3e195710799482216db | |
parent | ac5618fa4ec186e0571593b05cc30a77b438e438 (diff) | |
download | postgresql-a80c9ad00de2baa669d62f6482bee6dbc0eaf285.tar.gz postgresql-a80c9ad00de2baa669d62f6482bee6dbc0eaf285.zip |
Add missing translation marker
-rw-r--r-- | src/bin/psql/command.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/psql/command.c b/src/bin/psql/command.c index d9f8dda595f..fbff2092624 100644 --- a/src/bin/psql/command.c +++ b/src/bin/psql/command.c @@ -3,7 +3,7 @@ * * Copyright (c) 2000-2005, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/bin/psql/command.c,v 1.154 2005/10/15 02:49:40 momjian Exp $ + * $PostgreSQL: pgsql/src/bin/psql/command.c,v 1.155 2005/12/08 21:18:22 petere Exp $ */ #include "postgres_fe.h" #include "command.h" @@ -935,9 +935,9 @@ do_connect(const char *new_dbname, const char *new_user) password_prompt = strdup("Password: "); else { - password_prompt = malloc(strlen("Password for user %s: ") - 2 + + password_prompt = malloc(strlen(_("Password for user %s: ")) - 2 + strlen(userparam) + 1); - sprintf(password_prompt, "Password for user %s: ", userparam); + sprintf(password_prompt, _("Password for user %s: "), userparam); } /* need to prompt for password? */ |