feat: implement real-name to username auto-derivation, add root privilege check, and improve manual partitioning UI with smart defaults.

This commit is contained in:
2026-06-01 14:36:03 +03:00
parent 64db88d12e
commit 09ffa5346d
13 changed files with 264 additions and 67 deletions
+6
View File
@@ -45,6 +45,7 @@ erase_warning = "WARNING: All data on the selected disk will be erased"
users = "Users"
users_title = "User Account"
users_description = "Create a user account for your system."
real_name_label = "Full Name"
username_label = "Username"
password_label = "Password"
password_confirm_label = "Confirm password"
@@ -154,6 +155,10 @@ pwd_very_strong = "Very strong"
use_same_for_admin = "Use the same password for the administrator (root) account"
# ── Checker ───────────────────────────────────────────────
check_root = "Permissions"
check_root_pass = "Running with root privileges."
check_root_fail = "Not running as root! The installer requires root privileges. Please run with 'sudo yali-rs' or 'pkexec yali-rs'."
check_disk_space = "Disk Space"
check_disk_fail = "Maximum disk size is %{size} GB. Minimum 10 GB is required for installation."
check_disk_warn = "%{size} GB disk available. 20 GB or more recommended."
@@ -248,6 +253,7 @@ mp_error_empty_mountpoint = "Mount point cannot be empty."
mp_plan_valid = "✓ Partition plan is valid. You can proceed."
mp_select_disk_first = "← Select a disk first."
mp_add_dialog_hint = "/ or /home or swap"
mp_select_hint = "Select…"
mp_add_btn = "✓ Add"
mp_size_hint = "Size (MB, 0=remaining):"
mp_delete_confirm_yes = "✓ Yes, Delete"