fix(i18n): re-export I18nReplacer with the ClideSettings facade (T-462)

ClideSettings.i18n.interpolated takes I18nReplacer, but the type didn't travel
with the facade — every templated-lookup call site had to separately import it
from the kernel. Re-export it from clide_settings so it ships via the widgets
barrel alongside ClideSettings; the interpolated API is now self-contained.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-18 21:14:20 +02:00
co-authored by Claude Opus 4.8
parent e1d57e7964
commit 93aa9bc332
3 changed files with 35 additions and 0 deletions
+4
View File
@@ -1,5 +1,9 @@
import 'package:clide/kernel/src/facade.dart' show ClideKernel;
import 'package:clide/kernel/src/i18n/i18n.dart' show I18n, I18nReplacer;
// Re-export so ClideSettings.i18n.interpolated callers get I18nReplacer with
// the facade (via the widgets barrel) — the templated-lookup API is then
// self-contained (T-462).
export 'package:clide/kernel/src/i18n/i18n.dart' show I18nReplacer;
import 'package:clide/kernel/src/theme/controller.dart' show ClideTheme, ClideThemeData;
import 'package:clide/widgets/src/typography.dart';
import 'package:flutter/widgets.dart';