summaryrefslogtreecommitdiff
path: root/raveos-calamares-module/raveusers/ui/Translations.qml
diff options
context:
space:
mode:
authorNippy <nippy@Nippy-Mac-mini.local>2026-09-19 18:04:27 +0200
committerNippy <nippy@Nippy-Mac-mini.local>2026-09-19 18:04:27 +0200
commit3eb87a14e133b266ab8d8c634dda3af312474f1f (patch)
tree098ea50e2f159b654f3729c69facc6805556813e /raveos-calamares-module/raveusers/ui/Translations.qml
parentf176110ce0e65756967db40ba2a3fc7d1daa2825 (diff)
downloadRaveOS-PKGBUILD-3eb87a14e133b266ab8d8c634dda3af312474f1f.tar.gz
RaveOS-PKGBUILD-3eb87a14e133b266ab8d8c634dda3af312474f1f.zip
new user settings
Diffstat (limited to 'raveos-calamares-module/raveusers/ui/Translations.qml')
-rw-r--r--raveos-calamares-module/raveusers/ui/Translations.qml58
1 files changed, 58 insertions, 0 deletions
diff --git a/raveos-calamares-module/raveusers/ui/Translations.qml b/raveos-calamares-module/raveusers/ui/Translations.qml
new file mode 100644
index 0000000..cb267b4
--- /dev/null
+++ b/raveos-calamares-module/raveusers/ui/Translations.qml
@@ -0,0 +1,58 @@
+pragma Singleton
+import QtQuick 2.15
+
+QtObject {
+ id: root
+
+ property string title: "Create user"
+ property string description: "Set up the computer's primary user account. This account has full administrator (root / sudo) privileges."
+ property string usernameLabel: "Username"
+ property string hostnameLabel: "Computer name"
+ property string passwordLabel: "Password"
+ property string passwordPlaceholder: "Password"
+ property string passwordConfirmLabel: "Confirm password"
+ property string reuseRootLabel: "Use the same password for the administrator (root)"
+ property string rootPasswordLabel: "Root password"
+ property string rootPasswordPlaceholder: "Root password"
+ property string rootPasswordConfirmLabel: "Confirm root password"
+
+ function setLanguage(locale) {
+ if (locale.startsWith("hu")) {
+ title = "Felhasználó létrehozása"
+ description = "Állítsd be a számítógép elsődleges felhasználói fiókját. Ez a fiók teljes rendszergazdai (root / sudo) jogosultsággal rendelkezik."
+ usernameLabel = "Felhasználónév"
+ hostnameLabel = "Számítógépnév"
+ passwordLabel = "Jelszó"
+ passwordPlaceholder = "Jelszó"
+ passwordConfirmLabel = "Jelszó megerősítése"
+ reuseRootLabel = "Ugyanaz a jelszó az adminisztrátorhoz (root)"
+ rootPasswordLabel = "Root jelszó"
+ rootPasswordPlaceholder = "Root jelszó"
+ rootPasswordConfirmLabel = "Root jelszó megerősítése"
+ } else if (locale.startsWith("de")) {
+ title = "Benutzer erstellen"
+ description = "Richte das primäre Benutzerkonto des Computers ein. Dieses Konto hat volle Administratorrechte (root / sudo)."
+ usernameLabel = "Benutzername"
+ hostnameLabel = "Computername"
+ passwordLabel = "Passwort"
+ passwordPlaceholder = "Passwort"
+ passwordConfirmLabel = "Passwort bestätigen"
+ reuseRootLabel = "Dasselbe Passwort für den Administrator (root)"
+ rootPasswordLabel = "Root-Passwort"
+ rootPasswordPlaceholder = "Root-Passwort"
+ rootPasswordConfirmLabel = "Root-Passwort bestätigen"
+ } else {
+ title = "Create user"
+ description = "Set up the computer's primary user account. This account has full administrator (root / sudo) privileges."
+ usernameLabel = "Username"
+ hostnameLabel = "Computer name"
+ passwordLabel = "Password"
+ passwordPlaceholder = "Password"
+ passwordConfirmLabel = "Confirm password"
+ reuseRootLabel = "Use the same password for the administrator (root)"
+ rootPasswordLabel = "Root password"
+ rootPasswordPlaceholder = "Root password"
+ rootPasswordConfirmLabel = "Confirm root password"
+ }
+ }
+}