summaryrefslogtreecommitdiffhomepage
path: root/proto-mouse
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-12-09 18:19:15 +0100
committerStanislaw Halik <sthalik@misaki.pl>2017-12-09 18:22:04 +0100
commit97f74d1e7b37cf15d4763999e1287a665eeedcec (patch)
tree752b5fce78d2d4d74e0934712dbbd8fd3fb8d72d /proto-mouse
parent4f9c633bc9a661fbeb367e950f6789d8de6782e6 (diff)
many: use otr_tr for non-qobject translation
I haven't even compile-tested Linux and OSX-specific bits.
Diffstat (limited to 'proto-mouse')
-rw-r--r--proto-mouse/ftnoir_protocol_mouse.cpp2
-rw-r--r--proto-mouse/ftnoir_protocol_mouse.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/proto-mouse/ftnoir_protocol_mouse.cpp b/proto-mouse/ftnoir_protocol_mouse.cpp
index 80426460..68d0ef28 100644
--- a/proto-mouse/ftnoir_protocol_mouse.cpp
+++ b/proto-mouse/ftnoir_protocol_mouse.cpp
@@ -57,7 +57,7 @@ void mouse::pose(const double *headpose)
QString mouse::game_name()
{
- return "Mouse tracker";
+ return otr_tr("Mouse tracker");
}
int mouse::get_delta(int val, int prev)
diff --git a/proto-mouse/ftnoir_protocol_mouse.h b/proto-mouse/ftnoir_protocol_mouse.h
index 99557d17..a909c74a 100644
--- a/proto-mouse/ftnoir_protocol_mouse.h
+++ b/proto-mouse/ftnoir_protocol_mouse.h
@@ -59,6 +59,6 @@ private slots:
class mouseDll : public Metadata
{
public:
- QString name() { return QString(QCoreApplication::translate("mouseDll", "mouse emulation")); }
+ QString name() { return otr_tr("mouse emulation"); }
QIcon icon() { return QIcon(":/images/mouse.png"); }
};