summaryrefslogtreecommitdiff
path: root/dpkg-split
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2010-12-31 20:43:09 +0100
committerGuillem Jover <guillem@debian.org>2011-01-08 17:17:40 +0100
commit6bb0ab0608fdd2509a8d2b84cd75ae01fa5e64c5 (patch)
treea3691f1fe4dfa0e06612d9c3044951a1b51dda9e /dpkg-split
parent97f0c0baee8fbb393781bc7024d80b8c08a87d25 (diff)
downloaddpkg-6bb0ab0608fdd2509a8d2b84cd75ae01fa5e64c5.tar.gz
dpkg-split: Mark strings for translation
Use plural support for one of them.
Diffstat (limited to 'dpkg-split')
-rw-r--r--dpkg-split/split.c10
1 files changed, 6 insertions, 4 deletions
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;
}