Skip to content

Commit 24db001

Browse files
committed
feat(localization): add English and Arabic translations for Create Category page
1 parent b4835d6 commit 24db001

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

lib/l10n/app_localizations.dart

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1118,6 +1118,18 @@ abstract class AppLocalizations {
11181118
/// **'Cannot update: Original category data not loaded.'**
11191119
String get cannotUpdateCategoryError;
11201120

1121+
/// Title for the Create Category page
1122+
///
1123+
/// In en, this message translates to:
1124+
/// **'Create Category'**
1125+
String get createCategory;
1126+
1127+
/// Message displayed when a category is created successfully
1128+
///
1129+
/// In en, this message translates to:
1130+
/// **'Category created successfully.'**
1131+
String get categoryCreatedSuccessfully;
1132+
11211133
/// Title for the Edit Source page
11221134
///
11231135
/// In en, this message translates to:

lib/l10n/app_localizations_ar.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -586,6 +586,12 @@ class AppLocalizationsAr extends AppLocalizations {
586586
String get cannotUpdateCategoryError =>
587587
'لا يمكن التحديث: لم يتم تحميل بيانات الفئة الأصلية.';
588588

589+
@override
590+
String get createCategory => 'إنشاء فئة';
591+
592+
@override
593+
String get categoryCreatedSuccessfully => 'تم إنشاء الفئة بنجاح.';
594+
589595
@override
590596
String get editSource => 'تعديل المصدر';
591597

lib/l10n/app_localizations_en.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -584,6 +584,12 @@ class AppLocalizationsEn extends AppLocalizations {
584584
String get cannotUpdateCategoryError =>
585585
'Cannot update: Original category data not loaded.';
586586

587+
@override
588+
String get createCategory => 'Create Category';
589+
590+
@override
591+
String get categoryCreatedSuccessfully => 'Category created successfully.';
592+
587593
@override
588594
String get editSource => 'Edit Source';
589595

0 commit comments

Comments
 (0)