diff options
author | Jan Mulder <jlmulder@xs4all.nl> | 2017-04-13 20:23:07 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-04-14 09:50:38 -0700 |
commit | b809019c7ae0651d4f8f7c8ea0bf14340c056d6b (patch) | |
tree | 2c4407bc705ad44def32bb0887089ae6e577c091 /desktop-widgets/tab-widgets | |
parent | 540b3548b9f856f4e9d1d6a7e18e1a83f17a6714 (diff) | |
download | subsurface-b809019c7ae0651d4f8f7c8ea0bf14340c056d6b.tar.gz |
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 <jlmulder@xs4all.nl>
Diffstat (limited to 'desktop-widgets/tab-widgets')
-rw-r--r-- | desktop-widgets/tab-widgets/maintab.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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); |