From 6bb0ab0608fdd2509a8d2b84cd75ae01fa5e64c5 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Fri, 31 Dec 2010 20:43:09 +0100 Subject: dpkg-split: Mark strings for translation Use plural support for one of them. --- dpkg-split/split.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'dpkg-split') diff --git a/dpkg-split/split.c b/dpkg-split/split.c index 91f069a33..f40ea67dc 100644 --- a/dpkg-split/split.c +++ b/dpkg-split/split.c @@ -143,7 +143,9 @@ mksplit(const char *file_src, const char *prefix, size_t partsize, setvbuf(stdout, NULL, _IONBF, 0); - printf("Splitting package %s into %d parts: ", package, nparts); + printf(P_("Splitting package %s into %d part: ", + "Splitting package %s into %d parts: ", nparts), + package, nparts); if (msdos) { char *t; @@ -188,10 +190,10 @@ mksplit(const char *file_src, const char *prefix, size_t partsize, ohshite("mksplit: read"); if ((size_t)partrealsize > maxpartsize) { - ohshit("Header is too long, making part too long. " + ohshit(_("Header is too long, making part too long. " "Your package name or version\n" "numbers must be extraordinarily long, " - "or something. Giving up.\n"); + "or something. Giving up.\n")); } /* Split the data. */ @@ -231,7 +233,7 @@ mksplit(const char *file_src, const char *prefix, size_t partsize, close(fd_src); - printf("done\n"); + printf(_("done\n")); return 0; } -- cgit v1.2.3