mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-12 18:34:36 +08:00
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.
This commit is contained in:
parent
bb9a9a9d37
commit
801babf0d7
@ -165,7 +165,7 @@ slashUsage(unsigned short int pager)
|
||||
|
||||
currdb = PQdb(pset.db);
|
||||
if (currdb == NULL)
|
||||
currdb = _("none");
|
||||
currdb = "";
|
||||
|
||||
output = PageOutput(86, pager);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user