summaryrefslogtreecommitdiffhomepage
path: root/proto-libevdev
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-04-05 04:46:00 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-04-05 04:46:00 +0200
commita17f3168cc68574369f1b669fe1b4118e4843525 (patch)
tree960a1802c775384dd54224705715f79522ed616a /proto-libevdev
parent56b3ad65c3842aee1e2ae2b257abe7ed8d09c7c1 (diff)
fir Linux build
Diffstat (limited to 'proto-libevdev')
-rw-r--r--proto-libevdev/*.hpp0
-rw-r--r--proto-libevdev/ftnoir_protocol_libevdev.cpp2
-rw-r--r--proto-libevdev/lang/nl_NL.ts22
-rw-r--r--proto-libevdev/lang/ru_RU.ts22
-rw-r--r--proto-libevdev/lang/stub.ts22
-rw-r--r--proto-libevdev/lang/zh_CN.ts41
6 files changed, 96 insertions, 13 deletions
diff --git a/proto-libevdev/*.hpp b/proto-libevdev/*.hpp
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/proto-libevdev/*.hpp
diff --git a/proto-libevdev/ftnoir_protocol_libevdev.cpp b/proto-libevdev/ftnoir_protocol_libevdev.cpp
index 6bf9b511..4536204d 100644
--- a/proto-libevdev/ftnoir_protocol_libevdev.cpp
+++ b/proto-libevdev/ftnoir_protocol_libevdev.cpp
@@ -107,7 +107,7 @@ module_status evdev::initialize()
{
char buf[128] {};
(void) strerror_r(errno, buf, sizeof(buf));
- return error(_("Can't open /dev/uinput: %1").arg(buf));
+ return error(tr("Can't open /dev/uinput: %1").arg(buf));
}
return status_ok();
diff --git a/proto-libevdev/lang/nl_NL.ts b/proto-libevdev/lang/nl_NL.ts
index 503c6938..90ed636a 100644
--- a/proto-libevdev/lang/nl_NL.ts
+++ b/proto-libevdev/lang/nl_NL.ts
@@ -4,24 +4,38 @@
<context>
<name>UICLibevdevControls</name>
<message>
- <location filename="../ftnoir_libevdev_controls.ui" line="+17"/>
<source>VJoy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location line="+16"/>
<source>Make sure rw for /dev/input/uinput!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location line="+32"/>
<source>OK</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location line="+25"/>
<source>Cancel</source>
<translation type="unfinished"></translation>
</message>
</context>
+<context>
+ <name>evdev</name>
+ <message>
+ <source>Virtual joystick for Linux</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>Can&apos;t open /dev/uinput: %1</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
+<context>
+ <name>evdevDll</name>
+ <message>
+ <source>libevdev joystick receiver</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
</TS>
diff --git a/proto-libevdev/lang/ru_RU.ts b/proto-libevdev/lang/ru_RU.ts
index 9e78d930..cdf8920d 100644
--- a/proto-libevdev/lang/ru_RU.ts
+++ b/proto-libevdev/lang/ru_RU.ts
@@ -4,24 +4,38 @@
<context>
<name>UICLibevdevControls</name>
<message>
- <location filename="../ftnoir_libevdev_controls.ui" line="+17"/>
<source>VJoy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location line="+16"/>
<source>Make sure rw for /dev/input/uinput!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location line="+32"/>
<source>OK</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location line="+25"/>
<source>Cancel</source>
<translation type="unfinished"></translation>
</message>
</context>
+<context>
+ <name>evdev</name>
+ <message>
+ <source>Can&apos;t open /dev/uinput: %1</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>Virtual joystick for Linux</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
+<context>
+ <name>evdevDll</name>
+ <message>
+ <source>libevdev joystick receiver</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
</TS>
diff --git a/proto-libevdev/lang/stub.ts b/proto-libevdev/lang/stub.ts
index ae9cf4cc..ae2e5c96 100644
--- a/proto-libevdev/lang/stub.ts
+++ b/proto-libevdev/lang/stub.ts
@@ -4,24 +4,38 @@
<context>
<name>UICLibevdevControls</name>
<message>
- <location filename="../ftnoir_libevdev_controls.ui" line="+17"/>
<source>VJoy</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location line="+16"/>
<source>Make sure rw for /dev/input/uinput!</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location line="+32"/>
<source>OK</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location line="+25"/>
<source>Cancel</source>
<translation type="unfinished"></translation>
</message>
</context>
+<context>
+ <name>evdev</name>
+ <message>
+ <source>Can&apos;t open /dev/uinput: %1</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>Virtual joystick for Linux</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
+<context>
+ <name>evdevDll</name>
+ <message>
+ <source>libevdev joystick receiver</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
</TS>
diff --git a/proto-libevdev/lang/zh_CN.ts b/proto-libevdev/lang/zh_CN.ts
new file mode 100644
index 00000000..ae2e5c96
--- /dev/null
+++ b/proto-libevdev/lang/zh_CN.ts
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.1">
+<context>
+ <name>UICLibevdevControls</name>
+ <message>
+ <source>VJoy</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>Make sure rw for /dev/input/uinput!</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>OK</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>Cancel</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
+<context>
+ <name>evdev</name>
+ <message>
+ <source>Can&apos;t open /dev/uinput: %1</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>Virtual joystick for Linux</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
+<context>
+ <name>evdevDll</name>
+ <message>
+ <source>libevdev joystick receiver</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
+</TS>