From 2e3cc59f24e0b1f0c513e5fb4ddb47b2ebd31bb9 Mon Sep 17 00:00:00 2001 From: Sorunome Date: Fri, 26 Jun 2020 10:56:37 +0200 Subject: [PATCH] Add new locales to array --- lib/l10n/l10n.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/l10n/l10n.dart b/lib/l10n/l10n.dart index 7b7a17c76..ac26f0494 100644 --- a/lib/l10n/l10n.dart +++ b/lib/l10n/l10n.dart @@ -8,7 +8,8 @@ class AppLocalizationsDelegate extends LocalizationsDelegate { @override bool isSupported(Locale locale) { - return ['en', 'de', 'hu', 'pl', 'fr'].contains(locale.languageCode); + return ['en', 'de', 'hu', 'pl', 'fr', 'cs', 'es', 'sk'] + .contains(locale.languageCode); } @override