summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2013-01-15 22:09:41 +0200
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2013-01-15 22:12:54 +0200
commit71c53d528568a2ee1e250d452dc5fde3f9e619b6 (patch)
treeff8a7ab927fb3ddbdd7606f81f83a975eeb1b019
parentee0ef989f38c1ac482673766636ba89940977913 (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/psql/help.c b/src/bin/psql/help.c
index 58f8a0b0167..4a303f9269a 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(94, pager);