Changeset 3495201
- Timestamp:
- 03/31/2026 06:37:28 AM (32 hours ago)
- Location:
- linguise
- Files:
-
- 2 added
- 18 edited
- 1 copied
-
tags/2.2.35 (copied) (copied from linguise/trunk)
-
tags/2.2.35/languages/linguise.pot (modified) (1 diff)
-
tags/2.2.35/linguise.php (modified) (1 diff)
-
tags/2.2.35/readme.txt (modified) (2 diffs)
-
tags/2.2.35/src/configuration.php (modified) (2 diffs)
-
tags/2.2.35/src/constants.php (modified) (1 diff)
-
tags/2.2.35/src/third-party-loader.php (modified) (2 diffs)
-
tags/2.2.35/src/thirdparty/elementor-pro.php (modified) (5 diffs)
-
tags/2.2.35/src/thirdparty/wc/wcpbc.php (added)
-
tags/2.2.35/src/thirdparty/wc/woocommerce.php (modified) (2 diffs)
-
tags/2.2.35/vendor/composer/installed.php (modified) (2 diffs)
-
trunk/languages/linguise.pot (modified) (1 diff)
-
trunk/linguise.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/src/configuration.php (modified) (2 diffs)
-
trunk/src/constants.php (modified) (1 diff)
-
trunk/src/third-party-loader.php (modified) (2 diffs)
-
trunk/src/thirdparty/elementor-pro.php (modified) (5 diffs)
-
trunk/src/thirdparty/wc/wcpbc.php (added)
-
trunk/src/thirdparty/wc/woocommerce.php (modified) (2 diffs)
-
trunk/vendor/composer/installed.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
linguise/tags/2.2.35/languages/linguise.pot
r3490465 r3495201 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Linguise - AI Automatic Multilingual Translation 2.2.3 4\n"5 "Project-Id-Version: Linguise - AI Automatic Multilingual Translation 2.2.35\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/linguise\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -
linguise/tags/2.2.35/linguise.php
r3490465 r3495201 5 5 * Plugin URI: https://www.linguise.com/ 6 6 * Description: Linguise translation plugin 7 * Version:2.2.3 47 * Version:2.2.35 8 8 * Text Domain: linguise 9 9 * Domain Path: /languages -
linguise/tags/2.2.35/readme.txt
r3490465 r3495201 4 4 Requires at least: 4.0 5 5 Tested up to: 6.9 6 Stable tag: 2.2.3 46 Stable tag: 2.2.35 7 7 Requires PHP: 7.0 8 8 License: GPLv2 or later … … 108 108 109 109 == Changelog == 110 = 2.2.35 = 111 - Feature: Translate WooCommerce Product Price Based on Countries country-selector 112 110 113 = 2.2.34 = 111 114 - Fix: Translate variation_description, availability_html, price_html -
linguise/tags/2.2.35/src/configuration.php
r3483370 r3495201 112 112 } 113 113 if (!class_exists('\\DOMDocument')) { 114 // @codeCoverageIgnoreStart 114 115 $api_web_errors[] = [ 115 116 'type' => 'warning', 116 117 'message' => __('`DOMDocument` class is not available, some Linguise features might not works properly!', 'linguise'), 117 118 ]; 119 // @codeCoverageIgnoreEnd 118 120 } 119 121 … … 457 459 return $apiResponse->data; 458 460 } else { 461 // @codeCoverageIgnoreStart 459 462 $api_web_errors[] = [ 460 463 'type' => 'error', 461 464 'message' => __('API returns empty data when querying configuration. Please try again later or contact our support team if the problem persist.', 'linguise'), 462 465 ]; 466 // @codeCoverageIgnoreEnd 463 467 } 464 468 } else { -
linguise/tags/2.2.35/src/constants.php
r3490465 r3495201 1 1 <?php 2 2 if (!defined('LINGUISE_SCRIPT_TRANSLATION_VERSION')) { 3 define('LINGUISE_SCRIPT_TRANSLATION_VERSION', 'wordpress_plugin/2.2.3 4');3 define('LINGUISE_SCRIPT_TRANSLATION_VERSION', 'wordpress_plugin/2.2.35'); 4 4 } 5 5 6 6 if (!defined('LINGUISE_VERSION')) { 7 define('LINGUISE_VERSION', '2.2.3 4');7 define('LINGUISE_VERSION', '2.2.35'); 8 8 } -
linguise/tags/2.2.35/src/third-party-loader.php
r3464793 r3495201 75 75 'wp-forms' => 'WPFormsIntegration', 76 76 'add-search-to-menu' => 'AddSearchToMenuIntegration', 77 'wc/wcpbc' => 'WCPBCIntegration', 77 78 ]; 78 79 … … 180 181 if (!function_exists('is_plugin_active')) { 181 182 // Load plugin handler so we can use is_plugin_active 183 // @codeCoverageIgnoreStart 182 184 require_once ABSPATH . 'wp-admin/includes/plugin.php'; 185 // @codeCoverageIgnoreEnd 183 186 } 184 187 -
linguise/tags/2.2.35/src/thirdparty/elementor-pro.php
r3413813 r3495201 61 61 * Load the integration. 62 62 * 63 * @codeCoverageIgnore 64 * 63 65 * @return void 64 66 */ … … 81 83 * Unload the integration 82 84 * 85 * @codeCoverageIgnore 86 * 83 87 * @return void 84 88 */ … … 90 94 /** 91 95 * Reload the integration 96 * 97 * @codeCoverageIgnore 92 98 * 93 99 * @return void … … 169 175 $tl_json_frag = $translated_fragments['elementor-pro'][$ajax_name]; 170 176 if (empty($tl_json_frag)) { 171 return $data; 177 return $data; // @codeCoverageIgnore 172 178 } 173 179 174 180 $tl_json_frag_list = $tl_json_frag['fragments']; 175 181 if (empty($tl_json_frag_list)) { 176 return $data; 182 return $data; // @codeCoverageIgnore 177 183 } 178 184 … … 181 187 $encoded_data = json_encode($replaced_content, JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES); 182 188 if ($encoded_data === false) { 183 return $data; // Return original data if JSON encoding fails 189 // Return original data if JSON encoding fails 190 return $data; // @codeCoverageIgnore 184 191 } 185 192 return $encoded_data; // Return the translated JSON data 186 193 } 187 194 188 return $data; // Return original data if no replacement was made 195 // Return original data if no replacement was made 196 return $data; // @codeCoverageIgnore 189 197 } 190 198 } -
linguise/tags/2.2.35/src/thirdparty/wc/woocommerce.php
r3490465 r3495201 404 404 405 405 if (!empty($site_path) && $site_path !== '/') { 406 // @codeCoverageIgnoreStart 406 407 $site_path_slug = ltrim($site_path, '/'); // e.g. 'uk' 407 408 … … 421 422 422 423 $url_path = $language . '/' . $site_path_slug . '/' . $url_path; 424 // @codeCoverageIgnoreEnd 423 425 } else { 424 426 // No multisite path — just ensure language prefix, no duplicates -
linguise/tags/2.2.35/vendor/composer/installed.php
r3490465 r3495201 4 4 'pretty_version' => 'dev-master', 5 5 'version' => 'dev-master', 6 'reference' => ' 8ce6da2db28a37f376f01357723cce763c23eb4c',6 'reference' => '001e99e6ad5d20bdfb323eec5aabc6491864a48b', 7 7 'type' => 'library', 8 8 'install_path' => __DIR__ . '/../../', … … 32 32 'pretty_version' => 'dev-master', 33 33 'version' => 'dev-master', 34 'reference' => ' 8ce6da2db28a37f376f01357723cce763c23eb4c',34 'reference' => '001e99e6ad5d20bdfb323eec5aabc6491864a48b', 35 35 'type' => 'library', 36 36 'install_path' => __DIR__ . '/../../', -
linguise/trunk/languages/linguise.pot
r3490465 r3495201 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Linguise - AI Automatic Multilingual Translation 2.2.3 4\n"5 "Project-Id-Version: Linguise - AI Automatic Multilingual Translation 2.2.35\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/linguise\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -
linguise/trunk/linguise.php
r3490465 r3495201 5 5 * Plugin URI: https://www.linguise.com/ 6 6 * Description: Linguise translation plugin 7 * Version:2.2.3 47 * Version:2.2.35 8 8 * Text Domain: linguise 9 9 * Domain Path: /languages -
linguise/trunk/readme.txt
r3490465 r3495201 4 4 Requires at least: 4.0 5 5 Tested up to: 6.9 6 Stable tag: 2.2.3 46 Stable tag: 2.2.35 7 7 Requires PHP: 7.0 8 8 License: GPLv2 or later … … 108 108 109 109 == Changelog == 110 = 2.2.35 = 111 - Feature: Translate WooCommerce Product Price Based on Countries country-selector 112 110 113 = 2.2.34 = 111 114 - Fix: Translate variation_description, availability_html, price_html -
linguise/trunk/src/configuration.php
r3483370 r3495201 112 112 } 113 113 if (!class_exists('\\DOMDocument')) { 114 // @codeCoverageIgnoreStart 114 115 $api_web_errors[] = [ 115 116 'type' => 'warning', 116 117 'message' => __('`DOMDocument` class is not available, some Linguise features might not works properly!', 'linguise'), 117 118 ]; 119 // @codeCoverageIgnoreEnd 118 120 } 119 121 … … 457 459 return $apiResponse->data; 458 460 } else { 461 // @codeCoverageIgnoreStart 459 462 $api_web_errors[] = [ 460 463 'type' => 'error', 461 464 'message' => __('API returns empty data when querying configuration. Please try again later or contact our support team if the problem persist.', 'linguise'), 462 465 ]; 466 // @codeCoverageIgnoreEnd 463 467 } 464 468 } else { -
linguise/trunk/src/constants.php
r3490465 r3495201 1 1 <?php 2 2 if (!defined('LINGUISE_SCRIPT_TRANSLATION_VERSION')) { 3 define('LINGUISE_SCRIPT_TRANSLATION_VERSION', 'wordpress_plugin/2.2.3 4');3 define('LINGUISE_SCRIPT_TRANSLATION_VERSION', 'wordpress_plugin/2.2.35'); 4 4 } 5 5 6 6 if (!defined('LINGUISE_VERSION')) { 7 define('LINGUISE_VERSION', '2.2.3 4');7 define('LINGUISE_VERSION', '2.2.35'); 8 8 } -
linguise/trunk/src/third-party-loader.php
r3464793 r3495201 75 75 'wp-forms' => 'WPFormsIntegration', 76 76 'add-search-to-menu' => 'AddSearchToMenuIntegration', 77 'wc/wcpbc' => 'WCPBCIntegration', 77 78 ]; 78 79 … … 180 181 if (!function_exists('is_plugin_active')) { 181 182 // Load plugin handler so we can use is_plugin_active 183 // @codeCoverageIgnoreStart 182 184 require_once ABSPATH . 'wp-admin/includes/plugin.php'; 185 // @codeCoverageIgnoreEnd 183 186 } 184 187 -
linguise/trunk/src/thirdparty/elementor-pro.php
r3413813 r3495201 61 61 * Load the integration. 62 62 * 63 * @codeCoverageIgnore 64 * 63 65 * @return void 64 66 */ … … 81 83 * Unload the integration 82 84 * 85 * @codeCoverageIgnore 86 * 83 87 * @return void 84 88 */ … … 90 94 /** 91 95 * Reload the integration 96 * 97 * @codeCoverageIgnore 92 98 * 93 99 * @return void … … 169 175 $tl_json_frag = $translated_fragments['elementor-pro'][$ajax_name]; 170 176 if (empty($tl_json_frag)) { 171 return $data; 177 return $data; // @codeCoverageIgnore 172 178 } 173 179 174 180 $tl_json_frag_list = $tl_json_frag['fragments']; 175 181 if (empty($tl_json_frag_list)) { 176 return $data; 182 return $data; // @codeCoverageIgnore 177 183 } 178 184 … … 181 187 $encoded_data = json_encode($replaced_content, JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES); 182 188 if ($encoded_data === false) { 183 return $data; // Return original data if JSON encoding fails 189 // Return original data if JSON encoding fails 190 return $data; // @codeCoverageIgnore 184 191 } 185 192 return $encoded_data; // Return the translated JSON data 186 193 } 187 194 188 return $data; // Return original data if no replacement was made 195 // Return original data if no replacement was made 196 return $data; // @codeCoverageIgnore 189 197 } 190 198 } -
linguise/trunk/src/thirdparty/wc/woocommerce.php
r3490465 r3495201 404 404 405 405 if (!empty($site_path) && $site_path !== '/') { 406 // @codeCoverageIgnoreStart 406 407 $site_path_slug = ltrim($site_path, '/'); // e.g. 'uk' 407 408 … … 421 422 422 423 $url_path = $language . '/' . $site_path_slug . '/' . $url_path; 424 // @codeCoverageIgnoreEnd 423 425 } else { 424 426 // No multisite path — just ensure language prefix, no duplicates -
linguise/trunk/vendor/composer/installed.php
r3490465 r3495201 4 4 'pretty_version' => 'dev-master', 5 5 'version' => 'dev-master', 6 'reference' => ' 8ce6da2db28a37f376f01357723cce763c23eb4c',6 'reference' => '001e99e6ad5d20bdfb323eec5aabc6491864a48b', 7 7 'type' => 'library', 8 8 'install_path' => __DIR__ . '/../../', … … 32 32 'pretty_version' => 'dev-master', 33 33 'version' => 'dev-master', 34 'reference' => ' 8ce6da2db28a37f376f01357723cce763c23eb4c',34 'reference' => '001e99e6ad5d20bdfb323eec5aabc6491864a48b', 35 35 'type' => 'library', 36 36 'install_path' => __DIR__ . '/../../',
Note: See TracChangeset
for help on using the changeset viewer.