From: Heikki Linnakangas Date: Tue, 15 Jan 2013 20:09:41 +0000 (+0200) Subject: On second thought, use an empty string instead of "none" when not connected. X-Git-Tag: REL8_3_23~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=46dc33fb2fa6df5748f882a5bf98631373666956;p=thirdparty%2Fpostgresql.git On second thought, use an empty string instead of "none" when not connected. "none" could mislead to think that you're connected a database with that name. Also, it needs to be translated, which might be hard without some context. So in back-branches, use empty string, so that the message is (currently ""), which is at least unambiguous and doens't require translation. In master, it's no problem to add translatable strings, so use a different fix there. --- diff --git a/src/bin/psql/help.c b/src/bin/psql/help.c index cfe59721376..56098785d9a 100644 --- a/src/bin/psql/help.c +++ b/src/bin/psql/help.c @@ -163,7 +163,7 @@ slashUsage(unsigned short int pager) currdb = PQdb(pset.db); if (currdb == NULL) - currdb = _("none"); + currdb = ""; output = PageOutput(69, pager);