Skip to content

Commit 8bc91cf

Browse files
committed
feat(localization): add Arabic and English translations for archived headlines features
1 parent 7a238be commit 8bc91cf

File tree

5 files changed

+100
-0
lines changed

5 files changed

+100
-0
lines changed

lib/l10n/app_localizations.dart

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1669,6 +1669,36 @@ abstract class AppLocalizations {
16691669
/// In en, this message translates to:
16701670
/// **'Select a country'**
16711671
String get countryPickerSelectCountryLabel;
1672+
1673+
/// Title for the Archived Headlines page
1674+
///
1675+
/// In en, this message translates to:
1676+
/// **'Archived Headlines'**
1677+
String get archivedHeadlines;
1678+
1679+
/// Headline for loading state of archived headlines
1680+
///
1681+
/// In en, this message translates to:
1682+
/// **'Loading Archived Headlines'**
1683+
String get loadingArchivedHeadlines;
1684+
1685+
/// Message when no archived headlines are found
1686+
///
1687+
/// In en, this message translates to:
1688+
/// **'No archived headlines found.'**
1689+
String get noArchivedHeadlinesFound;
1690+
1691+
/// Tooltip for the restore button
1692+
///
1693+
/// In en, this message translates to:
1694+
/// **'Restore'**
1695+
String get restore;
1696+
1697+
/// Tooltip for the delete forever button
1698+
///
1699+
/// In en, this message translates to:
1700+
/// **'Delete Forever'**
1701+
String get deleteForever;
16721702
}
16731703

16741704
class _AppLocalizationsDelegate

lib/l10n/app_localizations_ar.dart

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

881881
@override
882882
String get countryPickerSelectCountryLabel => 'اختر دولة';
883+
884+
@override
885+
String get archivedHeadlines => 'العناوين المؤرشفة';
886+
887+
@override
888+
String get loadingArchivedHeadlines => 'جاري تحميل العناوين المؤرشفة';
889+
890+
@override
891+
String get noArchivedHeadlinesFound => 'لم يتم العثور على عناوين مؤرشفة.';
892+
893+
@override
894+
String get restore => 'استعادة';
895+
896+
@override
897+
String get deleteForever => 'حذف نهائي';
883898
}

lib/l10n/app_localizations_en.dart

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -879,4 +879,19 @@ class AppLocalizationsEn extends AppLocalizations {
879879

880880
@override
881881
String get countryPickerSelectCountryLabel => 'Select a country';
882+
883+
@override
884+
String get archivedHeadlines => 'Archived Headlines';
885+
886+
@override
887+
String get loadingArchivedHeadlines => 'Loading Archived Headlines';
888+
889+
@override
890+
String get noArchivedHeadlinesFound => 'No archived headlines found.';
891+
892+
@override
893+
String get restore => 'Restore';
894+
895+
@override
896+
String get deleteForever => 'Delete Forever';
882897
}

lib/l10n/arb/app_ar.arb

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1093,5 +1093,25 @@
10931093
"countryPickerSelectCountryLabel": "اختر دولة",
10941094
"@countryPickerSelectCountryLabel": {
10951095
"description": "التسمية المعروضة عند عدم اختيار أي دولة في حقل نموذج منتقي البلد"
1096+
},
1097+
"archivedHeadlines": "العناوين المؤرشفة",
1098+
"@archivedHeadlines": {
1099+
"description": "عنوان صفحة العناوين المؤرشفة"
1100+
},
1101+
"loadingArchivedHeadlines": "جاري تحميل العناوين المؤرشفة",
1102+
"@loadingArchivedHeadlines": {
1103+
"description": "عنوان حالة تحميل العناوين المؤرشفة"
1104+
},
1105+
"noArchivedHeadlinesFound": "لم يتم العثور على عناوين مؤرشفة.",
1106+
"@noArchivedHeadlinesFound": {
1107+
"description": "رسالة عند عدم العثور على عناوين مؤرشفة"
1108+
},
1109+
"restore": "استعادة",
1110+
"@restore": {
1111+
"description": "تلميح لزر الاستعادة"
1112+
},
1113+
"deleteForever": "حذف نهائي",
1114+
"@deleteForever": {
1115+
"description": "تلميح لزر الحذف النهائي"
10961116
}
10971117
}

lib/l10n/arb/app_en.arb

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1093,5 +1093,25 @@
10931093
"countryPickerSelectCountryLabel": "Select a country",
10941094
"@countryPickerSelectCountryLabel": {
10951095
"description": "Label displayed when no country is selected in the picker form field"
1096+
},
1097+
"archivedHeadlines": "Archived Headlines",
1098+
"@archivedHeadlines": {
1099+
"description": "Title for the Archived Headlines page"
1100+
},
1101+
"loadingArchivedHeadlines": "Loading Archived Headlines",
1102+
"@loadingArchivedHeadlines": {
1103+
"description": "Headline for loading state of archived headlines"
1104+
},
1105+
"noArchivedHeadlinesFound": "No archived headlines found.",
1106+
"@noArchivedHeadlinesFound": {
1107+
"description": "Message when no archived headlines are found"
1108+
},
1109+
"restore": "Restore",
1110+
"@restore": {
1111+
"description": "Tooltip for the restore button"
1112+
},
1113+
"deleteForever": "Delete Forever",
1114+
"@deleteForever": {
1115+
"description": "Tooltip for the delete forever button"
10961116
}
10971117
}

0 commit comments

Comments
 (0)