-----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 text-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

iEYEARECAAYFAkjZc+sACgkQQ1WdpTsIkf5ZVACeK6LgxqzHndMmLXKAJDsa9uuY
nEgAn1fWDUJYvrkf3Pe9LT6ZCV7Z4s97
=vitD
-----END PGP SIGNATURE-----

diff --git a/text-utils/pg.c b/text-utils/pg.c
index 2defd9a..ede5a32 100644
--- a/text-utils/pg.c
+++ b/text-utils/pg.c
@@ -142,7 +142,7 @@ wchar_t		wbuf[READBUF];		/* used in several widechar routines */
 
 const char *copyright =
 "@(#)pg 1.44 2/8/02. Copyright (c) 2000-2001 Gunnar Ritter. ";
-const char *helpscreen = "All rights reserved.\n\
+const char *helpscreen = N_("All rights reserved.\n\
 -------------------------------------------------------\n\
   h                       this screen\n\
   q or Q                  quit program\n\
@@ -164,7 +164,7 @@ Many commands accept preceding numbers, for example:\n\
 +1<newline> (next page); -1<newline> (previous page); 1<newline> (first page).\n\
 \n\
 See pg(1) for more information.\n\
--------------------------------------------------------\n";
+-------------------------------------------------------\n");
 
 #ifndef HAVE_FSEEKO
   static int fseeko(FILE *f, off_t off, int whence) {
@@ -220,7 +220,7 @@ smalloc(size_t s)
 {
         char *m = (char *)malloc(s);
         if (m == NULL) {
-                write(2, "Out of memory\n", 14);
+                write(2, _("Out of memory\n"), 14);
                 quit(++exitstatus);
         }
         return m;
@@ -1239,7 +1239,7 @@ newcmd:
 					rerror = regcomp(&re, p,
 						REG_NOSUB | REG_NEWLINE);
 					if (rerror != 0) {
-						mesg("RE error: ");
+						mesg(_("RE error: "));
 						regerror(rerror, &re,
 								b, READBUF);
 						mesg(b);
@@ -1247,7 +1247,7 @@ newcmd:
 					}
 					remembered = 1;
 				} else if (remembered == 0) {
-					mesg("No remembered search string");
+					mesg(_("No remembered search string"));
 					goto newcmd;
 				}
 				line -= pagelen;

Reply via email to