From c0165f8b48852a1aca782d606ba4f1ea48eee6ba Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 5 Apr 2018 03:23:38 +0200 Subject: modules: now use i18n --- proto-udp/ftnoir_protocol_ftn.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'proto-udp') diff --git a/proto-udp/ftnoir_protocol_ftn.h b/proto-udp/ftnoir_protocol_ftn.h index c0454699..5fc72d91 100644 --- a/proto-udp/ftnoir_protocol_ftn.h +++ b/proto-udp/ftnoir_protocol_ftn.h @@ -36,8 +36,9 @@ public: udp(); module_status initialize() override; void pose(const double *headpose); - QString game_name() { - return otr_tr("UDP over network"); + QString game_name() + { + return tr("UDP over network"); } private: QUdpSocket outSocket; @@ -69,7 +70,8 @@ private slots: class udpDll : public Metadata { -public: - QString name() { return otr_tr("UDP over network"); } + Q_OBJECT + + QString name() { return tr("UDP over network"); } QIcon icon() { return QIcon(":/images/opentrack.png"); } }; -- cgit v1.2.3