calamares: slideshow: update images, texts and layout; provide a update-ts.sh script to update translation files

This commit is contained in:
Silvan Calarco 2022-10-09 12:37:43 +02:00
parent 5d7b02ca08
commit 0f7d349b7a
8 changed files with 48 additions and 34 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 847 KiB

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="fr">
<TS version="2.1" language="it">
<context>
<name>show</name>
<message>
@ -26,18 +26,18 @@
</message>
<message>
<location filename="../show.qml" line="91"/>
<source>openmamba with LXDE</source>
<translation>openmamba con LXDE</translation>
<source>openmamba with LXQt</source>
<translation>openmamba con LXQt</translation>
</message>
<message>
<location filename="../show.qml" line="92"/>
<source>openmamba system with a simple and light desktop.</source>
<translation>Il sistema openmamba con un desktop semplice e leggero.</translation>
<source>openmamba with a lightweight desktop environment.</source>
<translation>openmamba con un ambiente desktop leggero.</translation>
</message>
<message>
<location filename="../show.qml" line="93"/>
<source>For server installation or desktop on obsolete PC, embedded systems, tablet, single-board PC.</source>
<translation>Per installazioni di server o di desktop su PC obsoleti, sistemi embedded, tablet e computer single-board.</translation>
<source>For server installations or desktop on old PCs, embedded systems, tablet, single-board PC.</source>
<translation>Per installazioni di server o di desktop su PC datati, sistemi embedded, tablets e PC single-board.</translation>
</message>
</context>
</TS>

View File

@ -32,67 +32,75 @@ Presentation
Slide {
Image {
id: background01
id: background1
source: "background.jpg"
width: 1920; height: 1200
fillMode: Image.PreserveAspectFit
anchors.centerIn: parent
}
Image {
id: background1
source: "desktop-kde-300x225.jpg"
width: 300; height: 225
fillMode: Image.PreserveAspectFit
anchors.centerIn: parent
}
Text {
anchors.horizontalCenter: background1.horizontalCenter
anchors.top: parent.top
id: text1
anchors.horizontalCenter: parent.horizontalCenter
y: -80
text: "<h2>" + qsTr("Thanks for choosing openmamba!") + "</h2><br/><br/>"
wrapMode: Text.WordWrap
horizontalAlignment: Text.Center
}
Image {
id: image1
source: "desktop-kde.png"
width: 500
fillMode: Image.PreserveAspectFit
anchors.horizontalCenter: parent.horizontalCenter
anchors.top: text1.bottom
}
Text {
anchors.horizontalCenter: background1.horizontalCenter
anchors.top: background1.bottom
width:650
anchors.horizontalCenter: image1.horizontalCenter
anchors.top: image1.bottom
text: "<br/><b>" + qsTr("openmamba with KDE Plasma") + "</b><br/><br/>" +
qsTr("The most evolved and complete desktop system of openmamba, KDE Plasma based.") + "<br/>"+
qsTr("For every user who wants a modern, multimedia and productive desktop.") + "<br/>"
wrapMode: Text.WordWrap
horizontalAlignment: Text.Center
font.pointSize: 10
}
}
Slide {
Image {
id: background02
id: background2
source: "background.jpg"
width: 1920; height: 1200
fillMode: Image.PreserveAspectFit
anchors.centerIn: parent
}
Image {
id: background2
source: "desktop-lxde-300x225.jpg"
width: 300; height: 225
fillMode: Image.PreserveAspectFit
anchors.centerIn: parent
}
Text {
anchors.horizontalCenter: background2.horizontalCenter
anchors.top: parent.top
id: text2
anchors.horizontalCenter: parent.horizontalCenter
y: -80
text: "<h2>" + qsTr("Thanks for choosing openmamba!") + "</h2><br/><br/>"
wrapMode: Text.WordWrap
horizontalAlignment: Text.Center
}
Image {
id: image2
source: "desktop-lxqt.png"
width: 500
fillMode: Image.PreserveAspectFit
anchors.horizontalCenter: parent.horizontalCenter
anchors.top: text2.bottom
}
Text {
anchors.horizontalCenter: background2.horizontalCenter
anchors.top: background2.bottom
text: "<br/><b>" + qsTr("openmamba with LXDE") + "</b><br/><br/>" +
qsTr("openmamba system with a simple and light desktop.") + "<br/>" +
qsTr("For server installation or desktop on obsolete PC, embedded systems, tablet, single-board PC.") + "<br/>"
width:650
anchors.horizontalCenter: image2.horizontalCenter
anchors.top: image2.bottom
text: "<br/><b>" + qsTr("openmamba with LXQt") + "</b><br/><br/>" +
qsTr("openmamba with a lightweight desktop environment.") + "<br/>" +
qsTr("For server installations or desktop on old PCs, embedded systems, tablet, single-board PC.") + "<br/>"
wrapMode: Text.WordWrap
horizontalAlignment: Text.Center
font.pointSize: 10
}
}

6
update-ts.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/bash
LANGS="it"
for lang in $LANGS; do
lupdate-qt5 -no-obsolete calamares -target-language ${lang} -ts calamares/etc/calamares/branding/openmamba/lang/calamares-openmamba_${lang}.ts
done