summaryrefslogtreecommitdiffstats
path: root/src/scanviewer.cpp
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2021-02-19 15:15:37 +0200
committerMavridis Philippe <mavridisf@gmail.com>2021-02-19 15:15:37 +0200
commite52b7069df2f5bc001868e02c567a01a95a0b558 (patch)
tree586cefd07c318300d55556d3c4e4fdb4388ae551 /src/scanviewer.cpp
parent9bbac10f3cbbb5b2ae94309149cf91f28cb8707d (diff)
downloadklamav-e52b7069df2f5bc001868e02c567a01a95a0b558.tar.gz
klamav-e52b7069df2f5bc001868e02c567a01a95a0b558.zip
ScanViewer: i18n() of some missed strings.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'src/scanviewer.cpp')
-rw-r--r--src/scanviewer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/scanviewer.cpp b/src/scanviewer.cpp
index 565ddea..578a294 100644
--- a/src/scanviewer.cpp
+++ b/src/scanviewer.cpp
@@ -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);