Changeset b8347d2 in subsurface


Ignore:
Timestamp:
Jun 21, 2017, 6:38:54 PM (4 months ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
master
Children:
5f5e52f
Parents:
28490d5
git-author:
Stefan Fuchs <sfuchs@…> (06/21/17 11:53:47)
git-committer:
Dirk Hohndel <dirk@…> (06/21/17 18:38:54)
Message:

Translate the strings "planned dive" and "manually added dive" in the profile

Signed-off-by: Stefan Fuchs <sfuchs@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • profile-widget/profilewidget2.cpp

    r53a8075 rb8347d2  
    775775                dcText += tr(" (#%1 of %2)").arg(dc_number + 1).arg(nr);
    776776#endif
    777         if (dcText.isEmpty())
     777        if (dcText == "planned dive")
     778                dcText = tr("Planned dive");
     779        else if (dcText == "manually added dive")
     780                dcText = tr("Manually added dive");
     781        else if (dcText.isEmpty())
    778782                dcText = tr("Unknown dive computer");
    779783        diveComputerText->setText(dcText);
Note: See TracChangeset for help on using the changeset viewer.