File tree Expand file tree Collapse file tree 7 files changed +55
-15
lines changed Expand file tree Collapse file tree 7 files changed +55
-15
lines changed Original file line number Diff line number Diff line change @@ -1016,6 +1016,18 @@ abstract class AppLocalizations {
1016
1016
/// **'Title'**
1017
1017
String get headlineTitle;
1018
1018
1019
+ /// Label for the excerpt input field
1020
+ ///
1021
+ /// In en, this message translates to:
1022
+ /// **'Excerpt'**
1023
+ String get excerpt;
1024
+
1025
+ /// Label for the country name dropdown field
1026
+ ///
1027
+ /// In en, this message translates to:
1028
+ /// **'Country'**
1029
+ String get countryName;
1030
+
1019
1031
/// Column header for published date
1020
1032
///
1021
1033
/// In en, this message translates to:
Original file line number Diff line number Diff line change @@ -535,6 +535,12 @@ class AppLocalizationsAr extends AppLocalizations {
535
535
@override
536
536
String get headlineTitle => 'العنوان' ;
537
537
538
+ @override
539
+ String get excerpt => 'المقتطف' ;
540
+
541
+ @override
542
+ String get countryName => 'البلد' ;
543
+
538
544
@override
539
545
String get publishedAt => 'تاريخ النشر' ;
540
546
Original file line number Diff line number Diff line change @@ -533,6 +533,12 @@ class AppLocalizationsEn extends AppLocalizations {
533
533
@override
534
534
String get headlineTitle => 'Title' ;
535
535
536
+ @override
537
+ String get excerpt => 'Excerpt' ;
538
+
539
+ @override
540
+ String get countryName => 'Country' ;
541
+
536
542
@override
537
543
String get publishedAt => 'Published At' ;
538
544
Original file line number Diff line number Diff line change 636
636
"@headlineTitle": {
637
637
"description": "رأس العمود لعنوان الخبر"
638
638
},
639
+ "excerpt": "المقتطف",
640
+ "@excerpt": {
641
+ "description": "تسمية حقل إدخال المقتطف"
642
+ },
643
+ "countryName": "البلد",
644
+ "@countryName": {
645
+ "description": "تسمية حقل القائمة المنسدلة لاسم البلد"
646
+ },
639
647
"publishedAt": "تاريخ النشر",
640
648
"@publishedAt": {
641
649
"description": "رأس العمود لتاريخ النشر"
Original file line number Diff line number Diff line change 636
636
"@headlineTitle": {
637
637
"description": "Column header for headline title"
638
638
},
639
+ "excerpt": "Excerpt",
640
+ "@excerpt": {
641
+ "description": "Label for the excerpt input field"
642
+ },
643
+ "countryName": "Country",
644
+ "@countryName": {
645
+ "description": "Label for the country name dropdown field"
646
+ },
639
647
"publishedAt": "Published At",
640
648
"@publishedAt": {
641
649
"description": "Column header for published date"
923
931
}
924
932
}
925
933
926
- }
934
+ }
Original file line number Diff line number Diff line change @@ -170,16 +170,16 @@ GoRouter createRouter({
170
170
},
171
171
),
172
172
GoRoute (
173
- path: Routes .createCategory ,
174
- name: Routes .createCategoryName ,
175
- builder: (context, state) => const CreateCategoryPage (),
173
+ path: Routes .createTopic ,
174
+ name: Routes .createTopicName ,
175
+ builder: (context, state) => const CreateTopicPage (),
176
176
),
177
177
GoRoute (
178
- path: Routes .editCategory ,
179
- name: Routes .editCategoryName ,
178
+ path: Routes .editTopic ,
179
+ name: Routes .editTopicName ,
180
180
builder: (context, state) {
181
181
final id = state.pathParameters['id' ]! ;
182
- return EditCategoryPage (categoryId : id);
182
+ return EditTopicPage (topicId : id);
183
183
},
184
184
),
185
185
GoRoute (
Original file line number Diff line number Diff line change @@ -56,17 +56,17 @@ abstract final class Routes {
56
56
/// The name for the edit headline page route.
57
57
static const String editHeadlineName = 'editHeadline' ;
58
58
59
- /// The path for creating a new category .
60
- static const String createCategory = 'create-category ' ;
59
+ /// The path for creating a new topic .
60
+ static const String createTopic = 'create-topic ' ;
61
61
62
- /// The name for the create category page route.
63
- static const String createCategoryName = 'createCategory ' ;
62
+ /// The name for the create topic page route.
63
+ static const String createTopicName = 'createTopic ' ;
64
64
65
- /// The path for editing an existing category .
66
- static const String editCategory = 'edit-category /:id' ;
65
+ /// The path for editing an existing topic .
66
+ static const String editTopic = 'edit-topic /:id' ;
67
67
68
- /// The name for the edit category page route.
69
- static const String editCategoryName = 'editCategory ' ;
68
+ /// The name for the edit topic page route.
69
+ static const String editTopicName = 'editTopic ' ;
70
70
71
71
/// The path for creating a new source.
72
72
static const String createSource = 'create-source' ;
You can’t perform that action at this time.
0 commit comments