Skip to content

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.

Add missing resource

KrzysztofPajake712fd17dca5
diff --git a/src/Web/Grand.Web/App_Data/Resources/DefaultLanguage.xml b/src/Web/Grand.Web/App_Data/Resources/DefaultLanguage.xml
index 82d055ab6..215187ef3 100644
--- a/src/Web/Grand.Web/App_Data/Resources/DefaultLanguage.xml
+++ b/src/Web/Grand.Web/App_Data/Resources/DefaultLanguage.xml
@@ -16512,6 +16512,9 @@
<Resource Name="Wishlist">
<Value>Wishlist</Value>
</Resource>
+ <Resource Name="Wishlist.AddedToCart">
+ <Value>Added to the cart</Value>
+ </Resource>
<Resource Name="Wishlist.AddToCart.Error">
<Value>Some product(s) from wishlist could not be moved to the cart for some reasons.</Value>
</Resource>
diff --git a/src/Web/Grand.Web/Views/Wishlist/_ModelScript.cshtml b/src/Web/Grand.Web/Views/Wishlist/_ModelScript.cshtml
index 30c89d83a..88febe94b 100644
--- a/src/Web/Grand.Web/Views/Wishlist/_ModelScript.cshtml
+++ b/src/Web/Grand.Web/Views/Wishlist/_ModelScript.cshtml
@@ -31,7 +31,7 @@
if (response.data.success) {
vmwishlist.getModel();
vm.updateFly();
- vmwishlist.displayWarning('@Loc["wishlist.addedtocart"]', 'info', '@Loc["common.success"]');
+ vmwishlist.displayWarning('@Loc["Wishlist.AddedToCart"]', 'info', '@Loc["common.success"]');
} else {
vmwishlist.displayWarning(response.data.message, 'danger');
}