Changeset b809019c in subsurface


Ignore:
Timestamp:
Apr 14, 2017, 9:50:38 AM (6 weeks ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
master
Children:
c8bf412
Parents:
540b354
git-author:
Jan Mulder <jlmulder@…> (04/13/17 11:23:07)
git-committer:
Dirk Hohndel <dirk@…> (04/14/17 09:50:38)
Message:

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@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • desktop-widgets/tab-widgets/maintab.cpp

    r385816b rb809019c  
    4747
    4848        extraWidgets << new TabDiveExtraInfo();
    49         ui.tabWidget->addTab(extraWidgets.last(), "Extra Info");
     49        ui.tabWidget->addTab(extraWidgets.last(), tr("Extra Info"));
    5050        extraWidgets << new TabDiveInformation();
    51         ui.tabWidget->addTab(extraWidgets.last(), "Information");
     51        ui.tabWidget->addTab(extraWidgets.last(), tr("Information"));
    5252        extraWidgets << new TabDiveStatistics();
    53         ui.tabWidget->addTab(extraWidgets.last(), "Statistics");
     53        ui.tabWidget->addTab(extraWidgets.last(), tr("Statistics"));
    5454        extraWidgets << new TabDivePhotos();
    55         ui.tabWidget->addTab(extraWidgets.last(), "Photos");
     55        ui.tabWidget->addTab(extraWidgets.last(), tr("Photos"));
    5656
    5757        ui.dateEdit->setDisplayFormat(prefs.date_format);
Note: See TracChangeset for help on using the changeset viewer.