Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit71c53d5

Browse files
committed
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 thatname. Also, it needs to be translated, which might be hard without somecontext. So in back-branches, use empty string, so that the message is(currently ""), which is at least unambiguous and doens't requiretranslation. In master, it's no problem to add translatable strings, so usea different fix there.
1 parentee0ef98 commit71c53d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/bin/psql/help.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ slashUsage(unsigned short int pager)
165165

166166
currdb=PQdb(pset.db);
167167
if (currdb==NULL)
168-
currdb=_("none");
168+
currdb="";
169169

170170
output=PageOutput(94,pager);
171171

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp