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": "Graczy:",
"manageProfiles": "Zarządzaj Profilami",
"manageProfiles": "Zarządzaj",
"manageIdentities": "Zarządzaj",
"identityTooltip": "Twoja nazwa gracza i UUID używane w grze",
"configTooltip": "Konfiguracja gry: mody, Java i ustawienia pamięci",
"defaultProfile": "Domyślny"
},
"install": {
@@ -151,9 +154,12 @@
},
"uuid": {
"modalTitle": "Zarządzanie UUID",
"currentUserUUID": "Aktualny UUID użytkownika",
"allPlayerUUIDs": "Wszystkie identyfikatory UUID graczy",
"generateNew": "Wygeneruj nowy UUID",
"addIdentity": "Dodaj tożsamość",
"usernamePlaceholder": "Nazwa użytkownika",
"add": "Dodaj",
"cancel": "Anuluj",
"advanced": "Zaawansowane",
"loadingUUIDs": "Ładowanie UUID...",
"setCustomUUID": "Ustaw niestandardowy UUID",
"customPlaceholder": "Wprowadź niestandardowy UUID (format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)",
@@ -162,10 +168,10 @@
"copyTooltip": "Kopiuj UUID",
"regenerateTooltip": "Wygeneruj nowy UUID"
},
"profiles": {
"modalTitle": "Zarządzaj Profilami",
"newProfilePlaceholder": "Nowa Nazwa Profilu",
"createProfile": "Utwórz Profil"
"configurations": {
"modalTitle": "Zarządzaj Konfiguracjami",
"newProfilePlaceholder": "Nazwa Nowej Konfiguracji",
"createProfile": "Utwórz Konfigurację"
},
"discord": {
"notificationText": "Dołącz do naszej społeczności Discord!",
@@ -219,6 +225,8 @@
"hwAccelSaved": "Zapisano ustawienie przyspieszenia sprzętowego",
"hwAccelSaveFailed": "Nie udało się zapisać ustawienia przyspieszenia sprzętowego",
"noUsername": "Nie skonfigurowano nazwy użytkownika. Najpierw zapisz swoją nazwę użytkownika.",
"identityAdded": "Tożsamość dodana pomyślnie!",
"identityAddFailed": "Nie udało się dodać tożsamości",
"switchUsernameSuccess": "Pomyślnie przełączono na \"{username}\"!",
"switchUsernameFailed": "Nie udało się przełączyć nazwy użytkownika",
"playerNameTooLong": "Nazwa gracza musi mieć 16 znaków lub mniej"
@@ -247,8 +255,8 @@
"installing": "Instalowanie...",
"extracting": "Ekstraktowanie...",
"verifying": "Weryfikowanie...",
"switchingProfile": "Przełączanie profilu...",
"profileSwitched": "Profil zmieniony!",
"switchingProfile": "Przełączanie konfiguracji...",
"profileSwitched": "Konfiguracja zmieniona!",
"startingGame": "Uruchamianie gry...",
"launching": "URUCHAMIANIE...",
"uninstallingGame": "Odinstalowywanie gry...",