v2.4.4: Rename Profiles to Configurations, add Identity Switcher

- Rename "Profiles" to "Configurations" in all UI text and 11 locale files
- Add identity switcher dropdown in header (green accent, fa-id-badge icon)
- Quick-switch player identity without opening Settings
- "Manage" action opens UUID Management modal
- Header tooltips explaining what each dropdown does
- Config dropdown icon changed from fa-user-circle to fa-sliders-h
- Global Escape key handler for closing modals and dropdowns
- Fix identity selector not clickable (missing -webkit-app-region: no-drag)
- Sync header identity name after all identity-changing operations
- XSS protection in identity list rendering

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
sanasol
2026-02-26 20:01:40 +01:00
parent 66493d35ca
commit b83b728d21
17 changed files with 842 additions and 181 deletions

View File

@@ -8,7 +8,10 @@
},
"header": {
"playersLabel": "Pemain:",
"manageProfiles": "Kelola Profil",
"manageProfiles": "Kelola",
"manageIdentities": "Kelola",
"identityTooltip": "Nama pemain & UUID yang digunakan dalam game",
"configTooltip": "Konfigurasi game: mod, Java & pengaturan memori",
"defaultProfile": "Default"
},
"install": {
@@ -151,9 +154,12 @@
},
"uuid": {
"modalTitle": "Manajemen UUID",
"currentUserUUID": "UUID Pengguna Saat Ini",
"allPlayerUUIDs": "Semua UUID Pemain",
"generateNew": "Hasilkan UUID Baru",
"addIdentity": "Tambah Identitas",
"usernamePlaceholder": "Nama Pengguna",
"add": "Tambah",
"cancel": "Batal",
"advanced": "Lanjutan",
"loadingUUIDs": "Memuat UUID...",
"setCustomUUID": "Setel UUID Kustom",
"customPlaceholder": "Masukkan UUID kustom (format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)",
@@ -162,10 +168,10 @@
"copyTooltip": "Salin UUID",
"regenerateTooltip": "Hasilkan UUID Baru"
},
"profiles": {
"modalTitle": "Kelola Profil",
"newProfilePlaceholder": "Nama Profil Baru",
"createProfile": "Buat Profil"
"configurations": {
"modalTitle": "Kelola Konfigurasi",
"newProfilePlaceholder": "Nama Konfigurasi Baru",
"createProfile": "Buat Konfigurasi"
},
"discord": {
"notificationText": "Gabung komunitas Discord kami!",
@@ -219,6 +225,8 @@
"hwAccelSaved": "Pengaturan akselerasi perangkat keras disimpan",
"hwAccelSaveFailed": "Gagal menyimpan pengaturan akselerasi perangkat keras",
"noUsername": "Nama pengguna belum dikonfigurasi. Silakan simpan nama pengguna terlebih dahulu.",
"identityAdded": "Identitas berhasil ditambahkan!",
"identityAddFailed": "Gagal menambahkan identitas",
"switchUsernameSuccess": "Berhasil beralih ke \"{username}\"!",
"switchUsernameFailed": "Gagal beralih nama pengguna",
"playerNameTooLong": "Nama pemain harus 16 karakter atau kurang"
@@ -247,8 +255,8 @@
"installing": "Menginstal...",
"extracting": "Mengekstrak...",
"verifying": "Memverifikasi...",
"switchingProfile": "Beralih profil...",
"profileSwitched": "Profil dialihkan!",
"switchingProfile": "Beralih konfigurasi...",
"profileSwitched": "Konfigurasi dialihkan!",
"startingGame": "Memulai game...",
"launching": "MELUNCURKAN...",
"uninstallingGame": "Menghapus instalasi game...",