Skip to content

Commit 254c825

Browse files
committed
feat: add headline localization keys
- Added edit headline title - Added success message - Added loading message - Added image URL label - Added update error message
1 parent 155b234 commit 254c825

File tree

2 files changed

+44
-5
lines changed

2 files changed

+44
-5
lines changed

lib/l10n/arb/app_ar.arb

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -679,8 +679,7 @@
679679
"language": "اللغة",
680680
"@language": {
681681
"description": "رأس العمود للغة"
682-
}
683-
,
682+
},
684683
"editCategory": "تعديل الفئة",
685684
"@editCategory": {
686685
"description": "عنوان صفحة تعديل الفئة"
@@ -704,8 +703,7 @@
704703
"cannotUpdateCategoryError": "لا يمكن التحديث: لم يتم تحميل بيانات الفئة الأصلية.",
705704
"@cannotUpdateCategoryError": {
706705
"description": "رسالة خطأ عند فشل تحديث الفئة بسبب عدم تحميل البيانات الأصلية"
707-
}
708-
,
706+
},
709707
"editSource": "تعديل المصدر",
710708
"@editSource": {
711709
"description": "عنوان صفحة تعديل المصدر"
@@ -769,5 +767,25 @@
769767
"sourceTypeOther": "أخرى",
770768
"@sourceTypeOther": {
771769
"description": "أي نوع آخر من المصادر غير المذكورة أعلاه."
770+
},
771+
"editHeadline": "تعديل العنوان",
772+
"@editHeadline": {
773+
"description": "عنوان صفحة تعديل العنوان"
774+
},
775+
"headlineUpdatedSuccessfully": "تم تحديث العنوان بنجاح.",
776+
"@headlineUpdatedSuccessfully": {
777+
"description": "رسالة تُعرض عند تحديث العنوان بنجاح"
778+
},
779+
"loadingHeadline": "جاري تحميل العنوان...",
780+
"@loadingHeadline": {
781+
"description": "رسالة تُعرض أثناء تحميل بيانات العنوان"
782+
},
783+
"imageUrl": "رابط الصورة",
784+
"@imageUrl": {
785+
"description": "تسمية حقل إدخال رابط الصورة"
786+
},
787+
"cannotUpdateHeadlineError": "لا يمكن التحديث: لم يتم تحميل بيانات العنوان الأصلية.",
788+
"@cannotUpdateHeadlineError": {
789+
"description": "رسالة خطأ عند فشل تحديث العنوان بسبب عدم تحميل البيانات الأصلية"
772790
}
773-
}
791+
}

lib/l10n/arb/app_en.arb

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -769,4 +769,25 @@
769769
"@sourceTypeOther": {
770770
"description": "Any other type of source not covered above."
771771
}
772+
,
773+
"editHeadline": "Edit Headline",
774+
"@editHeadline": {
775+
"description": "Title for the Edit Headline page"
776+
},
777+
"headlineUpdatedSuccessfully": "Headline updated successfully.",
778+
"@headlineUpdatedSuccessfully": {
779+
"description": "Message displayed when a headline is updated successfully"
780+
},
781+
"loadingHeadline": "Loading Headline...",
782+
"@loadingHeadline": {
783+
"description": "Message displayed while loading headline data"
784+
},
785+
"imageUrl": "Image URL",
786+
"@imageUrl": {
787+
"description": "Label for an image URL input field"
788+
},
789+
"cannotUpdateHeadlineError": "Cannot update: Original headline data not loaded.",
790+
"@cannotUpdateHeadlineError": {
791+
"description": "Error message when updating a headline fails because the original data wasn't loaded"
792+
}
772793
}

0 commit comments

Comments
 (0)