refactor: split huge jobs/mod.rs into modular files & modernize slideshow

- Split src/jobs/mod.rs into specialized domain files under src/jobs/ (autologin, bootloader, execution, finish, keyboard, location, netinstall, network, partition, users) for better modularity and cleaner architecture.
- Integrated chrono-tz and enabled serde features on chrono in Cargo.toml.
- Added missing assets (remixicon font, icons, slides images/configs).
- Integrated localized slideshow presentation directly into UI, reading configurations from TOML.
- Updated Makefile to correctly target and install slideshow files into system directories.
- Cleaned up obsolete bin utility slides_test.rs.
This commit is contained in:
Erkan IŞIK
2026-08-10 16:51:35 +03:00
parent 20dc937ab8
commit 80e3559d0d
40 changed files with 3264 additions and 2842 deletions
+5 -1
View File
@@ -57,7 +57,7 @@ users_title = "User Account"
users_description = "Create a user account for your system."
real_name_label = "Full Name"
username_label = "Username"
password_label = "Password (at least 8 characters...)"
password_label = "Password "
password_confirm_label = "Confirm password"
hostname_label = "Computer name"
username_invalid = "Invalid username. Must start with a lowercase letter or underscore, max 32 characters."
@@ -204,6 +204,7 @@ job_timezone = "Setting timezone"
job_datetime = "Configuring date & time"
job_keyboard = "Configuring keyboard layout"
job_user = "Creating user account"
job_autologin = "Applying automatic login"
job_install_packages = "Installing selected packages"
job_ldconfig = "Configuring shared libraries (ldconfig)"
job_update_env = "Updating system environment"
@@ -216,6 +217,7 @@ mp_device = "Device"
mp_size = "Size"
mp_fstype = "Filesystem"
mp_mountpoint = "Mount Point"
mp_format_status = "Format"
mp_action = "Action"
mp_add = "Add Partition"
mp_delete = "Delete"
@@ -229,6 +231,7 @@ mp_fs_btrfs = "btrfs"
mp_fs_xfs = "xfs"
mp_fs_fat32 = "FAT32 (EFI)"
mp_fs_swap = "swap"
mp_skip_format = "Skip Formatting (preserve existing data)"
mp_size_gb = "%{n} GB"
mp_size_mb = "%{n} MB"
@@ -299,6 +302,7 @@ admin_password_short = "Root password must be at least 8 characters."
datetime = "Date & Time"
datetime_title = "Date & Time Settings"
datetime_description = "Configure the system date and time."
datetime_current = "Current time:"
datetime_ntp_label = "Network Time (NTP):"
datetime_ntp_on = "Enabled — time syncs automatically"
datetime_ntp_off = "Disabled — set manually"
+12 -8
View File
@@ -57,7 +57,7 @@ users_title = "Kullanıcı Bilgileri"
users_description = "Sisteminiz için bir kullanıcı hesabı oluşturun."
real_name_label = "Gerçek Adınız."
username_label = "Kullanıcı adı"
password_label = "Parola (en az 8 karakter olmalıdır...)"
password_label = "Parola"
password_confirm_label = "Parola (tekrar)"
hostname_label = "Bilgisayar adı"
username_invalid = "Geçersiz kullanıcı adı. Küçük harf veya alt çizgi ile başlamalı, en fazla 32 karakter."
@@ -81,7 +81,7 @@ summary_hostname = "Bilgisayar adı"
summary_erase_mode = "Tüm disk silinecek"
summary_manual_mode = "Manuel bölümleme"
summary_not_selected = "Seçilmedi"
summary_warning = "⚠️ Dikkat: İleri'ye basıldığında seçilen diskteki tüm veriler kalıcı olarak silinecektir!"
summary_warning = " Dikkat: İleri'ye basıldığında seçilen diskteki tüm veriler kalıcı olarak silinecektir!"
# ── Execution ─────────────────────────────────────────────
execution = "Kurulum"
@@ -188,12 +188,13 @@ mp_device = "Aygıt"
mp_size = "Boyut"
mp_fstype = "Dosya Sistemi"
mp_mountpoint = "Bağlama Noktası"
mp_format_status = "Biçim"
mp_action = "İşlem"
mp_add = "Bölüm Ekle"
mp_delete = "Sil"
mp_apply = "Değişiklikleri Uygula"
mp_no_efi = "⚠️ EFI bölümü atanmadı. UEFI önyüklemesi için gerekli."
mp_no_root = "⚠️ Kök (/) bölümü atanmadı."
mp_no_efi = "EFI bölümü atanmadı. UEFI önyüklemesi için gerekli."
mp_no_root = "Kök (/) bölümü atanmadı."
mp_confirm_delete = "%{dev} bölümü silinsin mi? Bu işlem geri alınamaz."
mp_plan_title = "Değişiklik Özeti"
mp_fs_ext4 = "ext4"
@@ -201,6 +202,7 @@ mp_fs_btrfs = "btrfs"
mp_fs_xfs = "xfs"
mp_fs_fat32 = "FAT32 (EFI)"
mp_fs_swap = "takas (swap)"
mp_skip_format = "Biçimlendirmeyi Atla (mevcut veri korunur)"
mp_size_gb = "%{n} GB"
mp_size_mb = "%{n} MB"
@@ -237,16 +239,16 @@ job_mount_custom = "Manuel bölümler bağlanıyor"
# ── Ek Yerelleştirme / i18n ──────────────────────────────────
mp_delete_confirm_title = "Bölümü Sil"
mp_error_empty_mountpoint = "Bağlama noktası boş olamaz."
mp_plan_valid = "✓ Bölüm planı geçerli. İleri tuşuna basabilirsiniz."
mp_plan_valid = "Bölüm planı geçerli. İleri tuşuna basabilirsiniz."
mp_select_disk_first = "← Önce bir disk seçin."
mp_add_dialog_hint = "/ veya /home veya swap"
mp_select_hint = "Seç…"
mp_add_btn = "✓ Ekle"
mp_add_btn = "Ekle"
mp_size_hint = "Boyut (MB, 0=kalan):"
mp_delete_confirm_yes = "✓ Evet, Sil"
mp_delete_confirm_yes = "Evet, Sil"
mp_new_partition = "Yeni Bölüm"
mp_edit_partition = "Düzenle"
mp_save = "✓ Kaydet"
mp_save = "Kaydet"
plan_root_suffix = " (kök)"
disk_min_required = " ↳ %{err} (min. %{n} GB gerekli)"
@@ -290,6 +292,7 @@ job_update_env = "Sistem ortamı güncelleniyor"
job_cleanup_live = "Canlı ortam izleri temizleniyor"
job_datetime = "Tarih & saat yapılandırılıyor"
job_display_manager = "Görüntü yöneticisi yapılandırılıyor"
job_autologin = "Otomatik oturum açma uygulanıyor"
job_netinstall = "Ek paketler kuruluyor"
job_setup_lvm = "LVM yapılandırılıyor"
@@ -311,6 +314,7 @@ admin_password_short = "Root parolası en az 8 karakter olmalıdır."
datetime = "Tarih & Saat"
datetime_title = "Tarih & Saat Ayarları"
datetime_description = "Sistem tarihini ve saatini yapılandırın."
datetime_current = "Şu anki zaman:"
datetime_ntp_label = "Ağ Zamanı (NTP):"
datetime_ntp_on = "Etkin — saat otomatik eşitlenir"
datetime_ntp_off = "Devre dışı — elle ayarlanır"