summaryrefslogtreecommitdiffhomepage
path: root/proto-flightgear
diff options
context:
space:
mode:
Diffstat (limited to 'proto-flightgear')
-rw-r--r--proto-flightgear/ftnoir_protocol_fg.cpp2
-rw-r--r--proto-flightgear/ftnoir_protocol_fg.h4
2 files changed, 3 insertions, 3 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));
}
diff --git a/proto-flightgear/ftnoir_protocol_fg.h b/proto-flightgear/ftnoir_protocol_fg.h
index 31a7660c..8ba7c7c8 100644
--- a/proto-flightgear/ftnoir_protocol_fg.h
+++ b/proto-flightgear/ftnoir_protocol_fg.h
@@ -42,7 +42,7 @@ class flightgear : public IProtocol
{
public:
void pose(const double *headpose);
- QString game_name() { return QCoreApplication::translate("flightgear", "FlightGear"); }
+ QString game_name() { return otr_tr("FlightGear"); }
module_status check_status() override;
private:
settings s;
@@ -69,6 +69,6 @@ private slots:
class flightgearDll : public Metadata
{
public:
- QString name() { return QString(QCoreApplication::translate("flightgearDll", "FlightGear")); }
+ QString name() { return otr_tr("FlightGear"); }
QIcon icon() { return QIcon(":/images/flightgear.png"); }
};