feat: live language switching and desktop entries for installed apps - #46
Merged
Merged
Conversation
- Switching the language no longer demands a restart: the locale moves from a OnceLock to a RwLock with set_language(), and since every view calls t() per render the whole UI re-labels on the next frame. The now-dead restart-notice key is removed, and the Security sidebar section gets its localized display name (it landed without one). - Installed store apps now get a .desktop launcher entry (Linux), so rofi/wofi/GNOME/KDE index them like any other application - with the cached app icon when present. Entries are tagged X-Colony-Managed, which Colony's own scan skips (the app is already represented by its store card - a local duplicate would show it twice), and uninstall removes the entry. Best-effort: a desktop-entry failure never fails an otherwise complete install.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Contexte (audit 2026-07-20, P2 - lots restants 1/2)
OnceLock). Locale enRwLock+set_language(): chaque vue appelantt()par render, toute l'UI se re-labelle à la frame suivante. Clé de notice restart supprimée (morte), et la section Security reçoit son nom localisé (elle était arrivée sans).X-Colony-Managedque le scan de Colony ignore (l'app a déjà sa carte store - sinon doublon), retirées à l'uninstall, best-effort (un échec d'entrée ne fait jamais échouer l'install).Validation
104 tests verts, clippy 0, fmt OK.