diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-11-18 20:05:11 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-11-18 20:05:11 +0100 |
commit | 93a1bfcdd795b436cb41d419a1aa8064b9f2987d (patch) | |
tree | 7ca2f5ab153a5ee72b6ff7ba30df3c6d00bef466 /tracker-steamvr/steamvr.cpp | |
parent | d26048617d78396cc6381eaf06f19fee484d811c (diff) |
gui, modules: add more translatable strings
Diffstat (limited to 'tracker-steamvr/steamvr.cpp')
-rw-r--r-- | tracker-steamvr/steamvr.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/tracker-steamvr/steamvr.cpp b/tracker-steamvr/steamvr.cpp index 9c357a7a..101f9e50 100644 --- a/tracker-steamvr/steamvr.cpp +++ b/tracker-steamvr/steamvr.cpp @@ -54,7 +54,9 @@ void steamvr::start_tracker(QFrame*) if (!vr) { - QMessageBox::warning(nullptr, "Valve SteamVR init error", strerror(e), QMessageBox::Close, QMessageBox::NoButton); + QMessageBox::warning(nullptr, + QCoreApplication::translate("steamvr", "Valve SteamVR init error"), strerror(e), + QMessageBox::Close, QMessageBox::NoButton); return; } @@ -69,7 +71,10 @@ void steamvr::start_tracker(QFrame*) if (!ok) { - QMessageBox::warning(nullptr, "Valve SteamVR init warning", "No HMD connected", QMessageBox::Close, QMessageBox::NoButton); + QMessageBox::warning(nullptr, + QCoreApplication::translate("steamvr", "Valve SteamVR init warning"), + QCoreApplication::translate("steamvr", "No HMD connected"), + QMessageBox::Close, QMessageBox::NoButton); return; } } |