Skip to content

Commit 7b5e44b

Browse files
committed
feat(l10n): add loading headline for filters page in headlines feed
- Add new localization strings for both Arabic and English - Introduce "headlinesFeedFilterLoadingHeadline" for loading state on headlines filter page - Update corresponding description for both language files
1 parent fe33f62 commit 7b5e44b

File tree

5 files changed

+20
-0
lines changed

5 files changed

+20
-0
lines changed

lib/l10n/app_localizations.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1687,6 +1687,12 @@ abstract class AppLocalizations {
16871687
/// In en, this message translates to:
16881688
/// **'Retry'**
16891689
String get retryButtonText;
1690+
1691+
/// Headline for the loading state when fetching filter options on the headlines filter page.
1692+
///
1693+
/// In en, this message translates to:
1694+
/// **'Loading Filters'**
1695+
String get headlinesFeedFilterLoadingHeadline;
16901696
}
16911697

16921698
class _AppLocalizationsDelegate

lib/l10n/app_localizations_ar.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -880,4 +880,7 @@ class AppLocalizationsAr extends AppLocalizations {
880880

881881
@override
882882
String get retryButtonText => 'إعادة المحاولة';
883+
884+
@override
885+
String get headlinesFeedFilterLoadingHeadline => 'جاري تحميل الفلاتر';
883886
}

lib/l10n/app_localizations_en.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -882,4 +882,7 @@ class AppLocalizationsEn extends AppLocalizations {
882882

883883
@override
884884
String get retryButtonText => 'Retry';
885+
886+
@override
887+
String get headlinesFeedFilterLoadingHeadline => 'Loading Filters';
885888
}

lib/l10n/arb/app_ar.arb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1148,5 +1148,9 @@
11481148
"retryButtonText": "إعادة المحاولة",
11491149
"@retryButtonText": {
11501150
"description": "Text for a button that allows the user to retry a failed operation."
1151+
},
1152+
"headlinesFeedFilterLoadingHeadline": "جاري تحميل الفلاتر",
1153+
"@headlinesFeedFilterLoadingHeadline": {
1154+
"description": "Headline for the loading state when fetching filter options on the headlines filter page."
11511155
}
11521156
}

lib/l10n/arb/app_en.arb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1148,5 +1148,9 @@
11481148
"retryButtonText": "Retry",
11491149
"@retryButtonText": {
11501150
"description": "Text for a button that allows the user to retry a failed operation."
1151+
},
1152+
"headlinesFeedFilterLoadingHeadline": "Loading Filters",
1153+
"@headlinesFeedFilterLoadingHeadline": {
1154+
"description": "Headline for the loading state when fetching filter options on the headlines filter page."
11511155
}
11521156
}

0 commit comments

Comments
 (0)