diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-05-07 15:12:45 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-05-07 15:17:58 -0700 |
commit | 0a6c16f35af230d9d38629507dc51070f236e009 (patch) | |
tree | a31f78316934b4a68b8391226f035a89b7945296 /qt-ui | |
parent | 6763b93619262776c405b1bf214456cc49f78c3e (diff) | |
download | subsurface-0a6c16f35af230d9d38629507dc51070f236e009.tar.gz |
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 <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/maintab.cpp | 5 | ||||
-rw-r--r-- | qt-ui/maintab.h | 1 |
2 files changed, 6 insertions, 0 deletions
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; |