Plugin Directory

Changeset 3485809


Ignore:
Timestamp:
03/18/2026 03:05:22 PM (2 weeks ago)
Author:
razvan.mo
Message:

tagging version 3.1.3

Location:
translatepress-multilingual
Files:
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • translatepress-multilingual/tags/3.1.3/class-translate-press.php

    r3484737 r3485809  
    7878        define( 'TRP_PLUGIN_BASE', plugin_basename( __DIR__ . '/index.php' ) );
    7979        define( 'TRP_PLUGIN_SLUG', 'translatepress-multilingual' );
    80         define( 'TRP_PLUGIN_VERSION', '3.1.2' );
     80        define( 'TRP_PLUGIN_VERSION', '3.1.3' );
    8181
    8282        wp_cache_add_non_persistent_groups(array('trp'));
  • translatepress-multilingual/tags/3.1.3/includes/class-settings.php

    r3484737 r3485809  
    489489
    490490    public function get_default_trp_machine_translation_settings(){
     491        /* class doesn't exist only if a third party (ex. CTX Feed Pro) incorrectly includes our files by hand and instantiates TRP_Settings() instead of using $trp = TRP_Translate_Press::get_trp_instance(); 
     492         * When this happens, the ai_words_* options are never used anyway, and is never stored in DB either
     493         */
     494        $threshold = class_exists('TRP_AI_Words_Notification' ) ? TRP_AI_Words_Notification::get_default_threshold() : 200;
     495
    491496        return apply_filters( 'trp_get_default_trp_machine_translation_settings', array(
    492497            // default settings for trp_machine_translation_settings
     
    500505            'ai_words_notification_enabled'     => 'yes',
    501506            'ai_words_notification_email'       => '',
    502             'ai_words_notification_threshold'   => TRP_AI_Words_Notification::get_default_threshold()
     507            'ai_words_notification_threshold'   => $threshold
    503508            /*
    504509             * These settings are merged into the saved DB option.
  • translatepress-multilingual/tags/3.1.3/index.php

    r3484737 r3485809  
    44Plugin URI: https://translatepress.com/
    55Description: Experience a better way of translating your WordPress site using a visual front-end translation editor, with full support for WooCommerce and site builders.
    6 Version: 3.1.2
     6Version: 3.1.3
    77Author: Cozmoslabs, Razvan Mocanu, Madalin Ungureanu, Cristophor Hurduban
    88Author URI: https://cozmoslabs.com/
  • translatepress-multilingual/tags/3.1.3/languages/translatepress-multilingual.pot

    r3484737 r3485809  
    77"Content-Type: text/plain; charset=UTF-8\n"
    88"Content-Transfer-Encoding: 8bit\n"
    9 "POT-Creation-Date: 2026-03-17 11:54+0000\n"
     9"POT-Creation-Date: 2026-03-18 13:36+0000\n"
    1010"X-Poedit-Basepath: ..\n"
    1111"X-Poedit-KeywordsList: __;_e;_ex:1,2c;_n:1,2;_n_noop:1,2;_nx:1,2,4c;_nx_noop:1,2,3c;_x:1,2c;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
     
    615615msgstr ""
    616616
    617 #: includes/class-settings.php:554
     617#: includes/class-settings.php:559
    618618msgid "Error! Duplicate URL slug values."
    619619msgstr ""
    620620
    621 #: includes/class-settings.php:555
     621#: includes/class-settings.php:560
    622622msgid "You cannot select two languages that have the same <a href=\"https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes\" target=\"_blank\">iso code</a> but different formalities because doing so will lead to duplicate <a href=\"https://developers.google.com/search/docs/specialty/international/localized-versions\" target=\"_blank\">hreflang tags</a>."
    623623msgstr ""
    624624
    625 #: includes/class-settings.php:556
     625#: includes/class-settings.php:561
    626626msgid "Duplicate language detected.<br>Each language can only be added once to ensure accurate translation management.<br> Please change the duplicate language entry and try again. "
    627627msgstr ""
    628628
    629 #: includes/class-settings.php:613
     629#: includes/class-settings.php:618
    630630msgid "Current Language"
    631631msgstr ""
    632632
    633 #: includes/class-settings.php:619
     633#: includes/class-settings.php:624
    634634msgid "Opposite Language"
    635635msgstr ""
    636636
    637 #: includes/class-settings.php:659
     637#: includes/class-settings.php:664
    638638msgid "General"
    639639msgstr ""
    640640
    641 #: includes/class-settings.php:664, includes/class-translation-manager.php:544, add-ons-pro/translator-accounts/includes/class-translator-accounts.php:156
     641#: includes/class-settings.php:669, includes/class-translation-manager.php:544, add-ons-pro/translator-accounts/includes/class-translator-accounts.php:156
    642642msgid "Translate Site"
    643643msgstr ""
    644644
    645 #: includes/class-settings.php:669
     645#: includes/class-settings.php:674
    646646msgid "Addons"
    647647msgstr ""
    648648
    649 #: includes/class-settings.php:677
     649#: includes/class-settings.php:682
    650650msgid "License"
    651651msgstr ""
    652652
    653 #: includes/class-settings.php:721, includes/class-translation-manager.php:700
     653#: includes/class-settings.php:726, includes/class-translation-manager.php:700
    654654msgid "Settings"
    655655msgstr ""
    656656
    657 #: includes/class-settings.php:735, partials/license-settings-page.php:29, includes/onboarding/class-autotranslation.php:179, includes/onboarding/class-license.php:131
     657#: includes/class-settings.php:740, partials/license-settings-page.php:29, includes/onboarding/class-autotranslation.php:179, includes/onboarding/class-license.php:131
    658658msgid "Activate License"
    659659msgstr ""
    660660
    661 #: includes/class-settings.php:727
     661#: includes/class-settings.php:732
    662662msgid "Pro Features"
    663663msgstr ""
  • translatepress-multilingual/tags/3.1.3/readme.txt

    r3484737 r3485809  
    66Tested up to: 6.9.4
    77Requires PHP: 7.4
    8 Stable tag: 3.1.2
     8Stable tag: 3.1.3
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    144144
    145145== Changelog ==
     146= 3.1.3 =
     147* Fixed fatal error when CTX Feed Pro was active
     148
    146149= 3.1.2 =
    147150* Added AI Words low quota email notification feature
  • translatepress-multilingual/trunk/class-translate-press.php

    r3484737 r3485809  
    7878        define( 'TRP_PLUGIN_BASE', plugin_basename( __DIR__ . '/index.php' ) );
    7979        define( 'TRP_PLUGIN_SLUG', 'translatepress-multilingual' );
    80         define( 'TRP_PLUGIN_VERSION', '3.1.2' );
     80        define( 'TRP_PLUGIN_VERSION', '3.1.3' );
    8181
    8282        wp_cache_add_non_persistent_groups(array('trp'));
  • translatepress-multilingual/trunk/includes/class-settings.php

    r3484737 r3485809  
    489489
    490490    public function get_default_trp_machine_translation_settings(){
     491        /* class doesn't exist only if a third party (ex. CTX Feed Pro) incorrectly includes our files by hand and instantiates TRP_Settings() instead of using $trp = TRP_Translate_Press::get_trp_instance(); 
     492         * When this happens, the ai_words_* options are never used anyway, and is never stored in DB either
     493         */
     494        $threshold = class_exists('TRP_AI_Words_Notification' ) ? TRP_AI_Words_Notification::get_default_threshold() : 200;
     495
    491496        return apply_filters( 'trp_get_default_trp_machine_translation_settings', array(
    492497            // default settings for trp_machine_translation_settings
     
    500505            'ai_words_notification_enabled'     => 'yes',
    501506            'ai_words_notification_email'       => '',
    502             'ai_words_notification_threshold'   => TRP_AI_Words_Notification::get_default_threshold()
     507            'ai_words_notification_threshold'   => $threshold
    503508            /*
    504509             * These settings are merged into the saved DB option.
  • translatepress-multilingual/trunk/index.php

    r3484737 r3485809  
    44Plugin URI: https://translatepress.com/
    55Description: Experience a better way of translating your WordPress site using a visual front-end translation editor, with full support for WooCommerce and site builders.
    6 Version: 3.1.2
     6Version: 3.1.3
    77Author: Cozmoslabs, Razvan Mocanu, Madalin Ungureanu, Cristophor Hurduban
    88Author URI: https://cozmoslabs.com/
  • translatepress-multilingual/trunk/languages/translatepress-multilingual.pot

    r3484737 r3485809  
    77"Content-Type: text/plain; charset=UTF-8\n"
    88"Content-Transfer-Encoding: 8bit\n"
    9 "POT-Creation-Date: 2026-03-17 11:54+0000\n"
     9"POT-Creation-Date: 2026-03-18 13:36+0000\n"
    1010"X-Poedit-Basepath: ..\n"
    1111"X-Poedit-KeywordsList: __;_e;_ex:1,2c;_n:1,2;_n_noop:1,2;_nx:1,2,4c;_nx_noop:1,2,3c;_x:1,2c;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
     
    615615msgstr ""
    616616
    617 #: includes/class-settings.php:554
     617#: includes/class-settings.php:559
    618618msgid "Error! Duplicate URL slug values."
    619619msgstr ""
    620620
    621 #: includes/class-settings.php:555
     621#: includes/class-settings.php:560
    622622msgid "You cannot select two languages that have the same <a href=\"https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes\" target=\"_blank\">iso code</a> but different formalities because doing so will lead to duplicate <a href=\"https://developers.google.com/search/docs/specialty/international/localized-versions\" target=\"_blank\">hreflang tags</a>."
    623623msgstr ""
    624624
    625 #: includes/class-settings.php:556
     625#: includes/class-settings.php:561
    626626msgid "Duplicate language detected.<br>Each language can only be added once to ensure accurate translation management.<br> Please change the duplicate language entry and try again. "
    627627msgstr ""
    628628
    629 #: includes/class-settings.php:613
     629#: includes/class-settings.php:618
    630630msgid "Current Language"
    631631msgstr ""
    632632
    633 #: includes/class-settings.php:619
     633#: includes/class-settings.php:624
    634634msgid "Opposite Language"
    635635msgstr ""
    636636
    637 #: includes/class-settings.php:659
     637#: includes/class-settings.php:664
    638638msgid "General"
    639639msgstr ""
    640640
    641 #: includes/class-settings.php:664, includes/class-translation-manager.php:544, add-ons-pro/translator-accounts/includes/class-translator-accounts.php:156
     641#: includes/class-settings.php:669, includes/class-translation-manager.php:544, add-ons-pro/translator-accounts/includes/class-translator-accounts.php:156
    642642msgid "Translate Site"
    643643msgstr ""
    644644
    645 #: includes/class-settings.php:669
     645#: includes/class-settings.php:674
    646646msgid "Addons"
    647647msgstr ""
    648648
    649 #: includes/class-settings.php:677
     649#: includes/class-settings.php:682
    650650msgid "License"
    651651msgstr ""
    652652
    653 #: includes/class-settings.php:721, includes/class-translation-manager.php:700
     653#: includes/class-settings.php:726, includes/class-translation-manager.php:700
    654654msgid "Settings"
    655655msgstr ""
    656656
    657 #: includes/class-settings.php:735, partials/license-settings-page.php:29, includes/onboarding/class-autotranslation.php:179, includes/onboarding/class-license.php:131
     657#: includes/class-settings.php:740, partials/license-settings-page.php:29, includes/onboarding/class-autotranslation.php:179, includes/onboarding/class-license.php:131
    658658msgid "Activate License"
    659659msgstr ""
    660660
    661 #: includes/class-settings.php:727
     661#: includes/class-settings.php:732
    662662msgid "Pro Features"
    663663msgstr ""
  • translatepress-multilingual/trunk/readme.txt

    r3484737 r3485809  
    66Tested up to: 6.9.4
    77Requires PHP: 7.4
    8 Stable tag: 3.1.2
     8Stable tag: 3.1.3
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    144144
    145145== Changelog ==
     146= 3.1.3 =
     147* Fixed fatal error when CTX Feed Pro was active
     148
    146149= 3.1.2 =
    147150* Added AI Words low quota email notification feature
Note: See TracChangeset for help on using the changeset viewer.