summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-03-29 00:01:31 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-04-19 14:52:15 +0200
commit9bcab9fb4274c6e1aa1a2621dbfedf829e7fcfc5 (patch)
tree932f6a3645b5cedca308ffdb70e8448985335226
parent9e403da98b9ca8f43f928b9f5c899aba7fa5471d (diff)
fix i18n generation
-rw-r--r--api/lang/zh_CN.ts2
-rw-r--r--cmake/opentrack-i18n.cmake1
-rw-r--r--cmake/translation-stub.ts2
-rw-r--r--compat/lang/zh_CN.ts2
-rw-r--r--csv/lang/zh_CN.ts2
-rw-r--r--cv/lang/zh_CN.ts2
-rw-r--r--dinput/lang/zh_CN.ts2
-rw-r--r--filter-accela/lang/zh_CN.ts2
-rw-r--r--filter-ewma2/lang/zh_CN.ts2
-rw-r--r--filter-hamilton/lang/zh_CN.ts2
-rw-r--r--filter-kalman/lang/zh_CN.ts2
-rw-r--r--logic/lang/zh_CN.ts2
-rw-r--r--migration/lang/zh_CN.ts2
-rw-r--r--options/lang/zh_CN.ts2
-rw-r--r--pose-widget/lang/zh_CN.ts2
-rw-r--r--proto-flightgear/lang/zh_CN.ts2
-rw-r--r--proto-fsuipc/lang/zh_CN.ts2
-rw-r--r--proto-ft/lang/zh_CN.ts2
-rw-r--r--proto-iokit-foohid/lang/zh_CN.ts2
-rw-r--r--proto-libevdev/lang/zh_CN.ts2
-rw-r--r--proto-mouse/lang/zh_CN.ts2
-rw-r--r--proto-simconnect/lang/zh_CN.ts2
-rw-r--r--proto-udp/lang/zh_CN.ts2
-rw-r--r--proto-vjoystick/lang/zh_CN.ts2
-rw-r--r--proto-wine/lang/zh_CN.ts2
-rw-r--r--qxt-mini/lang/zh_CN.ts2
-rw-r--r--spline/lang/zh_CN.ts2
-rw-r--r--tracker-aruco/lang/zh_CN.ts2
-rw-r--r--tracker-freepie-udp/lang/zh_CN.ts2
-rw-r--r--tracker-fusion/lang/zh_CN.ts2
-rw-r--r--tracker-hatire/lang/zh_CN.ts2
-rw-r--r--tracker-hydra/lang/zh_CN.ts2
-rw-r--r--tracker-joystick/lang/zh_CN.ts2
-rw-r--r--tracker-kinect-face/lang/zh_CN.ts2
-rw-r--r--tracker-linux-joystick/lang/zh_CN.ts2
-rw-r--r--tracker-neuralnet/lang/zh_CN.ts2
-rw-r--r--tracker-pt/module/lang/zh_CN.ts2
-rw-r--r--tracker-rift-140/lang/zh_CN.ts2
-rw-r--r--tracker-rs/lang/zh_CN.ts2
-rw-r--r--tracker-s2bot/lang/zh_CN.ts2
-rw-r--r--tracker-steamvr/lang/zh_CN.ts2
-rw-r--r--tracker-test/lang/zh_CN.ts2
-rw-r--r--tracker-tobii/lang/zh_CN.ts2
-rw-r--r--tracker-udp/lang/zh_CN.ts2
-rw-r--r--tracker-wii/lang/zh_CN.ts2
-rw-r--r--tracker-wii/wiiyourself/lang/zh_CN.ts2
-rw-r--r--video-opencv/lang/nl_NL.ts2
-rw-r--r--video-opencv/lang/ru_RU.ts2
-rw-r--r--video-opencv/lang/zh_CN.ts2
-rw-r--r--video-ps3eye/lang/nl_NL.ts2
-rw-r--r--video-ps3eye/lang/ru_RU.ts2
-rw-r--r--video-ps3eye/lang/zh_CN.ts2
-rw-r--r--video/lang/nl_NL.ts2
-rw-r--r--video/lang/ru_RU.ts2
-rw-r--r--video/lang/zh_CN.ts2
55 files changed, 55 insertions, 54 deletions
diff --git a/api/lang/zh_CN.ts b/api/lang/zh_CN.ts
index d29cce1b..26bf67a5 100644
--- a/api/lang/zh_CN.ts
+++ b/api/lang/zh_CN.ts
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="zh_CN">
<context>
<name>module_status_mixin</name>
<message>
diff --git a/cmake/opentrack-i18n.cmake b/cmake/opentrack-i18n.cmake
index 2902a14b..6c424017 100644
--- a/cmake/opentrack-i18n.cmake
+++ b/cmake/opentrack-i18n.cmake
@@ -24,6 +24,7 @@ function(otr_i18n_for_target_directory n)
if (NOT EXISTS "${t}")
file(MAKE_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/lang")
file(READ "${CMAKE_SOURCE_DIR}/cmake/translation-stub.ts" stub)
+ string(REPLACE "@LANG@" "${i}" stub "${stub}")
file(WRITE "${t}" "${stub}")
endif()
endforeach()
diff --git a/cmake/translation-stub.ts b/cmake/translation-stub.ts
index 6401616d..9d616636 100644
--- a/cmake/translation-stub.ts
+++ b/cmake/translation-stub.ts
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="@LANG@">
</TS>
diff --git a/compat/lang/zh_CN.ts b/compat/lang/zh_CN.ts
index 6401616d..e5ca8aa9 100644
--- a/compat/lang/zh_CN.ts
+++ b/compat/lang/zh_CN.ts
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="zh_CN">
</TS>
diff --git a/csv/lang/zh_CN.ts b/csv/lang/zh_CN.ts
index 6401616d..e5ca8aa9 100644
--- a/csv/lang/zh_CN.ts
+++ b/csv/lang/zh_CN.ts
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="zh_CN">
</TS>
diff --git a/cv/lang/zh_CN.ts b/cv/lang/zh_CN.ts
index 6401616d..e5ca8aa9 100644
--- a/cv/lang/zh_CN.ts
+++ b/cv/lang/zh_CN.ts
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="zh_CN">
</TS>
diff --git a/dinput/lang/zh_CN.ts b/dinput/lang/zh_CN.ts
index 6401616d..e5ca8aa9 100644
--- a/dinput/lang/zh_CN.ts
+++ b/dinput/lang/zh_CN.ts
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="zh_CN">
</TS>
diff --git a/filter-accela/lang/zh_CN.ts b/filter-accela/lang/zh_CN.ts
index 4b77b3d7..d63527b5 100644
--- a/filter-accela/lang/zh_CN.ts
+++ b/filter-accela/lang/zh_CN.ts
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="zh_CN">
<context>
<name>AccelaUICdialog_accela</name>
<message>
diff --git a/filter-ewma2/lang/zh_CN.ts b/filter-ewma2/lang/zh_CN.ts
index dc39f91f..89d82ec4 100644
--- a/filter-ewma2/lang/zh_CN.ts
+++ b/filter-ewma2/lang/zh_CN.ts
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="zh_CN">
<context>
<name>UICdialog_ewma</name>
<message>
diff --git a/filter-hamilton/lang/zh_CN.ts b/filter-hamilton/lang/zh_CN.ts
index a8af9f98..4fc4d812 100644
--- a/filter-hamilton/lang/zh_CN.ts
+++ b/filter-hamilton/lang/zh_CN.ts
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="zh_CN">
<context>
<name>UICdialog_hamilton</name>
<message>
diff --git a/filter-kalman/lang/zh_CN.ts b/filter-kalman/lang/zh_CN.ts
index 29fae5c0..eab4059e 100644
--- a/filter-kalman/lang/zh_CN.ts
+++ b/filter-kalman/lang/zh_CN.ts
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="zh_CN">
<context>
<name>KalmanUICdialog_kalman</name>
<message>
diff --git a/logic/lang/zh_CN.ts b/logic/lang/zh_CN.ts
index cc15f98a..75cb2e68 100644
--- a/logic/lang/zh_CN.ts
+++ b/logic/lang/zh_CN.ts
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="zh_CN">
<context>
<name>Work</name>
<message>
diff --git a/migration/lang/zh_CN.ts b/migration/lang/zh_CN.ts
index 6401616d..e5ca8aa9 100644
--- a/migration/lang/zh_CN.ts
+++ b/migration/lang/zh_CN.ts
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="zh_CN">
</TS>
diff --git a/options/lang/zh_CN.ts b/options/lang/zh_CN.ts
index 6401616d..e5ca8aa9 100644
--- a/options/lang/zh_CN.ts
+++ b/options/lang/zh_CN.ts
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="zh_CN">
</TS>
diff --git a/pose-widget/lang/zh_CN.ts b/pose-widget/lang/zh_CN.ts
index 6401616d..e5ca8aa9 100644
--- a/pose-widget/lang/zh_CN.ts
+++ b/pose-widget/lang/zh_CN.ts
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="zh_CN">
</TS>
diff --git a/proto-flightgear/lang/zh_CN.ts b/proto-flightgear/lang/zh_CN.ts
index dc093c57..ba70f8a0 100644
--- a/proto-flightgear/lang/zh_CN.ts
+++ b/proto-flightgear/lang/zh_CN.ts
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="zh_CN">
<context>
<name>UICFGControls</name>
<message>
diff --git a/proto-fsuipc/lang/zh_CN.ts b/proto-fsuipc/lang/zh_CN.ts
index 031e1916..8df82996 100644
--- a/proto-fsuipc/lang/zh_CN.ts
+++ b/proto-fsuipc/lang/zh_CN.ts
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="zh_CN">
<context>
<name>FSUIPCControls</name>
<message>
diff --git a/proto-ft/lang/zh_CN.ts b/proto-ft/lang/zh_CN.ts
index 2fd6bcd7..7706d27c 100644
--- a/proto-ft/lang/zh_CN.ts
+++ b/proto-ft/lang/zh_CN.ts
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="zh_CN">
<context>
<name>FTControls</name>
<message>
diff --git a/proto-iokit-foohid/lang/zh_CN.ts b/proto-iokit-foohid/lang/zh_CN.ts
index 6401616d..e5ca8aa9 100644
--- a/proto-iokit-foohid/lang/zh_CN.ts
+++ b/proto-iokit-foohid/lang/zh_CN.ts
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="zh_CN">
</TS>
diff --git a/proto-libevdev/lang/zh_CN.ts b/proto-libevdev/lang/zh_CN.ts
index ffafa2ec..f5e8694c 100644
--- a/proto-libevdev/lang/zh_CN.ts
+++ b/proto-libevdev/lang/zh_CN.ts
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="zh_CN">
<context>
<name>UICLibevdevControls</name>
<message>
diff --git a/proto-mouse/lang/zh_CN.ts b/proto-mouse/lang/zh_CN.ts
index 2a811df1..36af1181 100644
--- a/proto-mouse/lang/zh_CN.ts
+++ b/proto-mouse/lang/zh_CN.ts
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="zh_CN">
<context>
<name>UI_mouse</name>
<message>
diff --git a/proto-simconnect/lang/zh_CN.ts b/proto-simconnect/lang/zh_CN.ts
index 50d0fa8a..86e487f2 100644
--- a/proto-simconnect/lang/zh_CN.ts
+++ b/proto-simconnect/lang/zh_CN.ts
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="zh_CN">
<context>
<name>UICSCControls</name>
<message>
diff --git a/proto-udp/lang/zh_CN.ts b/proto-udp/lang/zh_CN.ts
index ca1bc409..b2a750b8 100644
--- a/proto-udp/lang/zh_CN.ts
+++ b/proto-udp/lang/zh_CN.ts
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="zh_CN">
<context>
<name>UICFTNControls</name>
<message>
diff --git a/proto-vjoystick/lang/zh_CN.ts b/proto-vjoystick/lang/zh_CN.ts
index 39a74043..443316ba 100644
--- a/proto-vjoystick/lang/zh_CN.ts
+++ b/proto-vjoystick/lang/zh_CN.ts
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="zh_CN">
<context>
<name>vjoystick</name>
<message>
diff --git a/proto-wine/lang/zh_CN.ts b/proto-wine/lang/zh_CN.ts
index dd4f946f..b7c9ea7d 100644
--- a/proto-wine/lang/zh_CN.ts
+++ b/proto-wine/lang/zh_CN.ts
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="zh_CN">
<context>
<name>UICFTControls</name>
<message>
diff --git a/qxt-mini/lang/zh_CN.ts b/qxt-mini/lang/zh_CN.ts
index 6401616d..e5ca8aa9 100644
--- a/qxt-mini/lang/zh_CN.ts
+++ b/qxt-mini/lang/zh_CN.ts
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="zh_CN">
</TS>
diff --git a/spline/lang/zh_CN.ts b/spline/lang/zh_CN.ts
index 6401616d..e5ca8aa9 100644
--- a/spline/lang/zh_CN.ts
+++ b/spline/lang/zh_CN.ts
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="zh_CN">
</TS>
diff --git a/tracker-aruco/lang/zh_CN.ts b/tracker-aruco/lang/zh_CN.ts
index 88b1054c..71fa163c 100644
--- a/tracker-aruco/lang/zh_CN.ts
+++ b/tracker-aruco/lang/zh_CN.ts
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="zh_CN">
<context>
<name>Form</name>
<message>
diff --git a/tracker-freepie-udp/lang/zh_CN.ts b/tracker-freepie-udp/lang/zh_CN.ts
index 1072784a..b886451c 100644
--- a/tracker-freepie-udp/lang/zh_CN.ts
+++ b/tracker-freepie-udp/lang/zh_CN.ts
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="zh_CN">
<context>
<name>UI_freepie_udp_dialog</name>
<message>
diff --git a/tracker-fusion/lang/zh_CN.ts b/tracker-fusion/lang/zh_CN.ts
index 7aed6201..e1345e4c 100644
--- a/tracker-fusion/lang/zh_CN.ts
+++ b/tracker-fusion/lang/zh_CN.ts
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="zh_CN">
<context>
<name>fusion_dialog</name>
<message>
diff --git a/tracker-hatire/lang/zh_CN.ts b/tracker-hatire/lang/zh_CN.ts
index 0d22bf81..c415b50c 100644
--- a/tracker-hatire/lang/zh_CN.ts
+++ b/tracker-hatire/lang/zh_CN.ts
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="zh_CN">
<context>
<name>UIHATControls</name>
<message>
diff --git a/tracker-hydra/lang/zh_CN.ts b/tracker-hydra/lang/zh_CN.ts
index f5440284..f1257856 100644
--- a/tracker-hydra/lang/zh_CN.ts
+++ b/tracker-hydra/lang/zh_CN.ts
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="zh_CN">
<context>
<name>UIHydraControls</name>
<message>
diff --git a/tracker-joystick/lang/zh_CN.ts b/tracker-joystick/lang/zh_CN.ts
index a169a05c..b4729a64 100644
--- a/tracker-joystick/lang/zh_CN.ts
+++ b/tracker-joystick/lang/zh_CN.ts
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="zh_CN">
<context>
<name>UIJoystickControls</name>
<message>
diff --git a/tracker-kinect-face/lang/zh_CN.ts b/tracker-kinect-face/lang/zh_CN.ts
index de0e4f95..1e1b55d1 100644
--- a/tracker-kinect-face/lang/zh_CN.ts
+++ b/tracker-kinect-face/lang/zh_CN.ts
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="zh_CN">
<context>
<name>KinectFaceMetadata</name>
<message>
diff --git a/tracker-linux-joystick/lang/zh_CN.ts b/tracker-linux-joystick/lang/zh_CN.ts
index 12dc1400..e7813c3a 100644
--- a/tracker-linux-joystick/lang/zh_CN.ts
+++ b/tracker-linux-joystick/lang/zh_CN.ts
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="zh_CN">
<context>
<name>UILinuxJoystickControls</name>
<message>
diff --git a/tracker-neuralnet/lang/zh_CN.ts b/tracker-neuralnet/lang/zh_CN.ts
index 2d0dd8ff..655d2118 100644
--- a/tracker-neuralnet/lang/zh_CN.ts
+++ b/tracker-neuralnet/lang/zh_CN.ts
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="zh_CN">
<context>
<name>Form</name>
<message>
diff --git a/tracker-pt/module/lang/zh_CN.ts b/tracker-pt/module/lang/zh_CN.ts
index 03d19f4e..c39728a1 100644
--- a/tracker-pt/module/lang/zh_CN.ts
+++ b/tracker-pt/module/lang/zh_CN.ts
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="zh_CN">
<context>
<name>pt_module::metadata_pt</name>
<message>
diff --git a/tracker-rift-140/lang/zh_CN.ts b/tracker-rift-140/lang/zh_CN.ts
index 26ab2040..ff552d19 100644
--- a/tracker-rift-140/lang/zh_CN.ts
+++ b/tracker-rift-140/lang/zh_CN.ts
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="zh_CN">
<context>
<name>dialog_rift_140</name>
<message>
diff --git a/tracker-rs/lang/zh_CN.ts b/tracker-rs/lang/zh_CN.ts
index fe0faa6a..d843896e 100644
--- a/tracker-rs/lang/zh_CN.ts
+++ b/tracker-rs/lang/zh_CN.ts
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="zh_CN">
<context>
<name>RSTracker</name>
<message>
diff --git a/tracker-s2bot/lang/zh_CN.ts b/tracker-s2bot/lang/zh_CN.ts
index babca884..c5623b8d 100644
--- a/tracker-s2bot/lang/zh_CN.ts
+++ b/tracker-s2bot/lang/zh_CN.ts
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="zh_CN">
<context>
<name>UI_s2bot_dialog</name>
<message>
diff --git a/tracker-steamvr/lang/zh_CN.ts b/tracker-steamvr/lang/zh_CN.ts
index 7b68034b..2c6f7230 100644
--- a/tracker-steamvr/lang/zh_CN.ts
+++ b/tracker-steamvr/lang/zh_CN.ts
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="zh_CN">
<context>
<name>dialog</name>
<message>
diff --git a/tracker-test/lang/zh_CN.ts b/tracker-test/lang/zh_CN.ts
index 78f647f5..5df28f2f 100644
--- a/tracker-test/lang/zh_CN.ts
+++ b/tracker-test/lang/zh_CN.ts
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="zh_CN">
<context>
<name>test_metadata</name>
<message>
diff --git a/tracker-tobii/lang/zh_CN.ts b/tracker-tobii/lang/zh_CN.ts
index cd8a2bdc..9ea8f636 100644
--- a/tracker-tobii/lang/zh_CN.ts
+++ b/tracker-tobii/lang/zh_CN.ts
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="zh_CN">
<context>
<name>UITobiiControls</name>
<message>
diff --git a/tracker-udp/lang/zh_CN.ts b/tracker-udp/lang/zh_CN.ts
index 0ebbf95f..6730c9b8 100644
--- a/tracker-udp/lang/zh_CN.ts
+++ b/tracker-udp/lang/zh_CN.ts
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="zh_CN">
<context>
<name>UICFTNClientControls</name>
<message>
diff --git a/tracker-wii/lang/zh_CN.ts b/tracker-wii/lang/zh_CN.ts
index d67c57ad..6959d95b 100644
--- a/tracker-wii/lang/zh_CN.ts
+++ b/tracker-wii/lang/zh_CN.ts
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="zh_CN">
<context>
<name>wii_metadata_pt</name>
<message>
diff --git a/tracker-wii/wiiyourself/lang/zh_CN.ts b/tracker-wii/wiiyourself/lang/zh_CN.ts
index 6401616d..e5ca8aa9 100644
--- a/tracker-wii/wiiyourself/lang/zh_CN.ts
+++ b/tracker-wii/wiiyourself/lang/zh_CN.ts
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="zh_CN">
</TS>
diff --git a/video-opencv/lang/nl_NL.ts b/video-opencv/lang/nl_NL.ts
index 6401616d..9e739505 100644
--- a/video-opencv/lang/nl_NL.ts
+++ b/video-opencv/lang/nl_NL.ts
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="nl_NL">
</TS>
diff --git a/video-opencv/lang/ru_RU.ts b/video-opencv/lang/ru_RU.ts
index 6401616d..f62cf2e1 100644
--- a/video-opencv/lang/ru_RU.ts
+++ b/video-opencv/lang/ru_RU.ts
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="ru_RU">
</TS>
diff --git a/video-opencv/lang/zh_CN.ts b/video-opencv/lang/zh_CN.ts
index 6401616d..e5ca8aa9 100644
--- a/video-opencv/lang/zh_CN.ts
+++ b/video-opencv/lang/zh_CN.ts
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="zh_CN">
</TS>
diff --git a/video-ps3eye/lang/nl_NL.ts b/video-ps3eye/lang/nl_NL.ts
index 81ffc826..f3a16fd4 100644
--- a/video-ps3eye/lang/nl_NL.ts
+++ b/video-ps3eye/lang/nl_NL.ts
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="nl_NL">
<context>
<name>Dialog</name>
<message>
diff --git a/video-ps3eye/lang/ru_RU.ts b/video-ps3eye/lang/ru_RU.ts
index 81ffc826..1edcf50d 100644
--- a/video-ps3eye/lang/ru_RU.ts
+++ b/video-ps3eye/lang/ru_RU.ts
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="ru_RU">
<context>
<name>Dialog</name>
<message>
diff --git a/video-ps3eye/lang/zh_CN.ts b/video-ps3eye/lang/zh_CN.ts
index 81ffc826..cb1d7410 100644
--- a/video-ps3eye/lang/zh_CN.ts
+++ b/video-ps3eye/lang/zh_CN.ts
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="zh_CN">
<context>
<name>Dialog</name>
<message>
diff --git a/video/lang/nl_NL.ts b/video/lang/nl_NL.ts
index 6401616d..9e739505 100644
--- a/video/lang/nl_NL.ts
+++ b/video/lang/nl_NL.ts
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="nl_NL">
</TS>
diff --git a/video/lang/ru_RU.ts b/video/lang/ru_RU.ts
index 6401616d..f62cf2e1 100644
--- a/video/lang/ru_RU.ts
+++ b/video/lang/ru_RU.ts
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="ru_RU">
</TS>
diff --git a/video/lang/zh_CN.ts b/video/lang/zh_CN.ts
index 6401616d..e5ca8aa9 100644
--- a/video/lang/zh_CN.ts
+++ b/video/lang/zh_CN.ts
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.1">
+<TS version="2.1" language="zh_CN">
</TS>