summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMavridis Philippe <[email protected]>2021-01-30 18:35:20 +0200
committerMavridis Philippe <[email protected]>2021-01-30 18:35:20 +0200
commit81bbfdb64b81ae7be7083f8bb0f14df69f6cc417 (patch)
treec41ad1e08e53823fd5a2c1a02b4e27c89f2a215f /src
parentcbf067eac1f1f2077ae06b99698df674330f4313 (diff)
downloadklamav-81bbfdb64b81ae7be7083f8bb0f14df69f6cc417.tar.gz
klamav-81bbfdb64b81ae7be7083f8bb0f14df69f6cc417.zip
Fixed i18n of some tab names.
Signed-off-by: Mavridis Philippe <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/klamav.cpp10
1 files changed, 5 insertions, 5 deletions
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) );