Remove redundant translation markers
authorPeter Eisentraut
Sat, 29 Dec 2018 11:50:59 +0000 (12:50 +0100)
committerPeter Eisentraut
Sat, 29 Dec 2018 11:50:59 +0000 (12:50 +0100)
psql_error() already handles that itself.

src/bin/psql/command.c
src/bin/psql/common.c

index 55315fe43b64192495ac6f62d7d14ded807f4f43..1cf976869cec95b7bf090d7c8f6151a0b39b5d85 100644 (file)
@@ -4357,7 +4357,7 @@ do_watch(PQExpBuffer query_buf, double sleep)
 
    if (!query_buf || query_buf->len <= 0)
    {
-       psql_error(_("\\watch cannot be used with an empty query\n"));
+       psql_error("\\watch cannot be used with an empty query\n");
        return false;
    }
 
index 62c2928e6bbcdc83cfcfc4644cd786c54c92aeee..8af16a5fb4e764adfd5e723888e0d31ffb33429d 100644 (file)
@@ -799,19 +799,19 @@ PSQLexecWatch(const char *query, const printQueryOpt *opt)
            break;
 
        case PGRES_EMPTY_QUERY:
-           psql_error(_("\\watch cannot be used with an empty query\n"));
+           psql_error("\\watch cannot be used with an empty query\n");
            PQclear(res);
            return -1;
 
        case PGRES_COPY_OUT:
        case PGRES_COPY_IN:
        case PGRES_COPY_BOTH:
-           psql_error(_("\\watch cannot be used with COPY\n"));
+           psql_error("\\watch cannot be used with COPY\n");
            PQclear(res);
            return -1;
 
        default:
-           psql_error(_("unexpected result status for \\watch\n"));
+           psql_error("unexpected result status for \\watch\n");
            PQclear(res);
            return -1;
    }