summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2006-04-21 02:03:16 +0000
committerGuillem Jover <guillem@debian.org>2006-04-21 02:03:16 +0000
commit2b8e678a60c7906ba6a1568e28f2eba8ccb300d0 (patch)
treed411390311fedae843971cfd9ee1ff4ea98be003 /lib
parent842067259303ed68f0ff6756712c06a417eb7ca1 (diff)
downloaddpkg-2b8e678a60c7906ba6a1568e28f2eba8ccb300d0.tar.gz
Fix strings so that they can be more easily translated. Closes: #134358
Diffstat (limited to 'lib')
-rw-r--r--lib/dbmodify.c5
-rw-r--r--lib/parsehelp.c6
-rw-r--r--lib/showcright.c3
3 files changed, 8 insertions, 6 deletions
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);
}