From 54a0d55878222fca68b1e5a27a36fe0891dd89db Mon Sep 17 00:00:00 2001 From: RN Date: Tue, 28 Feb 2023 13:36:36 +0100 Subject: [PATCH] removing de --- lib/generated/intl/messages_all.dart | 4 --- lib/generated/intl/messages_de.dart | 37 ---------------------------- lib/generated/l10n.dart | 1 - lib/l10n/intl_de.arb | 8 ------ 4 files changed, 50 deletions(-) delete mode 100644 lib/generated/intl/messages_de.dart delete mode 100644 lib/l10n/intl_de.arb diff --git a/lib/generated/intl/messages_all.dart b/lib/generated/intl/messages_all.dart index a3d30cae..3f91bf97 100644 --- a/lib/generated/intl/messages_all.dart +++ b/lib/generated/intl/messages_all.dart @@ -16,21 +16,17 @@ import 'package:intl/intl.dart'; import 'package:intl/message_lookup_by_library.dart'; import 'package:intl/src/intl_helpers.dart'; -import 'messages_de.dart' as messages_de; import 'messages_en.dart' as messages_en; import 'messages_nl.dart' as messages_nl; typedef Future LibraryLoader(); Map _deferredLibraries = { - 'de': () => new SynchronousFuture(null), 'en': () => new SynchronousFuture(null), 'nl': () => new SynchronousFuture(null), }; MessageLookupByLibrary? _findExact(String localeName) { switch (localeName) { - case 'de': - return messages_de.messages; case 'en': return messages_en.messages; case 'nl': diff --git a/lib/generated/intl/messages_de.dart b/lib/generated/intl/messages_de.dart deleted file mode 100644 index ecb16615..00000000 --- a/lib/generated/intl/messages_de.dart +++ /dev/null @@ -1,37 +0,0 @@ -// DO NOT EDIT. This is code generated via package:intl/generate_localized.dart -// This is a library that provides messages for a de locale. All the -// messages from the main program should be duplicated here with the same -// function name. - -// Ignore issues from commonly used lints in this file. -// ignore_for_file:unnecessary_brace_in_string_interps, unnecessary_new -// ignore_for_file:prefer_single_quotes,comment_references, directives_ordering -// ignore_for_file:annotate_overrides,prefer_generic_function_type_aliases -// ignore_for_file:unused_import, file_names, avoid_escaping_inner_quotes -// ignore_for_file:unnecessary_string_interpolations, unnecessary_string_escapes - -import 'package:intl/intl.dart'; -import 'package:intl/message_lookup_by_library.dart'; - -final messages = new MessageLookup(); - -typedef String MessageIfAbsent(String messageStr, List args); - -class MessageLookup extends MessageLookupByLibrary { - String get localeName => 'de'; - - static String m0(name) => "Welcome in German ${name}"; - - final messages = _notInlinedMessages(_notInlinedMessages); - static Map _notInlinedMessages(_) => { - "demoScreen": - MessageLookupByLibrary.simpleMessage("Demo Screen in German"), - "mainTitle": - MessageLookupByLibrary.simpleMessage("Main Title in German"), - "name": MessageLookupByLibrary.simpleMessage("Name in German"), - "next": MessageLookupByLibrary.simpleMessage("Next in German"), - "pageHomeConfirm": - MessageLookupByLibrary.simpleMessage("Confirm in German"), - "pageHomeWelcome": m0 - }; -} diff --git a/lib/generated/l10n.dart b/lib/generated/l10n.dart index 239d2a2c..b7917d68 100644 --- a/lib/generated/l10n.dart +++ b/lib/generated/l10n.dart @@ -117,7 +117,6 @@ class AppLocalizationDelegate extends LocalizationsDelegate { List get supportedLocales { return const [ Locale.fromSubtags(languageCode: 'en'), - Locale.fromSubtags(languageCode: 'de'), Locale.fromSubtags(languageCode: 'nl'), ]; } diff --git a/lib/l10n/intl_de.arb b/lib/l10n/intl_de.arb deleted file mode 100644 index 79651730..00000000 --- a/lib/l10n/intl_de.arb +++ /dev/null @@ -1,8 +0,0 @@ -{ - "pageHomeConfirm": "Confirm in German", - "pageHomeWelcome": "Welcome in German {name}", - "name":"Name in German", - "next":"Next in German", - "mainTitle":"Main Title in German", - "demoScreen":"Demo Screen in German" -} \ No newline at end of file