diff options
| author | Nippy <nippy@Nippy-Mac-mini.local> | 2026-09-25 17:47:46 +0200 |
|---|---|---|
| committer | Nippy <nippy@Nippy-Mac-mini.local> | 2026-09-25 17:47:46 +0200 |
| commit | 1143ac8e69f18ba565e74528fc9e7dd4f1e1520d (patch) | |
| tree | adf1496190e9de7e61362c63150cf77cdfeff1ba /raveos-calamares-theme/etc/calamares/branding/raveos/finishedq.qml | |
| parent | f35b5c4b2caea3c584d549d5357c2d50871b87e0 (diff) | |
| download | RaveOS-PKGBUILD-1143ac8e69f18ba565e74528fc9e7dd4f1e1520d.tar.gz RaveOS-PKGBUILD-1143ac8e69f18ba565e74528fc9e7dd4f1e1520d.zip | |
update szep.25 calamares fix
Diffstat (limited to 'raveos-calamares-theme/etc/calamares/branding/raveos/finishedq.qml')
| -rw-r--r-- | raveos-calamares-theme/etc/calamares/branding/raveos/finishedq.qml | 30 |
1 files changed, 7 insertions, 23 deletions
diff --git a/raveos-calamares-theme/etc/calamares/branding/raveos/finishedq.qml b/raveos-calamares-theme/etc/calamares/branding/raveos/finishedq.qml index 7032bad..256edb2 100644 --- a/raveos-calamares-theme/etc/calamares/branding/raveos/finishedq.qml +++ b/raveos-calamares-theme/etc/calamares/branding/raveos/finishedq.qml @@ -5,7 +5,8 @@ * Sok nev eseten automatikusan lapoz (4s). A lista: supporters.js (import). * Ha nincs nev, a teljes tamogatoi panel el van rejtve. * - * Nyelvek: hu / de / en (Qt.locale() alapjan). + * Nyelvek: hu / de / en. A szovegek qsTr()-rel mennek, a branding + * calamares-raveos_<lang>.qm fordításokat a RaveWelcome tolti be. */ import io.calamares.core 1.0 @@ -26,19 +27,6 @@ Item { readonly property bool hasSupporters: Supporters.names.length > 0 readonly property int supportersPageCount: Math.max(1, Math.ceil(Supporters.names.length / supportersPerPage)) - // Aktualis nyelv: hu / de / en - readonly property string uiLang: { - var n = Qt.locale().name; - if (n.indexOf("hu") === 0) return "hu"; - if (n.indexOf("de") === 0) return "de"; - return "en"; - } - - // Forditas: t(hu, de, en) - function t(hu, de, en) { - return uiLang === "hu" ? hu : (uiLang === "de" ? de : en); - } - property int supportersPage: 0 // Az aktualis oldal szovege: soronkent 3 nev, kozepre igazitva @@ -85,7 +73,7 @@ Item { font.family: "Ubuntu" font.pixelSize: 26 font.bold: true - text: finishedRoot.t("A telepítés befejeződött", "Installation abgeschlossen", "Installation complete") + text: qsTr("Installation complete") } Text { @@ -95,15 +83,13 @@ Item { font.family: "Ubuntu" font.pixelSize: 15 wrapMode: Text.WordWrap - text: finishedRoot.t("Indítsd újra a rendszert a %1 használatához.".arg(Branding.string(Branding.ProductName)), - "Starten Sie das System neu, um %1 zu verwenden.".arg(Branding.string(Branding.ProductName)), - "Restart the system to start using %1.".arg(Branding.string(Branding.ProductName))) + text: qsTr("Restart the system to start using %1.").arg(Branding.string(Branding.ProductName)) } Button { id: restartButton Layout.alignment: Qt.AlignHCenter - text: finishedRoot.t("Újraindítás most", "Jetzt neu starten", "Restart now") + text: qsTr("Restart now") hoverEnabled: true onClicked: config.doRestart(true) @@ -152,7 +138,7 @@ Item { font.family: "Ubuntu" font.pixelSize: 15 font.bold: true - text: finishedRoot.t("RaveOS támogatók", "RaveOS-Unterstützer", "RaveOS Supporters") + text: qsTr("RaveOS Supporters") } Text { @@ -187,9 +173,7 @@ Item { font.pixelSize: 13 font.italic: true wrapMode: Text.WordWrap - text: finishedRoot.t("Köszönjük a támogatást, a csapat minden tagja nevében!", - "Vielen Dank für die Unterstützung, im Namen aller Teammitglieder!", - "Thank you for your support, from every member of the team!") + text: qsTr("Thank you for your support, from every member of the team!") } } } |