summaryrefslogtreecommitdiffhomepage
path: root/proto-simconnect/ftnoir_protocol_sc.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-04-05 03:23:38 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-04-05 03:23:52 +0200
commitc0165f8b48852a1aca782d606ba4f1ea48eee6ba (patch)
tree433441689808ca741889b078407bc49fade746de /proto-simconnect/ftnoir_protocol_sc.h
parenteb32a2ac02c6d1adcfeb0a1a5522f8aaea442489 (diff)
modules: now use i18n
Diffstat (limited to 'proto-simconnect/ftnoir_protocol_sc.h')
-rw-r--r--proto-simconnect/ftnoir_protocol_sc.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/proto-simconnect/ftnoir_protocol_sc.h b/proto-simconnect/ftnoir_protocol_sc.h
index 6f9a908f..6932bfc8 100644
--- a/proto-simconnect/ftnoir_protocol_sc.h
+++ b/proto-simconnect/ftnoir_protocol_sc.h
@@ -43,8 +43,9 @@ public:
module_status initialize() override;
void pose(const double* headpose);
void handle();
- QString game_name() {
- return otr_tr("FS2004/FSX");
+ QString game_name()
+ {
+ return tr("FS2004/FSX");
}
private:
enum {
@@ -110,7 +111,8 @@ private slots:
class simconnectDll : public Metadata
{
-public:
- QString name() { return otr_tr("Microsoft FSX SimConnect"); }
+ Q_OBJECT
+
+ QString name() { return tr("Microsoft FSX SimConnect"); }
QIcon icon() { return QIcon(":/images/fsx.png"); }
};