summaryrefslogtreecommitdiff
path: root/raveos-calamares-module/wifi/ui/Translations.qml
diff options
context:
space:
mode:
Diffstat (limited to 'raveos-calamares-module/wifi/ui/Translations.qml')
-rw-r--r--raveos-calamares-module/wifi/ui/Translations.qml219
1 files changed, 62 insertions, 157 deletions
diff --git a/raveos-calamares-module/wifi/ui/Translations.qml b/raveos-calamares-module/wifi/ui/Translations.qml
index 21ef6df..601e8eb 100644
--- a/raveos-calamares-module/wifi/ui/Translations.qml
+++ b/raveos-calamares-module/wifi/ui/Translations.qml
@@ -1,183 +1,88 @@
pragma Singleton
import QtQuick 2.15
-/**
- * WiFi Modul Fordítások
- * ======================
- *
- * Támogatott nyelvek:
- * - hu_HU: Magyar
- * - de_DE: Német
- * - en_US, en_GB, stb.: Angol (alapértelmezett)
- *
- * Új nyelv hozzáadása:
- * 1. Adj hozzá egy új "else if" blokkot a setLanguage függvényben
- * 2. Másold be az összes szöveget és fordítsd le
- *
- * Használat QML-ben:
- * Text { text: Translations.title }
- */
-
QtObject {
- id: root
-
- // Aktuális nyelv kód (pl. "hu_HU", "en_US")
- property string currentLanguage: "en_US"
-
- // =========================================
- // CÍMEK ÉS FEJLÉCEK
- // =========================================
-
- // Sidebar név (bal oldali menüben)
- property string sidebarName: "Hálózat"
-
- // Modul fő címe
- property string title: "Wi-Fi Network"
-
- // Alcím / leírás
- property string subtitle: "Select a network from the list, or enter a hidden network name manually."
-
- // Lista fejléc
+ property string eyebrow: "WI-FI"
+ property string title: "CONNECT TO A NETWORK"
+ property string subtitle: "The installer downloads the latest packages from the internet. With a cable connection this step is skipped automatically."
property string availableNetworks: "Available networks"
-
- // =========================================
- // GOMBOK
- // =========================================
-
- // Frissítés gomb
property string refresh: "Refresh"
-
- // Csatlakozás gomb
+ property string noNetworks: "No networks found. Click Refresh to search again."
+ property string selected: "Selected"
+ property string noSelection: "Select a network from the list"
+ property string password: "Password"
property string connect: "Connect"
-
- // =========================================
- // INPUT MEZŐK
- // =========================================
-
- // SSID mező placeholder
- property string ssidPlaceholder: "Network name (SSID)"
-
- // Jelszó mező placeholder
- property string passwordPlaceholder: "Password"
-
- // Jelszó megjelenítő/elrejtő gomb
- property string showPassword: "Show"
- property string hidePassword: "Hide"
-
- // =========================================
- // ÁLLAPOT ÜZENETEK
- // =========================================
-
- // Sikeres csatlakozás
- property string connected: "Successfully connected!"
-
- // Csatlakozás folyamatban
- property string connecting: "Connecting..."
-
- // Nincs hálózat
- property string noNetworks: "No networks found.\nClick Refresh to scan."
-
- // =========================================
- // TOGGLE ÉS OPCIÓK
- // =========================================
-
- // Rejtett hálózat toggle
property string hiddenNetwork: "Hidden network"
+ property string ssidLabel: "Network name (SSID)"
+ property string statusLabel: "Status"
+ property string statusDisconnected: "not connected"
+ property string statusConnecting: "connecting..."
+ property string statusConnected: "connected"
+ property string statusFailed: "connection failed"
+ property string secured: "Password protected"
+ property string showPassword: "Show password"
- // =========================================
- // INFORMÁCIÓS SZÖVEGEK
- // =========================================
-
- // Sikeres csatlakozás után
- property string clickNextToContinue: "Click Next to continue."
-
- // Ha van vezetékes kapcsolat
- property string canSkipWithEthernet: "If you have a wired connection, you can skip this step."
-
- // =========================================
- // NYELV BEÁLLÍTÁS FÜGGVÉNY
- // =========================================
-
- /**
- * Nyelv beállítása a locale kód alapján
- * @param locale - Nyelv kód (pl. "hu_HU", "en_US")
- */
function setLanguage(locale) {
- currentLanguage = locale
-
- // ==================
- // MAGYAR
- // ==================
if (locale.startsWith("hu")) {
- sidebarName = "Hálózat"
- title = "Wi-Fi hálózat"
- subtitle = "Válassz egy hálózatot a listából, vagy add meg kézzel a rejtett hálózat nevét."
+ eyebrow = "WI-FI"
+ title = "CSATLAKOZÁS A HÁLÓZATHOZ"
+ subtitle = "A telepítő az internetről tölti le a legfrissebb csomagokat. Kábellel csatlakozva ez a lépés magától kimarad."
availableNetworks = "Elérhető hálózatok"
refresh = "Frissítés"
+ noNetworks = "Nem található hálózat. Kattints a Frissítésre az újbóli kereséshez."
+ selected = "Kiválasztva"
+ noSelection = "Válassz egy hálózatot a listából"
+ password = "Jelszó"
connect = "Csatlakozás"
- ssidPlaceholder = "Hálózat neve (SSID)"
- passwordPlaceholder = "Jelszó"
- showPassword = "Mutat"
- hidePassword = "Elrejt"
- connected = "Sikeresen csatlakozva!"
- connecting = "Csatlakozás..."
- noNetworks = "Nem található hálózat.\nKattints a Frissítés gombra."
hiddenNetwork = "Rejtett hálózat"
- clickNextToContinue = "Kattints a Tovább gombra a folytatáshoz."
- canSkipWithEthernet = "Ha van vezetékes kapcsolatod, kihagyhatod ezt a lépést."
- }
- // ==================
- // NÉMET
- // ==================
- else if (locale.startsWith("de")) {
- sidebarName = "Netzwerk"
- title = "WLAN-Netzwerk"
- subtitle = "Wählen Sie ein Netzwerk aus der Liste oder geben Sie den Namen eines versteckten Netzwerks manuell ein."
+ ssidLabel = "Hálózat neve (SSID)"
+ statusLabel = "Állapot"
+ statusDisconnected = "nincs kapcsolat"
+ statusConnecting = "csatlakozás..."
+ statusConnected = "csatlakozva"
+ statusFailed = "a csatlakozás nem sikerült"
+ secured = "Jelszóval védett"
+ showPassword = "Jelszó megjelenítése"
+ } else if (locale.startsWith("de")) {
+ eyebrow = "WLAN"
+ title = "MIT EINEM NETZWERK VERBINDEN"
+ subtitle = "Der Installer lädt die neuesten Pakete aus dem Internet. Mit Kabelverbindung wird dieser Schritt automatisch übersprungen."
availableNetworks = "Verfügbare Netzwerke"
refresh = "Aktualisieren"
+ noNetworks = "Keine Netzwerke gefunden. Klicke auf Aktualisieren, um erneut zu suchen."
+ selected = "Ausgewählt"
+ noSelection = "Wähle ein Netzwerk aus der Liste"
+ password = "Passwort"
connect = "Verbinden"
- ssidPlaceholder = "Netzwerkname (SSID)"
- passwordPlaceholder = "Passwort"
- showPassword = "Anzeigen"
- hidePassword = "Ausblenden"
- connected = "Erfolgreich verbunden!"
- connecting = "Verbinden..."
- noNetworks = "Keine Netzwerke gefunden.\nZum Scannen auf Aktualisieren klicken."
hiddenNetwork = "Verstecktes Netzwerk"
- clickNextToContinue = "Klicken Sie auf Weiter, um fortzufahren."
- canSkipWithEthernet = "Wenn Sie eine Kabelverbindung haben, können Sie diesen Schritt überspringen."
- }
- // ==================
- // ANGOL (alapértelmezett)
- // ==================
- else {
- sidebarName = "Network"
- title = "Wi-Fi Network"
- subtitle = "Select a network from the list, or enter a hidden network name manually."
+ ssidLabel = "Netzwerkname (SSID)"
+ statusLabel = "Status"
+ statusDisconnected = "nicht verbunden"
+ statusConnecting = "verbinde..."
+ statusConnected = "verbunden"
+ statusFailed = "Verbindung fehlgeschlagen"
+ secured = "Passwortgeschützt"
+ showPassword = "Passwort anzeigen"
+ } else {
+ eyebrow = "WI-FI"
+ title = "CONNECT TO A NETWORK"
+ subtitle = "The installer downloads the latest packages from the internet. With a cable connection this step is skipped automatically."
availableNetworks = "Available networks"
refresh = "Refresh"
+ noNetworks = "No networks found. Click Refresh to search again."
+ selected = "Selected"
+ noSelection = "Select a network from the list"
+ password = "Password"
connect = "Connect"
- ssidPlaceholder = "Network name (SSID)"
- passwordPlaceholder = "Password"
- showPassword = "Show"
- hidePassword = "Hide"
- connected = "Successfully connected!"
- connecting = "Connecting..."
- noNetworks = "No networks found.\nClick Refresh to scan."
hiddenNetwork = "Hidden network"
- clickNextToContinue = "Click Next to continue."
- canSkipWithEthernet = "If you have a wired connection, you can skip this step."
+ ssidLabel = "Network name (SSID)"
+ statusLabel = "Status"
+ statusDisconnected = "not connected"
+ statusConnecting = "connecting..."
+ statusConnected = "connected"
+ statusFailed = "connection failed"
+ secured = "Password protected"
+ showPassword = "Show password"
}
-
- // ==================
- // TOVÁBBI NYELVEK IDE
- // ==================
- // Példa német nyelv hozzáadása:
- //
- // else if (locale.startsWith("de")) {
- // title = "WLAN-Netzwerk"
- // subtitle = "Wählen Sie ein Netzwerk aus der Liste..."
- // // ... stb.
- // }
}
}