Skip to content

Commit 6edae50

Browse files
committed
feat: adds the required keys and their translations to the English and Arabic .arb files. This will provide the necessary strings for the new "Status" and "Last Updated" columns in the data tables, as well as the localized names for the ContentStatus enum values.
1 parent ae5554a commit 6edae50

File tree

5 files changed

+82
-2
lines changed

5 files changed

+82
-2
lines changed

lib/l10n/app_localizations.dart

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1285,6 +1285,36 @@ abstract class AppLocalizations {
12851285
/// In en, this message translates to:
12861286
/// **'Source created successfully.'**
12871287
String get sourceCreatedSuccessfully;
1288+
1289+
/// No description provided for @status.
1290+
///
1291+
/// In en, this message translates to:
1292+
/// **'Status'**
1293+
String get status;
1294+
1295+
/// No description provided for @lastUpdated.
1296+
///
1297+
/// In en, this message translates to:
1298+
/// **'Last Updated'**
1299+
String get lastUpdated;
1300+
1301+
/// No description provided for @contentStatusActive.
1302+
///
1303+
/// In en, this message translates to:
1304+
/// **'Active'**
1305+
String get contentStatusActive;
1306+
1307+
/// No description provided for @contentStatusArchived.
1308+
///
1309+
/// In en, this message translates to:
1310+
/// **'Archived'**
1311+
String get contentStatusArchived;
1312+
1313+
/// No description provided for @contentStatusDraft.
1314+
///
1315+
/// In en, this message translates to:
1316+
/// **'Draft'**
1317+
String get contentStatusDraft;
12881318
}
12891319

12901320
class _AppLocalizationsDelegate

lib/l10n/app_localizations_ar.dart

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -671,4 +671,19 @@ class AppLocalizationsAr extends AppLocalizations {
671671

672672
@override
673673
String get sourceCreatedSuccessfully => 'تم إنشاء المصدر بنجاح.';
674+
675+
@override
676+
String get status => 'الحالة';
677+
678+
@override
679+
String get lastUpdated => 'آخر تحديث';
680+
681+
@override
682+
String get contentStatusActive => 'نشط';
683+
684+
@override
685+
String get contentStatusArchived => 'مؤرشف';
686+
687+
@override
688+
String get contentStatusDraft => 'مسودة';
674689
}

lib/l10n/app_localizations_en.dart

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -669,4 +669,19 @@ class AppLocalizationsEn extends AppLocalizations {
669669

670670
@override
671671
String get sourceCreatedSuccessfully => 'Source created successfully.';
672+
673+
@override
674+
String get status => 'Status';
675+
676+
@override
677+
String get lastUpdated => 'Last Updated';
678+
679+
@override
680+
String get contentStatusActive => 'Active';
681+
682+
@override
683+
String get contentStatusArchived => 'Archived';
684+
685+
@override
686+
String get contentStatusDraft => 'Draft';
672687
}

lib/l10n/arb/app_ar.arb

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -815,5 +815,15 @@
815815
"sourceCreatedSuccessfully": "تم إنشاء المصدر بنجاح.",
816816
"@sourceCreatedSuccessfully": {
817817
"description": "رسالة تُعرض عند إنشاء المصدر بنجاح"
818-
}
818+
},
819+
"status": "الحالة",
820+
"@status": {},
821+
"lastUpdated": "آخر تحديث",
822+
"@lastUpdated": {},
823+
"contentStatusActive": "نشط",
824+
"@contentStatusActive": {},
825+
"contentStatusArchived": "مؤرشف",
826+
"@contentStatusArchived": {},
827+
"contentStatusDraft": "مسودة",
828+
"@contentStatusDraft": {}
819829
}

lib/l10n/arb/app_en.arb

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -815,5 +815,15 @@
815815
"sourceCreatedSuccessfully": "Source created successfully.",
816816
"@sourceCreatedSuccessfully": {
817817
"description": "Message displayed when a source is created successfully"
818-
}
818+
},
819+
"status": "Status",
820+
"@status": {},
821+
"lastUpdated": "Last Updated",
822+
"@lastUpdated": {},
823+
"contentStatusActive": "Active",
824+
"@contentStatusActive": {},
825+
"contentStatusArchived": "Archived",
826+
"@contentStatusArchived": {},
827+
"contentStatusDraft": "Draft",
828+
"@contentStatusDraft": {}
819829
}

0 commit comments

Comments
 (0)