From a355644feb50e86462b96bfaf1818505e94273df Mon Sep 17 00:00:00 2001 From: DAnn2012 Date: Sat, 11 May 2024 09:54:14 +0200 Subject: [PATCH 1/5] Update class-advanced.php --- includes/admin/settings/class-advanced.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/admin/settings/class-advanced.php b/includes/admin/settings/class-advanced.php index 6e2da58..501bbf3 100644 --- a/includes/admin/settings/class-advanced.php +++ b/includes/admin/settings/class-advanced.php @@ -201,7 +201,7 @@ public function do_uninstall_settings() { __( 'Remove settings at Uninstall', 'host-analyticsjs-local' ), CAOS_Admin_Settings::CAOS_ADV_SETTING_UNINSTALL_SETTINGS, CAOS::get( CAOS_Admin_Settings::CAOS_ADV_SETTING_UNINSTALL_SETTINGS ), - '' . __( 'Warning!', 'host-analytics-local' ) . ' ' . __( 'This will remove the settings from the database upon plugin deletion!', 'host-analyticsjs-local' ) + '' . __( 'Warning!', 'host-analyticsjs-local' ) . ' ' . __( 'This will remove the settings from the database upon plugin deletion!', 'host-analyticsjs-local' ) ); } } From 3b10a7dc465af873efbaa1c31850d517bcca4e56 Mon Sep 17 00:00:00 2001 From: DAnn2012 Date: Sat, 11 May 2024 09:57:57 +0200 Subject: [PATCH 2/5] Update class-advanced.php --- includes/admin/settings/class-advanced.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/admin/settings/class-advanced.php b/includes/admin/settings/class-advanced.php index 501bbf3..d2219ae 100644 --- a/includes/admin/settings/class-advanced.php +++ b/includes/admin/settings/class-advanced.php @@ -109,7 +109,7 @@ public function do_randomize_client_id_promo() { ! defined( 'CAOS_PRO_ACTIVE' ) || ( defined( 'CAOS_PRO_ACTIVE' ) && CAOS::get( CAOS_Admin_Settings::CAOS_ADV_SETTING_COMPATIBILITY_MODE, '' ) ), true, true, - __( 'Disable Compatibility Mode to enable it.', 'host-webfonts-local' ) + __( 'Disable Compatibility Mode to enable it.', 'host-analyticsjs-local' ) ); } @@ -130,7 +130,7 @@ public function do_cloaked_affiliate_links_tracking_promo() { ?> display_reason( true ) ) : ?>

- Service Provider to Google Analytics and/or set Tracking Code to Default or Asynchronous.', 'host-webfonts-local' ) ), 'post' ); ?> + Service Provider to Google Analytics and/or set Tracking Code to Default or Asynchronous.', 'host-analyticsjs-local' ) ), 'post' ); ?>

@@ -189,7 +189,7 @@ public function do_advertising_features() { CAOS::get( CAOS_Admin_Settings::CAOS_ADV_SETTING_COMPATIBILITY_MODE, '' ), true, false, - __( 'Disable Compatibility Mode to enable it.', 'host-webfonts-local' ) + __( 'Disable Compatibility Mode to enable it.', 'host-analyticsjs-local' ) ); } From 8ee0d72af9d9368199d4c7f35f1e0914dce8096b Mon Sep 17 00:00:00 2001 From: DAnn2012 Date: Sat, 11 May 2024 09:59:23 +0200 Subject: [PATCH 3/5] Update class-basic.php --- includes/admin/settings/class-basic.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/admin/settings/class-basic.php b/includes/admin/settings/class-basic.php index 173f24d..f1981bf 100644 --- a/includes/admin/settings/class-basic.php +++ b/includes/admin/settings/class-basic.php @@ -98,7 +98,7 @@ public function do_allow_tracking() { __( 'Configure CAOS to "listen" to your Cookie Banner plugin.', 'host-analyticsjs-local' ) . ' ' . __( 'Choose \'Always\' to enable tracking without prior consent.', 'host-analyticsjs-local' ) . ' ' . sprintf( __( 'CAOS uses the Google Analytics 4 Consent Mode API.', 'host-analyticsjs-local' ), 'https://support.google.com/analytics/answer/9976101?hl=en' ), CAOS::get( CAOS_Admin_Settings::CAOS_ADV_SETTING_COMPATIBILITY_MODE, '' ), false, - __( 'Enable it by disabling Compatibility Mode.', 'host-webfonts-local' ) + __( 'Enable it by disabling Compatibility Mode.', 'host-analyticsjs-local' ) ); } @@ -141,7 +141,7 @@ public function do_tracking_code() { CAOS::get( CAOS_Admin_Settings::CAOS_BASIC_SETTING_TRACKING_CODE ), __( 'Should we use the Asynchronous or Minimal tracking code? Minimal Analytics is fastest, but supports only basic features i.e. pageviews and events.', 'host-analyticsjs-local' ) . ' ' . sprintf( '', 'https://daan.dev/docs/caos/basic-settings/' . $this->utm_tags ) . __( 'Read more', 'host-analyticsjs-local' ) . '', CAOS::get( CAOS_Admin_Settings::CAOS_ADV_SETTING_COMPATIBILITY_MODE, '' ), - __( 'Enable it by disabling Compatibility Mode.', 'host-webfonts-local' ) + __( 'Enable it by disabling Compatibility Mode.', 'host-analyticsjs-local' ) ); } @@ -175,7 +175,7 @@ public function do_script_position() { __( 'Load the Analytics tracking-snippet in the header, footer or manually? If e.g. your theme doesn\'t load the wp_head() conventionally, choose \'Add manually\'.', 'host-analyticsjs-local' ), CAOS::get( CAOS_Admin_Settings::CAOS_ADV_SETTING_COMPATIBILITY_MODE, '' ), false, - __( 'Enable it by disabling Compatibility Mode.', 'host-webfonts-local' ) + __( 'Enable it by disabling Compatibility Mode.', 'host-analyticsjs-local' ) ); } From bfa4d9137e050511aad0dfe8db9aa3cf8bb82195 Mon Sep 17 00:00:00 2001 From: DAnn2012 Date: Sat, 11 May 2024 10:01:35 +0200 Subject: [PATCH 4/5] Update class-builder.php --- includes/admin/settings/class-builder.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/includes/admin/settings/class-builder.php b/includes/admin/settings/class-builder.php index dc83341..3ab5207 100644 --- a/includes/admin/settings/class-builder.php +++ b/includes/admin/settings/class-builder.php @@ -138,7 +138,7 @@ public function do_radio( $label, $inputs, $name, $checked, $description, $disab display_reason() ) : ?>

- +

@@ -178,7 +178,7 @@ public function do_select( $label, $select, $options, $selected, $description, $ display_reason() ) : ?>

- +

@@ -211,7 +211,7 @@ public function do_number( $label, $name, $value, $description, $min = 0, $disab class="" type="number" name="caos_settings[]" min="" value="" /> display_reason() ) : ?>

- +

@@ -244,7 +244,7 @@ public function do_text( $label, $name, $placeholder, $value, $description = '', class="" type="text" name="caos_settings[]" placeholder="" value="" /> display_reason() ) : ?>

- +

@@ -281,7 +281,7 @@ public function do_checkbox( $label, $name, $checked, $description, $disabled = id="caos_settings[]" type="checkbox" class="" name="caos_settings[]" /> display_reason( $is_pro_option ) ) : ?>

- +

From fefc3ba0c8c885395ceafc5a6eebb29ec335c7dc Mon Sep 17 00:00:00 2001 From: DAnn2012 Date: Sat, 11 May 2024 10:11:12 +0200 Subject: [PATCH 5/5] Update class-builder.php --- includes/admin/settings/class-builder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/admin/settings/class-builder.php b/includes/admin/settings/class-builder.php index 3ab5207..e72ac1c 100644 --- a/includes/admin/settings/class-builder.php +++ b/includes/admin/settings/class-builder.php @@ -43,7 +43,7 @@ public function __construct() { */ public function do_promo() { if ( defined( 'CAOS_PRO_ACTIVE' ) === false ) { - $this->promo = sprintf( __( 'Get CAOS Pro to unlock this option.' ), CAOS_Admin_Settings::DAAN_DEV_WORDPRESS_CAOS_PRO . $this->utm_tags ); + $this->promo = sprintf( __( 'Get CAOS Pro to unlock this option.', 'host-analyticsjs-local' ), CAOS_Admin_Settings::DAAN_DEV_WORDPRESS_CAOS_PRO . $this->utm_tags ); } }