diff options
author | Heikki Linnakangas | 2013-01-15 20:09:41 +0000 |
---|---|---|
committer | Heikki Linnakangas | 2013-01-15 20:14:16 +0000 |
commit | 94b6458c10cd2f0c41f0561a562811ff4b05e2e5 (patch) | |
tree | f975b64840a7228f2509c79638a8db8a61930b07 | |
parent | 20df7e9053799ee80e4e97088c5398dbdd76196f (diff) |
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 12ea5fdac0e..68ffba7fac4 100644 --- a/src/bin/psql/help.c +++ b/src/bin/psql/help.c @@ -165,7 +165,7 @@ slashUsage(unsigned short int pager) currdb = PQdb(pset.db); if (currdb == NULL) - currdb = _("none"); + currdb = ""; output = PageOutput(86, pager); |