From 395d606ab74c25e3c107e59a6b0933de9bf79d20 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 5 Nov 2016 13:04:42 +0100 Subject: modules: make more strings translatable --- proto-ftn/ftnoir_protocol_ftn.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'proto-ftn/ftnoir_protocol_ftn.h') diff --git a/proto-ftn/ftnoir_protocol_ftn.h b/proto-ftn/ftnoir_protocol_ftn.h index 28abf204..383b4ed7 100644 --- a/proto-ftn/ftnoir_protocol_ftn.h +++ b/proto-ftn/ftnoir_protocol_ftn.h @@ -38,7 +38,7 @@ public: bool correct(); void pose(const double *headpose); QString game_name() { - return "UDP Tracker"; + return QCoreApplication::translate("udp", "UDP Tracker"); } private: QUdpSocket outSocket; @@ -64,6 +64,6 @@ private slots: class udpDll : public Metadata { public: - QString name() { return QString("UDP receiver"); } + QString name() { return QString(QCoreApplication::translate("udpDll", "UDP receiver")); } QIcon icon() { return QIcon(":/images/facetracknoir.png"); } }; -- cgit v1.2.3