Tags for geo references: Nicer look, translations and warning message

For the geo references tags update the following:
- Nicer look w/o "Tags:" text and brackets when inside location UI
- Translation for "Tags:"
- Warning message when no dive site layout categories are set

Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
This commit is contained in:
Stefan Fuchs 2017-10-16 15:52:13 +02:00 committed by Dirk Hohndel
parent ac7830ea91
commit 884e690049
4 changed files with 28 additions and 6 deletions

View file

@ -458,7 +458,7 @@ void MainTab::updateDiveInfo(bool clear)
if (ds) {
ui.location->setCurrentDiveSiteUuid(ds->uuid);
ui.locationTags->setText(constructLocationTags(ds));
ui.locationTags->setText(constructLocationTags(ds, true));
} else {
ui.location->clear();
clear_dive_site(&displayed_dive_site);