Changeset 2489680
- Timestamp:
- 03/08/2021 03:50:45 PM (3 years ago)
- Location:
- translatepress-multilingual
- Files:
-
- 2 added
- 20 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
translatepress-multilingual/tags/1.9.6/class-translate-press.php
r2479178 r2489680 58 58 define( 'TRP_PLUGIN_BASE', plugin_basename( __DIR__ . '/index.php' ) ); 59 59 define( 'TRP_PLUGIN_SLUG', 'translatepress-multilingual' ); 60 define( 'TRP_PLUGIN_VERSION', '1.9. 5' );60 define( 'TRP_PLUGIN_VERSION', '1.9.' ); 61 61 62 62 wp_cache_add_non_persistent_groups(array('trp')); -
translatepress-multilingual/tags/1.9.6/includes/advanced-settings/do-not-translate-certain-paths.php
r2479178 r2489680 103 103 if( empty( $current_slug ) || $current_slug == '/' ) 104 104 $current_slug = "{{home}}"; 105 106 105 107 106 108 if( $advanced_settings['translateable_content']['option'] == 'exclude' ){ … … 170 172 if( empty( $current_slug ) || $current_slug == '/' ) 171 173 $current_slug = "{{home}}"; 174 175 172 176 173 177 if( $advanced_settings['translateable_content']['option'] == 'exclude' ){ … … 206 210 207 211 if( isset( $_GET['trp-edit-translation'] ) && ( $_GET['trp-edit-translation'] == 'true' || $_GET['trp-edit-translation'] == 'preview' ) ) 208 return $redirect;212 return; 209 213 210 214 if( isset( $_GET['trp-string-translation'] ) && $_GET['trp-string-translation'] == 'true' ) 211 return $redirect;215 return; 212 216 213 217 if( is_admin() ) -
translatepress-multilingual/tags/1.9.6/includes/class-query.php
r2454041 r2489680 12 12 public $db; 13 13 protected $settings; 14 14 15 protected $translation_render; 15 16 protected $error_manager; 16 17 protected $tables_exist = array(); 18 17 19 18 20 const NOT_TRANSLATED = 0; … … 656 658 657 659 $on_duplicate = ' ON DUPLICATE KEY UPDATE '; 660 658 661 foreach ( $columns_to_update as $column ) { 659 662 if ( $column == 'id' ){ 660 663 continue; 661 664 } 662 $on_duplicate .= $column . '= VALUES(' . $column . '),';665 $on_duplicate .= $column . '=(' . $column . '),'; 663 666 } 664 667 $query .= implode( ', ', $place_holders ); … … 796 799 797 800 $on_duplicate = ' ON DUPLICATE KEY UPDATE '; 801 798 802 foreach ( $columns_to_update as $column ) { 799 803 if ( $column == 'id' ){ 800 804 continue; 801 805 } 802 $on_duplicate .= $column . '=VALUES(' . $column . '),';806 (' . $column . '),'; 803 807 } 804 808 $query .= implode( ', ', $place_holders ); … … 1282 1286 public function maybe_record_automatic_translation_error($error_details = array(), $ignore_last_error = false ){ 1283 1287 if ( !empty( $this->db->last_error) || $ignore_last_error ){ 1288 1284 1289 if( !$this->error_manager ){ 1285 $trp = TRP_Translate_Press::get_trp_instance();1286 1290 $this->error_manager = $trp->get_component( 'error_manager' ); 1287 1291 } 1292 1293 1294 1295 1288 1296 $default_error_details = array( 1289 1297 'last_error' => $this->db->last_error, 1290 'disable_automatic_translations' => true 1298 'disable_automatic_translations' => true, 1299 'url' => $this->url_converter->cur_page_url(), 1291 1300 ); 1292 1301 $error_details = array_merge( $default_error_details, $error_details ); … … 1399 1408 return $this->db->query( $sql ); 1400 1409 } 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1401 1454 } -
translatepress-multilingual/tags/1.9.6/includes/class-translation-manager.php
r2455517 r2489680 523 523 524 524 525 global $trp_translated_gettext_texts ;526 if ( !is_admin() || $this::is_ajax_on_frontend()){525 global $trp_translated_gettext_texts; 526 if ({ 527 527 $language = get_locale(); 528 528 529 if (!$this->trp_query) { 529 if ( in_array( $language, $this->settings['translation-languages'] ) ) { 530 $trp_translated_gettext_texts_language = $language; 530 531 $trp = TRP_Translate_Press::get_trp_instance(); 531 $this->trp_query = $trp->get_component('query'); 532 } 533 534 $strings = $this->trp_query->get_all_gettext_strings($language); 535 if (!empty($strings)) { 536 $trp_translated_gettext_texts = $strings; 537 538 foreach ($trp_translated_gettext_texts as $key => $value) { 539 $trp_strings[$value['domain'] . '::' . $value['original']] = $value; 540 } 541 $trp_translated_gettext_texts = $trp_strings; 532 if ( !$this->trp_query ) { 533 $this->trp_query = $trp->get_component( 'query' ); 534 } 535 536 $strings = $this->trp_query->get_all_gettext_strings( $language ); 537 if ( !empty( $strings ) ) { 538 $trp_translated_gettext_texts = $strings; 539 540 foreach ( $trp_translated_gettext_texts as $key => $value ) { 541 $trp_strings[ $value['domain'] . '::' . $value['original'] ] = $value; 542 } 543 $trp_translated_gettext_texts = $trp_strings; 544 } 542 545 } 543 546 } … … 584 587 } 585 588 586 public function call_gettext_filters($prefix = '') 587 { 589 public function processing_gettext_is_needed(){ 588 590 global $pagenow; 589 591 … … 597 599 598 600 // Do not process gettext strings on wp-login pages. Do not process strings in admin area except for when when is_ajax_on_frontend. Do not process gettext strings when is rest api from admin url referer. Do not process gettext on xmlrpc.pho 599 if (($pagenow != 'wp-login.php') && (!is_admin() || $this::is_ajax_on_frontend()) && !$this->is_admin_request && $pagenow != 'xmlrpc.php') { 601 return (($pagenow != 'wp-login.php') && (!is_admin() || $this::is_ajax_on_frontend()) && !$this->is_admin_request && $pagenow != 'xmlrpc.php'); 602 } 603 604 public function call_gettext_filters($prefix = '') { 605 if ( $this->processing_gettext_is_needed() ){ 600 606 add_filter('gettext', array($this, $prefix . 'process_gettext_strings'), 100, 3); 601 607 add_filter('gettext_with_context', array($this, $prefix . 'process_gettext_strings_with_context'), 100, 4); … … 777 783 /* get_locale() returns WP Settings Language (WPLANG). It might not be a language in TP so it may not have a TP table. */ 778 784 $current_locale = get_locale(); 779 if (!in_array($current_locale, $this->settings['translation-languages'])) { 785 global $trp_translated_gettext_texts_language; 786 if ( !in_array($current_locale, $this->settings['translation-languages'] ) || empty( $trp_translated_gettext_texts_language) || $trp_translated_gettext_texts_language !== $current_locale ) { 780 787 return $translation; 781 788 } -
translatepress-multilingual/tags/1.9.6/includes/compatibility-functions.php
r2479178 r2489680 43 43 add_filter( 'nav_menu_link_attributes', 'trp_remove_html_from_menu_title', 10, 3); 44 44 function trp_remove_html_from_menu_title( $atts, $item, $args ){ 45 $atts['title'] = wp_strip_all_tags($atts['title']); 45 if( isset( $atts['title'] ) ) 46 $atts['title'] = wp_strip_all_tags($atts['title']); 47 46 48 return $atts; 47 49 } … … 840 842 } 841 843 842 /** 843 * Used to redirect Oxygen Builder front-end to the default language. 844 * Hooked before TRP_Language_Switcher::redirect_to_correct_language() so we don't redirect twice 845 */ 846 add_action( 'template_redirect', 'trp_page_builder_compatibility_redirect_to_default_language', 10 ); 847 function trp_page_builder_compatibility_redirect_to_default_language(){ 848 849 if( !is_admin() && ( ( isset( $_GET['ct_builder'] ) && $_GET['ct_builder'] == 'true' ) || isset( $_GET['fl_builder'] ) ) ){ 850 851 $trp = TRP_Translate_Press::get_trp_instance(); 852 $url_converter = $trp->get_component('url_converter'); 853 $settings = ( new TRP_Settings() )->get_settings(); 854 855 $current_url = $url_converter->cur_page_url(); 856 $current_lang = $url_converter->get_lang_from_url_string( $current_url ); 857 858 if( ( $current_lang == null && $settings['add-subdirectory-to-default-language'] == 'yes' ) || ( $current_lang != null && $current_lang != $settings['default-language'] ) ){ 859 $link_to_redirect = $url_converter->get_url_for_language( $settings['default-language'], null, '' ); 860 861 wp_redirect( $link_to_redirect, 301 ); 862 exit; 844 if( function_exists( 'ct_is_show_builder' ) || defined( 'FL_BUILDER_VERSION' ) ){ 845 846 /** 847 * Used to redirect Oxygen Builder front-end to the default language. 848 * Hooked before TRP_Language_Switcher::redirect_to_correct_language() so we don't redirect twice 849 */ 850 add_action( 'template_redirect', 'trp_page_builder_compatibility_redirect_to_default_language', 10 ); 851 function trp_page_builder_compatibility_redirect_to_default_language(){ 852 853 if( !is_admin() && ( ( isset( $_GET['ct_builder'] ) && $_GET['ct_builder'] == 'true' ) || isset( $_GET['fl_builder'] ) ) ){ 854 855 $trp = TRP_Translate_Press::get_trp_instance(); 856 $url_converter = $trp->get_component('url_converter'); 857 $settings = ( new TRP_Settings() )->get_settings(); 858 859 $current_url = $url_converter->cur_page_url(); 860 $current_lang = $url_converter->get_lang_from_url_string( $current_url ); 861 862 if( ( $current_lang == null && $settings['add-subdirectory-to-default-language'] == 'yes' ) || ( $current_lang != null && $current_lang != $settings['default-language'] ) ){ 863 $link_to_redirect = $url_converter->get_url_for_language( $settings['default-language'], null, '' ); 864 865 if( $link_to_redirect != $current_url ){ 866 wp_redirect( $link_to_redirect, 301 ); 867 exit; 868 } 869 870 } 871 872 } 873 874 } 875 876 /** 877 * Disable automatic language redirect when the Oxygen or Beaver Builders are showing 878 */ 879 add_action( 'plugins_loaded', 'trp_page_builder_compatibility_disable_automatic_language_redirect' ); 880 function trp_page_builder_compatibility_disable_automatic_language_redirect(){ 881 882 if( ( isset( $_GET['ct_builder'] ) && $_GET['ct_builder'] == 'true' ) || isset( $_GET['fl_builder'] ) ){ 883 884 $trp = TRP_Translate_Press::get_trp_instance(); 885 $loader = $trp->get_component( 'loader' ); 886 887 $loader->remove_hook( 'wp_enqueue_scripts', 'enqueue_cookie_adding' ); 888 863 889 } 864 890 … … 1353 1379 } 1354 1380 } 1355 1381 1356 1382 function trp_mylisting_exclude_string( $translation, $text, $context, $domain ){ 1357 1383 -
translatepress-multilingual/tags/1.9.6/includes/external-functions.php
r2336046 r2489680 115 115 return $array; 116 116 } 117 118 119 120 121 122 123 124 125 -
translatepress-multilingual/tags/1.9.6/includes/trp-ajax.php
r2411165 r2489680 23 23 24 24 include './external-functions.php'; 25 26 27 28 25 29 26 30 if ( $this->connect_to_db() ){ -
translatepress-multilingual/tags/1.9.6/index.php
r2479178 r2489680 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: 1.9. 56 Version: 1.9. 7 7 Author: Cozmoslabs, Razvan Mocanu, Madalin Ungureanu, Cristophor Hurduban 8 8 Author URI: https://cozmoslabs.com/ -
translatepress-multilingual/tags/1.9.6/languages/translatepress-multilingual.pot
r2479178 r2489680 682 682 msgstr "" 683 683 684 #: includes/class-translation-manager.php:126 1684 #: includes/class-translation-manager.php:126 685 685 msgid "Security check" 686 686 msgstr "" 687 687 688 #: includes/class-translation-manager.php:13 35688 #: includes/class-translation-manager.php:13 689 689 msgid "<strong>Warning:</strong> Some strings have possibly incorrectly encoded characters. This may result in breaking the queries, rendering the page untranslated in live mode. Consider revising the following strings or their method of outputting." 690 690 msgstr "" -
translatepress-multilingual/tags/1.9.6/readme.txt
r2479178 r2489680 4 4 Tags: translate, translation, multilingual, automatic translation, bilingual, front-end translation, google translate, language 5 5 Requires at least: 3.1.0 6 Tested up to: 5.6. 16 Tested up to: 5.6. 7 7 Requires PHP: 5.6.20 8 Stable tag: 1.9. 58 Stable tag: 1.9. 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 139 139 140 140 == Changelog == 141 142 143 144 145 146 147 148 141 149 = 1.9.5 = 142 150 * Added setting that allows you to translate only certain paths or exclude certain paths from being translated. -
translatepress-multilingual/trunk/class-translate-press.php
r2479178 r2489680 58 58 define( 'TRP_PLUGIN_BASE', plugin_basename( __DIR__ . '/index.php' ) ); 59 59 define( 'TRP_PLUGIN_SLUG', 'translatepress-multilingual' ); 60 define( 'TRP_PLUGIN_VERSION', '1.9. 5' );60 define( 'TRP_PLUGIN_VERSION', '1.9.' ); 61 61 62 62 wp_cache_add_non_persistent_groups(array('trp')); -
translatepress-multilingual/trunk/includes/advanced-settings/do-not-translate-certain-paths.php
r2479178 r2489680 103 103 if( empty( $current_slug ) || $current_slug == '/' ) 104 104 $current_slug = "{{home}}"; 105 106 105 107 106 108 if( $advanced_settings['translateable_content']['option'] == 'exclude' ){ … … 170 172 if( empty( $current_slug ) || $current_slug == '/' ) 171 173 $current_slug = "{{home}}"; 174 175 172 176 173 177 if( $advanced_settings['translateable_content']['option'] == 'exclude' ){ … … 206 210 207 211 if( isset( $_GET['trp-edit-translation'] ) && ( $_GET['trp-edit-translation'] == 'true' || $_GET['trp-edit-translation'] == 'preview' ) ) 208 return $redirect;212 return; 209 213 210 214 if( isset( $_GET['trp-string-translation'] ) && $_GET['trp-string-translation'] == 'true' ) 211 return $redirect;215 return; 212 216 213 217 if( is_admin() ) -
translatepress-multilingual/trunk/includes/class-query.php
r2454041 r2489680 12 12 public $db; 13 13 protected $settings; 14 14 15 protected $translation_render; 15 16 protected $error_manager; 16 17 protected $tables_exist = array(); 18 17 19 18 20 const NOT_TRANSLATED = 0; … … 656 658 657 659 $on_duplicate = ' ON DUPLICATE KEY UPDATE '; 660 658 661 foreach ( $columns_to_update as $column ) { 659 662 if ( $column == 'id' ){ 660 663 continue; 661 664 } 662 $on_duplicate .= $column . '= VALUES(' . $column . '),';665 $on_duplicate .= $column . '=(' . $column . '),'; 663 666 } 664 667 $query .= implode( ', ', $place_holders ); … … 796 799 797 800 $on_duplicate = ' ON DUPLICATE KEY UPDATE '; 801 798 802 foreach ( $columns_to_update as $column ) { 799 803 if ( $column == 'id' ){ 800 804 continue; 801 805 } 802 $on_duplicate .= $column . '=VALUES(' . $column . '),';806 (' . $column . '),'; 803 807 } 804 808 $query .= implode( ', ', $place_holders ); … … 1282 1286 public function maybe_record_automatic_translation_error($error_details = array(), $ignore_last_error = false ){ 1283 1287 if ( !empty( $this->db->last_error) || $ignore_last_error ){ 1288 1284 1289 if( !$this->error_manager ){ 1285 $trp = TRP_Translate_Press::get_trp_instance();1286 1290 $this->error_manager = $trp->get_component( 'error_manager' ); 1287 1291 } 1292 1293 1294 1295 1288 1296 $default_error_details = array( 1289 1297 'last_error' => $this->db->last_error, 1290 'disable_automatic_translations' => true 1298 'disable_automatic_translations' => true, 1299 'url' => $this->url_converter->cur_page_url(), 1291 1300 ); 1292 1301 $error_details = array_merge( $default_error_details, $error_details ); … … 1399 1408 return $this->db->query( $sql ); 1400 1409 } 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1401 1454 } -
translatepress-multilingual/trunk/includes/class-translation-manager.php
r2455517 r2489680 523 523 524 524 525 global $trp_translated_gettext_texts ;526 if ( !is_admin() || $this::is_ajax_on_frontend()){525 global $trp_translated_gettext_texts; 526 if ({ 527 527 $language = get_locale(); 528 528 529 if (!$this->trp_query) { 529 if ( in_array( $language, $this->settings['translation-languages'] ) ) { 530 $trp_translated_gettext_texts_language = $language; 530 531 $trp = TRP_Translate_Press::get_trp_instance(); 531 $this->trp_query = $trp->get_component('query'); 532 } 533 534 $strings = $this->trp_query->get_all_gettext_strings($language); 535 if (!empty($strings)) { 536 $trp_translated_gettext_texts = $strings; 537 538 foreach ($trp_translated_gettext_texts as $key => $value) { 539 $trp_strings[$value['domain'] . '::' . $value['original']] = $value; 540 } 541 $trp_translated_gettext_texts = $trp_strings; 532 if ( !$this->trp_query ) { 533 $this->trp_query = $trp->get_component( 'query' ); 534 } 535 536 $strings = $this->trp_query->get_all_gettext_strings( $language ); 537 if ( !empty( $strings ) ) { 538 $trp_translated_gettext_texts = $strings; 539 540 foreach ( $trp_translated_gettext_texts as $key => $value ) { 541 $trp_strings[ $value['domain'] . '::' . $value['original'] ] = $value; 542 } 543 $trp_translated_gettext_texts = $trp_strings; 544 } 542 545 } 543 546 } … … 584 587 } 585 588 586 public function call_gettext_filters($prefix = '') 587 { 589 public function processing_gettext_is_needed(){ 588 590 global $pagenow; 589 591 … … 597 599 598 600 // Do not process gettext strings on wp-login pages. Do not process strings in admin area except for when when is_ajax_on_frontend. Do not process gettext strings when is rest api from admin url referer. Do not process gettext on xmlrpc.pho 599 if (($pagenow != 'wp-login.php') && (!is_admin() || $this::is_ajax_on_frontend()) && !$this->is_admin_request && $pagenow != 'xmlrpc.php') { 601 return (($pagenow != 'wp-login.php') && (!is_admin() || $this::is_ajax_on_frontend()) && !$this->is_admin_request && $pagenow != 'xmlrpc.php'); 602 } 603 604 public function call_gettext_filters($prefix = '') { 605 if ( $this->processing_gettext_is_needed() ){ 600 606 add_filter('gettext', array($this, $prefix . 'process_gettext_strings'), 100, 3); 601 607 add_filter('gettext_with_context', array($this, $prefix . 'process_gettext_strings_with_context'), 100, 4); … … 777 783 /* get_locale() returns WP Settings Language (WPLANG). It might not be a language in TP so it may not have a TP table. */ 778 784 $current_locale = get_locale(); 779 if (!in_array($current_locale, $this->settings['translation-languages'])) { 785 global $trp_translated_gettext_texts_language; 786 if ( !in_array($current_locale, $this->settings['translation-languages'] ) || empty( $trp_translated_gettext_texts_language) || $trp_translated_gettext_texts_language !== $current_locale ) { 780 787 return $translation; 781 788 } -
translatepress-multilingual/trunk/includes/compatibility-functions.php
r2479178 r2489680 43 43 add_filter( 'nav_menu_link_attributes', 'trp_remove_html_from_menu_title', 10, 3); 44 44 function trp_remove_html_from_menu_title( $atts, $item, $args ){ 45 $atts['title'] = wp_strip_all_tags($atts['title']); 45 if( isset( $atts['title'] ) ) 46 $atts['title'] = wp_strip_all_tags($atts['title']); 47 46 48 return $atts; 47 49 } … … 840 842 } 841 843 842 /** 843 * Used to redirect Oxygen Builder front-end to the default language. 844 * Hooked before TRP_Language_Switcher::redirect_to_correct_language() so we don't redirect twice 845 */ 846 add_action( 'template_redirect', 'trp_page_builder_compatibility_redirect_to_default_language', 10 ); 847 function trp_page_builder_compatibility_redirect_to_default_language(){ 848 849 if( !is_admin() && ( ( isset( $_GET['ct_builder'] ) && $_GET['ct_builder'] == 'true' ) || isset( $_GET['fl_builder'] ) ) ){ 850 851 $trp = TRP_Translate_Press::get_trp_instance(); 852 $url_converter = $trp->get_component('url_converter'); 853 $settings = ( new TRP_Settings() )->get_settings(); 854 855 $current_url = $url_converter->cur_page_url(); 856 $current_lang = $url_converter->get_lang_from_url_string( $current_url ); 857 858 if( ( $current_lang == null && $settings['add-subdirectory-to-default-language'] == 'yes' ) || ( $current_lang != null && $current_lang != $settings['default-language'] ) ){ 859 $link_to_redirect = $url_converter->get_url_for_language( $settings['default-language'], null, '' ); 860 861 wp_redirect( $link_to_redirect, 301 ); 862 exit; 844 if( function_exists( 'ct_is_show_builder' ) || defined( 'FL_BUILDER_VERSION' ) ){ 845 846 /** 847 * Used to redirect Oxygen Builder front-end to the default language. 848 * Hooked before TRP_Language_Switcher::redirect_to_correct_language() so we don't redirect twice 849 */ 850 add_action( 'template_redirect', 'trp_page_builder_compatibility_redirect_to_default_language', 10 ); 851 function trp_page_builder_compatibility_redirect_to_default_language(){ 852 853 if( !is_admin() && ( ( isset( $_GET['ct_builder'] ) && $_GET['ct_builder'] == 'true' ) || isset( $_GET['fl_builder'] ) ) ){ 854 855 $trp = TRP_Translate_Press::get_trp_instance(); 856 $url_converter = $trp->get_component('url_converter'); 857 $settings = ( new TRP_Settings() )->get_settings(); 858 859 $current_url = $url_converter->cur_page_url(); 860 $current_lang = $url_converter->get_lang_from_url_string( $current_url ); 861 862 if( ( $current_lang == null && $settings['add-subdirectory-to-default-language'] == 'yes' ) || ( $current_lang != null && $current_lang != $settings['default-language'] ) ){ 863 $link_to_redirect = $url_converter->get_url_for_language( $settings['default-language'], null, '' ); 864 865 if( $link_to_redirect != $current_url ){ 866 wp_redirect( $link_to_redirect, 301 ); 867 exit; 868 } 869 870 } 871 872 } 873 874 } 875 876 /** 877 * Disable automatic language redirect when the Oxygen or Beaver Builders are showing 878 */ 879 add_action( 'plugins_loaded', 'trp_page_builder_compatibility_disable_automatic_language_redirect' ); 880 function trp_page_builder_compatibility_disable_automatic_language_redirect(){ 881 882 if( ( isset( $_GET['ct_builder'] ) && $_GET['ct_builder'] == 'true' ) || isset( $_GET['fl_builder'] ) ){ 883 884 $trp = TRP_Translate_Press::get_trp_instance(); 885 $loader = $trp->get_component( 'loader' ); 886 887 $loader->remove_hook( 'wp_enqueue_scripts', 'enqueue_cookie_adding' ); 888 863 889 } 864 890 … … 1353 1379 } 1354 1380 } 1355 1381 1356 1382 function trp_mylisting_exclude_string( $translation, $text, $context, $domain ){ 1357 1383 -
translatepress-multilingual/trunk/includes/external-functions.php
r2336046 r2489680 115 115 return $array; 116 116 } 117 118 119 120 121 122 123 124 125 -
translatepress-multilingual/trunk/includes/trp-ajax.php
r2411165 r2489680 23 23 24 24 include './external-functions.php'; 25 26 27 28 25 29 26 30 if ( $this->connect_to_db() ){ -
translatepress-multilingual/trunk/index.php
r2479178 r2489680 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: 1.9. 56 Version: 1.9. 7 7 Author: Cozmoslabs, Razvan Mocanu, Madalin Ungureanu, Cristophor Hurduban 8 8 Author URI: https://cozmoslabs.com/ -
translatepress-multilingual/trunk/languages/translatepress-multilingual.pot
r2479178 r2489680 682 682 msgstr "" 683 683 684 #: includes/class-translation-manager.php:126 1684 #: includes/class-translation-manager.php:126 685 685 msgid "Security check" 686 686 msgstr "" 687 687 688 #: includes/class-translation-manager.php:13 35688 #: includes/class-translation-manager.php:13 689 689 msgid "<strong>Warning:</strong> Some strings have possibly incorrectly encoded characters. This may result in breaking the queries, rendering the page untranslated in live mode. Consider revising the following strings or their method of outputting." 690 690 msgstr "" -
translatepress-multilingual/trunk/readme.txt
r2479178 r2489680 4 4 Tags: translate, translation, multilingual, automatic translation, bilingual, front-end translation, google translate, language 5 5 Requires at least: 3.1.0 6 Tested up to: 5.6. 16 Tested up to: 5.6. 7 7 Requires PHP: 5.6.20 8 Stable tag: 1.9. 58 Stable tag: 1.9. 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 139 139 140 140 == Changelog == 141 142 143 144 145 146 147 148 141 149 = 1.9.5 = 142 150 * Added setting that allows you to translate only certain paths or exclude certain paths from being translated.
Note: See TracChangeset
for help on using the changeset viewer.