summaryrefslogtreecommitdiffstats
path: root/qml/Welcome.qml
blob: c42cb4de286974d440aad82008892ef4b07867b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import QtQuick 2
import QtQuick.Controls 1

        Rectangle {
            //: the button in buttons bar
            property var title: qsTr("Welcome")
            width: view.width; height: view.height
            Loader { sourceComponent: slidebackground ;
                anchors.fill: parent}
            Column {
                anchors.centerIn: parent
                anchors.verticalCenter:  parent.verticalCenter

                Label {
                    //: the %1 will be replaced with the user name
                    anchors.horizontalCenter:  parent.horizontalCenter
                    horizontalAlignment: TextInput.AlignHCenter
                    text: (user == 'live' ?  qsTr("Welcome to Mageia") : qsTr("Welcome to Mageia, %1").arg(user)+'\n')
                    font.weight: Font.DemiBold
                    font.pixelSize: Qt.application.font.pixelSize * 1.5
                    color: "white"
                }

                Label {
                    horizontalAlignment: TextInput.AlignHCenter
                    anchors.horizontalCenter:  parent.horizontalCenter
                    text: (user == 'live' ? 
                    qsTr("We are going to guide you through a few important information and<BR />help you with to go further with Mageia.<BR /><BR />Now, click on <i> %1 </i> to go to the first step.").arg(qsTr("Live mode")) :
                    qsTr("We are going to guide you through some important steps and help<BR />you with the configuration of your newly installed system.<BR /><BR />Now, click on <i>%1</i> to go to the first step.").arg(qsTr("Media sources")));
                    textFormat: Text.RichText
                    color: "white"
                }
            }
        }