From 593dcff40a561d50a6324ae62f7be9bd06c10a1f Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Sun, 16 Jun 2019 23:01:56 +0200 Subject: [PATCH] [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. --- .../default/lang/calamares-default_en.ts | 17 +++++++++++++++++ .../default/lang/calamares-default_nl.ts | 17 +++++++++++++++++ src/branding/default/show.qml | 4 ++-- 3 files changed, 36 insertions(+), 2 deletions(-) create mode 100644 src/branding/default/lang/calamares-default_en.ts create mode 100644 src/branding/default/lang/calamares-default_nl.ts diff --git a/src/branding/default/lang/calamares-default_en.ts b/src/branding/default/lang/calamares-default_en.ts new file mode 100644 index 000000000..30474fc02 --- /dev/null +++ b/src/branding/default/lang/calamares-default_en.ts @@ -0,0 +1,17 @@ + + + + + show + + + This is a second Slide element. + + + + + This is a third Slide element. + + + + diff --git a/src/branding/default/lang/calamares-default_nl.ts b/src/branding/default/lang/calamares-default_nl.ts new file mode 100644 index 000000000..aad00eaf7 --- /dev/null +++ b/src/branding/default/lang/calamares-default_nl.ts @@ -0,0 +1,17 @@ + + + + + show + + + This is a second Slide element. + Dit is het tweede Dia element. + + + + This is a third Slide element. + Dit is het derde Dia element. + + + diff --git a/src/branding/default/show.qml b/src/branding/default/show.qml index cb98ecb0a..89ad354de 100644 --- a/src/branding/default/show.qml +++ b/src/branding/default/show.qml @@ -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: {