@@ -32,7 +32,7 @@ const kStreamChatSupportedLanguages = {
|
||||
'it',
|
||||
'es',
|
||||
'ja',
|
||||
'ko'
|
||||
'ko',
|
||||
};
|
||||
|
||||
/// Creates a [GlobalStreamChatLocalizations] instance for the given `locale`.
|
||||
|
||||
@@ -350,8 +350,10 @@ class StreamChatLocalizationsEn extends GlobalStreamChatLocalizations {
|
||||
String get youText => 'You';
|
||||
|
||||
@override
|
||||
String galleryPaginationText(
|
||||
{required int currentPage, required int totalPages}) =>
|
||||
String galleryPaginationText({
|
||||
required int currentPage,
|
||||
required int totalPages,
|
||||
}) =>
|
||||
'${currentPage + 1} of $totalPages';
|
||||
|
||||
@override
|
||||
|
||||
@@ -355,8 +355,10 @@ class StreamChatLocalizationsEs extends GlobalStreamChatLocalizations {
|
||||
String get youText => 'Usted';
|
||||
|
||||
@override
|
||||
String galleryPaginationText(
|
||||
{required int currentPage, required int totalPages}) =>
|
||||
String galleryPaginationText({
|
||||
required int currentPage,
|
||||
required int totalPages,
|
||||
}) =>
|
||||
'${currentPage + 1} de $totalPages';
|
||||
|
||||
@override
|
||||
|
||||
@@ -354,8 +354,10 @@ class StreamChatLocalizationsFr extends GlobalStreamChatLocalizations {
|
||||
String get youText => 'Vous';
|
||||
|
||||
@override
|
||||
String galleryPaginationText(
|
||||
{required int currentPage, required int totalPages}) =>
|
||||
String galleryPaginationText({
|
||||
required int currentPage,
|
||||
required int totalPages,
|
||||
}) =>
|
||||
'${currentPage + 1} de $totalPages';
|
||||
|
||||
@override
|
||||
|
||||
@@ -349,8 +349,10 @@ class StreamChatLocalizationsHi extends GlobalStreamChatLocalizations {
|
||||
String get youText => 'आप';
|
||||
|
||||
@override
|
||||
String galleryPaginationText(
|
||||
{required int currentPage, required int totalPages}) =>
|
||||
String galleryPaginationText({
|
||||
required int currentPage,
|
||||
required int totalPages,
|
||||
}) =>
|
||||
'${currentPage + 1} ऑफ़ $totalPages';
|
||||
|
||||
@override
|
||||
|
||||
@@ -351,8 +351,10 @@ Il file è troppo grande per essere caricato. Il limite è di $limitInMB MB.''';
|
||||
String get youText => 'te';
|
||||
|
||||
@override
|
||||
String galleryPaginationText(
|
||||
{required int currentPage, required int totalPages}) =>
|
||||
String galleryPaginationText({
|
||||
required int currentPage,
|
||||
required int totalPages,
|
||||
}) =>
|
||||
'${currentPage + 1} di $totalPages';
|
||||
|
||||
@override
|
||||
|
||||
@@ -334,9 +334,12 @@ class StreamChatLocalizationsKo extends GlobalStreamChatLocalizations {
|
||||
String get youText => '당신';
|
||||
|
||||
@override
|
||||
String galleryPaginationText(
|
||||
{required int currentPage, required int totalPages}) =>
|
||||
String galleryPaginationText({
|
||||
required int currentPage,
|
||||
required int totalPages,
|
||||
}) =>
|
||||
'${currentPage + 1} / $totalPages';
|
||||
|
||||
//3 / 11
|
||||
|
||||
@override
|
||||
|
||||
@@ -17,6 +17,6 @@ dependencies:
|
||||
stream_chat_flutter: ^3.0.0
|
||||
|
||||
dev_dependencies:
|
||||
dart_code_metrics: ^4.2.0-dev.1
|
||||
dart_code_metrics: ^4.2.0-dev.5
|
||||
flutter_test:
|
||||
sdk: flutter
|
||||
|
||||
Reference in New Issue
Block a user