summaryrefslogtreecommitdiff
path: root/raveos-calamares-module/wifi/ui
diff options
context:
space:
mode:
authorNippy <nippy@Beller-Mac-mini.lan>2026-11-08 14:37:52 +0100
committerNippy <nippy@Beller-Mac-mini.lan>2026-11-08 14:37:52 +0100
commit471c33c0fa9e52bb0d8b4093692600b35f12f1dd (patch)
tree4d92547cf1d3ae83e894c2c56a41cc5f29bfb3b2 /raveos-calamares-module/wifi/ui
parent29e0e531d1dbee5a111f56be88494781aef300ff (diff)
downloadRaveOS-PKGBUILD-471c33c0fa9e52bb0d8b4093692600b35f12f1dd.tar.gz
RaveOS-PKGBUILD-471c33c0fa9e52bb0d8b4093692600b35f12f1dd.zip
wifi fix és calamres
Diffstat (limited to 'raveos-calamares-module/wifi/ui')
-rw-r--r--raveos-calamares-module/wifi/ui/Translations.qml12
-rw-r--r--raveos-calamares-module/wifi/ui/wifi.qml9
2 files changed, 13 insertions, 8 deletions
diff --git a/raveos-calamares-module/wifi/ui/Translations.qml b/raveos-calamares-module/wifi/ui/Translations.qml
index 601e8eb..1436298 100644
--- a/raveos-calamares-module/wifi/ui/Translations.qml
+++ b/raveos-calamares-module/wifi/ui/Translations.qml
@@ -11,6 +11,7 @@ QtObject {
property string selected: "Selected"
property string noSelection: "Select a network from the list"
property string password: "Password"
+ property string passwordOptional: "Password (if any)"
property string connect: "Connect"
property string hiddenNetwork: "Hidden network"
property string ssidLabel: "Network name (SSID)"
@@ -18,7 +19,7 @@ QtObject {
property string statusDisconnected: "not connected"
property string statusConnecting: "connecting..."
property string statusConnected: "connected"
- property string statusFailed: "connection failed"
+ property string statusFailed: "could not connect, check the password"
property string secured: "Password protected"
property string showPassword: "Show password"
@@ -33,6 +34,7 @@ QtObject {
selected = "Kiválasztva"
noSelection = "Válassz egy hálózatot a listából"
password = "Jelszó"
+ passwordOptional = "Jelszó (ha van)"
connect = "Csatlakozás"
hiddenNetwork = "Rejtett hálózat"
ssidLabel = "Hálózat neve (SSID)"
@@ -40,7 +42,7 @@ QtObject {
statusDisconnected = "nincs kapcsolat"
statusConnecting = "csatlakozás..."
statusConnected = "csatlakozva"
- statusFailed = "a csatlakozás nem sikerült"
+ statusFailed = "nem sikerült csatlakozni, ellenőrizd a jelszót"
secured = "Jelszóval védett"
showPassword = "Jelszó megjelenítése"
} else if (locale.startsWith("de")) {
@@ -53,6 +55,7 @@ QtObject {
selected = "Ausgewählt"
noSelection = "Wähle ein Netzwerk aus der Liste"
password = "Passwort"
+ passwordOptional = "Passwort (falls vorhanden)"
connect = "Verbinden"
hiddenNetwork = "Verstecktes Netzwerk"
ssidLabel = "Netzwerkname (SSID)"
@@ -60,7 +63,7 @@ QtObject {
statusDisconnected = "nicht verbunden"
statusConnecting = "verbinde..."
statusConnected = "verbunden"
- statusFailed = "Verbindung fehlgeschlagen"
+ statusFailed = "Verbindung fehlgeschlagen, Passwort prüfen"
secured = "Passwortgeschützt"
showPassword = "Passwort anzeigen"
} else {
@@ -73,6 +76,7 @@ QtObject {
selected = "Selected"
noSelection = "Select a network from the list"
password = "Password"
+ passwordOptional = "Password (if any)"
connect = "Connect"
hiddenNetwork = "Hidden network"
ssidLabel = "Network name (SSID)"
@@ -80,7 +84,7 @@ QtObject {
statusDisconnected = "not connected"
statusConnecting = "connecting..."
statusConnected = "connected"
- statusFailed = "connection failed"
+ statusFailed = "could not connect, check the password"
secured = "Password protected"
showPassword = "Show password"
}
diff --git a/raveos-calamares-module/wifi/ui/wifi.qml b/raveos-calamares-module/wifi/ui/wifi.qml
index e3b0b0c..493847a 100644
--- a/raveos-calamares-module/wifi/ui/wifi.qml
+++ b/raveos-calamares-module/wifi/ui/wifi.qml
@@ -16,7 +16,8 @@ Rectangle {
property bool jelszoLatszik: false
readonly property string ssid: rejtett ? ssidMezo.text : (kivalasztott ? kivalasztott.ssid : "")
- readonly property bool jelszoKell: rejtett || (kivalasztott !== null && kivalasztott.secured)
+ readonly property bool jelszoKell: !rejtett && kivalasztott !== null && kivalasztott.secured
+ readonly property bool jelszoMezoLatszik: rejtett || jelszoKell
function updateLanguage() {
WifiModule.Translations.setLanguage(systemLocale)
@@ -340,12 +341,12 @@ Rectangle {
}
ColumnLayout {
- visible: root.jelszoKell
+ visible: root.jelszoMezoLatszik
Layout.fillWidth: true
spacing: 6
Text {
- text: root.t.password
+ text: root.rejtett ? root.t.passwordOptional : root.t.password
color: Stilus.szovegHalvany
font.family: Stilus.font
font.pixelSize: 12
@@ -372,7 +373,7 @@ Rectangle {
return
root.sikertelen = false
root.csatlakozik = true
- nm.connectTo(root.ssid, root.jelszoKell ? jelszoMezo.text : "")
+ nm.connectTo(root.ssid, root.jelszoMezoLatszik ? jelszoMezo.text : "")
}
background: Rectangle {
color: !csatlakozGomb.enabled ? "transparent" : (csatlakozGomb.hovered ? Stilus.zoldHover : Stilus.zold)