aboutsummaryrefslogtreecommitdiff
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
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.
-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
@@ -135,2 +135,3 @@ const char * const gdbm_errlist[_GDBM_MAX_ERRNO+1] = {
135 [GDBM_BAD_HEADER] = N_("Malformed database file header"), 135 [GDBM_BAD_HEADER] = N_("Malformed database file header"),
136 /* TRANSLATORS: avail_block is a field name. Don't translate it. */
136 [GDBM_BAD_AVAIL] = N_("Malformed avail_block"), 137 [GDBM_BAD_AVAIL] = N_("Malformed avail_block"),
diff --git a/src/gdbmtool.c b/src/gdbmtool.c
index 8a17c29..d736411 100644
--- a/src/gdbmtool.c
+++ b/src/gdbmtool.c
@@ -313,3 +313,3 @@ _gdbm_print_avail_list (FILE *fp, GDBM_FILE dbf)
313 else 313 else
314 terror (_("invalid avail_block")); 314 terror ("%s", gdbm_strerror (GDBM_BAD_AVAIL));
315 temp = av_stk->next_block; 315 temp = av_stk->next_block;
@@ -1237,3 +1237,3 @@ struct command command_tab[] = {
1237 REPEAT_NOARG, 1237 REPEAT_NOARG,
1238 N_("nextkey") }, 1238 N_("continue iteration: get next key and datum") },
1239 { S(store), T_CMD, 1239 { S(store), T_CMD,
@@ -1251,3 +1251,3 @@ struct command command_tab[] = {
1251 REPEAT_NEVER, 1251 REPEAT_NEVER,
1252 N_("firstkey") }, 1252 N_("begin iteration: get first key and datum") },
1253 { S(reorganize), T_CMD, 1253 { S(reorganize), T_CMD,
diff --git a/src/util.c b/src/util.c
index 25daeed..aa56dc4 100644
--- a/src/util.c
+++ b/src/util.c
@@ -97,2 +97,3 @@ vgetyn (const char *prompt, va_list ap)
97 default: 97 default:
98 /* TRANSLATORS: Please, don't translate 'y' and 'n'. */
98 fprintf (stdout, "%s\n", _("Please, reply 'y' or 'n'")); 99 fprintf (stdout, "%s\n", _("Please, reply 'y' or 'n'"));

Return to:

Send suggestions and report system problems to the System administrator.