aboutsummaryrefslogtreecommitdiff
path: root/src/gdbmtool.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2021-01-08 11:20:38 +0200
committerSergey Poznyakoff <gray@gnu.org>2021-01-08 11:26:51 +0200
commitc42044e7eda48707809c4176a9bb5f6e479fdc92 (patch)
tree25150579e24a65ab4f9bb1cc79443f56ea36e9d2 /src/gdbmtool.c
parent8443608e77e244621b6da059d3aec1c1ff4bd874 (diff)
downloadgdbm-c42044e7eda48707809c4176a9bb5f6e479fdc92.tar.gz
gdbm-c42044e7eda48707809c4176a9bb5f6e479fdc92.tar.bz2
Reword some messages and add translator comments.
* src/gdbmtool.c: Avoid duplicating the GDBM_BAD_AVAIL message. Add translator comments. * src/gdbmerrno.c: Add translator comments. * src/util.c: Likewise.
Diffstat (limited to 'src/gdbmtool.c')
-rw-r--r--src/gdbmtool.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gdbmtool.c b/src/gdbmtool.c
index 8a17c29..d736411 100644
--- a/src/gdbmtool.c
+++ b/src/gdbmtool.c
@@ -311,7 +311,7 @@ _gdbm_print_avail_list (FILE *fp, GDBM_FILE dbf)
if (gdbm_avail_block_validate (dbf, av_stk) == 0)
av_table_display (av_stk->av_table, av_stk->count, fp);
else
- terror (_("invalid avail_block"));
+ terror ("%s", gdbm_strerror (GDBM_BAD_AVAIL));
temp = av_stk->next_block;
}
free (av_stk);
@@ -1235,7 +1235,7 @@ struct command command_tab[] = {
{ NULL } },
FALSE,
REPEAT_NOARG,
- N_("nextkey") },
+ N_("continue iteration: get next key and datum") },
{ S(store), T_CMD,
checkdb_begin, store_handler, NULL,
{ { N_("KEY"), GDBM_ARG_DATUM, DS_KEY },
@@ -1249,7 +1249,7 @@ struct command command_tab[] = {
{ { NULL } },
FALSE,
REPEAT_NEVER,
- N_("firstkey") },
+ N_("begin iteration: get first key and datum") },
{ S(reorganize), T_CMD,
checkdb_begin, reorganize_handler, NULL,
{ { NULL } },

Return to:

Send suggestions and report system problems to the System administrator.