summaryrefslogtreecommitdiffstats
path: root/qt-models/divelocationmodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-models/divelocationmodel.cpp')
-rw-r--r--qt-models/divelocationmodel.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-models/divelocationmodel.cpp b/qt-models/divelocationmodel.cpp
index 877ca0552..1d9cda558 100644
--- a/qt-models/divelocationmodel.cpp
+++ b/qt-models/divelocationmodel.cpp
@@ -4,6 +4,7 @@
#include <QDebug>
#include <QLineEdit>
#include <QIcon>
+#include <core/gettextfromc.h>
bool dive_site_less_than(dive_site *a, dive_site *b)
{
@@ -184,7 +185,7 @@ GeoReferencingOptionsModel::GeoReferencingOptionsModel(QObject *parent) : QStrin
QStringList list;
int i;
for (i = 0; i < TC_NR_CATEGORIES; i++)
- list << taxonomy_category_names[i];
+ list << gettextFromC::instance()->trGettext(taxonomy_category_names[i]);
setStringList(list);
}