mirror of
https://github.com/inventree/inventree-app.git
synced 2025-04-28 05:26:47 +00:00
Fix delegate issue
This commit is contained in:
parent
71c16e0556
commit
95c3bc5ae5
@ -105,7 +105,7 @@ def generate_locale_list(locales):
|
||||
lc = locale
|
||||
cc = ''
|
||||
|
||||
output.write(f' const Locale("{lc}", "{cc}"), // Translations avilable in app_{locale}.arb\n')
|
||||
output.write(f' const Locale("{lc}", "{cc}"), // Translations available in app_{locale}.arb\n')
|
||||
|
||||
output.write("];\n")
|
||||
output.write("")
|
||||
|
@ -71,9 +71,9 @@ class InvenTreeApp extends StatelessWidget {
|
||||
localizationsDelegates: [
|
||||
I18N.delegate,
|
||||
GlobalMaterialLocalizations.delegate,
|
||||
GlobalCupertinoLocalizations.delegate,
|
||||
GlobalWidgetsLocalizations.delegate,
|
||||
],
|
||||
locale: const Locale("hu"),
|
||||
supportedLocales: supported_locales,
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user