Skip to content

Commit 25887dc

Browse files
committed
feat: Add headline save/unsave localization
- Added tooltips localization - Added success snackbar localization - Added error snackbar localization
1 parent 0fd355a commit 25887dc

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed

lib/l10n/arb/app_ar.arb

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -759,5 +759,25 @@
759759
"example": "ألمانيا"
760760
}
761761
}
762+
},
763+
"headlineDetailsSaveTooltip": "حفظ العنوان",
764+
"@headlineDetailsSaveTooltip": {
765+
"description": "Tooltip for the button to save a headline"
766+
},
767+
"headlineDetailsRemoveFromSavedTooltip": "إزالة من المحفوظات",
768+
"@headlineDetailsRemoveFromSavedTooltip": {
769+
"description": "Tooltip for the button to remove a headline from saved list"
770+
},
771+
"headlineSavedSuccessSnackbar": "تم حفظ العنوان!",
772+
"@headlineSavedSuccessSnackbar": {
773+
"description": "Snackbar message shown when a headline is successfully saved"
774+
},
775+
"headlineUnsavedSuccessSnackbar": "تمت إزالة العنوان من المحفوظات.",
776+
"@headlineUnsavedSuccessSnackbar": {
777+
"description": "Snackbar message shown when a headline is successfully unsaved"
778+
},
779+
"headlineSaveErrorSnackbar": "تعذر تحديث حالة الحفظ. يرجى المحاولة مرة أخرى.",
780+
"@headlineSaveErrorSnackbar": {
781+
"description": "Snackbar message shown when saving/unsaving a headline fails"
762782
}
763783
}

lib/l10n/arb/app_en.arb

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -759,5 +759,25 @@
759759
"example": "Germany"
760760
}
761761
}
762+
},
763+
"headlineDetailsSaveTooltip": "Save headline",
764+
"@headlineDetailsSaveTooltip": {
765+
"description": "Tooltip for the button to save a headline"
766+
},
767+
"headlineDetailsRemoveFromSavedTooltip": "Remove from saved",
768+
"@headlineDetailsRemoveFromSavedTooltip": {
769+
"description": "Tooltip for the button to remove a headline from saved list"
770+
},
771+
"headlineSavedSuccessSnackbar": "Headline saved!",
772+
"@headlineSavedSuccessSnackbar": {
773+
"description": "Snackbar message shown when a headline is successfully saved"
774+
},
775+
"headlineUnsavedSuccessSnackbar": "Headline removed from saved.",
776+
"@headlineUnsavedSuccessSnackbar": {
777+
"description": "Snackbar message shown when a headline is successfully unsaved"
778+
},
779+
"headlineSaveErrorSnackbar": "Could not update saved status. Please try again.",
780+
"@headlineSaveErrorSnackbar": {
781+
"description": "Snackbar message shown when saving/unsaving a headline fails"
762782
}
763783
}

0 commit comments

Comments
 (0)