feat(gui): charger le dictionnaires.yml externe éditable en frozen (P1-4)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-29 18:55:57 +02:00
parent c1c3565a0b
commit 880a75873d
3 changed files with 147 additions and 0 deletions

View File

@@ -18,6 +18,7 @@ import customtkinter as ctk
from gui_v6 import theme as theme_mod
from gui_v6 import ui_kit
from gui_v6.config_paths import resolve_user_config_path
from gui_v6.config_state import ConfigState
from gui_v6.license_client import LicenseClient, LicenseStatus
from gui_v6.machine_id import default_machine_id
@@ -70,6 +71,7 @@ class AnonymisationApp(ctk.CTk):
self._theme_name = theme_name
self._license_client = license_client or LicenseClient(resolve_portal_url())
self._config = ConfigState()
self._user_config_path = resolve_user_config_path()
self._active = "use"
self._tab_buttons: dict = {}
self._tab_frames: dict = {}
@@ -187,6 +189,7 @@ class AnonymisationApp(ctk.CTk):
self._content,
palette=p,
config_provider=lambda: self._config,
config_path=self._user_config_path,
on_theme_change=self.set_theme,
current_theme=self._theme_name,
usage_reporter=self._report_usage,