ScanViewer: i18n() of some missed strings.

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
pull/24/head
Mavridis Philippe 4 years ago
parent 9bbac10f3c
commit e52b7069df
No known key found for this signature in database
GPG Key ID: F8D2D7E2F989A494

@ -110,7 +110,7 @@ ScanViewer::ScanViewer(TQWidget *parent, const char *name)
prog = new KProgress(status2_frame);
progosd = new K3bJobProgressOSD();
progosd->setText("Scanning..");
progosd->setText( i18n("Scanning..") );
progosd->readSettings(TDEGlobal::config());
status2_layout->addWidget(prog, 10);
@ -199,7 +199,7 @@ void ScanViewer::processOutput()
if ((tmpVirusName.find("FOUND")) != -1){
tmpVirusName.replace("FOUND","");
tm = new TQListViewItem( resultview, tmpFName, tmpVirusName.stripWhiteSpace(),"Loose");
tm = new TQListViewItem( resultview, tmpFName, tmpVirusName.stripWhiteSpace(), i18n("Loose") );
tm->setPixmap( 0, SmallIcon("klamav_virus") );
//resultview->insertItem(buf.section('\n',j,j));
QuarantineList.append(tmpFName+":"+tmpVirusName+suffix);
@ -213,7 +213,7 @@ void ScanViewer::processOutput()
//}else if ((pos = buf.section('\n',j,j).find("ERROR:")) != -1){
}else if ((pos = (item2.find("ERROR:"))) != -1){
TQString tmpVirusName = item2.mid((fnameEndPoint+1),(item2.length() - (fnameEndPoint+1)));
tm = new TQListViewItem( resultview, tmpFName, tmpVirusName.stripWhiteSpace(),"Not a Virus");
tm = new TQListViewItem( resultview, tmpFName, tmpVirusName.stripWhiteSpace(), i18n("Not a Virus") );
tm->setPixmap( 0, SmallIcon("klamav_error") );
//resultview->insertItem(buf.section('\n',j,j));
CollectionDB::instance()->insertEvent("Error Found",tmpVirusName,tmpFName);

Loading…
Cancel
Save