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

Commit46dc33f

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 parent63b0b39 commit46dc33f

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

164164
currdb=PQdb(pset.db);
165165
if (currdb==NULL)
166-
currdb=_("none");
166+
currdb="";
167167

168168
output=PageOutput(69,pager);
169169

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp