From a80c9ad00de2baa669d62f6482bee6dbc0eaf285 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Thu, 8 Dec 2005 21:18:22 +0000 Subject: [PATCH] Add missing translation marker --- src/bin/psql/command.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bin/psql/command.c b/src/bin/psql/command.c index d9f8dda595..fbff209262 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? */