From 2b8e678a60c7906ba6a1568e28f2eba8ccb300d0 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Fri, 21 Apr 2006 02:03:16 +0000 Subject: Fix strings so that they can be more easily translated. Closes: #134358 --- lib/dbmodify.c | 5 +++-- lib/parsehelp.c | 6 +++--- lib/showcright.c | 3 ++- 3 files changed, 8 insertions(+), 6 deletions(-) (limited to 'lib') diff --git a/lib/dbmodify.c b/lib/dbmodify.c index 720c96e93..a0d687354 100644 --- a/lib/dbmodify.c +++ b/lib/dbmodify.c @@ -113,9 +113,10 @@ static void createimptmp(void) { if (ferror(importanttmp)) ohshite(_("unable to fill %.250s with padding"),importanttmpfile); if (fflush(importanttmp)) - ohshite(_("unable flush %.250s after padding"),importanttmpfile); + ohshite(_("unable to flush %.250s after padding"), importanttmpfile); if (fseek(importanttmp,0,SEEK_SET)) - ohshite(_("unable seek to start of %.250s after padding"),importanttmpfile); + ohshite(_("unable to seek to start of %.250s after padding"), + importanttmpfile); onerr_abort--; } diff --git a/lib/parsehelp.c b/lib/parsehelp.c index dbdff0fbe..1c181bda3 100644 --- a/lib/parsehelp.c +++ b/lib/parsehelp.c @@ -119,9 +119,9 @@ const char *illegal_packagename(const char *p, const char **ep) { while (isspace(*p)) p++; *ep= p; return NULL; } - snprintf(buf, sizeof(buf), - _("character `%c' not allowed - only letters, digits and %s allowed"), - c, alsoallowed); + snprintf(buf, sizeof(buf), _( + "character `%c' not allowed (only letters, digits and characters `%s')"), + c, alsoallowed); return buf; } diff --git a/lib/showcright.c b/lib/showcright.c index 8849c752e..3f130c68e 100644 --- a/lib/showcright.c +++ b/lib/showcright.c @@ -30,7 +30,8 @@ void showcopyright(const struct cmdinfo *c, const char *v) NONRETURNING; void showcopyright(const struct cmdinfo *c, const char *v) { int fd; fd= open(COPYINGFILE,O_RDONLY); - if (fd < 0) ohshite(_("cannot open GPL file ")); + if (fd < 0) + ohshite(_("cannot open GPL file")); fd_fd_copy(fd, 1, -1, "showcopyright"); exit(0); } -- cgit v1.2.3