Skip to content

Commit b4835d6

Browse files
committed
feat(localization): add create category and success message translations
1 parent 5696d0e commit b4835d6

File tree

2 files changed

+20
-7
lines changed

2 files changed

+20
-7
lines changed

lib/l10n/arb/app_ar.arb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -704,6 +704,14 @@
704704
"@cannotUpdateCategoryError": {
705705
"description": "رسالة خطأ عند فشل تحديث الفئة بسبب عدم تحميل البيانات الأصلية"
706706
},
707+
"createCategory": "إنشاء فئة",
708+
"@createCategory": {
709+
"description": "عنوان صفحة إنشاء فئة"
710+
},
711+
"categoryCreatedSuccessfully": "تم إنشاء الفئة بنجاح.",
712+
"@categoryCreatedSuccessfully": {
713+
"description": "رسالة تُعرض عند إنشاء الفئة بنجاح"
714+
},
707715
"editSource": "تعديل المصدر",
708716
"@editSource": {
709717
"description": "عنوان صفحة تعديل المصدر"

lib/l10n/arb/app_en.arb

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -703,8 +703,15 @@
703703
"cannotUpdateCategoryError": "Cannot update: Original category data not loaded.",
704704
"@cannotUpdateCategoryError": {
705705
"description": "Error message when updating a category fails because the original data wasn't loaded"
706-
}
707-
,
706+
},
707+
"createCategory": "Create Category",
708+
"@createCategory": {
709+
"description": "Title for the Create Category page"
710+
},
711+
"categoryCreatedSuccessfully": "Category created successfully.",
712+
"@categoryCreatedSuccessfully": {
713+
"description": "Message displayed when a category is created successfully"
714+
},
708715
"editSource": "Edit Source",
709716
"@editSource": {
710717
"description": "Title for the Edit Source page"
@@ -768,8 +775,7 @@
768775
"sourceTypeOther": "Other",
769776
"@sourceTypeOther": {
770777
"description": "Any other type of source not covered above."
771-
}
772-
,
778+
},
773779
"editHeadline": "Edit Headline",
774780
"@editHeadline": {
775781
"description": "Title for the Edit Headline page"
@@ -789,8 +795,7 @@
789795
"cannotUpdateHeadlineError": "Cannot update: Original headline data not loaded.",
790796
"@cannotUpdateHeadlineError": {
791797
"description": "Error message when updating a headline fails because the original data wasn't loaded"
792-
}
793-
,
798+
},
794799
"createHeadline": "Create Headline",
795800
"@createHeadline": {
796801
"description": "Title for the Create Headline page"
@@ -803,4 +808,4 @@
803808
"@loadingData": {
804809
"description": "Generic message displayed while loading data for a form"
805810
}
806-
}
811+
}

0 commit comments

Comments
 (0)