summaryrefslogtreecommitdiffhomepage
path: root/proto-fsuipc/ftnoir_protocol_fsuipc.h
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-fsuipc/ftnoir_protocol_fsuipc.h
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-fsuipc/ftnoir_protocol_fsuipc.h')
-rw-r--r--proto-fsuipc/ftnoir_protocol_fsuipc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto-fsuipc/ftnoir_protocol_fsuipc.h b/proto-fsuipc/ftnoir_protocol_fsuipc.h
index 54171ce7..bbfd265b 100644
--- a/proto-fsuipc/ftnoir_protocol_fsuipc.h
+++ b/proto-fsuipc/ftnoir_protocol_fsuipc.h
@@ -52,7 +52,7 @@ public:
~fsuipc() override;
module_status check_status() override;
void pose(const double* headpose);
- QString game_name() { return QCoreApplication::translate("fsuipc", "Microsoft Flight Simulator X"); }
+ QString game_name() { return otr_tr("Microsoft Flight Simulator X"); }
private:
QLibrary FSUIPCLib;
double prevPosX, prevPosY, prevPosZ, prevRotX, prevRotY, prevRotZ;
@@ -81,7 +81,7 @@ private slots:
class fsuipcDll : public Metadata
{
public:
- QString name() { return QString(QCoreApplication::translate("fsuipcDll", "FSUIPC -- Microsoft FS2002/FS2004")); }
+ QString name() { return otr_tr("FSUIPC -- Microsoft FS2002/FS2004"); }
QIcon icon() { return QIcon(":/images/fs9.png"); }
};