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-fg/ftnoir_protocol_fg.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'proto-fg') diff --git a/proto-fg/ftnoir_protocol_fg.h b/proto-fg/ftnoir_protocol_fg.h index 070ca571..019b8c57 100644 --- a/proto-fg/ftnoir_protocol_fg.h +++ b/proto-fg/ftnoir_protocol_fg.h @@ -37,7 +37,7 @@ public: bool correct(); void pose(const double *headpose); QString game_name() { - return "FlightGear"; + return QCoreApplication::translate("flightgear", "FlightGear"); } private: settings s; @@ -64,6 +64,6 @@ private slots: class flightgearDll : public Metadata { public: - QString name() { return QString("FlightGear"); } + QString name() { return QString(QCoreApplication::translate("flightgearDll", "FlightGear")); } QIcon icon() { return QIcon(":/images/flightgear.png"); } }; -- cgit v1.2.3