From 90b3afee636092eb274b5aaa64f2a7f84bb2174f Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Fri, 29 Jan 2021 17:04:07 +0200 Subject: Remove unneeded i18n() calls Signed-off-by: Mavridis Philippe --- src/dbviewer.cpp | 2 +- src/scanviewer.cpp | 4 ++-- translations/messages/klamav.pot | 14 +------------- 3 files changed, 4 insertions(+), 16 deletions(-) diff --git a/src/dbviewer.cpp b/src/dbviewer.cpp index d91dd42..5b0caa8 100644 --- a/src/dbviewer.cpp +++ b/src/dbviewer.cpp @@ -147,7 +147,7 @@ KlamDB::~KlamDB() */ void KlamDB::languageChange() { - setCaption( i18n( "Form1" ) ); + setCaption("Form1"); tabBrowser->changeTab( tab, i18n( "Info" ) ); VirusList->header()->setLabel( 0, i18n( "All Known Viruses" ) ); VirusList->clear(); diff --git a/src/scanviewer.cpp b/src/scanviewer.cpp index 3766a0d..a8b94ea 100644 --- a/src/scanviewer.cpp +++ b/src/scanviewer.cpp @@ -609,9 +609,9 @@ void ScanViewer::childExited() tdemain->_tray->setPixmap(KSystemTray::loadIcon("klamav_scan_safe")); TQTimer::singleShot( 10000, this, SLOT(resetSysTray()) ); if (!(errorsEncountered)) - KNotifyClient::event(tdemain->_tray->winId(),i18n( "ScanCompleteNoVirus" ), i18n( "Scan Complete - No Viruses Found!" )); + KNotifyClient::event(tdemain->_tray->winId(),"ScanCompleteNoVirus", i18n("Scan Complete - No Viruses Found!")); else - KNotifyClient::event(tdemain->_tray->winId(),i18n( "ScanCompleteNoVirusButErrors" ), i18n( "Scan Complete - No Viruses Found But Some Errors Encountered!" )); + KNotifyClient::event(tdemain->_tray->winId(),"ScanCompleteNoVirusButErrors", i18n("Scan Complete - No Viruses Found But Some Errors Encountered!")); }else if(status == 1){ tdemain->_tray->setPixmap(KSystemTray::loadIcon("klamav_scan_found")); diff --git a/translations/messages/klamav.pot b/translations/messages/klamav.pot index 974ac3b..53ccd84 100644 --- a/translations/messages/klamav.pot +++ b/translations/messages/klamav.pot @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2021-01-29 16:02+0200\n" +"POT-Creation-Date: 2021-01-29 19:30+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -375,10 +375,6 @@ msgstr "" msgid "Search with Google" msgstr "" -#: dbviewer.cpp:150 -msgid "Form1" -msgstr "" - #: dbviewer.cpp:151 msgid "Info" msgstr "" @@ -1051,18 +1047,10 @@ msgstr "" msgid "Scan Complete" msgstr "" -#: scanviewer.cpp:612 -msgid "ScanCompleteNoVirus" -msgstr "" - #: scanviewer.cpp:612 msgid "Scan Complete - No Viruses Found!" msgstr "" -#: scanviewer.cpp:614 -msgid "ScanCompleteNoVirusButErrors" -msgstr "" - #: scanviewer.cpp:614 msgid "Scan Complete - No Viruses Found But Some Errors Encountered!" msgstr "" -- cgit v1.2.1