Skip to content
This repository was archived by the owner on Mar 4, 2023. It is now read-only.

Commit cf9fdc2

Browse files
committed
added qpm translations
1 parent 97c3c61 commit cf9fdc2

File tree

4 files changed

+58
-1
lines changed

4 files changed

+58
-1
lines changed

androidutils_de.ts

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!DOCTYPE TS>
3+
<TS version="2.1" language="de_DE">
4+
<context>
5+
<name>ContentDevice</name>
6+
<message>
7+
<location filename="contentdevice.cpp" line="73"/>
8+
<source>You can only open ContentDevice with QIODevice::ReadOnly OR QIODevice::WriteOnly. Other flags are not supported</source>
9+
<translation>Ein ContentDevice can nur mit QIODevice::ReadOnly ODER QIODevice::WriteOnly geöffnet werden. Andere modi werden nicht unterstützt</translation>
10+
</message>
11+
</context>
12+
<context>
13+
<name>FileChooser</name>
14+
<message>
15+
<location filename="filechooser.cpp" line="103"/>
16+
<location filename="filechooser.cpp" line="113"/>
17+
<source>Open File</source>
18+
<translation>Datei öffnen</translation>
19+
</message>
20+
<message>
21+
<location filename="filechooser.cpp" line="124"/>
22+
<source>Save File</source>
23+
<translation>Datei speichern</translation>
24+
</message>
25+
</context>
26+
</TS>

androidutils_template.ts

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!DOCTYPE TS>
3+
<TS version="2.1">
4+
<context>
5+
<name>ContentDevice</name>
6+
<message>
7+
<location filename="contentdevice.cpp" line="73"/>
8+
<source>You can only open ContentDevice with QIODevice::ReadOnly OR QIODevice::WriteOnly. Other flags are not supported</source>
9+
<translation type="unfinished"></translation>
10+
</message>
11+
</context>
12+
<context>
13+
<name>FileChooser</name>
14+
<message>
15+
<location filename="filechooser.cpp" line="103"/>
16+
<location filename="filechooser.cpp" line="113"/>
17+
<source>Open File</source>
18+
<translation type="unfinished"></translation>
19+
</message>
20+
<message>
21+
<location filename="filechooser.cpp" line="124"/>
22+
<source>Save File</source>
23+
<translation type="unfinished"></translation>
24+
</message>
25+
</context>
26+
</TS>

de_skycoder42_androidutils.pri

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ SOURCES += \
99
$$PWD/androidutils.cpp \
1010
$$PWD/filechooser.cpp \
1111
$$PWD/sharedpreferences.cpp
12+
1213
RESOURCES += \
1314
$$PWD/de_skycoder42_androidutils.qrc
1415

@@ -21,6 +22,9 @@ DISTFILES += \
2122
$$PWD/android/src/de/skycoder42/androidutils/FileChooser.java \
2223
$$PWD/android/src/de/skycoder42/androidutils/PrefHelper.java
2324

25+
QPM_TRANSLATIONS += androidutils_de.ts \
26+
androidutils_template.ts
27+
2428
android {
2529
HEADERS += $$PWD/contentdevice.h
2630
SOURCES += $$PWD/contentdevice.cpp

qpm.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
"fingerprint": ""
1616
},
1717
"dependencies": [
18-
"android.native.pri@0.0.5"
18+
"android.native.pri@0.0.5",
19+
"de.skycoder42.qpm-translate@1.0.0"
1920
],
2021
"license": "BSD_3_CLAUSE",
2122
"pri_filename": "de_skycoder42_androidutils.pri",

0 commit comments

Comments
 (0)