Skip to content

Commit 59b965c

Browse files
committed
feat: add details page localization
- Added details page title - Added follow/unfollow labels - Added no headlines message - Added load more error message - Added headlines section title
1 parent 0d25b70 commit 59b965c

File tree

2 files changed

+48
-0
lines changed

2 files changed

+48
-0
lines changed

lib/l10n/arb/app_ar.arb

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -807,5 +807,29 @@
807807
"similarHeadlinesEmpty": "لم يتم العثور على عناوين مشابهة.",
808808
"@similarHeadlinesEmpty": {
809809
"description": "Message shown when no similar headlines are found"
810+
},
811+
"detailsPageTitle": "[AR] Details",
812+
"@detailsPageTitle": {
813+
"description": "Title for the category/source details page"
814+
},
815+
"followButtonLabel": "[AR] Follow",
816+
"@followButtonLabel": {
817+
"description": "Label for the follow button"
818+
},
819+
"unfollowButtonLabel": "[AR] Unfollow",
820+
"@unfollowButtonLabel": {
821+
"description": "Label for the unfollow button"
822+
},
823+
"noHeadlinesFoundMessage": "[AR] No headlines found for this item.",
824+
"@noHeadlinesFoundMessage": {
825+
"description": "Message displayed when no headlines are available for a category/source"
826+
},
827+
"failedToLoadMoreHeadlines": "[AR] Failed to load more headlines.",
828+
"@failedToLoadMoreHeadlines": {
829+
"description": "Error message when loading more headlines fails on details page"
830+
},
831+
"headlinesSectionTitle": "[AR] Headlines",
832+
"@headlinesSectionTitle": {
833+
"description": "Title for the headlines section on details page"
810834
}
811835
}

lib/l10n/arb/app_en.arb

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -807,5 +807,29 @@
807807
"similarHeadlinesEmpty": "No similar headlines found.",
808808
"@similarHeadlinesEmpty": {
809809
"description": "Message shown when no similar headlines are found"
810+
},
811+
"detailsPageTitle": "Details",
812+
"@detailsPageTitle": {
813+
"description": "Title for the category/source details page"
814+
},
815+
"followButtonLabel": "Follow",
816+
"@followButtonLabel": {
817+
"description": "Label for the follow button"
818+
},
819+
"unfollowButtonLabel": "Unfollow",
820+
"@unfollowButtonLabel": {
821+
"description": "Label for the unfollow button"
822+
},
823+
"noHeadlinesFoundMessage": "No headlines found for this item.",
824+
"@noHeadlinesFoundMessage": {
825+
"description": "Message displayed when no headlines are available for a category/source"
826+
},
827+
"failedToLoadMoreHeadlines": "Failed to load more headlines.",
828+
"@failedToLoadMoreHeadlines": {
829+
"description": "Error message when loading more headlines fails on details page"
830+
},
831+
"headlinesSectionTitle": "Headlines",
832+
"@headlinesSectionTitle": {
833+
"description": "Title for the headlines section on details page"
810834
}
811835
}

0 commit comments

Comments
 (0)