case 'd':
case 't':
{
- char *weekday[] = { N_("Sun"), N_("Mon"), N_("Tue"),
- N_("Wed"), N_("Thu"), N_("Fri"),
- N_("Sat") };
- char *month[] = { N_("Jan"), N_("Feb"), N_("Mar"),
- N_("Apr"), N_("May"), N_("Jun"),
- N_("Jul"), N_("Aug"), N_("Sep"),
- N_("Oct"), N_("Nov"), N_("Dec") };
+ char *weekday[] = { "Sun", "Mon", "Tue", "Wed", "Thu",
+ "Fri", "Sat" };
+ char *month[] = { "Jan", "Feb", "Mar", "Apr", "May",
+ "Jun", "Jul", "Aug", "Sep", "Oct",
+ "Nov", "Dec" };
time_t now;
struct tm *tm;
for (item = alist; item->range; item++) {
- printf(_("hnmatch() on %-30s <-- %-15s: "), item->range, item->ip);
+ printf("hnmatch() on %-30s <-- %-15s: ", item->range, item->ip);
if (getaddrinfo(item->ip, NULL, &hints, &info)==0 && info) {
if (info->ai_family == AF_INET) {
hostfamily = info->ai_family;
freeaddrinfo(info);
printf("%s\n", hnmatch("dummy", item->range) ?
- _("match") : _("mismatch"));
+ "match" : "mismatch");
}
else
- printf(_("getaddrinfo() failed\n"));
+ printf("getaddrinfo() failed\n");
}
return 0;
}
#endif /* MAIN_TEST_CHECKTTY */
-static char *wdays[] = { N_("sun"), N_("mon"), N_("tue"), N_("wed"),
- N_("thu"), N_("fri"), N_("sat") };
+static char *wdays[] = { "sun", "mon", "tue", "wed", "thu", "fri", "sat" };
/* example timespecs:
struct finfo *oldfp;
struct finfo *newfp;
{
- newfp->full_name = prompt (_("Name"), oldfp->full_name);
- newfp->office = prompt (_("Office"), oldfp->office);
- newfp->office_phone = prompt (_("Office Phone"), oldfp->office_phone);
- newfp->home_phone = prompt (_("Home Phone"), oldfp->home_phone);
+ newfp->full_name = prompt ("Name", oldfp->full_name);
+ newfp->office = prompt ("Office", oldfp->office);
+ newfp->office_phone = prompt ("Office Phone", oldfp->office_phone);
+ newfp->home_phone = prompt ("Home Phone", oldfp->home_phone);
printf ("\n");
}
for (i = 0; i < MAXTRIES; i++)
{
- pass = getpass (_("Password: ") );
+ pass = getpass (_ ("Password: ") );
if (pass == NULL) continue;
if ( !strcmp (crypt (pass, rootpass), rootpass) ) return 1;
- puts (_("\nWrong password.\n") );
+ puts (_ ("\nWrong password.\n") );
}
return 0;
}
while (waitpid (pid, &ival, 0) != pid) /* Nothing */;
if ( WIFEXITED (ival) && (WEXITSTATUS (ival) == 0) )
{
- sprintf (txt, _("Stopped service: %s\n"),
+ sprintf (txt, "Stopped service: %s\n",
victim->first_service->name);
remove_entry (&available_list, victim);
free (victim);