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\
+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) {
{
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;
rerror = regcomp(&re, p,
REG_NOSUB | REG_NEWLINE);
if (rerror != 0) {
- mesg("RE error: ");
+ mesg(_("RE error: "));
regerror(rerror, &re,
b, READBUF);
mesg(b);
}
remembered = 1;
} else if (remembered == 0) {
- mesg("No remembered search string");
+ mesg(_("No remembered search string"));
goto newcmd;
}
line -= pagelen;