From 0a6c16f35af230d9d38629507dc51070f236e009 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 7 May 2014 15:12:45 -0700 Subject: Hack around a translation issue I cannot figure out how to get the hemisphere letters translated correctly in qthelper.cpp. Short term hack for now - someone who understands how this is supposed to work really needs to take a look. Signed-off-by: Dirk Hohndel --- qt-ui/maintab.cpp | 5 +++++ qt-ui/maintab.h | 1 + 2 files changed, 6 insertions(+) (limited to 'qt-ui') diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp index f85276d95..a84c0ecec 100644 --- a/qt-ui/maintab.cpp +++ b/qt-ui/maintab.cpp @@ -1110,3 +1110,8 @@ void MainTab::updateGpsCoordinates(const struct dive *dive) ui.coordinates->clear(); } } + +QString MainTab::trHemisphere(const char *orig) +{ + return tr(orig); +} diff --git a/qt-ui/maintab.h b/qt-ui/maintab.h index 4a0b0b9c5..ece2c4009 100644 --- a/qt-ui/maintab.h +++ b/qt-ui/maintab.h @@ -96,6 +96,7 @@ slots: void enableEdition(EditMode newEditMode = NONE); void toggleTriggeredColumn(); void updateTextLabels(bool showUnits = true); + QString trHemisphere(const char *orig); private: Ui::MainTab ui; -- cgit v1.2.3-70-g09d2