2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-04-28 13:36:50 +00:00

Fix delegate issue

This commit is contained in:
Oliver Walters 2022-05-02 13:14:17 +10:00
parent 71c16e0556
commit 95c3bc5ae5
2 changed files with 2 additions and 2 deletions

View File

@ -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("")

View File

@ -71,9 +71,9 @@ class InvenTreeApp extends StatelessWidget {
localizationsDelegates: [
I18N.delegate,
GlobalMaterialLocalizations.delegate,
GlobalCupertinoLocalizations.delegate,
GlobalWidgetsLocalizations.delegate,
],
locale: const Locale("hu"),
supportedLocales: supported_locales,
);
}