arqlen=strlen(arq);
if(arqlen>3 && strcmp(arq+arqlen-3,".gz") == 0) {
- debuga(_("Decompressing log file \"%s\" with zcat\n"),arq);
+ /*
+ TRANSLATORS: The last %s is the command used to uncompress
+ the log file such as zcat ou bzip2.
+ */
+ debuga(_("Decompressing log file \"%s\" with %s\n"),arq,"zcat");
if (snprintf(cmd,sizeof(cmd),"zcat \"%s\"",arq)>=sizeof(cmd)) {
debuga(_("decompression command too long for log file %s\n"),arq);
exit(EXIT_FAILURE);
fi=popen(cmd,"r");
}
else if(arqlen>4 && strcmp(arq+arqlen-4,".bz2") == 0) {
- debuga(_("Decompressing log file \"%s\" with bzcat\n"),arq);
+ debuga(_("Decompressing log file \"%s\" with %s\n"),arq,"bzcat");
if (snprintf(cmd,sizeof(cmd),"bzcat \"%s\"",arq)>=sizeof(cmd)) {
debuga(_("decompression command too long for log file %s\n"),arq);
exit(EXIT_FAILURE);
fi=popen(cmd,"r");
}
else if(arqlen>2 && strcmp(arq+arqlen-2,".Z") == 0) {
- debuga(_("Decompressing log file \"%s\" with zcat\n"),arq);
+ debuga(_("Decompressing log file \"%s\" with %s\n"),arq,"zcat");
if (snprintf(cmd,sizeof(cmd),"zcat \"%s\"",arq)>=sizeof(cmd)) {
debuga(_("decompression command too long for log file %s\n"),arq);
exit(EXIT_FAILURE);