Skip to content

Commit 96ff3e5

Browse files
committed
fix(content_management): correct item type naming in content management
- Change 'headlines' to 'headline' - Change 'topics' to 'topic' - Change 'sources' to 'source'
1 parent aa6ef2c commit 96ff3e5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/content_management/view/content_management_page.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,13 +142,13 @@ class _ContentManagementPageState extends State<ContentManagementPage>
142142
String itemType;
143143
String itemName;
144144
if (item is Headline) {
145-
itemType = l10n.headlines;
145+
itemType = l10n.headline;
146146
itemName = item.title;
147147
} else if (item is Topic) {
148-
itemType = l10n.topics;
148+
itemType = l10n.topic;
149149
itemName = item.name;
150150
} else {
151-
itemType = l10n.sources;
151+
itemType = l10n.source;
152152
itemName = (item as Source).name;
153153
}
154154
ScaffoldMessenger.of(context)

0 commit comments

Comments
 (0)