summaryrefslogtreecommitdiffhomepage
path: root/proto-libevdev
diff options
context:
space:
mode:
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>