From b809019c7ae0651d4f8f7c8ea0bf14340c056d6b Mon Sep 17 00:00:00 2001 From: Jan Mulder Date: Thu, 13 Apr 2017 20:23:07 +0200 Subject: Also translate tab headers After the restyle of the maintab code, the translation of some tab titles went missing. Corrected here. Signed-off-by: Jan Mulder --- desktop-widgets/tab-widgets/maintab.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'desktop-widgets/tab-widgets') diff --git a/desktop-widgets/tab-widgets/maintab.cpp b/desktop-widgets/tab-widgets/maintab.cpp index 7e12412f9..5593634c1 100644 --- a/desktop-widgets/tab-widgets/maintab.cpp +++ b/desktop-widgets/tab-widgets/maintab.cpp @@ -46,13 +46,13 @@ MainTab::MainTab(QWidget *parent) : QTabWidget(parent), ui.setupUi(this); extraWidgets << new TabDiveExtraInfo(); - ui.tabWidget->addTab(extraWidgets.last(), "Extra Info"); + ui.tabWidget->addTab(extraWidgets.last(), tr("Extra Info")); extraWidgets << new TabDiveInformation(); - ui.tabWidget->addTab(extraWidgets.last(), "Information"); + ui.tabWidget->addTab(extraWidgets.last(), tr("Information")); extraWidgets << new TabDiveStatistics(); - ui.tabWidget->addTab(extraWidgets.last(), "Statistics"); + ui.tabWidget->addTab(extraWidgets.last(), tr("Statistics")); extraWidgets << new TabDivePhotos(); - ui.tabWidget->addTab(extraWidgets.last(), "Photos"); + ui.tabWidget->addTab(extraWidgets.last(), tr("Photos")); ui.dateEdit->setDisplayFormat(prefs.date_format); -- cgit v1.2.3-70-g09d2