Amended success notification to singular/plural conditional.

This commit is contained in:
Art051
2024-05-12 20:41:41 +01:00
parent 6a827149d5
commit 4967577576

View File

@@ -41,7 +41,7 @@
});
} else if ($successCounter > 0) {
notificationController.show({
message: `Uploaded ${$successCounter} assets successfully, refresh the page to see new upload assets.`,
message: `Uploaded ${$successCounter} asset${$successCounter > 1 ? 's' : ''} successfully, refresh the page to see new upload assets.`,
type: NotificationType.Info,
});
}