From e52b7069df2f5bc001868e02c567a01a95a0b558 Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Fri, 19 Feb 2021 15:15:37 +0200 Subject: ScanViewer: i18n() of some missed strings. Signed-off-by: Mavridis Philippe --- src/scanviewer.cpp | 6 +++--- 1 file 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); -- cgit v1.2.1