mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
chore: update language for bn_BN
This commit is contained in:
parent
3bbf91ab2b
commit
76cdb689fb
@ -15,6 +15,7 @@ import 'package:intl/intl.dart';
|
||||
import 'package:intl/message_lookup_by_library.dart';
|
||||
import 'package:intl/src/intl_helpers.dart';
|
||||
|
||||
import 'messages_bn_BN.dart' as messages_bn_bn;
|
||||
import 'messages_ca.dart' as messages_ca;
|
||||
import 'messages_cs-CZ.dart' as messages_cs_cz;
|
||||
import 'messages_de-DE.dart' as messages_de_de;
|
||||
@ -39,6 +40,7 @@ import 'messages_zh-TW.dart' as messages_zh_tw;
|
||||
|
||||
typedef Future<dynamic> LibraryLoader();
|
||||
Map<String, LibraryLoader> _deferredLibraries = {
|
||||
'bn_BN': () => new Future.value(null),
|
||||
'ca': () => new Future.value(null),
|
||||
'cs_CZ': () => new Future.value(null),
|
||||
'de_DE': () => new Future.value(null),
|
||||
@ -64,6 +66,8 @@ Map<String, LibraryLoader> _deferredLibraries = {
|
||||
|
||||
MessageLookupByLibrary? _findExact(String localeName) {
|
||||
switch (localeName) {
|
||||
case 'bn_BN':
|
||||
return messages_bn_bn.messages;
|
||||
case 'ca':
|
||||
return messages_ca.messages;
|
||||
case 'cs_CZ':
|
||||
|
@ -0,0 +1,43 @@
|
||||
// DO NOT EDIT. This is code generated via package:intl/generate_localized.dart
|
||||
// This is a library that provides messages for a bn_BN 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<dynamic> args);
|
||||
|
||||
class MessageLookup extends MessageLookupByLibrary {
|
||||
String get localeName => 'bn_BN';
|
||||
|
||||
final messages = _notInlinedMessages(_notInlinedMessages);
|
||||
static Map<String, Function> _notInlinedMessages(_) => <String, Function>{
|
||||
"bold": MessageLookupByLibrary.simpleMessage("বল্ড ফন্ট"),
|
||||
"bulletedList": MessageLookupByLibrary.simpleMessage("বুলেট তালিকা"),
|
||||
"checkbox": MessageLookupByLibrary.simpleMessage("চেকবক্স"),
|
||||
"embedCode": MessageLookupByLibrary.simpleMessage("এম্বেড কোড"),
|
||||
"heading1": MessageLookupByLibrary.simpleMessage("শিরোনাম 1"),
|
||||
"heading2": MessageLookupByLibrary.simpleMessage("শিরোনাম 2"),
|
||||
"heading3": MessageLookupByLibrary.simpleMessage("শিরোনাম 3"),
|
||||
"highlight": MessageLookupByLibrary.simpleMessage("হাইলাইট"),
|
||||
"image": MessageLookupByLibrary.simpleMessage("ইমেজ"),
|
||||
"italic": MessageLookupByLibrary.simpleMessage("ইটালিক ফন্ট"),
|
||||
"link": MessageLookupByLibrary.simpleMessage("লিঙ্ক"),
|
||||
"numberedList":
|
||||
MessageLookupByLibrary.simpleMessage("সংখ্যাযুক্ত তালিকা"),
|
||||
"quote": MessageLookupByLibrary.simpleMessage("উদ্ধৃতি"),
|
||||
"strikethrough": MessageLookupByLibrary.simpleMessage("স্ট্রাইকথ্রু"),
|
||||
"text": MessageLookupByLibrary.simpleMessage("পাঠ্য"),
|
||||
"underline": MessageLookupByLibrary.simpleMessage("আন্ডারলাইন")
|
||||
};
|
||||
}
|
@ -219,6 +219,7 @@ class AppLocalizationDelegate
|
||||
List<Locale> get supportedLocales {
|
||||
return const <Locale>[
|
||||
Locale.fromSubtags(languageCode: 'en'),
|
||||
Locale.fromSubtags(languageCode: 'bn', countryCode: 'BN'),
|
||||
Locale.fromSubtags(languageCode: 'ca'),
|
||||
Locale.fromSubtags(languageCode: 'cs', countryCode: 'CZ'),
|
||||
Locale.fromSubtags(languageCode: 'de', countryCode: 'DE'),
|
||||
|
Loading…
Reference in New Issue
Block a user