8 Commits
Author SHA1 Message Date
BlackAngelTV 78b279aeee feat(i18n): ship Spanish, German and Italian catalogues
The runtime catalogues only covered English, so a good part of the install
base had no choice but the language the wording was written in. The three new
catalogues cost one text file each, compiled into the binary: nothing else
changes for a translator.
2026-10-03 22:38:00 +02:00
BlackAngelTV a26051795f feat(i18n): translate the interface and the journal at runtime
The language setting was plumbing with nothing behind it: no catalogue
shipped, and every label was a bare QStringLiteral, so picking English
changed nothing.

A catalogue is now a JSON file read as it is, translations/<code>.json,
keyed by the French source string. No Linguist, no lrelease, no build
step: a new language costs one file. The catalogues the application
ships with are compiled into the binary, so the chosen language works
whatever the install layout is, while one dropped into a translations
folder still wins over it.

"System" reads what the FWS install left behind — LC_ALL, LC_MESSAGES,
LANG, then the LANG= line of /etc/locale.conf — so the interface follows
the language chosen at install time without the user configuring anything.

Fixes #16
2026-09-29 21:17:27 +02:00
BlackAngelTV bbaf39144f fix(ui): reach the settings screen from the menu bar only
The settings screen was given a sidebar entry, but it is not a place to
browse from: the bar lists where the packages are, and preferences are
where you configure the application. It now opens from the Paramètres menu
and Ctrl+, and nowhere else.

Two consequences of it having no navigation button are handled rather than
left to chance: openSettingsPage() does the work a button would have done
(switch, reload, retitle, journal), and the sidebar unchecks itself on the
way in, since leaving the previous entry highlighted would point at the
wrong screen. Clicking a sidebar entry afterwards selects it as usual.
2026-09-28 21:15:16 +02:00
BlackAngelTV aff959bc4b feat(settings): add a dedicated screen for every user preference
The preferences used to be spread across a menu entry and hardcoded paths,
so the user could not see them, let alone change them: where the journal
goes, whether a dropped Flatpak file is accepted, and when the app checks
its own version were all decided in code.

They now live in AppSettings, one model the rest of the app already reads,
and the new Settings screen only writes to it. Nothing keeps a second copy
of a value, so a change is visible everywhere at once — switching directory
moves the journal, unchecking drag & drop makes the window refuse the drop,
blocking the update has the manual check say why instead of silently doing
nothing.

The update block is deliberately limited to PacManager itself: blocking a
system package update is a decision the app has no business making.

The language setting installs a Qt catalogue and asks every widget to
retranslate. The interface is still written in French with QStringLiteral,
so no catalogue ships yet; a language with none is shown in the list but
disabled rather than silently doing nothing, and Qt Linguist stays optional
so the build does not depend on it.
2026-09-28 20:44:21 +02:00
BlackAngelTV ed58e87520 style(ui): match the interface to the FWS website's design system
The window carried a palette of its own, so the desktop app and the site
looked like two different products. The stylesheet now uses the website's
tokens (slate surfaces on a #0f172a page, sky-blue accent, serif headings,
pill-shaped badges); the site's rgba() borders are pre-blended because a Qt
stylesheet only takes solid colours, and plain widgets are left transparent
so the page glow shows through them.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-09-16 22:34:32 +02:00
BlackAngelTV 632cdf1dea feat(cleanup): add a maintenance page for unused and legacy packages
Leftovers pile up on a machine: dependencies that no installed package
requires any more, and installs coming from the AUR or manual builds that the
sync databases know nothing about. The new Nettoyage page lists both (orphans
first, since they are the ones that can be removed in bulk), shows which
provider reported each row, and frees the space held by the caches: paccache
(or pacman -Sc) and flatpak's unused runtimes.

Cleanup is an optional capability of IPackageManager, so providers that only
install packages keep working unchanged.

Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-09-12 22:17:08 +02:00
BlackAngelTV bc737d356e feat(ui): browse every provider from one search
Search now queries all active providers at once and each row shows its
origin in a Provider column; installed and updates pages are aggregated,
and install/remove/update are routed to the owning manager automatically.
Add a Providers page listing built-in and plugin managers with
enable/disable, plugin rescan, and an install-tool button that pulls the
missing backend through pacman (e.g. flatpak).

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-08-29 13:34:41 +02:00
BlackAngelTV ca49ad5e63 feat(ui): add embedded SVG icon set
Emoji were used as icons across the interface. Add a self-contained
set of monochrome SVG icons under resources/icons plus a Qt resource
file so the GUI can reference them through :/icons instead of font
glyphs, and register the resource in the build.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-08-27 21:45:48 +02:00