From 81bbfdb64b81ae7be7083f8bb0f14df69f6cc417 Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Sat, 30 Jan 2021 18:35:20 +0200 Subject: Fixed i18n of some tab names. Signed-off-by: Mavridis Philippe --- src/klamav.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/klamav.cpp b/src/klamav.cpp index c09a9f9..bf61432 100644 --- a/src/klamav.cpp +++ b/src/klamav.cpp @@ -204,35 +204,35 @@ void Klamav::updateTabState( int tabId, bool init ) { switch(tabId) { case 0: // Welcome tab optionName="ShowWelcomeTab"; - tabName="Welcome"; + tabName=i18n("Welcome"); tabWidget=aboutklamav; itemId=showWelcomeTab; break; case 1: // Quarantine tab optionName="ShowQuarantineTab"; - tabName="Quarantine"; + tabName=i18n("Quarantine"); tabWidget=kuarantine; itemId=showQuarantineTab; break; case 2: // DBViewer tab optionName="ShowDBViewerTab"; - tabName="Virus Browser"; + tabName=i18n("Virus Browser"); tabWidget=klamdb; itemId=showDBViewerTab; break; case 3: // Events tab optionName="ShowEventsTab"; - tabName="Events"; + tabName=i18n("Events"); tabWidget=activityviewer; itemId=showEventsTab; break; } if( config->readBoolEntry(optionName, true) ) { - tab->insertTab(tabWidget, i18n( tabName.ascii() )); + tab->insertTab(tabWidget, tabName.ascii()); tabWidget->show(); if(!init) tab->setCurrentPage( tab->indexOf(tabWidget) ); -- cgit v1.2.1