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

Commite3299d3

Browse files
committed
Remove redundant translation markers
psql_error() already handles that itself.
1 parent0a5a493 commite3299d3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎src/bin/psql/command.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4357,7 +4357,7 @@ do_watch(PQExpBuffer query_buf, double sleep)
43574357

43584358
if (!query_buf||query_buf->len <=0)
43594359
{
4360-
psql_error(_("\\watch cannot be used with an empty query\n"));
4360+
psql_error("\\watch cannot be used with an empty query\n");
43614361
return false;
43624362
}
43634363

‎src/bin/psql/common.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -799,19 +799,19 @@ PSQLexecWatch(const char *query, const printQueryOpt *opt)
799799
break;
800800

801801
casePGRES_EMPTY_QUERY:
802-
psql_error(_("\\watch cannot be used with an empty query\n"));
802+
psql_error("\\watch cannot be used with an empty query\n");
803803
PQclear(res);
804804
return-1;
805805

806806
casePGRES_COPY_OUT:
807807
casePGRES_COPY_IN:
808808
casePGRES_COPY_BOTH:
809-
psql_error(_("\\watch cannot be used with COPY\n"));
809+
psql_error("\\watch cannot be used with COPY\n");
810810
PQclear(res);
811811
return-1;
812812

813813
default:
814-
psql_error(_("unexpected result status for \\watch\n"));
814+
psql_error("unexpected result status for \\watch\n");
815815
PQclear(res);
816816
return-1;
817817
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp