diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2013-01-15 22:09:41 +0200 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2013-01-15 22:14:01 +0200 |
commit | 66debecd0c2a507500384a2eb727664f916780f8 (patch) | |
tree | 7b108d43995c3fbcbc18e7551948f1ed6c91c5d2 | |
parent | 14fa9805604e829d96531581e71b45ddfddb4fc8 (diff) | |
download | postgresql-66debecd0c2a507500384a2eb727664f916780f8.tar.gz postgresql-66debecd0c2a507500384a2eb727664f916780f8.zip |
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.
-rw-r--r-- | src/bin/psql/help.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/psql/help.c b/src/bin/psql/help.c index ccbd542c617..64bf407374f 100644 --- a/src/bin/psql/help.c +++ b/src/bin/psql/help.c @@ -161,7 +161,7 @@ slashUsage(unsigned short int pager) currdb = PQdb(pset.db); if (currdb == NULL) - currdb = _("none"); + currdb = ""; output = PageOutput(92, pager); |