summaryrefslogtreecommitdiff
path: root/raveos-calamares-theme/etc/calamares/branding/raveos
diff options
context:
space:
mode:
authorNippy <nippy@Nippy-Mac-mini.local>2026-09-25 17:47:46 +0200
committerNippy <nippy@Nippy-Mac-mini.local>2026-09-25 17:47:46 +0200
commit1143ac8e69f18ba565e74528fc9e7dd4f1e1520d (patch)
treeadf1496190e9de7e61362c63150cf77cdfeff1ba /raveos-calamares-theme/etc/calamares/branding/raveos
parentf35b5c4b2caea3c584d549d5357c2d50871b87e0 (diff)
downloadRaveOS-PKGBUILD-1143ac8e69f18ba565e74528fc9e7dd4f1e1520d.tar.gz
RaveOS-PKGBUILD-1143ac8e69f18ba565e74528fc9e7dd4f1e1520d.zip
update szep.25 calamares fix
Diffstat (limited to 'raveos-calamares-theme/etc/calamares/branding/raveos')
-rw-r--r--raveos-calamares-theme/etc/calamares/branding/raveos/finishedq.qml30
-rw-r--r--raveos-calamares-theme/etc/calamares/branding/raveos/lang/calamares-raveos_de.ts55
-rw-r--r--raveos-calamares-theme/etc/calamares/branding/raveos/lang/calamares-raveos_en.ts55
-rw-r--r--raveos-calamares-theme/etc/calamares/branding/raveos/lang/calamares-raveos_hu.ts55
4 files changed, 172 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!")
}
}
}
diff --git a/raveos-calamares-theme/etc/calamares/branding/raveos/lang/calamares-raveos_de.ts b/raveos-calamares-theme/etc/calamares/branding/raveos/lang/calamares-raveos_de.ts
new file mode 100644
index 0000000..1d68d57
--- /dev/null
+++ b/raveos-calamares-theme/etc/calamares/branding/raveos/lang/calamares-raveos_de.ts
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.1" language="de">
+<context>
+ <name>finishedq</name>
+ <message>
+ <source>Installation complete</source>
+ <translation>Installation abgeschlossen</translation>
+ </message>
+ <message>
+ <source>Restart the system to start using %1.</source>
+ <translation>Starten Sie das System neu, um %1 zu verwenden.</translation>
+ </message>
+ <message>
+ <source>Restart now</source>
+ <translation>Jetzt neu starten</translation>
+ </message>
+ <message>
+ <source>RaveOS Supporters</source>
+ <translation>RaveOS-Unterstützer</translation>
+ </message>
+ <message>
+ <source>Thank you for your support, from every member of the team!</source>
+ <translation>Vielen Dank für die Unterstützung, im Namen aller Teammitglieder!</translation>
+ </message>
+</context>
+<context>
+ <name>CalamaresWindow</name>
+ <message>
+ <source>&amp;Restart</source>
+ <comment>@button</comment>
+ <translation>&amp;Neu starten</translation>
+ </message>
+ <message>
+ <source>Restart the computer</source>
+ <comment>@tooltip</comment>
+ <translation>Den Computer neu starten</translation>
+ </message>
+</context>
+<context>
+ <name>raveos</name>
+ <message>
+ <source>Restart the computer?</source>
+ <translation>Computer neu starten?</translation>
+ </message>
+ <message>
+ <source>Restart</source>
+ <translation>Neu starten</translation>
+ </message>
+ <message>
+ <source>Cancel</source>
+ <translation>Abbrechen</translation>
+ </message>
+</context>
+</TS>
diff --git a/raveos-calamares-theme/etc/calamares/branding/raveos/lang/calamares-raveos_en.ts b/raveos-calamares-theme/etc/calamares/branding/raveos/lang/calamares-raveos_en.ts
new file mode 100644
index 0000000..cb44e1c
--- /dev/null
+++ b/raveos-calamares-theme/etc/calamares/branding/raveos/lang/calamares-raveos_en.ts
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.1" language="en">
+<context>
+ <name>finishedq</name>
+ <message>
+ <source>Installation complete</source>
+ <translation>Installation complete</translation>
+ </message>
+ <message>
+ <source>Restart the system to start using %1.</source>
+ <translation>Restart the system to start using %1.</translation>
+ </message>
+ <message>
+ <source>Restart now</source>
+ <translation>Restart now</translation>
+ </message>
+ <message>
+ <source>RaveOS Supporters</source>
+ <translation>RaveOS Supporters</translation>
+ </message>
+ <message>
+ <source>Thank you for your support, from every member of the team!</source>
+ <translation>Thank you for your support, from every member of the team!</translation>
+ </message>
+</context>
+<context>
+ <name>CalamaresWindow</name>
+ <message>
+ <source>&amp;Restart</source>
+ <comment>@button</comment>
+ <translation>&amp;Restart</translation>
+ </message>
+ <message>
+ <source>Restart the computer</source>
+ <comment>@tooltip</comment>
+ <translation>Restart the computer</translation>
+ </message>
+</context>
+<context>
+ <name>raveos</name>
+ <message>
+ <source>Restart the computer?</source>
+ <translation>Restart the computer?</translation>
+ </message>
+ <message>
+ <source>Restart</source>
+ <translation>Restart</translation>
+ </message>
+ <message>
+ <source>Cancel</source>
+ <translation>Cancel</translation>
+ </message>
+</context>
+</TS>
diff --git a/raveos-calamares-theme/etc/calamares/branding/raveos/lang/calamares-raveos_hu.ts b/raveos-calamares-theme/etc/calamares/branding/raveos/lang/calamares-raveos_hu.ts
new file mode 100644
index 0000000..27eddfa
--- /dev/null
+++ b/raveos-calamares-theme/etc/calamares/branding/raveos/lang/calamares-raveos_hu.ts
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.1" language="hu">
+<context>
+ <name>finishedq</name>
+ <message>
+ <source>Installation complete</source>
+ <translation>A telepítés befejeződött</translation>
+ </message>
+ <message>
+ <source>Restart the system to start using %1.</source>
+ <translation>Indítsd újra a rendszert a %1 használatához.</translation>
+ </message>
+ <message>
+ <source>Restart now</source>
+ <translation>Újraindítás most</translation>
+ </message>
+ <message>
+ <source>RaveOS Supporters</source>
+ <translation>RaveOS támogatók</translation>
+ </message>
+ <message>
+ <source>Thank you for your support, from every member of the team!</source>
+ <translation>Köszönjük a támogatást, a csapat minden tagja nevében!</translation>
+ </message>
+</context>
+<context>
+ <name>CalamaresWindow</name>
+ <message>
+ <source>&amp;Restart</source>
+ <comment>@button</comment>
+ <translation>&amp;Újraindítás</translation>
+ </message>
+ <message>
+ <source>Restart the computer</source>
+ <comment>@tooltip</comment>
+ <translation>A számítógép újraindítása</translation>
+ </message>
+</context>
+<context>
+ <name>raveos</name>
+ <message>
+ <source>Restart the computer?</source>
+ <translation>Újraindítod a számítógépet?</translation>
+ </message>
+ <message>
+ <source>Restart</source>
+ <translation>Újraindítás</translation>
+ </message>
+ <message>
+ <source>Cancel</source>
+ <translation>Mégse</translation>
+ </message>
+</context>
+</TS>