summaryrefslogtreecommitdiffhomepage
path: root/proto-ft
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-11-04 18:40:37 +0100
committerStanislaw Halik <sthalik@misaki.pl>2016-11-04 19:48:10 +0100
commit068e0c7d432ede0a388fe1478b5146fcf1809315 (patch)
tree53cd09c78f5140263bbddfacaf90b3297a230be8 /proto-ft
parentf08dc187499d2895f50f7e2e7e99bf698b0c0738 (diff)
modules: add autogenerated translation files
Diffstat (limited to 'proto-ft')
-rw-r--r--proto-ft/ftnoir_protocol_ft.cpp20
-rw-r--r--proto-ft/lang/opentrack-proto-freetrack-pl_PL.ts82
-rw-r--r--proto-ft/lang/opentrack-proto-freetrack-ru_RU.ts82
-rw-r--r--proto-ft/lang/pl_PL.ts82
-rw-r--r--proto-ft/lang/ru_RU.ts82
5 files changed, 338 insertions, 10 deletions
diff --git a/proto-ft/ftnoir_protocol_ft.cpp b/proto-ft/ftnoir_protocol_ft.cpp
index 8ac3ba75..429ff72b 100644
--- a/proto-ft/ftnoir_protocol_ft.cpp
+++ b/proto-ft/ftnoir_protocol_ft.cpp
@@ -12,9 +12,9 @@
#include <cmath>
-check_for_first_run FTNoIR_Protocol::runonce_check = check_for_first_run();
+check_for_first_run freetrack::runonce_check = check_for_first_run();
-FTNoIR_Protocol::FTNoIR_Protocol() :
+freetrack::freetrack() :
shm(FREETRACK_HEAP, FREETRACK_MUTEX, sizeof(FTHeap)),
pMemData((FTHeap*) shm.ptr()),
viewsStart(nullptr),
@@ -28,7 +28,7 @@ FTNoIR_Protocol::FTNoIR_Protocol() :
runonce_check.try_runonce();
}
-FTNoIR_Protocol::~FTNoIR_Protocol()
+freetrack::~freetrack()
{
if (viewsStop != NULL) {
viewsStop();
@@ -38,7 +38,7 @@ FTNoIR_Protocol::~FTNoIR_Protocol()
dummyTrackIR.close();
}
-void FTNoIR_Protocol::pose(const double* headpose)
+void freetrack::pose(const double* headpose)
{
const float yaw = -degrees_to_rads(headpose[Yaw]);
const float pitch = -degrees_to_rads(headpose[Pitch]);
@@ -95,12 +95,12 @@ void FTNoIR_Protocol::pose(const double* headpose)
data->DataID += 1;
}
-float FTNoIR_Protocol::degrees_to_rads(double degrees)
+float freetrack::degrees_to_rads(double degrees)
{
return float(degrees*M_PI/180);
}
-void FTNoIR_Protocol::start_tirviews()
+void freetrack::start_tirviews()
{
QString aFileName = OPENTRACK_BASE_PATH + OPENTRACK_LIBRARY_PATH "TIRViews.dll";
if ( QFile::exists( aFileName )) {
@@ -126,13 +126,13 @@ void FTNoIR_Protocol::start_tirviews()
}
}
-void FTNoIR_Protocol::start_dummy() {
+void freetrack::start_dummy() {
QString program = OPENTRACK_BASE_PATH + OPENTRACK_LIBRARY_PATH "TrackIR.exe";
dummyTrackIR.setProgram("\"" + program + "\"");
dummyTrackIR.start();
}
-void FTNoIR_Protocol::set_protocols(bool ft, bool npclient)
+void freetrack::set_protocols(bool ft, bool npclient)
{
const QString program_dir = OPENTRACK_BASE_PATH + OPENTRACK_LIBRARY_PATH;
@@ -151,7 +151,7 @@ void FTNoIR_Protocol::set_protocols(bool ft, bool npclient)
settings_npclient.setValue("Path", "");
}
-bool FTNoIR_Protocol::correct()
+bool freetrack::correct()
{
if (!shm.success())
return false;
@@ -192,4 +192,4 @@ bool FTNoIR_Protocol::correct()
return true;
}
-OPENTRACK_DECLARE_PROTOCOL(FTNoIR_Protocol, FTControls, FTNoIR_ProtocolDll)
+OPENTRACK_DECLARE_PROTOCOL(freetrack, FTControls, freetrackDll)
diff --git a/proto-ft/lang/opentrack-proto-freetrack-pl_PL.ts b/proto-ft/lang/opentrack-proto-freetrack-pl_PL.ts
new file mode 100644
index 00000000..0973d502
--- /dev/null
+++ b/proto-ft/lang/opentrack-proto-freetrack-pl_PL.ts
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.1" language="pl_PL">
+<context>
+ <name>FTControls</name>
+ <message>
+ <location filename="../ftnoir_protocol_ft_dialog.cpp" line="+53"/>
+ <source>Select the desired NPClient DLL</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+0"/>
+ <source>Dll file (*.dll);;All Files (*)</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
+<context>
+ <name>UICFTControls</name>
+ <message>
+ <location filename="../ftnoir_ftcontrols.ui" line="+32"/>
+ <source>freetrack protocol settings</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+22"/>
+ <source>Select interface</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+18"/>
+ <source>Disable one of the protocols if game is confused by presence of both at the same time.</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+19"/>
+ <source>TIRViews</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+21"/>
+ <source>Memory hacks</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+7"/>
+ <source>Only for very old and buggy old games such as CFS3.</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+25"/>
+ <source>Repair NPClient location</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+15"/>
+ <source>Locate DLL</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+13"/>
+ <source>Replace the registry entry if you want to use other software with the NPClient protocol and it doesn&apos;t work automatically.
+
+Starting tracking will again overwrite the DLL locations.</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+28"/>
+ <source>Disable tracking for games on exit</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+15"/>
+ <source>Disable on program exit</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+7"/>
+ <source>Use this for games that disable mouselook when opentrack isn&apos;t running, and you&apos;re not running opentrack that much. To use opentrack with this option you need to start it before the games to have it work at all.</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
+</TS>
diff --git a/proto-ft/lang/opentrack-proto-freetrack-ru_RU.ts b/proto-ft/lang/opentrack-proto-freetrack-ru_RU.ts
new file mode 100644
index 00000000..2c7ebae9
--- /dev/null
+++ b/proto-ft/lang/opentrack-proto-freetrack-ru_RU.ts
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.1" language="ru_RU">
+<context>
+ <name>FTControls</name>
+ <message>
+ <location filename="../ftnoir_protocol_ft_dialog.cpp" line="+53"/>
+ <source>Select the desired NPClient DLL</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+0"/>
+ <source>Dll file (*.dll);;All Files (*)</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
+<context>
+ <name>UICFTControls</name>
+ <message>
+ <location filename="../ftnoir_ftcontrols.ui" line="+32"/>
+ <source>freetrack protocol settings</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+22"/>
+ <source>Select interface</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+18"/>
+ <source>Disable one of the protocols if game is confused by presence of both at the same time.</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+19"/>
+ <source>TIRViews</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+21"/>
+ <source>Memory hacks</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+7"/>
+ <source>Only for very old and buggy old games such as CFS3.</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+25"/>
+ <source>Repair NPClient location</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+15"/>
+ <source>Locate DLL</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+13"/>
+ <source>Replace the registry entry if you want to use other software with the NPClient protocol and it doesn&apos;t work automatically.
+
+Starting tracking will again overwrite the DLL locations.</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+28"/>
+ <source>Disable tracking for games on exit</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+15"/>
+ <source>Disable on program exit</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+7"/>
+ <source>Use this for games that disable mouselook when opentrack isn&apos;t running, and you&apos;re not running opentrack that much. To use opentrack with this option you need to start it before the games to have it work at all.</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
+</TS>
diff --git a/proto-ft/lang/pl_PL.ts b/proto-ft/lang/pl_PL.ts
new file mode 100644
index 00000000..0973d502
--- /dev/null
+++ b/proto-ft/lang/pl_PL.ts
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.1" language="pl_PL">
+<context>
+ <name>FTControls</name>
+ <message>
+ <location filename="../ftnoir_protocol_ft_dialog.cpp" line="+53"/>
+ <source>Select the desired NPClient DLL</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+0"/>
+ <source>Dll file (*.dll);;All Files (*)</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
+<context>
+ <name>UICFTControls</name>
+ <message>
+ <location filename="../ftnoir_ftcontrols.ui" line="+32"/>
+ <source>freetrack protocol settings</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+22"/>
+ <source>Select interface</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+18"/>
+ <source>Disable one of the protocols if game is confused by presence of both at the same time.</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+19"/>
+ <source>TIRViews</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+21"/>
+ <source>Memory hacks</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+7"/>
+ <source>Only for very old and buggy old games such as CFS3.</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+25"/>
+ <source>Repair NPClient location</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+15"/>
+ <source>Locate DLL</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+13"/>
+ <source>Replace the registry entry if you want to use other software with the NPClient protocol and it doesn&apos;t work automatically.
+
+Starting tracking will again overwrite the DLL locations.</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+28"/>
+ <source>Disable tracking for games on exit</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+15"/>
+ <source>Disable on program exit</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+7"/>
+ <source>Use this for games that disable mouselook when opentrack isn&apos;t running, and you&apos;re not running opentrack that much. To use opentrack with this option you need to start it before the games to have it work at all.</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
+</TS>
diff --git a/proto-ft/lang/ru_RU.ts b/proto-ft/lang/ru_RU.ts
new file mode 100644
index 00000000..2c7ebae9
--- /dev/null
+++ b/proto-ft/lang/ru_RU.ts
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.1" language="ru_RU">
+<context>
+ <name>FTControls</name>
+ <message>
+ <location filename="../ftnoir_protocol_ft_dialog.cpp" line="+53"/>
+ <source>Select the desired NPClient DLL</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+0"/>
+ <source>Dll file (*.dll);;All Files (*)</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
+<context>
+ <name>UICFTControls</name>
+ <message>
+ <location filename="../ftnoir_ftcontrols.ui" line="+32"/>
+ <source>freetrack protocol settings</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+22"/>
+ <source>Select interface</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+18"/>
+ <source>Disable one of the protocols if game is confused by presence of both at the same time.</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+19"/>
+ <source>TIRViews</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+21"/>
+ <source>Memory hacks</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+7"/>
+ <source>Only for very old and buggy old games such as CFS3.</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+25"/>
+ <source>Repair NPClient location</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+15"/>
+ <source>Locate DLL</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+13"/>
+ <source>Replace the registry entry if you want to use other software with the NPClient protocol and it doesn&apos;t work automatically.
+
+Starting tracking will again overwrite the DLL locations.</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+28"/>
+ <source>Disable tracking for games on exit</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+15"/>
+ <source>Disable on program exit</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location line="+7"/>
+ <source>Use this for games that disable mouselook when opentrack isn&apos;t running, and you&apos;re not running opentrack that much. To use opentrack with this option you need to start it before the games to have it work at all.</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
+</TS>