add ts files
authorGuillaume Castagnino <casta@xwing.info>
Wed, 25 Mar 2020 21:47:41 +0000 (22:47 +0100)
committerGuillaume Castagnino <casta@xwing.info>
Wed, 25 Mar 2020 21:47:41 +0000 (22:47 +0100)
fookb.pro
fookb_en.ts [new file with mode: 0644]
fookb_fr.ts [new file with mode: 0644]
myapp_en.ts [new file with mode: 0644]

index 99d4cf6ae3b60a3275343efb03d274db6c117f0a..b9e3df0584defa269d4ffb967f9f3144a44c7ed0 100644 (file)
--- a/fookb.pro
+++ b/fookb.pro
@@ -7,4 +7,5 @@ target.path = /usr/local/bin
 INSTALLS += target
 
 RESOURCES = fookb.qrc
+TRANSLATIONS = fookb_en.ts fookb_fr.ts
 QT += widgets qml
diff --git a/fookb_en.ts b/fookb_en.ts
new file mode 100644 (file)
index 0000000..4afa43b
--- /dev/null
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.1" language="en_US">
+<context>
+    <name>fookb</name>
+    <message>
+        <source>Quit</source>
+        <translation>Quit</translation>
+    </message>
+</context>
+</TS>
diff --git a/fookb_fr.ts b/fookb_fr.ts
new file mode 100644 (file)
index 0000000..e8ea09d
--- /dev/null
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.1" language="fr_FR">
+<context>
+    <name>fookb</name>
+    <message>
+        <source>Quit</source>
+        <translation>Quitter</translation>
+    </message>
+</context>
+</TS>
diff --git a/myapp_en.ts b/myapp_en.ts
new file mode 100644 (file)
index 0000000..bc6d6e7
--- /dev/null
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.1" language="en_US">
+</TS>