diff --git a/lib/l10n/collect_translations.py b/lib/l10n/collect_translations.py index e6ce6f17..fa1cb884 100644 --- a/lib/l10n/collect_translations.py +++ b/lib/l10n/collect_translations.py @@ -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("") diff --git a/lib/main.dart b/lib/main.dart index f8062e39..9d97ccc4 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -71,9 +71,9 @@ class InvenTreeApp extends StatelessWidget { localizationsDelegates: [ I18N.delegate, GlobalMaterialLocalizations.delegate, + GlobalCupertinoLocalizations.delegate, GlobalWidgetsLocalizations.delegate, ], - locale: const Locale("hu"), supportedLocales: supported_locales, ); }