diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-12-09 18:19:15 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-12-09 18:22:04 +0100 |
commit | 97f74d1e7b37cf15d4763999e1287a665eeedcec (patch) | |
tree | 752b5fce78d2d4d74e0934712dbbd8fd3fb8d72d /logic/runtime-libraries.cpp | |
parent | 4f9c633bc9a661fbeb367e950f6789d8de6782e6 (diff) |
many: use otr_tr for non-qobject translation
I haven't even compile-tested Linux and OSX-specific bits.
Diffstat (limited to 'logic/runtime-libraries.cpp')
-rw-r--r-- | logic/runtime-libraries.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/logic/runtime-libraries.cpp b/logic/runtime-libraries.cpp index 8feeaaba..bfa7f2a4 100644 --- a/logic/runtime-libraries.cpp +++ b/logic/runtime-libraries.cpp @@ -6,7 +6,7 @@ runtime_libraries::runtime_libraries(QFrame* frame, dylibptr t, dylibptr p, dylibptr f) { module_status status = - module_status_mixin::error(QCoreApplication::translate("module", "Library load failure")); + module_status_mixin::error(otr_tr("Library load failure")); using namespace options; @@ -19,7 +19,7 @@ runtime_libraries::runtime_libraries(QFrame* frame, dylibptr t, dylibptr p, dyli if(status = pProtocol->check_status(), !status.is_ok()) { - status = QCoreApplication::translate("module", "Error occured while loading protocol %1\n\n%2\n") + status = otr_tr("Error occured while loading protocol %1\n\n%2\n") .arg(p->name).arg(status.error); goto end; } @@ -36,14 +36,14 @@ runtime_libraries::runtime_libraries(QFrame* frame, dylibptr t, dylibptr p, dyli if (pFilter) if(status = pFilter->check_status(), !status.is_ok()) { - status = QCoreApplication::translate("module", "Error occured while loading filter %1\n\n%2\n") + status = otr_tr("Error occured while loading filter %1\n\n%2\n") .arg(f->name).arg(status.error); goto end; } if (status = pTracker->start_tracker(frame), !status.is_ok()) { - status = QCoreApplication::translate("module", "Error occured while loading tracker %1\n\n%2\n") + status = otr_tr("Error occured while loading tracker %1\n\n%2\n") .arg(t->name).arg(status.error); goto end; } |