aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gdbmerrno.c1
-rw-r--r--src/gdbmtool.c6
-rw-r--r--src/util.c1
3 files changed, 5 insertions, 3 deletions
diff --git a/src/gdbmerrno.c b/src/gdbmerrno.c
index efda7a4..0fa667a 100644
--- a/src/gdbmerrno.c
+++ b/src/gdbmerrno.c
@@ -133,6 +133,7 @@ const char * const gdbm_errlist[_GDBM_MAX_ERRNO+1] = {
[GDBM_DIR_OVERFLOW] = N_("Bucket directory overflow"),
[GDBM_BAD_BUCKET] = N_("Malformed bucket header"),
[GDBM_BAD_HEADER] = N_("Malformed database file header"),
+ /* TRANSLATORS: avail_block is a field name. Don't translate it. */
[GDBM_BAD_AVAIL] = N_("Malformed avail_block"),
[GDBM_BAD_HASH_TABLE] = N_("Malformed hash table"),
[GDBM_BAD_DIR_ENTRY] = N_("Invalid directory entry"),
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 } },
diff --git a/src/util.c b/src/util.c
index 25daeed..aa56dc4 100644
--- a/src/util.c
+++ b/src/util.c
@@ -95,6 +95,7 @@ vgetyn (const char *prompt, va_list ap)
case 'N':
return 0;
default:
+ /* TRANSLATORS: Please, don't translate 'y' and 'n'. */
fprintf (stdout, "%s\n", _("Please, reply 'y' or 'n'"));
}
/* fall through */

Return to:

Send suggestions and report system problems to the System administrator.