mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 21:13:23 +00:00
Translate the strings "planned dive" and "manually added dive" in the profile
Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
This commit is contained in:
parent
28490d5dd0
commit
b8347d2387
1 changed files with 5 additions and 1 deletions
|
@ -774,7 +774,11 @@ void ProfileWidget2::plotDive(struct dive *d, bool force)
|
|||
if ((nr = number_of_computers(&displayed_dive)) > 1)
|
||||
dcText += tr(" (#%1 of %2)").arg(dc_number + 1).arg(nr);
|
||||
#endif
|
||||
if (dcText.isEmpty())
|
||||
if (dcText == "planned dive")
|
||||
dcText = tr("Planned dive");
|
||||
else if (dcText == "manually added dive")
|
||||
dcText = tr("Manually added dive");
|
||||
else if (dcText.isEmpty())
|
||||
dcText = tr("Unknown dive computer");
|
||||
diveComputerText->setText(dcText);
|
||||
if (haveFilesOnCommandLine() && animSpeedBackup != 0) {
|
||||
|
|
Loading…
Add table
Reference in a new issue