[branding] Enable translations for the default show

- Just translate two simple strings, to avoid burdening translators,
 - Add Dutch translation already.

These translations are not yet processed by ci/txpull and push.
This commit is contained in:
Adriaan de Groot 2019-06-16 23:01:56 +02:00
parent 41c2a7e4e0
commit 593dcff40a
3 changed files with 36 additions and 2 deletions

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="en_US">
<context>
<name>show</name>
<message>
<location filename="../show.qml" line="64"/>
<source>This is a second Slide element.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../show.qml" line="68"/>
<source>This is a third Slide element.</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="nl">
<context>
<name>show</name>
<message>
<location filename="../show.qml" line="64"/>
<source>This is a second Slide element.</source>
<translation>Dit is het tweede Dia element.</translation>
</message>
<message>
<location filename="../show.qml" line="68"/>
<source>This is a third Slide element.</source>
<translation>Dit is het derde Dia element.</translation>
</message>
</context>
</TS>

View File

@ -61,11 +61,11 @@ Presentation
}
Slide {
centeredText: "This is a second Slide element."
centeredText: qsTr("This is a second Slide element.")
}
Slide {
centeredText: "This is a third Slide element."
centeredText: qsTr("This is a third Slide element.")
}
Component.onCompleted: {