diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-12-09 18:19:15 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-12-09 18:22:04 +0100 |
commit | 97f74d1e7b37cf15d4763999e1287a665eeedcec (patch) | |
tree | 752b5fce78d2d4d74e0934712dbbd8fd3fb8d72d /proto-wine | |
parent | 4f9c633bc9a661fbeb367e950f6789d8de6782e6 (diff) |
many: use otr_tr for non-qobject translation
I haven't even compile-tested Linux and OSX-specific bits.
Diffstat (limited to 'proto-wine')
-rw-r--r-- | proto-wine/ftnoir_protocol_wine.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/proto-wine/ftnoir_protocol_wine.cpp b/proto-wine/ftnoir_protocol_wine.cpp index 36c01c25..dd1370e2 100644 --- a/proto-wine/ftnoir_protocol_wine.cpp +++ b/proto-wine/ftnoir_protocol_wine.cpp @@ -9,6 +9,7 @@ #include <sys/stat.h> /* For mode constants */ #include <fcntl.h> /* For O_* constants */ #include "csv/csv.h" +#include "compat/macros.hpp" wine::wine() : lck_shm(WINE_SHM_NAME, WINE_MTX_NAME, sizeof(WineSHM)), shm(NULL), gameid(0) { @@ -59,7 +60,7 @@ module_status wine::check_status() if (lck_shm.success()) return status_ok(); else - return error(QCoreApplication::translate("wine", "Can't open shared memory mapping")); + return error(otr_tr("Can't open shared memory mapping")); } OPENTRACK_DECLARE_PROTOCOL(wine, FTControls, wineDll) |