Skip to content

Commit

Permalink
solve locale error when create apk
Browse files Browse the repository at this point in the history
  • Loading branch information
7Eltantawy committed Dec 23, 2023
1 parent 3c97a8b commit 662accd
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
16 changes: 8 additions & 8 deletions qadaa/lib/generated/intl/messages_all.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,32 +17,32 @@ import 'package:intl/message_lookup_by_library.dart';
import 'package:intl/src/intl_helpers.dart';

import 'messages_ar.dart' as messages_ar;
import 'messages_bn_IN.dart' as messages_bn_in;
import 'messages_bn.dart' as messages_bn;
import 'messages_en.dart' as messages_en;
import 'messages_fr.dart' as messages_fr;
import 'messages_ur_IN.dart' as messages_ur_in;
import 'messages_ur.dart' as messages_ur;

typedef Future<dynamic> LibraryLoader();
Map<String, LibraryLoader> _deferredLibraries = {
'ar': () => new SynchronousFuture(null),
'bn_IN': () => new SynchronousFuture(null),
'bn': () => new SynchronousFuture(null),
'en': () => new SynchronousFuture(null),
'fr': () => new SynchronousFuture(null),
'ur_IN': () => new SynchronousFuture(null),
'ur': () => new SynchronousFuture(null),
};

MessageLookupByLibrary? _findExact(String localeName) {
switch (localeName) {
case 'ar':
return messages_ar.messages;
case 'bn_IN':
return messages_bn_in.messages;
case 'bn':
return messages_bn.messages;
case 'en':
return messages_en.messages;
case 'fr':
return messages_fr.messages;
case 'ur_IN':
return messages_ur_in.messages;
case 'ur':
return messages_ur.messages;
default:
return null;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// DO NOT EDIT. This is code generated via package:intl/generate_localized.dart
// This is a library that provides messages for a bn_IN locale. All the
// This is a library that provides messages for a bn locale. All the
// messages from the main program should be duplicated here with the same
// function name.

Expand All @@ -18,7 +18,7 @@ final messages = new MessageLookup();
typedef String MessageIfAbsent(String messageStr, List<dynamic> args);

class MessageLookup extends MessageLookupByLibrary {
String get localeName => 'bn_IN';
String get localeName => 'bn';

final messages = _notInlinedMessages(_notInlinedMessages);
static Map<String, Function> _notInlinedMessages(_) => <String, Function>{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// DO NOT EDIT. This is code generated via package:intl/generate_localized.dart
// This is a library that provides messages for a ur_IN locale. All the
// This is a library that provides messages for a ur locale. All the
// messages from the main program should be duplicated here with the same
// function name.

Expand All @@ -18,7 +18,7 @@ final messages = new MessageLookup();
typedef String MessageIfAbsent(String messageStr, List<dynamic> args);

class MessageLookup extends MessageLookupByLibrary {
String get localeName => 'ur_IN';
String get localeName => 'ur';

final messages = _notInlinedMessages(_notInlinedMessages);
static Map<String, Function> _notInlinedMessages(_) => <String, Function>{
Expand Down
4 changes: 2 additions & 2 deletions qadaa/lib/generated/l10n.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
File renamed without changes.

0 comments on commit 662accd

Please sign in to comment.