Skip to content

Commit

Permalink
Prepare release 2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
TorbenLundsgaard committed Oct 15, 2024
1 parent bcd1338 commit ffb3718
Show file tree
Hide file tree
Showing 17 changed files with 189 additions and 171 deletions.
2 changes: 1 addition & 1 deletion assets/admin/settings-rtl.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/admin/settings.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'react-jsx-runtime', 'wp-api-fetch', 'wp-components', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-primitives'), 'version' => '233f90bb639538fc2ca4');
<?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'react-jsx-runtime', 'wp-api-fetch', 'wp-components', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-primitives'), 'version' => '99920639ff708bd91eaa');
2 changes: 1 addition & 1 deletion assets/admin/settings.css

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions assets/admin/settings.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/admin/wizard-rtl.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/admin/wizard.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'react-jsx-runtime', 'wp-api-fetch', 'wp-components', 'wp-element', 'wp-i18n'), 'version' => '83d9f86fcf59c086290d');
<?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'react-jsx-runtime', 'wp-api-fetch', 'wp-components', 'wp-element', 'wp-i18n'), 'version' => '33d3163e742f9bb175fb');
2 changes: 1 addition & 1 deletion assets/admin/wizard.css

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
*** GTM Kit ***

2024-10-16 - version 2.2.0
* Add: Added notifications and warnings for missing GTM container, debug log usage, auto-update and event inspector usage. These improvements aim to ensure smooth production operations.

2024-10-01 - version 2.1.0
* Add: Added support for the Bricks theme builder.
* Fix: In some cases other plugins or a theme could block GTM Kit from firing JS event like the one that fires the add_to_cart GTM event.
Expand Down
10 changes: 5 additions & 5 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions gtm-kit.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* GTM Kit Plugin
*
* Plugin Name: GTM Kit
* Version: 2.1.0
* Version: 2.2.0
* Plugin URI: https://gtmkit.com/
* Description: Google Tag Manager implementation focusing on flexibility and pagespeed.
* Author: GTM Kit
Expand All @@ -27,7 +27,7 @@
exit();
}

const GTMKIT_VERSION = '2.1.0';
const GTMKIT_VERSION = '2.2.0';

if ( ! defined( 'GTMKIT_FILE' ) ) {
define( 'GTMKIT_FILE', __FILE__ );
Expand Down
145 changes: 113 additions & 32 deletions languages/gtm-kit.pot
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
# This file is distributed under the GPLv3.
msgid ""
msgstr ""
"Project-Id-Version: GTM Kit 2.1.0\n"
"Project-Id-Version: GTM Kit 2.2.0\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/gtm-kit\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2024-09-30T14:37:39+00:00\n"
"POT-Creation-Date: 2024-10-15T08:05:49+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.9.0\n"
"X-Domain: gtm-kit\n"
Expand All @@ -30,17 +30,17 @@ msgstr ""
msgid "Google Tag Manager implementation focusing on flexibility and pagespeed."
msgstr ""

#: inc/main.php:90
#: inc/main.php:91
msgid "Go to GTM Kit Settings page"
msgstr ""

#: inc/main.php:91
#: inc/main.php:92
#: assets/admin/settings.js:22
msgid "Settings"
msgstr ""

#. translators: %s is GTM Kit Add-On.
#: inc/main.php:109
#: inc/main.php:110
msgid "Required by %s"
msgstr ""

Expand Down Expand Up @@ -74,12 +74,12 @@ msgstr ""
msgid "Thank you! We have received the data."
msgstr ""

#: src/Admin/GeneralOptionsPage.php:83
#: src/Admin/GeneralOptionsPage.php:85
#: assets/admin/settings.js:1
msgid "General"
msgstr ""

#: src/Admin/GeneralOptionsPage.php:92
#: src/Admin/GeneralOptionsPage.php:94
msgid "General Settings"
msgstr ""

Expand Down Expand Up @@ -125,55 +125,112 @@ msgid "%1$sNote:%2$s This will only be applied if page type has been activated i
msgstr ""

#. translators: %1$s is the name of the plugin and %2$s is the name of the theme.
#: src/Admin/PluginSuggestions.php:228
#: src/Admin/Suggestions.php:322
msgid "It seems that you have installed the %1$s plugin and %1$s theme."
msgstr ""

#. translators: %1$s is the name of the plugin.
#: src/Admin/PluginSuggestions.php:235
#: src/Admin/Suggestions.php:329
msgid "It seems that you have installed the %1$s plugin."
msgstr ""

#. translators: %1$s is the name of the theme.
#: src/Admin/PluginSuggestions.php:242
#: src/Admin/Suggestions.php:336
msgid "It seems that you have installed the %1$s theme."
msgstr ""

#. translators: %1$s is a link with the text 'GTM Kit Woo Add-On'.
#: src/Admin/PluginSuggestions.php:252
#: src/Admin/Suggestions.php:346
msgid "With the %1$s, you can track the add_to_wishlist event and leverage server-side tracking for enhanced accuracy and deeper insights into customer behavior."
msgstr ""

#: src/Admin/PluginSuggestions.php:259
#: src/Admin/Suggestions.php:353
msgid "Upgrade:"
msgstr ""

#: src/Admin/PluginSuggestions.php:272
#: src/Admin/Suggestions.php:366
msgid "It appears that you are not currently using a supported SEO plugin. By installing either WordPress SEO or Rank Math, you can assign a primary category to each product. This primary category will then be used in the data layer if the product is associated with multiple categories."
msgstr ""

#: src/Admin/PluginSuggestions.php:277
#: src/Admin/Suggestions.php:371
msgid "Plugin suggestion:"
msgstr ""

#. translators: %s is the name of the plugin.
#: src/Admin/PluginSuggestions.php:295
#: src/Admin/Suggestions.php:389
msgid "It seems that you have installed the Google Tag Manager plugin called %1$s. Running two different GTM plugins simultaneously can lead to unexpected results, significantly impact data accuracy, and slow down page speed. Please consider deactivating %2$s unless you have carefully considered and addressed the potential challenges."
msgstr ""

#: src/Admin/PluginSuggestions.php:303
#: src/Admin/Suggestions.php:397
msgid "Possible Conflict:"
msgstr ""

#. translators: %1$s and %2$s are links with the text 'GTM Kit Woo Add-On' and 'Grandfathered Wishlist Functionality' respectively.
#: src/Admin/PluginSuggestions.php:324
#: src/Admin/Suggestions.php:418
msgid "Starting with GTM Kit version 2.0, the add_to_wishlist event is no longer supported in the free version of GTM Kit. To continue tracking the add_to_wishlist event, you must either purchase the %1$s or download the free %2$s plugin."
msgstr ""

#: src/Admin/PluginSuggestions.php:332
#: src/Admin/Suggestions.php:426
msgid "Breaking change:"
msgstr ""

#: src/Admin/Suggestions.php:440
#: assets/admin/settings.js:1
#: assets/admin/wizard.js:1
msgid "New releases of GTM Kit may contain important updates to comply with changes in Google Tag Manager or analytics in general. We recommend enabling automatic plugin updates for GTM Kit to ensure it is always up to date."
msgstr ""

#: src/Admin/Suggestions.php:444
#: src/Admin/Suggestions.php:467
#: src/Admin/Suggestions.php:502
#: src/Admin/Suggestions.php:536
msgid "Go to settings"
msgstr ""

#: src/Admin/Suggestions.php:450
msgid "Automatic Updates:"
msgstr ""

#: src/Admin/Suggestions.php:463
msgid "The event inspector is active and visible to all users. You should not keep it active longer than necessary."
msgstr ""

#: src/Admin/Suggestions.php:473
msgid "Event Inspector:"
msgstr ""

#: src/Admin/Suggestions.php:490
msgid "The Google Tag Manager container is not injected."
msgstr ""

#: src/Admin/Suggestions.php:493
msgid "The \"Inject Container Code\" option is not enabled."
msgstr ""

#: src/Admin/Suggestions.php:497
msgid "The \"GTM Container ID\" value is empty."
msgstr ""

#: src/Admin/Suggestions.php:508
msgid "GTM Container Injection:"
msgstr ""

#: src/Admin/Suggestions.php:524
msgid "Debug logging should not be active in production environments longer than necessary as it affects performance."
msgstr ""

#: src/Admin/Suggestions.php:527
msgid "The browser console log is active."
msgstr ""

#: src/Admin/Suggestions.php:531
msgid "The debug log for \"purchase\" events is active."
msgstr ""

#: src/Admin/Suggestions.php:542
msgid "Logging and debugging:"
msgstr ""

#: src/Admin/TemplatesOptionsPage.php:44
#: src/Admin/TemplatesOptionsPage.php:53
msgid "GTM Templates"
Expand Down Expand Up @@ -910,17 +967,33 @@ msgstr ""
msgid "You can help by sharing anonymous data with us. Below is a detailed view of all data GTM Kit will collect if granted permission:"
msgstr ""

#: assets/admin/settings.js:1
msgid "Unlock with premium"
msgstr ""

#: assets/admin/settings.js:1
#: assets/admin/settings.js:22
msgid "Misc"
msgstr ""

#: assets/admin/settings.js:1
msgid "GTM Kit will never transmit any domain names or container ID's."
#: assets/admin/wizard.js:1
msgid "Automatic Updates"
msgstr ""

#: assets/admin/settings.js:1
msgid "I agree to share anonymous data with the development team to help improve GTM Kit."
#: assets/admin/wizard.js:1
msgid "You can, of course, manually update GTM Kit whenever it suits you, but we highly recommend that you regularly update your plugins and themes to the latest versions to keep your site secure."
msgstr ""

#: assets/admin/settings.js:1
#: assets/admin/wizard.js:1
msgid "Enable Automatic Updates"
msgstr ""

#: assets/admin/settings.js:1
#: assets/admin/wizard.js:1
msgid "Automatically update the GTM Kit plugin when new releases are available."
msgstr ""

#: assets/admin/settings.js:1
Expand All @@ -935,6 +1008,14 @@ msgstr ""
msgid "The event inspector is placed in the footer of the front and it allows you to see all the fired GTM events."
msgstr ""

#: assets/admin/settings.js:1
msgid "Only enable for Administrator"
msgstr ""

#: assets/admin/settings.js:1
msgid "The Event Inspector will only be visible for user with the Administrator role."
msgstr ""

#: assets/admin/settings.js:1
msgid "Console log"
msgstr ""
Expand All @@ -951,6 +1032,14 @@ msgstr ""
msgid "Log the \"purchase\" event to the debug log."
msgstr ""

#: assets/admin/settings.js:1
msgid "GTM Kit will never transmit any domain names or container ID's."
msgstr ""

#: assets/admin/settings.js:1
msgid "I agree to share anonymous data with the development team to help improve GTM Kit."
msgstr ""

#: assets/admin/settings.js:1
msgid "About GTM Kit"
msgstr ""
Expand Down Expand Up @@ -1041,10 +1130,6 @@ msgstr ""
msgid "Custom"
msgstr ""

#: assets/admin/settings.js:19
msgid "Unlock with premium"
msgstr ""

#: assets/admin/settings.js:19
msgid "WooCommerce"
msgstr ""
Expand Down Expand Up @@ -1495,14 +1580,6 @@ msgstr ""
msgid "It should look something like this:"
msgstr ""

#: assets/admin/wizard.js:1
msgid "No thanks. I know what I'm doing."
msgstr ""

#: assets/admin/wizard.js:1
msgid "Go to the dashboard."
msgstr ""

#: assets/admin/wizard.js:1
msgid "Would you like to import plugin settings?"
msgstr ""
Expand Down Expand Up @@ -1595,6 +1672,10 @@ msgstr ""
msgid "Welcome"
msgstr ""

#: assets/admin/wizard.js:1
msgid "Go to the dashboard."
msgstr ""

#: assets/frontend/woocommerce-blocks.js:1
#: src/js/frontend/woocommerce-blocks/index.js:162
msgid "Product List"
Expand Down
Loading

0 comments on commit ffb3718

Please sign in to comment.