mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
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>
This commit is contained in:
parent
540b3548b9
commit
b809019c7a
1 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue