breaking change: ofText->galleryPaginationText
This commit is contained in:
@@ -296,8 +296,9 @@ abstract class Translations {
|
||||
/// The text shown for "You"
|
||||
String get youText;
|
||||
|
||||
/// The text shown for "Of"
|
||||
String get ofText;
|
||||
/// Gallery footer pagination text
|
||||
String galleryPaginationText(
|
||||
{required int currentPage, required int totalPages});
|
||||
|
||||
/// The text shown for "File"
|
||||
String get fileText;
|
||||
@@ -657,7 +658,9 @@ class DefaultTranslations implements Translations {
|
||||
String get youText => 'You';
|
||||
|
||||
@override
|
||||
String get ofText => 'of';
|
||||
String galleryPaginationText(
|
||||
{required int currentPage, required int totalPages}) =>
|
||||
'${currentPage + 1} of $totalPages';
|
||||
|
||||
@override
|
||||
String get fileText => 'File';
|
||||
|
||||
Reference in New Issue
Block a user