Skip to content

Commit bdbe9c2

Browse files
committed
feat(l10n): add followed countries page translations
- Add Arabic translations for followed countries page - Add English translations for followed countries page - Include loading, error, and empty state messages for both languages - Add translations for country filter error
1 parent 951040d commit bdbe9c2

File tree

5 files changed

+147
-6
lines changed

5 files changed

+147
-6
lines changed

lib/l10n/app_localizations.dart

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1484,6 +1484,42 @@ abstract class AppLocalizations {
14841484
/// **'You haven\'t saved any articles yet. Start exploring!'**
14851485
String get savedHeadlinesEmptySubheadline;
14861486

1487+
/// Title for the followed countries navigation tile in the account page
1488+
///
1489+
/// In en, this message translates to:
1490+
/// **'Followed Countries'**
1491+
String get accountFollowedCountriesTile;
1492+
1493+
/// Headline for loading state on followed countries page
1494+
///
1495+
/// In en, this message translates to:
1496+
/// **'Loading Followed Countries...'**
1497+
String get followedCountriesLoadingHeadline;
1498+
1499+
/// Error message when followed countries fail to load
1500+
///
1501+
/// In en, this message translates to:
1502+
/// **'Could Not Load Followed Countries'**
1503+
String get followedCountriesErrorHeadline;
1504+
1505+
/// Headline for empty state on followed countries page
1506+
///
1507+
/// In en, this message translates to:
1508+
/// **'No Followed Countries'**
1509+
String get followedCountriesEmptyHeadline;
1510+
1511+
/// Subheadline for empty state on followed countries page
1512+
///
1513+
/// In en, this message translates to:
1514+
/// **'Start following countries to see them here.'**
1515+
String get followedCountriesEmptySubheadline;
1516+
1517+
/// Error message when countries fail to load on the filter/add page
1518+
///
1519+
/// In en, this message translates to:
1520+
/// **'Could not load countries. Please try again.'**
1521+
String get countryFilterError;
1522+
14871523
/// Headline for loading state on followed categories page
14881524
///
14891525
/// In en, this message translates to:

lib/l10n/app_localizations_ar.dart

Lines changed: 24 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -765,20 +765,39 @@ class AppLocalizationsAr extends AppLocalizations {
765765
String get savedHeadlinesEmptySubheadline =>
766766
'لم تقم بحفظ أي مقالات بعد. ابدأ الاستكشاف!';
767767

768+
@override
769+
String get accountFollowedCountriesTile => 'الدول المتابَعة';
770+
771+
@override
772+
String get followedCountriesLoadingHeadline =>
773+
'جارٍ تحميل الدول المتابَعة...';
774+
775+
@override
776+
String get followedCountriesErrorHeadline => 'تعذر تحميل الدول المتابَعة';
777+
778+
@override
779+
String get followedCountriesEmptyHeadline => 'لا توجد دول متابَعة';
780+
781+
@override
782+
String get followedCountriesEmptySubheadline =>
783+
'ابدأ بمتابعة الدول لكي تظهر هنا.';
784+
785+
@override
786+
String get countryFilterError => 'تعذر تحميل الدول. يرجى المحاولة مرة أخرى.';
787+
768788
@override
769789
String get followedCategoriesLoadingHeadline =>
770-
'Loading Followed Categories...';
790+
'جارٍ تحميل الفئات المتابَعة...';
771791

772792
@override
773-
String get followedCategoriesErrorHeadline =>
774-
'Could Not Load Followed Categories';
793+
String get followedCategoriesErrorHeadline => 'تعذر تحميل الفئات المتابَعة';
775794

776795
@override
777-
String get followedCategoriesEmptyHeadline => 'No Followed Categories';
796+
String get followedCategoriesEmptyHeadline => 'لا توجد فئات متابَعة';
778797

779798
@override
780799
String get followedCategoriesEmptySubheadline =>
781-
'Start following categories to see them here.';
800+
'ابدأ بمتابعة الفئات لكي تظهر هنا.';
782801

783802
@override
784803
String demoVerificationCodeMessage(String code) {

lib/l10n/app_localizations_en.dart

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -765,6 +765,28 @@ class AppLocalizationsEn extends AppLocalizations {
765765
String get savedHeadlinesEmptySubheadline =>
766766
'You haven\'t saved any articles yet. Start exploring!';
767767

768+
@override
769+
String get accountFollowedCountriesTile => 'Followed Countries';
770+
771+
@override
772+
String get followedCountriesLoadingHeadline =>
773+
'Loading Followed Countries...';
774+
775+
@override
776+
String get followedCountriesErrorHeadline =>
777+
'Could Not Load Followed Countries';
778+
779+
@override
780+
String get followedCountriesEmptyHeadline => 'No Followed Countries';
781+
782+
@override
783+
String get followedCountriesEmptySubheadline =>
784+
'Start following countries to see them here.';
785+
786+
@override
787+
String get countryFilterError =>
788+
'Could not load countries. Please try again.';
789+
768790
@override
769791
String get followedCategoriesLoadingHeadline =>
770792
'Loading Followed Categories...';

lib/l10n/arb/app_ar.arb

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -996,6 +996,46 @@
996996
"@savedHeadlinesEmptySubheadline": {
997997
"description": "Subheadline for empty state on saved headlines page"
998998
},
999+
"followedCategoriesLoadingHeadline": "جارٍ تحميل الفئات المتابَعة...",
1000+
"@followedCategoriesLoadingHeadline": {
1001+
"description": "Headline for loading state on followed categories page"
1002+
},
1003+
"followedCategoriesErrorHeadline": "تعذر تحميل الفئات المتابَعة",
1004+
"@followedCategoriesErrorHeadline": {
1005+
"description": "Error message when followed categories fail to load"
1006+
},
1007+
"followedCategoriesEmptyHeadline": "لا توجد فئات متابَعة",
1008+
"@followedCategoriesEmptyHeadline": {
1009+
"description": "Headline for empty state on followed categories page"
1010+
},
1011+
"followedCategoriesEmptySubheadline": "ابدأ بمتابعة الفئات لكي تظهر هنا.",
1012+
"@followedCategoriesEmptySubheadline": {
1013+
"description": "Subheadline for empty state on followed categories page"
1014+
},
1015+
"accountFollowedCountriesTile": "الدول المتابَعة",
1016+
"@accountFollowedCountriesTile": {
1017+
"description": "Title for the followed countries navigation tile in the account page"
1018+
},
1019+
"followedCountriesLoadingHeadline": "جارٍ تحميل الدول المتابَعة...",
1020+
"@followedCountriesLoadingHeadline": {
1021+
"description": "Headline for loading state on followed countries page"
1022+
},
1023+
"followedCountriesErrorHeadline": "تعذر تحميل الدول المتابَعة",
1024+
"@followedCountriesErrorHeadline": {
1025+
"description": "Error message when followed countries fail to load"
1026+
},
1027+
"followedCountriesEmptyHeadline": "لا توجد دول متابَعة",
1028+
"@followedCountriesEmptyHeadline": {
1029+
"description": "Headline for empty state on followed countries page"
1030+
},
1031+
"followedCountriesEmptySubheadline": "ابدأ بمتابعة الدول لكي تظهر هنا.",
1032+
"@followedCountriesEmptySubheadline": {
1033+
"description": "Subheadline for empty state on followed countries page"
1034+
},
1035+
"countryFilterError": "تعذر تحميل الدول. يرجى المحاولة مرة أخرى.",
1036+
"@countryFilterError": {
1037+
"description": "Error message when countries fail to load on the filter/add page"
1038+
},
9991039
"demoVerificationCodeMessage": "وضع العرض التوضيحي: استخدم الرمز {code}",
10001040
"@demoVerificationCodeMessage": {
10011041
"description": "رسالة تظهر في وضع العرض التوضيحي لتوفير رمز التحقق",
@@ -1075,4 +1115,4 @@
10751115
"@unfollowButtonText": {
10761116
"description": "Text for the unfollow button on suggestion items"
10771117
}
1078-
}
1118+
}

lib/l10n/arb/app_en.arb

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -998,6 +998,30 @@
998998
"@savedHeadlinesEmptySubheadline": {
999999
"description": "Subheadline for empty state on saved headlines page"
10001000
},
1001+
"accountFollowedCountriesTile": "Followed Countries",
1002+
"@accountFollowedCountriesTile": {
1003+
"description": "Title for the followed countries navigation tile in the account page"
1004+
},
1005+
"followedCountriesLoadingHeadline": "Loading Followed Countries...",
1006+
"@followedCountriesLoadingHeadline": {
1007+
"description": "Headline for loading state on followed countries page"
1008+
},
1009+
"followedCountriesErrorHeadline": "Could Not Load Followed Countries",
1010+
"@followedCountriesErrorHeadline": {
1011+
"description": "Error message when followed countries fail to load"
1012+
},
1013+
"followedCountriesEmptyHeadline": "No Followed Countries",
1014+
"@followedCountriesEmptyHeadline": {
1015+
"description": "Headline for empty state on followed countries page"
1016+
},
1017+
"followedCountriesEmptySubheadline": "Start following countries to see them here.",
1018+
"@followedCountriesEmptySubheadline": {
1019+
"description": "Subheadline for empty state on followed countries page"
1020+
},
1021+
"countryFilterError": "Could not load countries. Please try again.",
1022+
"@countryFilterError": {
1023+
"description": "Error message when countries fail to load on the filter/add page"
1024+
},
10011025
"followedCategoriesLoadingHeadline": "Loading Followed Categories...",
10021026
"@followedCategoriesLoadingHeadline": {
10031027
"description": "Headline for loading state on followed categories page"

0 commit comments

Comments
 (0)