From 4428e558c98831727f2c9682f0f3f50d3d54b2d3 Mon Sep 17 00:00:00 2001
From: Moosebiter
Date: Tue, 5 Sep 2017 16:42:36 -0500
Subject: [PATCH] #2356 Added missing spaces to Locale String Resource and
updated upgrade scripts
---
.../Nop.Plugin.Widgets.GoogleAnalytics/GoogleAnalyticPlugin.cs | 2 +-
upgradescripts/3.90-4.00 (under development)/upgrade.sql | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/Plugins/Nop.Plugin.Widgets.GoogleAnalytics/GoogleAnalyticPlugin.cs b/src/Plugins/Nop.Plugin.Widgets.GoogleAnalytics/GoogleAnalyticPlugin.cs
index 7b5157d81ca..197469267a6 100644
--- a/src/Plugins/Nop.Plugin.Widgets.GoogleAnalytics/GoogleAnalyticPlugin.cs
+++ b/src/Plugins/Nop.Plugin.Widgets.GoogleAnalytics/GoogleAnalyticPlugin.cs
@@ -90,7 +90,7 @@ public override void Install()
this.AddOrUpdatePluginLocaleResource("Plugins.Widgets.GoogleAnalytics.EcommerceDetailScript.Hint", "Paste the tracking code generated by Google analytics here. {ORDERID}, {PRODUCTSKU}, {PRODUCTNAME}, {CATEGORYNAME}, {UNITPRICE}, {QUANTITY} will be dynamically replaced.");
this.AddOrUpdatePluginLocaleResource("Plugins.Widgets.GoogleAnalytics.IncludingTax", "Include tax");
this.AddOrUpdatePluginLocaleResource("Plugins.Widgets.GoogleAnalytics.IncludingTax.Hint", "Check to include tax when generating tracking code for {ECOMMERCE} part.");
- this.AddOrUpdatePluginLocaleResource("Plugins.Widgets.GoogleAnalytics.Instructions", "Google Analytics is a free website stats tool from Google. It keeps track of statisticsabout the visitors and ecommerce conversion on your website.
Follow the next steps to enable Google Analytics integration:
- Create a Google Analyticsaccount and follow the wizard to add your website
- Copy the Tracking ID into the 'ID' box below
- Click the 'Save' button below and Google Analytics will be integrated into your store
If you would like to switch between Google Analytics (used by default) and Universal Analytics, then please use the buttons below:
");
+ this.AddOrUpdatePluginLocaleResource("Plugins.Widgets.GoogleAnalytics.Instructions", "Google Analytics is a free website stats tool from Google. It keeps track of statistics about the visitors and eCommerce conversion on your website.
Follow the next steps to enable Google Analytics integration:
- Create a Google Analytics account and follow the wizard to add your website
- Copy the Tracking ID into the 'ID' box below
- Click the 'Save' button below and Google Analytics will be integrated into your store
If you would like to switch between Google Analytics (used by default) and Universal Analytics, then please use the buttons below:");
this.AddOrUpdatePluginLocaleResource("Plugins.Widgets.GoogleAnalytics.Note", "Please note that {ECOMMERCE} line works only when you have \"Disable order completed page\" order setting unticked.
");
base.Install();
diff --git a/upgradescripts/3.90-4.00 (under development)/upgrade.sql b/upgradescripts/3.90-4.00 (under development)/upgrade.sql
index 35e0d1384b6..3f1547c3866 100644
--- a/upgradescripts/3.90-4.00 (under development)/upgrade.sql
+++ b/upgradescripts/3.90-4.00 (under development)/upgrade.sql
@@ -251,6 +251,9 @@ set @resources='
Check to allow customers to remove external authentication associations.
+
+ Google Analytics is a free website stats tool from Google. It keeps track of statistics about the visitors and eCommerce conversion on your website.
Follow the next steps to enable Google Analytics integration:
- Create a Google Analytics account and follow the wizard to add your website
- Copy the Tracking ID into the 'ID' box below
- Click the 'Save' button below and Google Analytics will be integrated into your store
If you would like to switch between Google Analytics (used by default) and Universal Analytics, then please use the buttons below:]]>
+
'