/* Lliurex Live Sddm theme Copyright (C) 2021 Enrique Medina Gremaldos This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . */ import net.lliurex.locale 1.0 as Locale import net.lliurex.ui 1.0 as LLX import Edupals.N4D 1.0 as N4D import QtQuick 2.0 import QtQuick.Controls 2.0 as QQC2 import QtQuick.Layouts 1.15 import SddmComponents 2.0 as Sddm import org.kde.plasma.core 2.0 as PlasmaCore import org.kde.plasma.components 3.0 as PC3 import org.kde.kirigami 2.16 as Kirigami Item { id: theme property string lliurexType:"" property string lliurexFullVersion:"" property string lliurexVersion:"" property variant geometry: screenModel.geometry(screenModel.primary) x: geometry.x y: geometry.y width: geometry.width height: geometry.height property var call0: 0; property var call1: 0; property var plasmaIndex: 0; property var ts : [ // 0 1 2 3 4 5 6 ["C",["Language","Keyboard layout","Welcome to LliureX 21.2022 live","Ok","Cancel","Shutdown","Reboot"]], ["ca_ES.UTF-8@valencia",["Idioma","Teclat","Benvingut a LliureX 21.2022 live","Accepta","Cancel·la","Atura","Reinicia"]] , ["es_ES.UTF-8",["Lenguaje","Teclado","Bienvenido a LliureX 21.2022 live","Aceptar","Cancelar","Apagar","Reiniciar"]], ["ca_ES.UTF-8",["Idioma","Teclat","Benvingut a LliureX 21.2022 live","Accepta","Cancel·la","Atura","Reinicia"]] , ]; property var strings : ["","",""]; function retranslate(lang) { var index = -1; for (var n=0;n