Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.
C# aspnet-corecsharpdockerdotnetecommerceecommerce-platformmongodbmulti-storemulti-vendornosqlonline-shopshoppingcart
Fix alert after successful brands import
PatrykPorabik96829d434db6
diff --git a/src/Web/Grand.Web.Admin/Controllers/BrandController.cs b/src/Web/Grand.Web.Admin/Controllers/BrandController.csindex 90ae204a9..11a877d12 100644--- a/src/Web/Grand.Web.Admin/Controllers/BrandController.cs+++ b/src/Web/Grand.Web.Admin/Controllers/BrandController.cs@@ -317,7 +317,7 @@ namespace Grand.Web.Admin.ControllersError(_translationService.GetResource("Admin.Common.UploadFile"));return RedirectToAction("List");}- Success(_translationService.GetResource("Admin.Catalog.Collection.Imported"));+ Success(_translationService.GetResource("Admin.Catalog.Brands.Imported"));return RedirectToAction("List");}catch (Exception exc)diff --git a/src/Web/Grand.Web/App_Data/Resources/DefaultLanguage.xml b/src/Web/Grand.Web/App_Data/Resources/DefaultLanguage.xmlindex 7c10ceb8a..4d220efdd 100644--- a/src/Web/Grand.Web/App_Data/Resources/DefaultLanguage.xml+++ b/src/Web/Grand.Web/App_Data/Resources/DefaultLanguage.xml@@ -2043,6 +2043,9 @@<Resource Name="Admin.Catalog.Brands.Info"><Value>Brand Info</Value></Resource>+ <Resource Name="Admin.Catalog.Brands.Imported">+ <Value>Brands have been imported successfully.</Value>+ </Resource><Resource Name="Admin.Catalog.Brand.List.ImportFromExcelTip"><Value>Imported brands are distinguished by ID. If the ID already exists, then its corresponding brand will be updated. The ID does not need to be provided for new brands</Value></Resource>