Plugin Directory

Changeset 3495201


Ignore:
Timestamp:
03/31/2026 06:37:28 AM (32 hours ago)
Author:
linguise
Message:

Updating to version 2.2.35

Location:
linguise
Files:
2 added
18 edited
1 copied

Legend:

Unmodified
Added
Removed
  • linguise/tags/2.2.35/languages/linguise.pot

    r3490465 r3495201  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Linguise - AI Automatic Multilingual Translation 2.2.34\n"
     5"Project-Id-Version: Linguise - AI Automatic Multilingual Translation 2.2.35\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/linguise\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  • linguise/tags/2.2.35/linguise.php

    r3490465 r3495201  
    55 * Plugin URI: https://www.linguise.com/
    66 * Description: Linguise translation plugin
    7  * Version:2.2.34
     7 * Version:2.2.35
    88 * Text Domain: linguise
    99 * Domain Path: /languages
  • linguise/tags/2.2.35/readme.txt

    r3490465 r3495201  
    44Requires at least: 4.0
    55Tested up to: 6.9
    6 Stable tag: 2.2.34
     6Stable tag: 2.2.35
    77Requires PHP: 7.0
    88License: GPLv2 or later
     
    108108
    109109== Changelog ==
     110= 2.2.35 =
     111- Feature: Translate WooCommerce Product Price Based on Countries country-selector
     112
    110113= 2.2.34 =
    111114- Fix: Translate variation_description, availability_html, price_html
  • linguise/tags/2.2.35/src/configuration.php

    r3483370 r3495201  
    112112        }
    113113        if (!class_exists('\\DOMDocument')) {
     114            // @codeCoverageIgnoreStart
    114115            $api_web_errors[] = [
    115116                'type' => 'warning',
    116117                'message' => __('`DOMDocument` class is not available, some Linguise features might not works properly!', 'linguise'),
    117118            ];
     119            // @codeCoverageIgnoreEnd
    118120        }
    119121
     
    457459                return $apiResponse->data;
    458460            } else {
     461                // @codeCoverageIgnoreStart
    459462                $api_web_errors[] = [
    460463                    'type' => 'error',
    461464                    'message' => __('API returns empty data when querying configuration. Please try again later or contact our support team if the problem persist.', 'linguise'),
    462465                ];
     466                // @codeCoverageIgnoreEnd
    463467            }
    464468        } else {
  • linguise/tags/2.2.35/src/constants.php

    r3490465 r3495201  
    11<?php
    22if (!defined('LINGUISE_SCRIPT_TRANSLATION_VERSION')) {
    3     define('LINGUISE_SCRIPT_TRANSLATION_VERSION', 'wordpress_plugin/2.2.34');
     3    define('LINGUISE_SCRIPT_TRANSLATION_VERSION', 'wordpress_plugin/2.2.35');
    44}
    55
    66if (!defined('LINGUISE_VERSION')) {
    7     define('LINGUISE_VERSION', '2.2.34');
     7    define('LINGUISE_VERSION', '2.2.35');
    88}
  • linguise/tags/2.2.35/src/third-party-loader.php

    r3464793 r3495201  
    7575        'wp-forms' => 'WPFormsIntegration',
    7676        'add-search-to-menu' => 'AddSearchToMenuIntegration',
     77        'wc/wcpbc' => 'WCPBCIntegration',
    7778    ];
    7879
     
    180181        if (!function_exists('is_plugin_active')) {
    181182            // Load plugin handler so we can use is_plugin_active
     183            // @codeCoverageIgnoreStart
    182184            require_once ABSPATH . 'wp-admin/includes/plugin.php';
     185            // @codeCoverageIgnoreEnd
    183186        }
    184187
  • linguise/tags/2.2.35/src/thirdparty/elementor-pro.php

    r3413813 r3495201  
    6161     * Load the integration.
    6262     *
     63     * @codeCoverageIgnore
     64     *
    6365     * @return void
    6466     */
     
    8183     * Unload the integration
    8284     *
     85     * @codeCoverageIgnore
     86     *
    8387     * @return void
    8488     */
     
    9094    /**
    9195     * Reload the integration
     96     *
     97     * @codeCoverageIgnore
    9298     *
    9399     * @return void
     
    169175        $tl_json_frag = $translated_fragments['elementor-pro'][$ajax_name];
    170176        if (empty($tl_json_frag)) {
    171             return $data;
     177            return $data; // @codeCoverageIgnore
    172178        }
    173179
    174180        $tl_json_frag_list = $tl_json_frag['fragments'];
    175181        if (empty($tl_json_frag_list)) {
    176             return $data;
     182            return $data; // @codeCoverageIgnore
    177183        }
    178184
     
    181187            $encoded_data = json_encode($replaced_content, JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES);
    182188            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
    184191            }
    185192            return $encoded_data; // Return the translated JSON data
    186193        }
    187194
    188         return $data; // Return original data if no replacement was made
     195        // Return original data if no replacement was made
     196        return $data; // @codeCoverageIgnore
    189197    }
    190198}
  • linguise/tags/2.2.35/src/thirdparty/wc/woocommerce.php

    r3490465 r3495201  
    404404
    405405        if (!empty($site_path) && $site_path !== '/') {
     406            // @codeCoverageIgnoreStart
    406407            $site_path_slug = ltrim($site_path, '/'); // e.g. 'uk'
    407408
     
    421422
    422423            $url_path = $language . '/' . $site_path_slug . '/' . $url_path;
     424            // @codeCoverageIgnoreEnd
    423425        } else {
    424426            // No multisite path — just ensure language prefix, no duplicates
  • linguise/tags/2.2.35/vendor/composer/installed.php

    r3490465 r3495201  
    44        'pretty_version' => 'dev-master',
    55        'version' => 'dev-master',
    6         'reference' => '8ce6da2db28a37f376f01357723cce763c23eb4c',
     6        'reference' => '001e99e6ad5d20bdfb323eec5aabc6491864a48b',
    77        'type' => 'library',
    88        'install_path' => __DIR__ . '/../../',
     
    3232            'pretty_version' => 'dev-master',
    3333            'version' => 'dev-master',
    34             'reference' => '8ce6da2db28a37f376f01357723cce763c23eb4c',
     34            'reference' => '001e99e6ad5d20bdfb323eec5aabc6491864a48b',
    3535            'type' => 'library',
    3636            'install_path' => __DIR__ . '/../../',
  • linguise/trunk/languages/linguise.pot

    r3490465 r3495201  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Linguise - AI Automatic Multilingual Translation 2.2.34\n"
     5"Project-Id-Version: Linguise - AI Automatic Multilingual Translation 2.2.35\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/linguise\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  • linguise/trunk/linguise.php

    r3490465 r3495201  
    55 * Plugin URI: https://www.linguise.com/
    66 * Description: Linguise translation plugin
    7  * Version:2.2.34
     7 * Version:2.2.35
    88 * Text Domain: linguise
    99 * Domain Path: /languages
  • linguise/trunk/readme.txt

    r3490465 r3495201  
    44Requires at least: 4.0
    55Tested up to: 6.9
    6 Stable tag: 2.2.34
     6Stable tag: 2.2.35
    77Requires PHP: 7.0
    88License: GPLv2 or later
     
    108108
    109109== Changelog ==
     110= 2.2.35 =
     111- Feature: Translate WooCommerce Product Price Based on Countries country-selector
     112
    110113= 2.2.34 =
    111114- Fix: Translate variation_description, availability_html, price_html
  • linguise/trunk/src/configuration.php

    r3483370 r3495201  
    112112        }
    113113        if (!class_exists('\\DOMDocument')) {
     114            // @codeCoverageIgnoreStart
    114115            $api_web_errors[] = [
    115116                'type' => 'warning',
    116117                'message' => __('`DOMDocument` class is not available, some Linguise features might not works properly!', 'linguise'),
    117118            ];
     119            // @codeCoverageIgnoreEnd
    118120        }
    119121
     
    457459                return $apiResponse->data;
    458460            } else {
     461                // @codeCoverageIgnoreStart
    459462                $api_web_errors[] = [
    460463                    'type' => 'error',
    461464                    'message' => __('API returns empty data when querying configuration. Please try again later or contact our support team if the problem persist.', 'linguise'),
    462465                ];
     466                // @codeCoverageIgnoreEnd
    463467            }
    464468        } else {
  • linguise/trunk/src/constants.php

    r3490465 r3495201  
    11<?php
    22if (!defined('LINGUISE_SCRIPT_TRANSLATION_VERSION')) {
    3     define('LINGUISE_SCRIPT_TRANSLATION_VERSION', 'wordpress_plugin/2.2.34');
     3    define('LINGUISE_SCRIPT_TRANSLATION_VERSION', 'wordpress_plugin/2.2.35');
    44}
    55
    66if (!defined('LINGUISE_VERSION')) {
    7     define('LINGUISE_VERSION', '2.2.34');
     7    define('LINGUISE_VERSION', '2.2.35');
    88}
  • linguise/trunk/src/third-party-loader.php

    r3464793 r3495201  
    7575        'wp-forms' => 'WPFormsIntegration',
    7676        'add-search-to-menu' => 'AddSearchToMenuIntegration',
     77        'wc/wcpbc' => 'WCPBCIntegration',
    7778    ];
    7879
     
    180181        if (!function_exists('is_plugin_active')) {
    181182            // Load plugin handler so we can use is_plugin_active
     183            // @codeCoverageIgnoreStart
    182184            require_once ABSPATH . 'wp-admin/includes/plugin.php';
     185            // @codeCoverageIgnoreEnd
    183186        }
    184187
  • linguise/trunk/src/thirdparty/elementor-pro.php

    r3413813 r3495201  
    6161     * Load the integration.
    6262     *
     63     * @codeCoverageIgnore
     64     *
    6365     * @return void
    6466     */
     
    8183     * Unload the integration
    8284     *
     85     * @codeCoverageIgnore
     86     *
    8387     * @return void
    8488     */
     
    9094    /**
    9195     * Reload the integration
     96     *
     97     * @codeCoverageIgnore
    9298     *
    9399     * @return void
     
    169175        $tl_json_frag = $translated_fragments['elementor-pro'][$ajax_name];
    170176        if (empty($tl_json_frag)) {
    171             return $data;
     177            return $data; // @codeCoverageIgnore
    172178        }
    173179
    174180        $tl_json_frag_list = $tl_json_frag['fragments'];
    175181        if (empty($tl_json_frag_list)) {
    176             return $data;
     182            return $data; // @codeCoverageIgnore
    177183        }
    178184
     
    181187            $encoded_data = json_encode($replaced_content, JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES);
    182188            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
    184191            }
    185192            return $encoded_data; // Return the translated JSON data
    186193        }
    187194
    188         return $data; // Return original data if no replacement was made
     195        // Return original data if no replacement was made
     196        return $data; // @codeCoverageIgnore
    189197    }
    190198}
  • linguise/trunk/src/thirdparty/wc/woocommerce.php

    r3490465 r3495201  
    404404
    405405        if (!empty($site_path) && $site_path !== '/') {
     406            // @codeCoverageIgnoreStart
    406407            $site_path_slug = ltrim($site_path, '/'); // e.g. 'uk'
    407408
     
    421422
    422423            $url_path = $language . '/' . $site_path_slug . '/' . $url_path;
     424            // @codeCoverageIgnoreEnd
    423425        } else {
    424426            // No multisite path — just ensure language prefix, no duplicates
  • linguise/trunk/vendor/composer/installed.php

    r3490465 r3495201  
    44        'pretty_version' => 'dev-master',
    55        'version' => 'dev-master',
    6         'reference' => '8ce6da2db28a37f376f01357723cce763c23eb4c',
     6        'reference' => '001e99e6ad5d20bdfb323eec5aabc6491864a48b',
    77        'type' => 'library',
    88        'install_path' => __DIR__ . '/../../',
     
    3232            'pretty_version' => 'dev-master',
    3333            'version' => 'dev-master',
    34             'reference' => '8ce6da2db28a37f376f01357723cce763c23eb4c',
     34            'reference' => '001e99e6ad5d20bdfb323eec5aabc6491864a48b',
    3535            'type' => 'library',
    3636            'install_path' => __DIR__ . '/../../',
Note: See TracChangeset for help on using the changeset viewer.