From 0b56957297167538addd330e699e2e3cd2731d68 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 26 Dec 2017 22:13:52 +0100 Subject: compat: use gettext convention for tr() --- logic/runtime-libraries.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'logic/runtime-libraries.cpp') diff --git a/logic/runtime-libraries.cpp b/logic/runtime-libraries.cpp index 46a90b86..1dcff4a5 100644 --- a/logic/runtime-libraries.cpp +++ b/logic/runtime-libraries.cpp @@ -19,7 +19,7 @@ runtime_libraries::runtime_libraries(QFrame* frame, dylibptr t, dylibptr p, dyli if(status = pProtocol->initialize(), !status.is_ok()) { - status = otr_tr("Error occured while loading protocol %1\n\n%2\n") + status = _("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->initialize(), !status.is_ok()) { - status = otr_tr("Error occured while loading filter %1\n\n%2\n") + status = _("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 = otr_tr("Error occured while loading tracker %1\n\n%2\n") + status = _("Error occured while loading tracker %1\n\n%2\n") .arg(t->name).arg(status.error); goto end; } -- cgit v1.2.3