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

Commit66debec

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 parent14fa980 commit66debec

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
@@ -161,7 +161,7 @@ slashUsage(unsigned short int pager)
161161

162162
currdb=PQdb(pset.db);
163163
if (currdb==NULL)
164-
currdb=_("none");
164+
currdb="";
165165

166166
output=PageOutput(92,pager);
167167

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp