summaryrefslogtreecommitdiffhomepage
path: root/logic
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-12-26 22:13:52 +0100
committerStanislaw Halik <sthalik@misaki.pl>2017-12-26 22:15:20 +0100
commit0b56957297167538addd330e699e2e3cd2731d68 (patch)
tree7718aacad23f2800db8a53af9f2d4970bed9c992 /logic
parentc8d8702431e5b4fb275e9952d59efac69ca00960 (diff)
compat: use gettext convention for tr()
Diffstat (limited to 'logic')
-rw-r--r--logic/runtime-libraries.cpp6
1 files changed, 3 insertions, 3 deletions
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;
}