Commit 9b0d7172 authored by Peter Eisentraut's avatar Peter Eisentraut

pg_amcheck: Add missing translation markers

parent d954019f
......@@ -6,5 +6,7 @@ GETTEXT_FILES = $(FRONTEND_COMMON_GETTEXT_FILES) \
../../fe_utils/cancel.c \
../../fe_utils/connect_utils.c \
../../fe_utils/query_utils.c
GETTEXT_TRIGGERS = $(FRONTEND_COMMON_GETTEXT_TRIGGERS)
GETTEXT_FLAGS = $(FRONTEND_COMMON_GETTEXT_FLAGS)
GETTEXT_TRIGGERS = $(FRONTEND_COMMON_GETTEXT_TRIGGERS) \
log_no_match
GETTEXT_FLAGS = $(FRONTEND_COMMON_GETTEXT_FLAGS) \
log_no_match:1:c-format
......@@ -1028,7 +1028,7 @@ verify_heap_slot_handler(PGresult *res, PGconn *conn, void *context)
msg = PQgetvalue(res, i, 3);
if (!PQgetisnull(res, i, 2))
printf("heap table \"%s\".\"%s\".\"%s\", block %s, offset %s, attribute %s:\n %s\n",
printf(_("heap table \"%s\".\"%s\".\"%s\", block %s, offset %s, attribute %s:\n %s\n"),
rel->datinfo->datname, rel->nspname, rel->relname,
PQgetvalue(res, i, 0), /* blkno */
PQgetvalue(res, i, 1), /* offnum */
......@@ -1036,20 +1036,20 @@ verify_heap_slot_handler(PGresult *res, PGconn *conn, void *context)
msg);
else if (!PQgetisnull(res, i, 1))
printf("heap table \"%s\".\"%s\".\"%s\", block %s, offset %s:\n %s\n",
printf(_("heap table \"%s\".\"%s\".\"%s\", block %s, offset %s:\n %s\n"),
rel->datinfo->datname, rel->nspname, rel->relname,
PQgetvalue(res, i, 0), /* blkno */
PQgetvalue(res, i, 1), /* offnum */
msg);
else if (!PQgetisnull(res, i, 0))
printf("heap table \"%s\".\"%s\".\"%s\", block %s:\n %s\n",
printf(_("heap table \"%s\".\"%s\".\"%s\", block %s:\n %s\n"),
rel->datinfo->datname, rel->nspname, rel->relname,
PQgetvalue(res, i, 0), /* blkno */
msg);
else
printf("heap table \"%s\".\"%s\".\"%s\":\n %s\n",
printf(_("heap table \"%s\".\"%s\".\"%s\":\n %s\n"),
rel->datinfo->datname, rel->nspname, rel->relname, msg);
}
}
......@@ -1058,10 +1058,10 @@ verify_heap_slot_handler(PGresult *res, PGconn *conn, void *context)
char *msg = indent_lines(PQerrorMessage(conn));
all_checks_pass = false;
printf("heap table \"%s\".\"%s\".\"%s\":\n%s",
printf(_("heap table \"%s\".\"%s\".\"%s\":\n%s"),
rel->datinfo->datname, rel->nspname, rel->relname, msg);
if (opts.verbose)
printf("query was: %s\n", rel->sql);
printf(_("query was: %s\n"), rel->sql);
FREE_AND_SET_NULL(msg);
}
......@@ -1124,10 +1124,10 @@ verify_btree_slot_handler(PGresult *res, PGconn *conn, void *context)
char *msg = indent_lines(PQerrorMessage(conn));
all_checks_pass = false;
printf("btree index \"%s\".\"%s\".\"%s\":\n%s",
printf(_("btree index \"%s\".\"%s\".\"%s\":\n%s"),
rel->datinfo->datname, rel->nspname, rel->relname, msg);
if (opts.verbose)
printf("query was: %s\n", rel->sql);
printf(_("query was: %s\n"), rel->sql);
FREE_AND_SET_NULL(msg);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment