-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Package: util-linux
Version: 2.14~rc2-0
Severity: minor
Tags: patch l10n
While translating util-linux, i've found several strings without gettext
calls, in the sys-utils module.
Patch included. Forwarded to upstream.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkjZc2gACgkQQ1WdpTsIkf6tJwCfZGI3YRLwzgnjhNkuMISepjHp
aO4AnAyGEiWvzgfLOrsQk0HaPAmifzj+
=PonP
-----END PGP SIGNATURE-----
diff --git a/sys-utils/readprofile.c b/sys-utils/readprofile.c
index 950e905..52f5d8c 100644
--- a/sys-utils/readprofile.c
+++ b/sys-utils/readprofile.c
@@ -224,7 +224,7 @@ main(int argc, char **argv) {
exit(1);
}
if (write(fd, &multiplier, to_write) != to_write) {
- fprintf(stderr, "readprofile: error writing %s: %s\n",
+ fprintf(stderr, _("readprofile: error writing %s: %s\n"),
defaultpro, strerror(errno));
exit(1);
}
@@ -265,8 +265,8 @@ main(int argc, char **argv) {
small++;
}
if (big > small) {
- fprintf(stderr,"Assuming reversed byte order. "
- "Use -n to force native byte order.\n");
+ fprintf(stderr,_("Assuming reversed byte order. "
+ "Use -n to force native byte order.\n"));
for (p = buf; p < buf+entries; p++)
for (i = 0; i < sizeof(*buf)/2; i++) {
unsigned char *b = (unsigned char *) p;