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-hatire | |
parent | d26048617d78396cc6381eaf06f19fee484d811c (diff) |
gui, modules: add more translatable strings
Diffstat (limited to 'tracker-hatire')
-rw-r--r-- | tracker-hatire/ftnoir_tracker_hat.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tracker-hatire/ftnoir_tracker_hat.cpp b/tracker-hatire/ftnoir_tracker_hat.cpp index 421a0e26..e8da968f 100644 --- a/tracker-hatire/ftnoir_tracker_hat.cpp +++ b/tracker-hatire/ftnoir_tracker_hat.cpp @@ -56,10 +56,10 @@ void hatire::start_tracker(QFrame*) case result_ok: break; case result_error: - QMessageBox::warning(0,"Error", ret.error, QMessageBox::Ok,QMessageBox::NoButton); + QMessageBox::warning(0, tr("Error"), ret.error, QMessageBox::Ok,QMessageBox::NoButton); break; case result_open_error: - QMessageBox::warning(0,"Error", "Unable to open ComPort: " + ret.error, QMessageBox::Ok,QMessageBox::NoButton); + QMessageBox::warning(0, tr("Error"), tr("Unable to open ComPort: %1").arg(ret.error), QMessageBox::Ok,QMessageBox::NoButton); break; } |