summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2021-01-29 17:04:07 +0200
committerMavridis Philippe <mavridisf@gmail.com>2021-01-29 19:34:15 +0200
commit90b3afee636092eb274b5aaa64f2a7f84bb2174f (patch)
tree25bb44b4d743c7e04ff2d753c3712339378c1d1b
parent2278118de5028694d66a94de1b98ff9fcbcaa6e0 (diff)
downloadklamav-90b3afee636092eb274b5aaa64f2a7f84bb2174f.tar.gz
klamav-90b3afee636092eb274b5aaa64f2a7f84bb2174f.zip
Remove unneeded i18n() calls
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
-rw-r--r--src/dbviewer.cpp2
-rw-r--r--src/scanviewer.cpp4
-rw-r--r--translations/messages/klamav.pot14
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 <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -375,10 +375,6 @@ msgstr ""
msgid "Search with Google"
msgstr ""
-#: dbviewer.cpp:150
-msgid "Form1"
-msgstr ""
-
#: dbviewer.cpp:151
msgid "Info"
msgstr ""
@@ -1052,18 +1048,10 @@ 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 ""