Fixed i18n of some tab names.

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
pull/24/head
Mavridis Philippe 4 years ago
parent cbf067eac1
commit 81bbfdb64b
No known key found for this signature in database
GPG Key ID: F8D2D7E2F989A494

@ -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) );

Loading…
Cancel
Save