summaryrefslogtreecommitdiffhomepage
path: root/proto-flightgear/ftnoir_protocol_fg.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-12-09 18:19:15 +0100
committerStanislaw Halik <sthalik@misaki.pl>2017-12-09 18:22:04 +0100
commit97f74d1e7b37cf15d4763999e1287a665eeedcec (patch)
tree752b5fce78d2d4d74e0934712dbbd8fd3fb8d72d /proto-flightgear/ftnoir_protocol_fg.cpp
parent4f9c633bc9a661fbeb367e950f6789d8de6782e6 (diff)
many: use otr_tr for non-qobject translation
I haven't even compile-tested Linux and OSX-specific bits.
Diffstat (limited to 'proto-flightgear/ftnoir_protocol_fg.cpp')
-rw-r--r--proto-flightgear/ftnoir_protocol_fg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto-flightgear/ftnoir_protocol_fg.cpp b/proto-flightgear/ftnoir_protocol_fg.cpp
index e1101c0f..5db12e03 100644
--- a/proto-flightgear/ftnoir_protocol_fg.cpp
+++ b/proto-flightgear/ftnoir_protocol_fg.cpp
@@ -30,7 +30,7 @@ module_status flightgear::check_status()
if (outSocket.bind(QHostAddress::Any, 0, QUdpSocket::ShareAddress | QUdpSocket::ReuseAddressHint))
return status_ok();
else
- return error(QCoreApplication::translate("flightgear", "Can't bind to [%1.%2.%3.%4]:%5")
+ return error(otr_tr("Can't bind to [%1.%2.%3.%4]:%5")
.arg(s.ip1).arg(s.ip2).arg(s.ip3).arg(s.ip4)
.arg(s.port));
}