Merge branch 'claude/mystifying-meitner-3b8553': fix Asturian boot-splash locale

This commit is contained in:
vjrj 2026-07-10 20:23:38 +02:00
commit a96049dd36
2 changed files with 3 additions and 2 deletions

View file

@ -112,7 +112,9 @@ class BootstrapSplash extends StatelessWidget {
return MaterialApp(
debugShowCheckedModeBanner: false,
theme: buildTaneTheme(),
locale: TranslationProvider.of(context).flutterLocale,
// Asturian (`ast`) has no bundled Material/Cupertino localizations, so map
// it to Spanish for the framework chrome same as the main app (app.dart).
locale: materialLocaleFor(TranslationProvider.of(context).flutterLocale),
supportedLocales: AppLocaleUtils.supportedLocales,
localizationsDelegates: const [
GlobalMaterialLocalizations.delegate,