Version Description
- Fixed issue with options in select tag that couldn't be translated
- Fixed force language in custom links
- Fixed Woocommerce links fpr products or categories that were added by the user manually in a page
- Added Settings link to the list of links displayed on Plugins page
- Fixed issue with Kazakhstan flag
Download this release
Release Info
| Developer | madalin.ungureanu |
| Plugin | |
| Version | 1.3.4 |
| Comparing to | |
| See all releases | |
Code changes from version 1.3.3 to 1.3.4
- assets/css/trp-back-end-style.css +1 -1
- assets/images/flags/kk.png +0 -0
- class-translate-press.php +3 -1
- includes/class-settings.php +22 -0
- includes/class-translation-render.php +9 -2
- includes/class-url-converter.php +11 -13
- index.php +1 -3
- languages/translatepress-multilingual.catalog.php +10 -6
- languages/translatepress-multilingual.pot +27 -11
- partials/translation-manager.php +8 -5
- readme.txt +8 -1
assets/css/trp-back-end-style.css
CHANGED
|
@@ -139,6 +139,6 @@ input.trp-translation-published{
|
|
| 139 |
max-width:800px;
|
| 140 |
}
|
| 141 |
|
| 142 |
-
.trp-settings-delimiter-border{
|
| 143 |
border-top: 1px solid #d9d9d9;
|
| 144 |
}
|
| 139 |
max-width:800px;
|
| 140 |
}
|
| 141 |
|
| 142 |
+
.trp-settings-delimiter-border {
|
| 143 |
border-top: 1px solid #d9d9d9;
|
| 144 |
}
|
assets/images/flags/kk.png
ADDED
|
Binary file
|
class-translate-press.php
CHANGED
|
@@ -38,8 +38,9 @@ class TRP_Translate_Press{
|
|
| 38 |
public function __construct() {
|
| 39 |
define( 'TRP_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
|
| 40 |
define( 'TRP_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
|
|
|
|
| 41 |
define( 'TRP_PLUGIN_SLUG', 'translatepress-multilingual' );
|
| 42 |
-
define( 'TRP_PLUGIN_VERSION', '1.3.
|
| 43 |
|
| 44 |
$this->load_dependencies();
|
| 45 |
$this->initialize_components();
|
|
@@ -102,6 +103,7 @@ class TRP_Translate_Press{
|
|
| 102 |
$this->loader->add_action( 'admin_init', $this->settings, 'register_setting' );
|
| 103 |
$this->loader->add_action( 'admin_notices', $this->settings, 'admin_notices' );
|
| 104 |
$this->loader->add_action( 'admin_enqueue_scripts', $this->settings, 'enqueue_scripts_and_styles', 10, 1 );
|
|
|
|
| 105 |
$this->loader->add_action( 'trp_settings_navigation_tabs', $this->settings, 'add_navigation_tabs' );
|
| 106 |
$this->loader->add_action( 'trp_language_selector', $this->settings, 'languages_selector', 10, 1 );
|
| 107 |
|
| 38 |
public function __construct() {
|
| 39 |
define( 'TRP_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
|
| 40 |
define( 'TRP_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
|
| 41 |
+
define( 'TRP_PLUGIN_BASE', plugin_basename( __DIR__ . '/index.php' ) );
|
| 42 |
define( 'TRP_PLUGIN_SLUG', 'translatepress-multilingual' );
|
| 43 |
+
define( 'TRP_PLUGIN_VERSION', '1.3.4' );
|
| 44 |
|
| 45 |
$this->load_dependencies();
|
| 46 |
$this->initialize_components();
|
| 103 |
$this->loader->add_action( 'admin_init', $this->settings, 'register_setting' );
|
| 104 |
$this->loader->add_action( 'admin_notices', $this->settings, 'admin_notices' );
|
| 105 |
$this->loader->add_action( 'admin_enqueue_scripts', $this->settings, 'enqueue_scripts_and_styles', 10, 1 );
|
| 106 |
+
$this->loader->add_filter( 'plugin_action_links_' . TRP_PLUGIN_BASE , $this->settings, 'plugin_action_links', 10, 1 );
|
| 107 |
$this->loader->add_action( 'trp_settings_navigation_tabs', $this->settings, 'add_navigation_tabs' );
|
| 108 |
$this->loader->add_action( 'trp_language_selector', $this->settings, 'languages_selector', 10, 1 );
|
| 109 |
|
includes/class-settings.php
CHANGED
|
@@ -516,5 +516,27 @@ class TRP_Settings{
|
|
| 516 |
|
| 517 |
require ( TRP_PLUGIN_DIR . 'partials/settings-navigation-tabs.php');
|
| 518 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 519 |
}
|
| 520 |
|
| 516 |
|
| 517 |
require ( TRP_PLUGIN_DIR . 'partials/settings-navigation-tabs.php');
|
| 518 |
}
|
| 519 |
+
|
| 520 |
+
/**
|
| 521 |
+
* Plugin action links.
|
| 522 |
+
*
|
| 523 |
+
* Adds action links to the plugin list table
|
| 524 |
+
*
|
| 525 |
+
* Fired by `plugin_action_links` filter.
|
| 526 |
+
*
|
| 527 |
+
* @param array $links An array of plugin action links.
|
| 528 |
+
*
|
| 529 |
+
* @return array An array of plugin action links.
|
| 530 |
+
*/
|
| 531 |
+
public function plugin_action_links( $links ) {
|
| 532 |
+
$settings_link = sprintf( '<a href="%1$s">%2$s</a>', admin_url( 'options-general.php?page=translate-press' ), __( 'Settings', 'translatepress-multilingual' ) );
|
| 533 |
+
|
| 534 |
+
array_unshift( $links, $settings_link );
|
| 535 |
+
|
| 536 |
+
$links['go_pro'] = sprintf( '<a href="%1$s" target="_blank" style="color: #e76054; font-weight: bold;">%2$s</a>', trp_add_affiliate_id_to_link('https://translatepress.com/pricing/?utm_source=wpbackend&utm_medium=clientsite&utm_content=tpeditor&utm_campaign=tpfree'), __( 'Pro Features', 'translatepress-multilingual' ) );
|
| 537 |
+
|
| 538 |
+
return $links;
|
| 539 |
+
}
|
| 540 |
+
|
| 541 |
}
|
| 542 |
|
includes/class-translation-render.php
CHANGED
|
@@ -529,6 +529,9 @@ class TRP_Translation_Render{
|
|
| 529 |
array_push( $translateable_strings, $this->full_trim( $row->outertext ) );
|
| 530 |
if( $row->parent()->tag == 'button') {
|
| 531 |
array_push($nodes, array('node' => $row, 'type' => 'button'));
|
|
|
|
|
|
|
|
|
|
| 532 |
}else{
|
| 533 |
array_push($nodes, array('node' => $row, 'type' => 'text'));
|
| 534 |
}
|
|
@@ -607,6 +610,10 @@ class TRP_Translation_Render{
|
|
| 607 |
'button' => array(
|
| 608 |
'accessor' => 'outertext',
|
| 609 |
'attribute' => false
|
|
|
|
|
|
|
|
|
|
|
|
|
| 610 |
)
|
| 611 |
));
|
| 612 |
|
|
@@ -645,7 +652,7 @@ class TRP_Translation_Render{
|
|
| 645 |
$outertext_details .= '>' . $nodes[$i]['node']->outertext . '</translate-press>';
|
| 646 |
$nodes[$i]['node']->outertext = $outertext_details;
|
| 647 |
} else {
|
| 648 |
-
if( $nodes[$i]['type'] == 'button' ){
|
| 649 |
$nodes[$i]['node'] = $nodes[$i]['node']->parent();
|
| 650 |
}
|
| 651 |
$nodes[$i]['node']->setAttribute('data-trp-translate-id', $translated_string_ids[ $translateable_strings[$i] ]->id );
|
|
@@ -680,7 +687,7 @@ class TRP_Translation_Render{
|
|
| 680 |
$a_href->setAttribute( 'data-trp-original-href', $url );
|
| 681 |
}
|
| 682 |
|
| 683 |
-
if ( $TRP_LANGUAGE
|
| 684 |
$a_href->href = apply_filters( 'trp_force_custom_links', $this->url_converter->get_url_for_language( $TRP_LANGUAGE, $url ), $url, $TRP_LANGUAGE, $a_href );
|
| 685 |
$url = $a_href->href;
|
| 686 |
}
|
| 529 |
array_push( $translateable_strings, $this->full_trim( $row->outertext ) );
|
| 530 |
if( $row->parent()->tag == 'button') {
|
| 531 |
array_push($nodes, array('node' => $row, 'type' => 'button'));
|
| 532 |
+
}
|
| 533 |
+
if( $row->parent()->tag == 'option') {
|
| 534 |
+
array_push($nodes, array('node' => $row, 'type' => 'option'));
|
| 535 |
}else{
|
| 536 |
array_push($nodes, array('node' => $row, 'type' => 'text'));
|
| 537 |
}
|
| 610 |
'button' => array(
|
| 611 |
'accessor' => 'outertext',
|
| 612 |
'attribute' => false
|
| 613 |
+
),
|
| 614 |
+
'option' => array(
|
| 615 |
+
'accessor' => 'innertext',
|
| 616 |
+
'attribute' => false
|
| 617 |
)
|
| 618 |
));
|
| 619 |
|
| 652 |
$outertext_details .= '>' . $nodes[$i]['node']->outertext . '</translate-press>';
|
| 653 |
$nodes[$i]['node']->outertext = $outertext_details;
|
| 654 |
} else {
|
| 655 |
+
if( $nodes[$i]['type'] == 'button' || $nodes[$i]['type'] == 'option' ){
|
| 656 |
$nodes[$i]['node'] = $nodes[$i]['node']->parent();
|
| 657 |
}
|
| 658 |
$nodes[$i]['node']->setAttribute('data-trp-translate-id', $translated_string_ids[ $translateable_strings[$i] ]->id );
|
| 687 |
$a_href->setAttribute( 'data-trp-original-href', $url );
|
| 688 |
}
|
| 689 |
|
| 690 |
+
if ( $TRP_LANGUAGE != $this->settings['default-language'] && $this->settings['force-language-to-custom-links'] == 'yes' && !$is_external_link && $this->url_converter->get_lang_from_url_string( $url ) == null && !$is_admin_link && strpos($url, '#TRPLINKPROCESSED') === false ){
|
| 691 |
$a_href->href = apply_filters( 'trp_force_custom_links', $this->url_converter->get_url_for_language( $TRP_LANGUAGE, $url ), $url, $TRP_LANGUAGE, $a_href );
|
| 692 |
$url = $a_href->href;
|
| 693 |
}
|
includes/class-url-converter.php
CHANGED
|
@@ -218,19 +218,17 @@ class TRP_Url_Converter {
|
|
| 218 |
|
| 219 |
/* fix links for woocommerce on language switcher for product categories and product tags */
|
| 220 |
if( class_exists( 'WooCommerce' ) ){
|
| 221 |
-
|
| 222 |
-
|
| 223 |
-
|
| 224 |
-
$
|
| 225 |
-
|
| 226 |
-
$
|
| 227 |
-
|
| 228 |
-
$
|
| 229 |
-
|
| 230 |
-
|
| 231 |
-
$
|
| 232 |
-
$translated_product_slug = trp_x( 'product', 'slug', 'woocommerce', $language );
|
| 233 |
-
$new_url = str_replace( '/'.$current_product_slug.'/', '/'.$translated_product_slug.'/', $new_url );
|
| 234 |
}
|
| 235 |
}
|
| 236 |
|
| 218 |
|
| 219 |
/* fix links for woocommerce on language switcher for product categories and product tags */
|
| 220 |
if( class_exists( 'WooCommerce' ) ){
|
| 221 |
+
$default_woocommerce_slugs = array('product-category', 'product-tag', 'product');
|
| 222 |
+
foreach ($default_woocommerce_slugs as $default_woocommerce_slug){
|
| 223 |
+
// if $language is provided, like on the language switcher
|
| 224 |
+
$current_slug = trp_x( $default_woocommerce_slug, 'slug', 'woocommerce', $TRP_LANGUAGE );
|
| 225 |
+
$translated_slug = trp_x( $default_woocommerce_slug, 'slug', 'woocommerce', $language );
|
| 226 |
+
$new_url = str_replace( '/'.$current_slug.'/', '/'.$translated_slug.'/', $new_url );
|
| 227 |
+
|
| 228 |
+
// if $language is initially empty, like the link was found in the menu, manually added
|
| 229 |
+
$current_slug = $default_woocommerce_slug;
|
| 230 |
+
$translated_slug = trp_x( $default_woocommerce_slug, 'slug', 'woocommerce', $language );
|
| 231 |
+
$new_url = str_replace( '/'.$current_slug.'/', '/'.$translated_slug.'/', $new_url );
|
|
|
|
|
|
|
| 232 |
}
|
| 233 |
}
|
| 234 |
|
index.php
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
Plugin Name: TranslatePress - Multilingual
|
| 4 |
Plugin URI: https://translatepress.com/
|
| 5 |
Description: Experience a better way of translating your WordPress site, with full support for WooCommerce and site builders.
|
| 6 |
-
Version: 1.3.
|
| 7 |
Author: Cozmoslabs, Razvan Mocanu, Madalin Ungureanu, Cristophor Hurduban
|
| 8 |
Author URI: https://cozmoslabs.com/
|
| 9 |
Text Domain: translatepress-multilingual
|
|
@@ -28,8 +28,6 @@ along with this program; if not, write to the Free Software
|
|
| 28 |
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
| 29 |
*/
|
| 30 |
|
| 31 |
-
|
| 32 |
-
|
| 33 |
require_once plugin_dir_path(__FILE__) . 'class-translate-press.php';
|
| 34 |
|
| 35 |
function trp_run_translatepress_hooks(){
|
| 3 |
Plugin Name: TranslatePress - Multilingual
|
| 4 |
Plugin URI: https://translatepress.com/
|
| 5 |
Description: Experience a better way of translating your WordPress site, with full support for WooCommerce and site builders.
|
| 6 |
+
Version: 1.3.4
|
| 7 |
Author: Cozmoslabs, Razvan Mocanu, Madalin Ungureanu, Cristophor Hurduban
|
| 8 |
Author URI: https://cozmoslabs.com/
|
| 9 |
Text Domain: translatepress-multilingual
|
| 28 |
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
| 29 |
*/
|
| 30 |
|
|
|
|
|
|
|
| 31 |
require_once plugin_dir_path(__FILE__) . 'class-translate-press.php';
|
| 32 |
|
| 33 |
function trp_run_translatepress_hooks(){
|
languages/translatepress-multilingual.catalog.php
CHANGED
|
@@ -43,6 +43,8 @@
|
|
| 43 |
<?php __("Translate Site", "translatepress-multilingual"); ?>
|
| 44 |
<?php __("License", "translatepress-multilingual"); ?>
|
| 45 |
<?php __("Addons", "translatepress-multilingual"); ?>
|
|
|
|
|
|
|
| 46 |
<?php __("Translate", "translatepress-multilingual"); ?>
|
| 47 |
<?php __("Translate entire block element", "translatepress-multilingual"); ?>
|
| 48 |
<?php __("Split block to translate strings individually", "translatepress-multilingual"); ?>
|
|
@@ -52,7 +54,6 @@
|
|
| 52 |
<?php __("String List", "translatepress-multilingual"); ?>
|
| 53 |
<?php __("Dynamic Added Strings", "translatepress-multilingual"); ?>
|
| 54 |
<?php __("Translate Page", "translatepress-multilingual"); ?>
|
| 55 |
-
<?php __("Settings", "translatepress-multilingual"); ?>
|
| 56 |
<?php __("Security check", "translatepress-multilingual"); ?>
|
| 57 |
<?php __("Description", "translatepress-multilingual"); ?>
|
| 58 |
<?php __("OG Title", "translatepress-multilingual"); ?>
|
|
@@ -117,14 +118,17 @@
|
|
| 117 |
<?php __("You can add a new language from <a href=\"%s\">Settings->TranslatePress</a>", "translatepress-multilingual"); ?>
|
| 118 |
<?php __("However, you can still use TranslatePress to <strong style=\"background: #f5fb9d;\">modify gettext strings</strong> available in your page.", "translatepress-multilingual"); ?>
|
| 119 |
<?php __("Strings that are user created can't be modified, only those from themes and plugins.", "translatepress-multilingual"); ?>
|
| 120 |
-
<?php __("
|
| 121 |
-
<?php __("Support for 221 Languages", "translatepress-multilingual"); ?>
|
|
|
|
| 122 |
<?php __("Translate SEO Title, Description, Slug", "translatepress-multilingual"); ?>
|
| 123 |
-
<?php __("Translate Facebook Tags", "translatepress-multilingual"); ?>
|
| 124 |
<?php __("Create Translator Accounts", "translatepress-multilingual"); ?>
|
| 125 |
-
<?php __("Publish when
|
|
|
|
|
|
|
|
|
|
| 126 |
<?php __("Supported By Real People", "translatepress-multilingual"); ?>
|
| 127 |
-
<?php __("
|
| 128 |
<?php __("Remove duplicate rows from TranslatePress tables", "translatepress-multilingual"); ?>
|
| 129 |
<?php __("<strong>IMPORTANT NOTE: Before performing this action it is strongly recommended to backup the database first.</strong><br><br>This feature can be used to cleanup duplicate entries in TranslatePress trp_dictionary tables. Such duplicates can appear in exceptional situations of unexpected behavior.", "translatepress-multilingual"); ?>
|
| 130 |
<?php __("IMPORTANT: It is strongly recommended to backup the database first!\nAre you sure you want to continue?", "translatepress-multilingual"); ?>
|
| 43 |
<?php __("Translate Site", "translatepress-multilingual"); ?>
|
| 44 |
<?php __("License", "translatepress-multilingual"); ?>
|
| 45 |
<?php __("Addons", "translatepress-multilingual"); ?>
|
| 46 |
+
<?php __("Settings", "translatepress-multilingual"); ?>
|
| 47 |
+
<?php __("Pro Features", "translatepress-multilingual"); ?>
|
| 48 |
<?php __("Translate", "translatepress-multilingual"); ?>
|
| 49 |
<?php __("Translate entire block element", "translatepress-multilingual"); ?>
|
| 50 |
<?php __("Split block to translate strings individually", "translatepress-multilingual"); ?>
|
| 54 |
<?php __("String List", "translatepress-multilingual"); ?>
|
| 55 |
<?php __("Dynamic Added Strings", "translatepress-multilingual"); ?>
|
| 56 |
<?php __("Translate Page", "translatepress-multilingual"); ?>
|
|
|
|
| 57 |
<?php __("Security check", "translatepress-multilingual"); ?>
|
| 58 |
<?php __("Description", "translatepress-multilingual"); ?>
|
| 59 |
<?php __("OG Title", "translatepress-multilingual"); ?>
|
| 118 |
<?php __("You can add a new language from <a href=\"%s\">Settings->TranslatePress</a>", "translatepress-multilingual"); ?>
|
| 119 |
<?php __("However, you can still use TranslatePress to <strong style=\"background: #f5fb9d;\">modify gettext strings</strong> available in your page.", "translatepress-multilingual"); ?>
|
| 120 |
<?php __("Strings that are user created can't be modified, only those from themes and plugins.", "translatepress-multilingual"); ?>
|
| 121 |
+
<?php __("Extra Translation Features", "translatepress-multilingual"); ?>
|
| 122 |
+
<?php __("Support for 221 Extra Languages", "translatepress-multilingual"); ?>
|
| 123 |
+
<?php __("Yoast SEO support", "translatepress-multilingual"); ?>
|
| 124 |
<?php __("Translate SEO Title, Description, Slug", "translatepress-multilingual"); ?>
|
|
|
|
| 125 |
<?php __("Create Translator Accounts", "translatepress-multilingual"); ?>
|
| 126 |
+
<?php __("Publish only when translation is done", "translatepress-multilingual"); ?>
|
| 127 |
+
<?php __("Translate by Browsing as User Role", "translatepress-multilingual"); ?>
|
| 128 |
+
<?php __("Different Menus Items per Language", "translatepress-multilingual"); ?>
|
| 129 |
+
<?php __("Automatic User Language Detection", "translatepress-multilingual"); ?>
|
| 130 |
<?php __("Supported By Real People", "translatepress-multilingual"); ?>
|
| 131 |
+
<?php __("Find Out More", "translatepress-multilingual"); ?>
|
| 132 |
<?php __("Remove duplicate rows from TranslatePress tables", "translatepress-multilingual"); ?>
|
| 133 |
<?php __("<strong>IMPORTANT NOTE: Before performing this action it is strongly recommended to backup the database first.</strong><br><br>This feature can be used to cleanup duplicate entries in TranslatePress trp_dictionary tables. Such duplicates can appear in exceptional situations of unexpected behavior.", "translatepress-multilingual"); ?>
|
| 134 |
<?php __("IMPORTANT: It is strongly recommended to backup the database first!\nAre you sure you want to continue?", "translatepress-multilingual"); ?>
|
languages/translatepress-multilingual.pot
CHANGED
|
@@ -189,6 +189,14 @@ msgstr ""
|
|
| 189 |
msgid "Addons"
|
| 190 |
msgstr ""
|
| 191 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 192 |
#: ../translatepress/includes/class-translation-manager.php:79
|
| 193 |
msgid "Translate"
|
| 194 |
msgstr ""
|
|
@@ -225,10 +233,6 @@ msgstr ""
|
|
| 225 |
msgid "Translate Page"
|
| 226 |
msgstr ""
|
| 227 |
|
| 228 |
-
#: ../translatepress/includes/class-translation-manager.php:657
|
| 229 |
-
msgid "Settings"
|
| 230 |
-
msgstr ""
|
| 231 |
-
|
| 232 |
#: ../translatepress/includes/class-translation-manager.php:1125
|
| 233 |
msgid "Security check"
|
| 234 |
msgstr ""
|
|
@@ -486,19 +490,19 @@ msgid "Strings that are user created can't be modified, only those from themes a
|
|
| 486 |
msgstr ""
|
| 487 |
|
| 488 |
#: ../translatepress/partials/translation-manager.php:159
|
| 489 |
-
msgid "
|
| 490 |
msgstr ""
|
| 491 |
|
| 492 |
#: ../translatepress/partials/translation-manager.php:161
|
| 493 |
-
msgid "Support for 221 Languages"
|
| 494 |
msgstr ""
|
| 495 |
|
| 496 |
#: ../translatepress/partials/translation-manager.php:162
|
| 497 |
-
msgid "
|
| 498 |
msgstr ""
|
| 499 |
|
| 500 |
#: ../translatepress/partials/translation-manager.php:163
|
| 501 |
-
msgid "Translate
|
| 502 |
msgstr ""
|
| 503 |
|
| 504 |
#: ../translatepress/partials/translation-manager.php:164
|
|
@@ -506,15 +510,27 @@ msgid "Create Translator Accounts"
|
|
| 506 |
msgstr ""
|
| 507 |
|
| 508 |
#: ../translatepress/partials/translation-manager.php:165
|
| 509 |
-
msgid "Publish when
|
|
|
|
|
|
|
|
|
|
|
|
|
| 510 |
msgstr ""
|
| 511 |
|
| 512 |
#: ../translatepress/partials/translation-manager.php:167
|
| 513 |
-
msgid "
|
| 514 |
msgstr ""
|
| 515 |
|
| 516 |
#: ../translatepress/partials/translation-manager.php:168
|
| 517 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 518 |
msgstr ""
|
| 519 |
|
| 520 |
#: ../translatepress/partials/trp-remove-duplicate-rows.php:7
|
| 189 |
msgid "Addons"
|
| 190 |
msgstr ""
|
| 191 |
|
| 192 |
+
#: ../translatepress/includes/class-settings.php:532, ../translatepress/includes/class-translation-manager.php:657
|
| 193 |
+
msgid "Settings"
|
| 194 |
+
msgstr ""
|
| 195 |
+
|
| 196 |
+
#: ../translatepress/includes/class-settings.php:536
|
| 197 |
+
msgid "Pro Features"
|
| 198 |
+
msgstr ""
|
| 199 |
+
|
| 200 |
#: ../translatepress/includes/class-translation-manager.php:79
|
| 201 |
msgid "Translate"
|
| 202 |
msgstr ""
|
| 233 |
msgid "Translate Page"
|
| 234 |
msgstr ""
|
| 235 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 236 |
#: ../translatepress/includes/class-translation-manager.php:1125
|
| 237 |
msgid "Security check"
|
| 238 |
msgstr ""
|
| 490 |
msgstr ""
|
| 491 |
|
| 492 |
#: ../translatepress/partials/translation-manager.php:159
|
| 493 |
+
msgid "Extra Translation Features"
|
| 494 |
msgstr ""
|
| 495 |
|
| 496 |
#: ../translatepress/partials/translation-manager.php:161
|
| 497 |
+
msgid "Support for 221 Extra Languages"
|
| 498 |
msgstr ""
|
| 499 |
|
| 500 |
#: ../translatepress/partials/translation-manager.php:162
|
| 501 |
+
msgid "Yoast SEO support"
|
| 502 |
msgstr ""
|
| 503 |
|
| 504 |
#: ../translatepress/partials/translation-manager.php:163
|
| 505 |
+
msgid "Translate SEO Title, Description, Slug"
|
| 506 |
msgstr ""
|
| 507 |
|
| 508 |
#: ../translatepress/partials/translation-manager.php:164
|
| 510 |
msgstr ""
|
| 511 |
|
| 512 |
#: ../translatepress/partials/translation-manager.php:165
|
| 513 |
+
msgid "Publish only when translation is done"
|
| 514 |
+
msgstr ""
|
| 515 |
+
|
| 516 |
+
#: ../translatepress/partials/translation-manager.php:166
|
| 517 |
+
msgid "Translate by Browsing as User Role"
|
| 518 |
msgstr ""
|
| 519 |
|
| 520 |
#: ../translatepress/partials/translation-manager.php:167
|
| 521 |
+
msgid "Different Menus Items per Language"
|
| 522 |
msgstr ""
|
| 523 |
|
| 524 |
#: ../translatepress/partials/translation-manager.php:168
|
| 525 |
+
msgid "Automatic User Language Detection"
|
| 526 |
+
msgstr ""
|
| 527 |
+
|
| 528 |
+
#: ../translatepress/partials/translation-manager.php:170
|
| 529 |
+
msgid "Supported By Real People"
|
| 530 |
+
msgstr ""
|
| 531 |
+
|
| 532 |
+
#: ../translatepress/partials/translation-manager.php:171
|
| 533 |
+
msgid "Find Out More"
|
| 534 |
msgstr ""
|
| 535 |
|
| 536 |
#: ../translatepress/partials/trp-remove-duplicate-rows.php:7
|
partials/translation-manager.php
CHANGED
|
@@ -156,16 +156,19 @@
|
|
| 156 |
?>
|
| 157 |
<div class="trp-controls-section wp-core-ui">
|
| 158 |
<div id="trp-upsell-section" class="trp-controls-section-content">
|
| 159 |
-
<h3><?php _e('
|
| 160 |
<ul>
|
| 161 |
-
<li><?php _e('Support for 221 Languages', 'translatepress-multilingual' ); ?></li>
|
|
|
|
| 162 |
<li><?php _e('Translate SEO Title, Description, Slug', 'translatepress-multilingual' ); ?></li>
|
| 163 |
-
<li><?php _e('Translate Facebook Tags', 'translatepress-multilingual' ); ?></li>
|
| 164 |
<li><?php _e('Create Translator Accounts', 'translatepress-multilingual' ); ?></li>
|
| 165 |
-
<li><?php _e('Publish when
|
|
|
|
|
|
|
|
|
|
| 166 |
</ul>
|
| 167 |
<p><span style="background: #f5fb9d;"><?php _e('Supported By Real People', 'translatepress-multilingual' ); ?></span></p>
|
| 168 |
-
<p><a class="button-primary" target="_blank" href=" <?php echo trp_add_affiliate_id_to_link('https://translatepress.com/pricing/?utm_source=wpbackend&utm_medium=clientsite&utm_content=tpeditor&utm_campaign=tpfree')?> "><?php _e('
|
| 169 |
</div>
|
| 170 |
</div>
|
| 171 |
<?php endif; ?>
|
| 156 |
?>
|
| 157 |
<div class="trp-controls-section wp-core-ui">
|
| 158 |
<div id="trp-upsell-section" class="trp-controls-section-content">
|
| 159 |
+
<h3><?php _e('Extra Translation Features', 'translatepress-multilingual' ); ?></h3>
|
| 160 |
<ul>
|
| 161 |
+
<li><?php _e('Support for 221 Extra Languages', 'translatepress-multilingual' ); ?></li>
|
| 162 |
+
<li><?php _e('Yoast SEO support', 'translatepress-multilingual' ); ?></li>
|
| 163 |
<li><?php _e('Translate SEO Title, Description, Slug', 'translatepress-multilingual' ); ?></li>
|
|
|
|
| 164 |
<li><?php _e('Create Translator Accounts', 'translatepress-multilingual' ); ?></li>
|
| 165 |
+
<li><?php _e('Publish only when translation is done', 'translatepress-multilingual' ); ?></li>
|
| 166 |
+
<li><?php _e('Translate by Browsing as User Role', 'translatepress-multilingual' ); ?></li>
|
| 167 |
+
<li><?php _e('Different Menus Items per Language', 'translatepress-multilingual' ); ?></li>
|
| 168 |
+
<li><?php _e('Automatic User Language Detection', 'translatepress-multilingual' ); ?></li>
|
| 169 |
</ul>
|
| 170 |
<p><span style="background: #f5fb9d;"><?php _e('Supported By Real People', 'translatepress-multilingual' ); ?></span></p>
|
| 171 |
+
<p><a class="button-primary" target="_blank" href=" <?php echo trp_add_affiliate_id_to_link('https://translatepress.com/pricing/?utm_source=wpbackend&utm_medium=clientsite&utm_content=tpeditor&utm_campaign=tpfree')?> "><?php _e('Find Out More', 'translatepress-multilingual' ); ?></a></p>
|
| 172 |
</div>
|
| 173 |
</div>
|
| 174 |
<?php endif; ?>
|
readme.txt
CHANGED
|
@@ -4,7 +4,7 @@ Donate link: https://www.cozmoslabs.com/
|
|
| 4 |
Tags: translate, translation, multilingual, automatic translation, bilingual, front-end translation, google translate, language
|
| 5 |
Requires at least: 3.1.0
|
| 6 |
Tested up to: 4.9.8
|
| 7 |
-
Stable tag: 1.3.
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
|
@@ -124,6 +124,13 @@ For more information please check out [TranslatePress - Multilingual plugin docu
|
|
| 124 |
6. Menu Language Switcher
|
| 125 |
|
| 126 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 127 |
= 1.3.3 =
|
| 128 |
* Fixed issue with Woocommerce ajax strings that were broken in editor on default language in some cases
|
| 129 |
* Speed improvements
|
| 4 |
Tags: translate, translation, multilingual, automatic translation, bilingual, front-end translation, google translate, language
|
| 5 |
Requires at least: 3.1.0
|
| 6 |
Tested up to: 4.9.8
|
| 7 |
+
Stable tag: 1.3.4
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
| 124 |
6. Menu Language Switcher
|
| 125 |
|
| 126 |
== Changelog ==
|
| 127 |
+
= 1.3.4 =
|
| 128 |
+
* Fixed issue with options in select tag that couldn't be translated
|
| 129 |
+
* Fixed force language in custom links
|
| 130 |
+
* Fixed Woocommerce links fpr products or categories that were added by the user manually in a page
|
| 131 |
+
* Added Settings link to the list of links displayed on Plugins page
|
| 132 |
+
* Fixed issue with Kazakhstan flag
|
| 133 |
+
|
| 134 |
= 1.3.3 =
|
| 135 |
* Fixed issue with Woocommerce ajax strings that were broken in editor on default language in some cases
|
| 136 |
* Speed improvements
|
