From 97f74d1e7b37cf15d4763999e1287a665eeedcec Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 9 Dec 2017 18:19:15 +0100 Subject: many: use otr_tr for non-qobject translation I haven't even compile-tested Linux and OSX-specific bits. --- proto-udp/ftnoir_protocol_ftn.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'proto-udp') diff --git a/proto-udp/ftnoir_protocol_ftn.h b/proto-udp/ftnoir_protocol_ftn.h index 7838f01a..a28097cb 100644 --- a/proto-udp/ftnoir_protocol_ftn.h +++ b/proto-udp/ftnoir_protocol_ftn.h @@ -40,7 +40,7 @@ public: module_status check_status() override; void pose(const double *headpose); QString game_name() { - return QCoreApplication::translate("udp_proto", "UDP over network"); + return otr_tr("UDP over network"); } private: QUdpSocket outSocket; @@ -73,6 +73,6 @@ private slots: class udpDll : public Metadata { public: - QString name() { return QString(QCoreApplication::translate("udp_proto", "UDP over network")); } + QString name() { return otr_tr("UDP over network"); } QIcon icon() { return QIcon(":/images/facetracknoir.png"); } }; -- cgit v1.2.3