Changeset 3485809
- Timestamp:
- 03/18/2026 03:05:22 PM (2 weeks ago)
- Location:
- translatepress-multilingual
- Files:
-
- 10 edited
- 1 copied
-
tags/3.1.3 (copied) (copied from translatepress-multilingual/trunk)
-
tags/3.1.3/class-translate-press.php (modified) (1 diff)
-
tags/3.1.3/includes/class-settings.php (modified) (2 diffs)
-
tags/3.1.3/index.php (modified) (1 diff)
-
tags/3.1.3/languages/translatepress-multilingual.pot (modified) (2 diffs)
-
tags/3.1.3/readme.txt (modified) (2 diffs)
-
trunk/class-translate-press.php (modified) (1 diff)
-
trunk/includes/class-settings.php (modified) (2 diffs)
-
trunk/index.php (modified) (1 diff)
-
trunk/languages/translatepress-multilingual.pot (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
translatepress-multilingual/tags/3.1.3/class-translate-press.php
r3484737 r3485809 78 78 define( 'TRP_PLUGIN_BASE', plugin_basename( __DIR__ . '/index.php' ) ); 79 79 define( 'TRP_PLUGIN_SLUG', 'translatepress-multilingual' ); 80 define( 'TRP_PLUGIN_VERSION', '3.1. 2' );80 define( 'TRP_PLUGIN_VERSION', '3.1.3' ); 81 81 82 82 wp_cache_add_non_persistent_groups(array('trp')); -
translatepress-multilingual/tags/3.1.3/includes/class-settings.php
r3484737 r3485809 489 489 490 490 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 491 496 return apply_filters( 'trp_get_default_trp_machine_translation_settings', array( 492 497 // default settings for trp_machine_translation_settings … … 500 505 'ai_words_notification_enabled' => 'yes', 501 506 'ai_words_notification_email' => '', 502 'ai_words_notification_threshold' => TRP_AI_Words_Notification::get_default_threshold()507 'ai_words_notification_threshold' => $threshold 503 508 /* 504 509 * These settings are merged into the saved DB option. -
translatepress-multilingual/tags/3.1.3/index.php
r3484737 r3485809 4 4 Plugin URI: https://translatepress.com/ 5 5 Description: 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. 26 Version: 3.1.3 7 7 Author: Cozmoslabs, Razvan Mocanu, Madalin Ungureanu, Cristophor Hurduban 8 8 Author URI: https://cozmoslabs.com/ -
translatepress-multilingual/tags/3.1.3/languages/translatepress-multilingual.pot
r3484737 r3485809 7 7 "Content-Type: text/plain; charset=UTF-8\n" 8 8 "Content-Transfer-Encoding: 8bit\n" 9 "POT-Creation-Date: 2026-03-1 7 11:54+0000\n"9 "POT-Creation-Date: 2026-03-18 13:36+0000\n" 10 10 "X-Poedit-Basepath: ..\n" 11 11 "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" … … 615 615 msgstr "" 616 616 617 #: includes/class-settings.php:55 4617 #: includes/class-settings.php:559 618 618 msgid "Error! Duplicate URL slug values." 619 619 msgstr "" 620 620 621 #: includes/class-settings.php:5 55621 #: includes/class-settings.php:560 622 622 msgid "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>." 623 623 msgstr "" 624 624 625 #: includes/class-settings.php:5 56625 #: includes/class-settings.php:561 626 626 msgid "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. " 627 627 msgstr "" 628 628 629 #: includes/class-settings.php:61 3629 #: includes/class-settings.php:618 630 630 msgid "Current Language" 631 631 msgstr "" 632 632 633 #: includes/class-settings.php:6 19633 #: includes/class-settings.php:624 634 634 msgid "Opposite Language" 635 635 msgstr "" 636 636 637 #: includes/class-settings.php:6 59637 #: includes/class-settings.php:664 638 638 msgid "General" 639 639 msgstr "" 640 640 641 #: includes/class-settings.php:66 4, includes/class-translation-manager.php:544, add-ons-pro/translator-accounts/includes/class-translator-accounts.php:156641 #: includes/class-settings.php:669, includes/class-translation-manager.php:544, add-ons-pro/translator-accounts/includes/class-translator-accounts.php:156 642 642 msgid "Translate Site" 643 643 msgstr "" 644 644 645 #: includes/class-settings.php:6 69645 #: includes/class-settings.php:674 646 646 msgid "Addons" 647 647 msgstr "" 648 648 649 #: includes/class-settings.php:6 77649 #: includes/class-settings.php:682 650 650 msgid "License" 651 651 msgstr "" 652 652 653 #: includes/class-settings.php:72 1, includes/class-translation-manager.php:700653 #: includes/class-settings.php:726, includes/class-translation-manager.php:700 654 654 msgid "Settings" 655 655 msgstr "" 656 656 657 #: includes/class-settings.php:7 35, partials/license-settings-page.php:29, includes/onboarding/class-autotranslation.php:179, includes/onboarding/class-license.php:131657 #: includes/class-settings.php:740, partials/license-settings-page.php:29, includes/onboarding/class-autotranslation.php:179, includes/onboarding/class-license.php:131 658 658 msgid "Activate License" 659 659 msgstr "" 660 660 661 #: includes/class-settings.php:7 27661 #: includes/class-settings.php:732 662 662 msgid "Pro Features" 663 663 msgstr "" -
translatepress-multilingual/tags/3.1.3/readme.txt
r3484737 r3485809 6 6 Tested up to: 6.9.4 7 7 Requires PHP: 7.4 8 Stable tag: 3.1. 28 Stable tag: 3.1.3 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 144 144 145 145 == Changelog == 146 = 3.1.3 = 147 * Fixed fatal error when CTX Feed Pro was active 148 146 149 = 3.1.2 = 147 150 * Added AI Words low quota email notification feature -
translatepress-multilingual/trunk/class-translate-press.php
r3484737 r3485809 78 78 define( 'TRP_PLUGIN_BASE', plugin_basename( __DIR__ . '/index.php' ) ); 79 79 define( 'TRP_PLUGIN_SLUG', 'translatepress-multilingual' ); 80 define( 'TRP_PLUGIN_VERSION', '3.1. 2' );80 define( 'TRP_PLUGIN_VERSION', '3.1.3' ); 81 81 82 82 wp_cache_add_non_persistent_groups(array('trp')); -
translatepress-multilingual/trunk/includes/class-settings.php
r3484737 r3485809 489 489 490 490 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 491 496 return apply_filters( 'trp_get_default_trp_machine_translation_settings', array( 492 497 // default settings for trp_machine_translation_settings … … 500 505 'ai_words_notification_enabled' => 'yes', 501 506 'ai_words_notification_email' => '', 502 'ai_words_notification_threshold' => TRP_AI_Words_Notification::get_default_threshold()507 'ai_words_notification_threshold' => $threshold 503 508 /* 504 509 * These settings are merged into the saved DB option. -
translatepress-multilingual/trunk/index.php
r3484737 r3485809 4 4 Plugin URI: https://translatepress.com/ 5 5 Description: 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. 26 Version: 3.1.3 7 7 Author: Cozmoslabs, Razvan Mocanu, Madalin Ungureanu, Cristophor Hurduban 8 8 Author URI: https://cozmoslabs.com/ -
translatepress-multilingual/trunk/languages/translatepress-multilingual.pot
r3484737 r3485809 7 7 "Content-Type: text/plain; charset=UTF-8\n" 8 8 "Content-Transfer-Encoding: 8bit\n" 9 "POT-Creation-Date: 2026-03-1 7 11:54+0000\n"9 "POT-Creation-Date: 2026-03-18 13:36+0000\n" 10 10 "X-Poedit-Basepath: ..\n" 11 11 "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" … … 615 615 msgstr "" 616 616 617 #: includes/class-settings.php:55 4617 #: includes/class-settings.php:559 618 618 msgid "Error! Duplicate URL slug values." 619 619 msgstr "" 620 620 621 #: includes/class-settings.php:5 55621 #: includes/class-settings.php:560 622 622 msgid "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>." 623 623 msgstr "" 624 624 625 #: includes/class-settings.php:5 56625 #: includes/class-settings.php:561 626 626 msgid "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. " 627 627 msgstr "" 628 628 629 #: includes/class-settings.php:61 3629 #: includes/class-settings.php:618 630 630 msgid "Current Language" 631 631 msgstr "" 632 632 633 #: includes/class-settings.php:6 19633 #: includes/class-settings.php:624 634 634 msgid "Opposite Language" 635 635 msgstr "" 636 636 637 #: includes/class-settings.php:6 59637 #: includes/class-settings.php:664 638 638 msgid "General" 639 639 msgstr "" 640 640 641 #: includes/class-settings.php:66 4, includes/class-translation-manager.php:544, add-ons-pro/translator-accounts/includes/class-translator-accounts.php:156641 #: includes/class-settings.php:669, includes/class-translation-manager.php:544, add-ons-pro/translator-accounts/includes/class-translator-accounts.php:156 642 642 msgid "Translate Site" 643 643 msgstr "" 644 644 645 #: includes/class-settings.php:6 69645 #: includes/class-settings.php:674 646 646 msgid "Addons" 647 647 msgstr "" 648 648 649 #: includes/class-settings.php:6 77649 #: includes/class-settings.php:682 650 650 msgid "License" 651 651 msgstr "" 652 652 653 #: includes/class-settings.php:72 1, includes/class-translation-manager.php:700653 #: includes/class-settings.php:726, includes/class-translation-manager.php:700 654 654 msgid "Settings" 655 655 msgstr "" 656 656 657 #: includes/class-settings.php:7 35, partials/license-settings-page.php:29, includes/onboarding/class-autotranslation.php:179, includes/onboarding/class-license.php:131657 #: includes/class-settings.php:740, partials/license-settings-page.php:29, includes/onboarding/class-autotranslation.php:179, includes/onboarding/class-license.php:131 658 658 msgid "Activate License" 659 659 msgstr "" 660 660 661 #: includes/class-settings.php:7 27661 #: includes/class-settings.php:732 662 662 msgid "Pro Features" 663 663 msgstr "" -
translatepress-multilingual/trunk/readme.txt
r3484737 r3485809 6 6 Tested up to: 6.9.4 7 7 Requires PHP: 7.4 8 Stable tag: 3.1. 28 Stable tag: 3.1.3 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 144 144 145 145 == Changelog == 146 = 3.1.3 = 147 * Fixed fatal error when CTX Feed Pro was active 148 146 149 = 3.1.2 = 147 150 * Added AI Words low quota email notification feature
Note: See TracChangeset
for help on using the changeset viewer.