mirror of
https://github.com/Nioux/AideDeJeu.git
synced 2025-12-16 15:19:56 +00:00
Localization
This commit is contained in:
parent
6f3a87ac5e
commit
622b6a3196
9 changed files with 218 additions and 60 deletions
|
|
@ -11,7 +11,8 @@ class MyApp extends StatelessWidget {
|
|||
Widget build(BuildContext context) {
|
||||
return MaterialApp(
|
||||
//title: 'Haches & Dés',
|
||||
onGenerateTitle: (BuildContext context) => AppLocalizations.of(context).title,
|
||||
onGenerateTitle: (BuildContext context) =>
|
||||
AppLocalizations.of(context).app_title,
|
||||
localizationsDelegates: [
|
||||
const AppLocalizationsDelegate(),
|
||||
GlobalMaterialLocalizations.delegate,
|
||||
|
|
@ -26,4 +27,3 @@ class MyApp extends StatelessWidget {
|
|||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue