#endif
#ifdef HAVE_GETHOSTID
sprintf(s + strlen(s), "%lu", (unsigned long) gethostid());
-#endif
-#ifdef HAVE_GETDOMAINNAME
- getdomainname(s + strlen(s), 256);
#endif
gethostname(s + strlen(s), 256);
sprintf(s + strlen(s), "%u", (unsigned)getuid());
if (jcr) {
str = jcr->client_name;
} else {
- str = "*none*";
+ str = _("*none*");
}
break;
case 'd':
if (jcr) {
str = job_status_to_str(jcr->JobStatus);
} else {
- str = "*none*";
+ str = _("*none*");
}
break;
case 'i':
bsnprintf(add, sizeof(add), "%d", jcr->JobId);
str = add;
} else {
- str = "*none*";
+ str = _("*none*");
}
break;
case 'j': /* Job name */
if (jcr) {
str = jcr->Job;
} else {
- str = "*none*";
+ str = _("*none*");
}
break;
case 'l':
if (jcr) {
str = job_level_to_str(jcr->JobLevel);
} else {
- str = "*none*";
+ str = _("*none*");
}
break;
case 'n':
}
str = name;
} else {
- str = "*none*";
+ str = _("*none*");
}
break;
case 'r':
if (jcr && jcr->stime) {
str = jcr->stime;
} else {
- str = "*none*";
+ str = _("*none*");
}
break;
case 't':
if (jcr) {
str = job_type_to_str(jcr->JobType);
} else {
- str = "*none*";
+ str = _("*none*");
}
break;
case 'v':
str = "";
}
} else {
- str = "*none*";
+ str = _("*none*");
}
break;
default: