Version Description
- (Core/Widgets) Added support for the widgets block editor.
Download this release
Release Info
Developer | tivnet |
Plugin | WPGlobus – Multilingual Everything! |
Version | 2.8.6 |
Comparing to | |
See all releases |
Code changes from version 2.8.5 to 2.8.6
- data/wpglobus-product-info.json +1 -1
- includes/options/class-wpglobus-options.php +5 -2
- includes/widgets/class-wpglobus-widgets.php +891 -0
- languages/wpglobus-ar.mo +0 -0
- languages/wpglobus-ar.po +1 -9
- languages/wpglobus-be.mo +0 -0
- languages/wpglobus-be.po +1 -9
- languages/wpglobus-bg_BG.mo +0 -0
- languages/wpglobus-bg_BG.po +1 -9
- languages/wpglobus-de_CH.mo +0 -0
- languages/wpglobus-de_CH.po +1 -9
- languages/wpglobus-de_DE.mo +0 -0
- languages/wpglobus-de_DE.po +1 -9
- languages/wpglobus-el.mo +0 -0
- languages/wpglobus-el.po +1 -9
- languages/wpglobus-en_AU.mo +0 -0
- languages/wpglobus-en_AU.po +1 -9
- languages/wpglobus-en_CA.mo +0 -0
- languages/wpglobus-en_CA.po +1 -9
- languages/wpglobus-en_GB.mo +0 -0
- languages/wpglobus-en_GB.po +1 -9
- languages/wpglobus-en_NZ.mo +0 -0
- languages/wpglobus-en_NZ.po +1 -9
- languages/wpglobus-en_US.mo +0 -0
- languages/wpglobus-en_US.po +1 -11
- languages/wpglobus-en_ZA.mo +0 -0
- languages/wpglobus-en_ZA.po +1 -9
- languages/wpglobus-es_AR.mo +0 -0
- languages/wpglobus-es_AR.po +1 -9
- languages/wpglobus-es_CL.mo +0 -0
- languages/wpglobus-es_CL.po +1 -9
- languages/wpglobus-es_CO.mo +0 -0
- languages/wpglobus-es_CO.po +1 -9
- languages/wpglobus-es_CR.mo +0 -0
- languages/wpglobus-es_CR.po +1 -9
- languages/wpglobus-es_ES.mo +0 -0
- languages/wpglobus-es_ES.po +1 -9
- languages/wpglobus-es_GT.mo +0 -0
- languages/wpglobus-es_GT.po +1 -9
- languages/wpglobus-es_MX.mo +0 -0
- languages/wpglobus-es_MX.po +1 -9
- languages/wpglobus-es_PE.mo +0 -0
- languages/wpglobus-es_PE.po +1 -9
- languages/wpglobus-es_PR.mo +0 -0
- languages/wpglobus-es_PR.po +1 -9
- languages/wpglobus-es_VE.mo +0 -0
- languages/wpglobus-es_VE.po +1 -9
- languages/wpglobus-et.mo +0 -0
- languages/wpglobus-et.po +1 -9
- languages/wpglobus-fr_BE.mo +0 -0
- languages/wpglobus-fr_BE.po +1 -9
- languages/wpglobus-fr_CA.mo +0 -0
- languages/wpglobus-fr_CA.po +1 -9
- languages/wpglobus-fr_FR.mo +0 -0
- languages/wpglobus-fr_FR.po +1 -9
- languages/wpglobus-id_ID.mo +0 -0
- languages/wpglobus-id_ID.po +1 -9
- languages/wpglobus-ko_KR.mo +0 -0
- languages/wpglobus-ko_KR.po +1 -9
- languages/wpglobus-pl_PL.mo +0 -0
- languages/wpglobus-pl_PL.po +1 -9
- languages/wpglobus-pt_BR.mo +0 -0
- languages/wpglobus-pt_BR.po +1 -9
- languages/wpglobus-pt_PT.mo +0 -0
- languages/wpglobus-pt_PT.po +1 -9
- languages/wpglobus-ro_RO.mo +0 -0
- languages/wpglobus-ro_RO.po +1 -9
- languages/wpglobus-ru_RU.mo +0 -0
- languages/wpglobus-ru_RU.po +1 -11
- languages/wpglobus-sv_SE.mo +0 -0
- languages/wpglobus-sv_SE.po +1 -9
- languages/wpglobus-tr_TR.mo +0 -0
- languages/wpglobus-tr_TR.po +1 -9
- languages/wpglobus-uk.mo +0 -0
- languages/wpglobus-uk.po +1 -9
- languages/wpglobus.pot +0 -6
- readme.txt +3 -0
- wpglobus.php +12 -2
data/wpglobus-product-info.json
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"multilingual-woocommerce-nets-netaxept":{"title":"{:en}Multilingual WooCommerce Nets Netaxept{:}{:ru}\u041c\u0443\u043b\u044c\u0442\u0438\u044f\u0437\u044b\u0447\u043d\u043e\u0441\u0442\u044c \u0434\u043b\u044f WooCommerce Nets Netaxept{:}","_api_new_version":"1.0.3","_api_tested_up_to":"4.9.8"},"wpglobus-multi-currency":{"title":"{:en}Multi-Currency for WooCommerce{:}{:ru}WPGlobus - \u041c\u0443\u043b\u044c\u0442\u0438\u0432\u0430\u043b\u044e\u0442\u043d\u043e\u0441\u0442\u044c \u0434\u043b\u044f WooCommerce{:}","_api_new_version":"1.1.1","_api_tested_up_to":"4.9.4"},"wpglobus-mobile-menu":{"title":"{:en}WPGlobus Mobile Menu{:}{:ru}WPGlobus Mobile Menu{:}","_api_new_version":"2.2.0","_api_tested_up_to":"5.6"},"wpglobus-header-images":{"title":"{:en}WPGlobus Header Images{:}{:ru}WPGlobus Header Images{:}","_api_new_version":"2.1.0","_api_tested_up_to":"5.5"},"wpglobus-for-ultimate-member":{"title":"{:en}WPGlobus for Ultimate Member{:}{:ru}WPGlobus \u0434\u043b\u044f \u043f\u043b\u0430\u0433\u0438\u043d\u0430 Ultimate Member{:}","_api_new_version":"1.1.0","_api_tested_up_to":"5.6"},"wpglobus-menu-visibility":{"title":"WPGlobus Menu Visibility","_api_new_version":"2.0.0","_api_tested_up_to":"5.6"},"wpglobus-for-bridge-theme":{"title":"{:en}WPGlobus for the \"Bridge\" theme{:}{:ru}WPGlobus \u0434\u043b\u044f \u0442\u0435\u043c\u044b Bridge{:}","_api_new_version":"2.4.0","_api_tested_up_to":"5.5"},"wpglobus-language-widgets":{"title":"{:en}WPGlobus Language Widgets{:}{:ru}\u042f\u0437\u044b\u043a\u0438 WPGlobus \u0434\u043b\u044f \u0432\u0438\u0434\u0436\u0435\u0442\u043e\u0432{:}","_api_new_version":"2.1.0","_api_tested_up_to":"5.7"},"wpglobus-multilingual-popups":{"title":"{:en}WPGlobus Multilingual Popups{:}{:ru}WPGlobus Multilingual Popups{:}","_api_new_version":"1.4.0","_api_tested_up_to":"5.7"},"
|
1 |
+
{"multilingual-woocommerce-nets-netaxept":{"title":"{:en}Multilingual WooCommerce Nets Netaxept{:}{:ru}\u041c\u0443\u043b\u044c\u0442\u0438\u044f\u0437\u044b\u0447\u043d\u043e\u0441\u0442\u044c \u0434\u043b\u044f WooCommerce Nets Netaxept{:}","_api_new_version":"1.0.3","_api_tested_up_to":"4.9.8"},"wpglobus-multi-currency":{"title":"{:en}Multi-Currency for WooCommerce{:}{:ru}WPGlobus - \u041c\u0443\u043b\u044c\u0442\u0438\u0432\u0430\u043b\u044e\u0442\u043d\u043e\u0441\u0442\u044c \u0434\u043b\u044f WooCommerce{:}","_api_new_version":"1.1.1","_api_tested_up_to":"4.9.4"},"wpglobus-mobile-menu":{"title":"{:en}WPGlobus Mobile Menu{:}{:ru}WPGlobus Mobile Menu{:}","_api_new_version":"2.2.0","_api_tested_up_to":"5.6"},"wpglobus-header-images":{"title":"{:en}WPGlobus Header Images{:}{:ru}WPGlobus Header Images{:}","_api_new_version":"2.1.0","_api_tested_up_to":"5.5"},"wpglobus-for-ultimate-member":{"title":"{:en}WPGlobus for Ultimate Member{:}{:ru}WPGlobus \u0434\u043b\u044f \u043f\u043b\u0430\u0433\u0438\u043d\u0430 Ultimate Member{:}","_api_new_version":"1.1.0","_api_tested_up_to":"5.6"},"wpglobus-menu-visibility":{"title":"WPGlobus Menu Visibility","_api_new_version":"2.0.0","_api_tested_up_to":"5.6"},"wpglobus-for-bridge-theme":{"title":"{:en}WPGlobus for the \"Bridge\" theme{:}{:ru}WPGlobus \u0434\u043b\u044f \u0442\u0435\u043c\u044b Bridge{:}","_api_new_version":"2.4.0","_api_tested_up_to":"5.5"},"wpglobus-language-widgets":{"title":"{:en}WPGlobus Language Widgets{:}{:ru}\u042f\u0437\u044b\u043a\u0438 WPGlobus \u0434\u043b\u044f \u0432\u0438\u0434\u0436\u0435\u0442\u043e\u0432{:}","_api_new_version":"2.1.0","_api_tested_up_to":"5.7"},"wpglobus-multilingual-popups":{"title":"{:en}WPGlobus Multilingual Popups{:}{:ru}WPGlobus Multilingual Popups{:}","_api_new_version":"1.4.0","_api_tested_up_to":"5.7"},"woocommerce-wpglobus":{"title":"{:en}WPGlobus for WooCommerce{:}{:ru}\u0420\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 WooCommerce WPGlobus{:}","_api_new_version":"5.8.5","_api_tested_up_to":"5.8"},"wpglobus-multilingual-notices":{"title":"{:en}WPGlobus Multilingual Notices{:}{:ru}WPGlobus - \u043c\u043d\u043e\u0433\u043e\u044f\u0437\u044b\u0447\u043d\u044b\u0435 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f{:}","_api_new_version":"2.9.2","_api_tested_up_to":"5.8"},"wpglobus-plus":{"title":"{:en}WPGlobus Plus multilingual extension{:}{:ru}WPGlobus \u041f\u043b\u044e\u0441{:}","_api_new_version":"1.8.2","_api_tested_up_to":"5.8"}}
|
includes/options/class-wpglobus-options.php
CHANGED
@@ -1618,13 +1618,16 @@ class WPGlobus_Options {
|
|
1618 |
|
1619 |
} else {
|
1620 |
|
|
|
|
|
1621 |
$_desc = sprintf(
|
1622 |
esc_html__( '%1$sAttention%2$s', 'wpglobus' ),
|
1623 |
'<strong>',
|
1624 |
'</strong>'
|
1625 |
);
|
1626 |
$_desc .= ': ' . esc_html__( 'The current version of WPGlobus does not support multililngual widgets with block editor', 'wpglobus' );
|
1627 |
-
|
|
|
1628 |
$_checked = false;
|
1629 |
if ( ! empty( $wpglobus_option['use_widgets_block_editor'] ) && 1 == $wpglobus_option['use_widgets_block_editor'] ) { // phpcs:ignore
|
1630 |
$_checked = true;
|
@@ -1637,7 +1640,7 @@ class WPGlobus_Options {
|
|
1637 |
'name' => 'wpglobus_option[use_widgets_block_editor]',
|
1638 |
'title' => esc_html__( 'Use block editor on the Widgets page', 'wpglobus' ),
|
1639 |
'label' => esc_html__( 'Enabled', 'wpglobus' ),
|
1640 |
-
'desc' => $_desc
|
1641 |
);
|
1642 |
|
1643 |
/**
|
1618 |
|
1619 |
} else {
|
1620 |
|
1621 |
+
/**
|
1622 |
+
* obsolete @since 2.8.6
|
1623 |
$_desc = sprintf(
|
1624 |
esc_html__( '%1$sAttention%2$s', 'wpglobus' ),
|
1625 |
'<strong>',
|
1626 |
'</strong>'
|
1627 |
);
|
1628 |
$_desc .= ': ' . esc_html__( 'The current version of WPGlobus does not support multililngual widgets with block editor', 'wpglobus' );
|
1629 |
+
//*/
|
1630 |
+
|
1631 |
$_checked = false;
|
1632 |
if ( ! empty( $wpglobus_option['use_widgets_block_editor'] ) && 1 == $wpglobus_option['use_widgets_block_editor'] ) { // phpcs:ignore
|
1633 |
$_checked = true;
|
1640 |
'name' => 'wpglobus_option[use_widgets_block_editor]',
|
1641 |
'title' => esc_html__( 'Use block editor on the Widgets page', 'wpglobus' ),
|
1642 |
'label' => esc_html__( 'Enabled', 'wpglobus' ),
|
1643 |
+
'desc' => '' // $_desc
|
1644 |
);
|
1645 |
|
1646 |
/**
|
includes/widgets/class-wpglobus-widgets.php
ADDED
@@ -0,0 +1,891 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* File: class-wpglobus-widgets.php
|
4 |
+
*
|
5 |
+
* Class WPGlobus_Widgets.
|
6 |
+
* @since 2.8.6
|
7 |
+
*/
|
8 |
+
|
9 |
+
// Exit if accessed directly
|
10 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
11 |
+
exit;
|
12 |
+
}
|
13 |
+
|
14 |
+
if ( ! class_exists( 'WPGlobus_Widgets' ) ) :
|
15 |
+
|
16 |
+
if ( ! function_exists( 'wp_get_current_user' ) ) {
|
17 |
+
/**
|
18 |
+
* @see `current_user_can` function in WPGlobus_Widgets class.
|
19 |
+
*/
|
20 |
+
require_once( ABSPATH . WPINC . '/pluggable.php' );
|
21 |
+
}
|
22 |
+
|
23 |
+
class WPGlobus_Widgets {
|
24 |
+
|
25 |
+
const SCOPE_ADMIN = 'admin';
|
26 |
+
|
27 |
+
const SCOPE_FRONT = 'front';
|
28 |
+
|
29 |
+
/**
|
30 |
+
* Current language.
|
31 |
+
*/
|
32 |
+
protected static $language = false;
|
33 |
+
|
34 |
+
/**
|
35 |
+
* All widget options like `widget_*`.
|
36 |
+
* @var array
|
37 |
+
*/
|
38 |
+
protected static $widget_options = false;
|
39 |
+
|
40 |
+
/**
|
41 |
+
* Option key for `sidebars_widgets`.
|
42 |
+
*/
|
43 |
+
protected static $sidebars_widgets_option_key = 'sidebars_widgets';
|
44 |
+
|
45 |
+
/**
|
46 |
+
* Theme switched key.
|
47 |
+
*/
|
48 |
+
protected static $theme_switched_key = 'wpglobus_widgets_theme_switched';
|
49 |
+
|
50 |
+
/**
|
51 |
+
* Log file.
|
52 |
+
*/
|
53 |
+
protected static $__log_file = null;
|
54 |
+
|
55 |
+
/**
|
56 |
+
* @var object Instance of this class.
|
57 |
+
*/
|
58 |
+
protected static $instance;
|
59 |
+
|
60 |
+
/**
|
61 |
+
* Constructor.
|
62 |
+
*/
|
63 |
+
protected function __construct( $path_to_loader ) {
|
64 |
+
|
65 |
+
self::$__log_file = plugin_dir_path( __FILE__ ) . 'wpglobus-widgets.log';
|
66 |
+
|
67 |
+
self::set_language();
|
68 |
+
|
69 |
+
self::set_option_filters();
|
70 |
+
|
71 |
+
/**
|
72 |
+
* @see wp-includes\option.php
|
73 |
+
*/
|
74 |
+
add_action( 'option_widget_pages', array( __CLASS__, 'filter__widget_option' ), 5, 2 );
|
75 |
+
|
76 |
+
/**
|
77 |
+
* @see wp-includes\option.php
|
78 |
+
*/
|
79 |
+
add_filter( 'option_sidebars_widgets', array( __CLASS__, 'filter__sidebars_widgets' ), 1, 2 );
|
80 |
+
|
81 |
+
/**
|
82 |
+
* @see wp-includes\option.php
|
83 |
+
*/
|
84 |
+
add_filter( 'pre_update_option_sidebars_widgets', array( __CLASS__, 'filter__pre_update_option_sidebars_widgets' ), 1, 3 );
|
85 |
+
|
86 |
+
/**
|
87 |
+
* @see wp-includes\option.php
|
88 |
+
*/
|
89 |
+
add_filter( 'pre_update_option', array( __CLASS__, 'filter__pre_update_option' ), 1, 3 );
|
90 |
+
|
91 |
+
/**
|
92 |
+
* wp-includes\theme.php
|
93 |
+
*/
|
94 |
+
add_action( 'switch_theme', array( __CLASS__, 'on__switch_theme' ), 1, 3 );
|
95 |
+
|
96 |
+
add_action( 'admin_footer', array( __CLASS__, 'on__admin_footer' ) );
|
97 |
+
|
98 |
+
add_action( 'admin_print_scripts', array( __CLASS__, 'on__admin_print_scripts' ), 10 );
|
99 |
+
}
|
100 |
+
|
101 |
+
/**
|
102 |
+
* Get instance of this class.
|
103 |
+
*
|
104 |
+
* @return get_instance || void
|
105 |
+
*/
|
106 |
+
public static function get_instance( $path_to_loader = array() ) {
|
107 |
+
|
108 |
+
if ( WPGlobus_WP::is_doing_ajax() ) {
|
109 |
+
return;
|
110 |
+
}
|
111 |
+
|
112 |
+
if ( ! ( self::$instance instanceof WPGlobus_Widgets ) ) {
|
113 |
+
self::$instance = new self( $path_to_loader );
|
114 |
+
}
|
115 |
+
|
116 |
+
return self::$instance;
|
117 |
+
}
|
118 |
+
|
119 |
+
|
120 |
+
/**
|
121 |
+
* Update `sidebars_widgets` option for extra languages.
|
122 |
+
* We cannot do it in `switch_theme` action, because it is early.
|
123 |
+
*/
|
124 |
+
public static function on__admin_footer() {
|
125 |
+
|
126 |
+
global $pagenow;
|
127 |
+
|
128 |
+
if ( 'themes.php' !== $pagenow ) {
|
129 |
+
return;
|
130 |
+
}
|
131 |
+
|
132 |
+
$theme_switched = get_option( self::$theme_switched_key );
|
133 |
+
|
134 |
+
if ( ! $theme_switched || empty( $theme_switched ) ) {
|
135 |
+
return;
|
136 |
+
}
|
137 |
+
|
138 |
+
if ( ! function_exists( 'wp_map_sidebars_widgets' ) ) {
|
139 |
+
return;
|
140 |
+
}
|
141 |
+
|
142 |
+
foreach( WPGlobus::Config()->enabled_languages as $language ) {
|
143 |
+
|
144 |
+
if ( $language === WPGlobus::Config()->default_language ) {
|
145 |
+
continue;
|
146 |
+
}
|
147 |
+
|
148 |
+
$_sidebars_widgets = get_option( self::get_sidebars_widgets_option_key($language) );
|
149 |
+
|
150 |
+
if ( ! empty($_sidebars_widgets) ) {
|
151 |
+
|
152 |
+
/**
|
153 |
+
* @see wp-includes\widgets.php
|
154 |
+
*/
|
155 |
+
$new_sidebars_widgets = wp_map_sidebars_widgets( $_sidebars_widgets );
|
156 |
+
|
157 |
+
update_option(
|
158 |
+
self::get_sidebars_widgets_option_key($language),
|
159 |
+
$new_sidebars_widgets,
|
160 |
+
true
|
161 |
+
);
|
162 |
+
}
|
163 |
+
}
|
164 |
+
|
165 |
+
update_option( self::$theme_switched_key, '', false );
|
166 |
+
}
|
167 |
+
|
168 |
+
/**
|
169 |
+
* Fires after the theme is switched.
|
170 |
+
*
|
171 |
+
* To get $sidebars_widgets from old theme.
|
172 |
+
* $sidebars_widgets = wp_get_sidebars_widgets();
|
173 |
+
*
|
174 |
+
* To get $sidebars_widgets from new theme.
|
175 |
+
* $theme_mods = get_theme_mods();
|
176 |
+
* $new_sidebars_widgets = $theme_mods['sidebars_widgets']['data'];
|
177 |
+
*/
|
178 |
+
public static function on__switch_theme( $new_name, $new_theme, $old_theme ) {
|
179 |
+
$theme_switched = get_option( 'theme_switched' );
|
180 |
+
update_option( self::$theme_switched_key, $theme_switched, false );
|
181 |
+
}
|
182 |
+
|
183 |
+
/**
|
184 |
+
* Check if is request to REST API.
|
185 |
+
*
|
186 |
+
* @return bool
|
187 |
+
*/
|
188 |
+
public static function is_rest_request() {
|
189 |
+
|
190 |
+
if ( empty( $_SERVER['REQUEST_URI'] ) ) {
|
191 |
+
return false;
|
192 |
+
}
|
193 |
+
|
194 |
+
$rest_prefix = trailingslashit( rest_get_url_prefix() );
|
195 |
+
$request_uri = esc_url_raw( wp_unslash( $_SERVER['REQUEST_URI'] ) );
|
196 |
+
|
197 |
+
$is_rest_request = true;
|
198 |
+
if ( false === strpos( $request_uri, $rest_prefix ) ) {
|
199 |
+
$is_rest_request = false;
|
200 |
+
}
|
201 |
+
|
202 |
+
return $is_rest_request;
|
203 |
+
}
|
204 |
+
|
205 |
+
/**
|
206 |
+
* Check if is request to REST API from admin.
|
207 |
+
*
|
208 |
+
* @return bool
|
209 |
+
*/
|
210 |
+
public static function is_admin_rest_request() {
|
211 |
+
|
212 |
+
if ( ! self::is_rest_request() ) {
|
213 |
+
return false;
|
214 |
+
}
|
215 |
+
|
216 |
+
/**
|
217 |
+
* For example URL
|
218 |
+
* http://site/ru/wp-json/wp/v2/sidebars/primary-sidebar
|
219 |
+
* @see `do_permissions_check` function in rest-api\endpoints\class-wp-rest-sidebars-controller.php
|
220 |
+
*/
|
221 |
+
if ( ! current_user_can( 'edit_theme_options' ) ) {
|
222 |
+
return false;
|
223 |
+
}
|
224 |
+
|
225 |
+
$language = WPGlobus::Config()->default_language;
|
226 |
+
|
227 |
+
if ( preg_match( '/^\/[a-z]{2}\//', $_SERVER['REQUEST_URI'], $match ) ) {
|
228 |
+
$language = str_replace( '/', '', $match[0] );
|
229 |
+
}
|
230 |
+
|
231 |
+
if ( ! in_array( $language, WPGlobus::Config()->enabled_languages ) ) {
|
232 |
+
return false;
|
233 |
+
}
|
234 |
+
|
235 |
+
$extra_languages = WPGlobus::Config()->enabled_languages;
|
236 |
+
unset($extra_languages[0]);
|
237 |
+
|
238 |
+
if ( in_array( $language, $extra_languages ) ) {
|
239 |
+
/**
|
240 |
+
* Any request with a language code from an external source.
|
241 |
+
*/
|
242 |
+
return false;
|
243 |
+
}
|
244 |
+
|
245 |
+
$is_admin_request = false;
|
246 |
+
|
247 |
+
if ( ! empty($_COOKIE) ) {
|
248 |
+
|
249 |
+
foreach( $_COOKIE as $cookie=>$value ) {
|
250 |
+
if ( 0 === strpos( $cookie, 'wordpress_logged_in' ) ) {
|
251 |
+
$is_admin_request = true;
|
252 |
+
break;
|
253 |
+
}
|
254 |
+
}
|
255 |
+
}
|
256 |
+
|
257 |
+
return $is_admin_request;
|
258 |
+
}
|
259 |
+
|
260 |
+
/**
|
261 |
+
* Set option filters.
|
262 |
+
*/
|
263 |
+
public static function set_option_filters() {
|
264 |
+
|
265 |
+
$widget_options = array();
|
266 |
+
|
267 |
+
$alloptions = wp_cache_get( 'alloptions', 'options' );
|
268 |
+
|
269 |
+
foreach( $alloptions as $option=>$value ) {
|
270 |
+
if ( 0 === strpos( $option, 'widget_' ) ) {
|
271 |
+
|
272 |
+
// Don't filter option with language mark in name.
|
273 |
+
$_subs = substr($option, -3, 3);
|
274 |
+
if ( $_subs[0] == '_' && array_key_exists( $_subs[1].$_subs[2], WPGlobus::Config()->language_name ) ) {
|
275 |
+
continue;
|
276 |
+
}
|
277 |
+
|
278 |
+
$widget_options[$option] = $option;
|
279 |
+
}
|
280 |
+
}
|
281 |
+
|
282 |
+
if ( ! empty($widget_options) ) {
|
283 |
+
foreach( $widget_options as $option ) {
|
284 |
+
add_filter( 'option_'.$option, array( __CLASS__, 'filter__widget_option' ), 5, 2 );
|
285 |
+
}
|
286 |
+
}
|
287 |
+
}
|
288 |
+
|
289 |
+
/**
|
290 |
+
* Filter `sidebars_widgets` option according current language.
|
291 |
+
*
|
292 |
+
* @see wp-includes\option.php
|
293 |
+
*/
|
294 |
+
public static function filter__sidebars_widgets( $value, $option ) {
|
295 |
+
|
296 |
+
$language = false;
|
297 |
+
|
298 |
+
$scope = false;
|
299 |
+
|
300 |
+
if ( self::is_admin_widgets() || self::is_admin_rest_request() ) {
|
301 |
+
|
302 |
+
$language = self::get_language();
|
303 |
+
|
304 |
+
if ( self::is_default_language($language) ) {
|
305 |
+
return $value;
|
306 |
+
}
|
307 |
+
|
308 |
+
$scope = self::SCOPE_ADMIN;
|
309 |
+
|
310 |
+
} else {
|
311 |
+
|
312 |
+
/** @scope front */
|
313 |
+
|
314 |
+
if ( WPGlobus::Config()->language === WPGlobus::Config()->default_language ) {
|
315 |
+
return $value;
|
316 |
+
}
|
317 |
+
|
318 |
+
$language = WPGlobus::Config()->language;
|
319 |
+
|
320 |
+
$scope = self::SCOPE_FRONT;
|
321 |
+
}
|
322 |
+
|
323 |
+
|
324 |
+
return self::_get_sidebars_widgets($value, $language, $scope);
|
325 |
+
}
|
326 |
+
|
327 |
+
/**
|
328 |
+
* Filter any option likes `widget_*`.
|
329 |
+
*/
|
330 |
+
public static function filter__widget_option( $value, $option ) {
|
331 |
+
|
332 |
+
$language = false;
|
333 |
+
|
334 |
+
$scope = false;
|
335 |
+
|
336 |
+
if ( self::is_admin_widgets() || self::is_admin_rest_request() ) {
|
337 |
+
|
338 |
+
$language = self::get_language();
|
339 |
+
|
340 |
+
if ( self::is_default_language($language) ) {
|
341 |
+
return $value;
|
342 |
+
}
|
343 |
+
|
344 |
+
$scope = self::SCOPE_ADMIN;
|
345 |
+
|
346 |
+
} else {
|
347 |
+
|
348 |
+
if ( WPGlobus::Config()->language === WPGlobus::Config()->default_language ) {
|
349 |
+
return $value;
|
350 |
+
}
|
351 |
+
|
352 |
+
$language = WPGlobus::Config()->language;
|
353 |
+
|
354 |
+
$scope = self::SCOPE_FRONT;
|
355 |
+
}
|
356 |
+
|
357 |
+
return self::get_widget_option( $option, $value, $language, $scope );
|
358 |
+
}
|
359 |
+
|
360 |
+
/**
|
361 |
+
* Filter `pre_update_option`.
|
362 |
+
* @see wp-includes\option.php
|
363 |
+
*/
|
364 |
+
public static function filter__pre_update_option( $value, $option, $old_value ) {
|
365 |
+
|
366 |
+
if ( self::is_default_language() ) {
|
367 |
+
return $value;
|
368 |
+
}
|
369 |
+
|
370 |
+
$enabled_mask = 'widget_';
|
371 |
+
|
372 |
+
if ( 0 !== strpos( $option, $enabled_mask ) ) {
|
373 |
+
return $value;
|
374 |
+
}
|
375 |
+
|
376 |
+
if ( $value === $old_value || maybe_serialize($value) === maybe_serialize($old_value) ) {
|
377 |
+
return $value;
|
378 |
+
}
|
379 |
+
|
380 |
+
self::__log('before update option:: '.self::get_widget_option_key( $option, self::get_language() ));
|
381 |
+
self::__log($value);
|
382 |
+
self::update_option(
|
383 |
+
self::get_widget_option_key( $option, self::get_language() ),
|
384 |
+
$value
|
385 |
+
);
|
386 |
+
|
387 |
+
/**
|
388 |
+
* Return old value to prevent saving value for default language.
|
389 |
+
*/
|
390 |
+
return $old_value;
|
391 |
+
}
|
392 |
+
|
393 |
+
/**
|
394 |
+
* Filter pre update `sidebars_widgets` option.
|
395 |
+
*/
|
396 |
+
public static function filter__pre_update_option_sidebars_widgets( $value, $old_value, $option ) {
|
397 |
+
|
398 |
+
if ( self::is_default_language() ) {
|
399 |
+
return $value;
|
400 |
+
}
|
401 |
+
|
402 |
+
if ( $value === $old_value || maybe_serialize($value) === maybe_serialize($old_value) ) {
|
403 |
+
return $value;
|
404 |
+
}
|
405 |
+
|
406 |
+
$option_key = self::get_sidebars_widgets_option_key( self::get_language() );
|
407 |
+
|
408 |
+
/**
|
409 |
+
* Update option for extra language.
|
410 |
+
* Debug point.
|
411 |
+
* self::__log('before update option:: '.$option_key);
|
412 |
+
* self::__log($value);
|
413 |
+
* self::__log($old_value);
|
414 |
+
*/
|
415 |
+
self::update_option( $option_key, $value );
|
416 |
+
|
417 |
+
/**
|
418 |
+
* Return old value to prevent saving value for default language.
|
419 |
+
*/
|
420 |
+
return $old_value;
|
421 |
+
}
|
422 |
+
|
423 |
+
/**
|
424 |
+
* Update option.
|
425 |
+
*
|
426 |
+
* @see `update_option` function in wp-includes\option.php
|
427 |
+
*/
|
428 |
+
protected static function update_option( $option, $value, $language = false ) {
|
429 |
+
|
430 |
+
global $wpdb;
|
431 |
+
|
432 |
+
if ( ! $language ) {
|
433 |
+
$language = self::get_language();
|
434 |
+
}
|
435 |
+
|
436 |
+
if ( self::is_default_language( $language ) ) {
|
437 |
+
return false;
|
438 |
+
}
|
439 |
+
|
440 |
+
$serialized_value = maybe_serialize( $value );
|
441 |
+
|
442 |
+
$update_args = array(
|
443 |
+
'option_value' => $serialized_value,
|
444 |
+
);
|
445 |
+
|
446 |
+
$update_args['autoload'] = 'yes';
|
447 |
+
|
448 |
+
$result = $wpdb->update( $wpdb->options, $update_args, array( 'option_name' => $option ) );
|
449 |
+
if ( ! $result ) {
|
450 |
+
return false;
|
451 |
+
}
|
452 |
+
|
453 |
+
$notoptions = wp_cache_get( 'notoptions', 'options' );
|
454 |
+
|
455 |
+
if ( is_array( $notoptions ) && isset( $notoptions[ $option ] ) ) {
|
456 |
+
unset( $notoptions[ $option ] );
|
457 |
+
wp_cache_set( 'notoptions', $notoptions, 'options' );
|
458 |
+
}
|
459 |
+
|
460 |
+
if ( ! wp_installing() ) {
|
461 |
+
$alloptions = wp_load_alloptions( true );
|
462 |
+
if ( isset( $alloptions[ $option ] ) ) {
|
463 |
+
$alloptions[ $option ] = $serialized_value;
|
464 |
+
wp_cache_set( 'alloptions', $alloptions, 'options' );
|
465 |
+
} else {
|
466 |
+
wp_cache_set( $option, $serialized_value, 'options' );
|
467 |
+
}
|
468 |
+
}
|
469 |
+
|
470 |
+
return true;
|
471 |
+
}
|
472 |
+
|
473 |
+
/**
|
474 |
+
* Return true if current language is default language.
|
475 |
+
*/
|
476 |
+
protected static function is_default_language( $language = false ) {
|
477 |
+
|
478 |
+
if ( ! $language ) {
|
479 |
+
$language = self::get_language();
|
480 |
+
}
|
481 |
+
|
482 |
+
if ( $language === WPGlobus::Config()->default_language ) {
|
483 |
+
return true;
|
484 |
+
}
|
485 |
+
|
486 |
+
return false;
|
487 |
+
}
|
488 |
+
|
489 |
+
/**
|
490 |
+
* Set current language.
|
491 |
+
*/
|
492 |
+
protected static function set_language() {
|
493 |
+
|
494 |
+
$language = false;
|
495 |
+
|
496 |
+
if ( self::is_admin_widgets() ) {
|
497 |
+
|
498 |
+
if ( ! empty( $_GET['language'] ) ) {
|
499 |
+
$language = WPGlobus_Utils::safe_get('language');
|
500 |
+
if ( ! in_array( $language, WPGlobus::Config()->enabled_languages ) ) {
|
501 |
+
$language = WPGlobus::Config()->default_language;
|
502 |
+
}
|
503 |
+
self::update_language_option( $language );
|
504 |
+
}
|
505 |
+
|
506 |
+
if ( ! $language ) {
|
507 |
+
$language = (string) self::get_language_option();
|
508 |
+
}
|
509 |
+
|
510 |
+
if ( empty($language) ) {
|
511 |
+
$language = WPGlobus::Config()->default_language;
|
512 |
+
self::update_language_option( $language );
|
513 |
+
}
|
514 |
+
|
515 |
+
} else if ( self::is_admin_rest_request() ) {
|
516 |
+
|
517 |
+
$language = (string) self::get_language_option();
|
518 |
+
if ( ! $language || empty( $language ) ) {
|
519 |
+
$language = WPGlobus::Config()->default_language;
|
520 |
+
}
|
521 |
+
|
522 |
+
} else {
|
523 |
+
|
524 |
+
$language = WPGlobus::Config()->language;
|
525 |
+
|
526 |
+
}
|
527 |
+
|
528 |
+
self::$language = $language;
|
529 |
+
|
530 |
+
return self::$language;
|
531 |
+
}
|
532 |
+
|
533 |
+
/**
|
534 |
+
* Check out that we are on widgets.php page.
|
535 |
+
*/
|
536 |
+
protected static function is_admin_widgets() {
|
537 |
+
|
538 |
+
global $pagenow;
|
539 |
+
|
540 |
+
if ( is_admin() && 'widgets.php' === $pagenow ) {
|
541 |
+
return true;
|
542 |
+
}
|
543 |
+
|
544 |
+
return false;
|
545 |
+
}
|
546 |
+
|
547 |
+
/**
|
548 |
+
* Get language option.
|
549 |
+
*/
|
550 |
+
protected static function get_language_option() {
|
551 |
+
return get_option( self::get_language_option_key() );
|
552 |
+
}
|
553 |
+
|
554 |
+
/**
|
555 |
+
* Update language option.
|
556 |
+
*/
|
557 |
+
protected static function update_language_option($language) {
|
558 |
+
update_option( self::get_language_option_key(), $language, false );
|
559 |
+
}
|
560 |
+
|
561 |
+
/**
|
562 |
+
* Get language option key.
|
563 |
+
*/
|
564 |
+
protected static function get_language_option_key() {
|
565 |
+
return 'wpglobus_widgets_page_language';
|
566 |
+
}
|
567 |
+
|
568 |
+
/**
|
569 |
+
* Get any widget option, like `widget_block`, `widget_search` and so on.
|
570 |
+
*/
|
571 |
+
protected static function get_widget_option( $option, $value, $language, $scope ) {
|
572 |
+
|
573 |
+
$alloptions = wp_cache_get( 'alloptions', 'options' );
|
574 |
+
|
575 |
+
$option_key = self::get_widget_option_key($option, $language);
|
576 |
+
|
577 |
+
if ( isset( $alloptions[$option_key] ) ) {
|
578 |
+
|
579 |
+
$_value = maybe_unserialize( $alloptions[$option_key] );
|
580 |
+
if ( is_array( $_value ) ) {
|
581 |
+
$value = $_value;
|
582 |
+
}
|
583 |
+
|
584 |
+
} else {
|
585 |
+
|
586 |
+
/**
|
587 |
+
* Option doesn't exist.
|
588 |
+
*/
|
589 |
+
if ( $scope == self::SCOPE_FRONT ) {
|
590 |
+
|
591 |
+
// Do nothing.
|
592 |
+
|
593 |
+
} else {
|
594 |
+
|
595 |
+
/**
|
596 |
+
* @scope 'admin'
|
597 |
+
*/
|
598 |
+
if ( is_array($value) ) {
|
599 |
+
|
600 |
+
if ( ! empty($value) ) {
|
601 |
+
foreach( $value as $_key=>$_value ) {
|
602 |
+
|
603 |
+
/**
|
604 |
+
* Reset all array values except `_multiwidget`.
|
605 |
+
*/
|
606 |
+
if ( in_array( $_key, array( '_multiwidget' ) ) ) {
|
607 |
+
continue;
|
608 |
+
}
|
609 |
+
|
610 |
+
unset( $value[ $_key ] );
|
611 |
+
}
|
612 |
+
}
|
613 |
+
|
614 |
+
self::add_option( $option_key, $value );
|
615 |
+
}
|
616 |
+
}
|
617 |
+
}
|
618 |
+
|
619 |
+
return $value;
|
620 |
+
}
|
621 |
+
|
622 |
+
/**
|
623 |
+
* Get `sidebars_widgets` option for extra languages.
|
624 |
+
*
|
625 |
+
* @param $value Value for default lanaguage.
|
626 |
+
* @param $language Extra language.
|
627 |
+
* @param $scope Scope.
|
628 |
+
*/
|
629 |
+
protected static function _get_sidebars_widgets($value, $language, $scope) {
|
630 |
+
|
631 |
+
$alloptions = wp_cache_get( 'alloptions', 'options' );
|
632 |
+
|
633 |
+
$option_key = self::get_sidebars_widgets_option_key($language);
|
634 |
+
|
635 |
+
if ( isset( $alloptions[$option_key] ) ) {
|
636 |
+
|
637 |
+
$_value = maybe_unserialize( $alloptions[$option_key] );
|
638 |
+
|
639 |
+
if ( is_array( $_value ) ) {
|
640 |
+
$value = $_value;
|
641 |
+
}
|
642 |
+
|
643 |
+
} else {
|
644 |
+
|
645 |
+
if ( $scope == self::SCOPE_FRONT ) {
|
646 |
+
|
647 |
+
// Do nothing.
|
648 |
+
|
649 |
+
} else {
|
650 |
+
|
651 |
+
/**
|
652 |
+
* @scope 'admin'.
|
653 |
+
*/
|
654 |
+
|
655 |
+
if ( is_array( $value ) ) {
|
656 |
+
|
657 |
+
foreach( $value as $_key=>$_value ) {
|
658 |
+
|
659 |
+
/**
|
660 |
+
* Reset all array values except `array_version`.
|
661 |
+
*/
|
662 |
+
if ( in_array( $_key, array( 'array_version' ) ) ) {
|
663 |
+
continue;
|
664 |
+
}
|
665 |
+
|
666 |
+
$value[ $_key ] = array();
|
667 |
+
}
|
668 |
+
|
669 |
+
/**
|
670 |
+
* Add option `sidebars_widgets` for current language.
|
671 |
+
*/
|
672 |
+
self::__log('before add option :: '.$option_key);
|
673 |
+
self::__log( maybe_serialize($value) );
|
674 |
+
self::__log('==================');
|
675 |
+
self::add_option( $option_key, $value );
|
676 |
+
|
677 |
+
/**
|
678 |
+
* New `sidebars_widgets` option has been added, let's redirect.
|
679 |
+
*/
|
680 |
+
$redirect_to = admin_url(
|
681 |
+
add_query_arg(
|
682 |
+
array(
|
683 |
+
'language' => self::get_language()
|
684 |
+
),
|
685 |
+
'widgets.php'
|
686 |
+
)
|
687 |
+
);
|
688 |
+
|
689 |
+
wp_redirect( $redirect_to );
|
690 |
+
exit;
|
691 |
+
}
|
692 |
+
}
|
693 |
+
}
|
694 |
+
|
695 |
+
return $value;
|
696 |
+
}
|
697 |
+
|
698 |
+
/**
|
699 |
+
* Add option.
|
700 |
+
*
|
701 |
+
* @see `add_option` function in wp-includes\option.php
|
702 |
+
*/
|
703 |
+
protected static function add_option( $option, $value = '', $autoload = 'yes' ) {
|
704 |
+
|
705 |
+
if ( add_option( $option, $value, '', $autoload ) ) {
|
706 |
+
self::__log('New option was added to DB:: ' . $option);
|
707 |
+
return true;
|
708 |
+
}
|
709 |
+
self::__log('New option was NOT added to DB:: ' . $option);
|
710 |
+
|
711 |
+
return false;
|
712 |
+
}
|
713 |
+
|
714 |
+
/**
|
715 |
+
* Get sidebars widgets option key for language.
|
716 |
+
*/
|
717 |
+
protected static function get_sidebars_widgets_option_key( $language = false ) {
|
718 |
+
if ( ! $language || empty($language) ) {
|
719 |
+
return self::$sidebars_widgets_option_key;
|
720 |
+
}
|
721 |
+
return self::$sidebars_widgets_option_key . '_' . $language;
|
722 |
+
}
|
723 |
+
|
724 |
+
/**
|
725 |
+
* Get widget option key for language.
|
726 |
+
*/
|
727 |
+
protected static function get_widget_option_key( $option, $language = false ) {
|
728 |
+
if ( ! $language ) {
|
729 |
+
return $option;
|
730 |
+
}
|
731 |
+
return $option . '_' . $language;
|
732 |
+
}
|
733 |
+
|
734 |
+
/**
|
735 |
+
* Get current language.
|
736 |
+
*/
|
737 |
+
protected static function get_language() {
|
738 |
+
return self::$language;
|
739 |
+
}
|
740 |
+
|
741 |
+
/**
|
742 |
+
* Get `sidebars_widgets` option.
|
743 |
+
*
|
744 |
+
* @param $language Language code.
|
745 |
+
* @param $return_in_default_language If true, then return `sidebars_widgets` for default language.
|
746 |
+
*/
|
747 |
+
public static function get_sidebars_widgets( $language = '', $return_in_default_language = false ) {
|
748 |
+
$sidebars_widgets = get_option( self::get_sidebars_widgets_option_key($language) );
|
749 |
+
if ( false === $sidebars_widgets && $return_in_default_language ) {
|
750 |
+
$sidebars_widgets = get_option( self::get_sidebars_widgets_option_key() );
|
751 |
+
}
|
752 |
+
return $sidebars_widgets;
|
753 |
+
}
|
754 |
+
|
755 |
+
/**
|
756 |
+
* Logger.
|
757 |
+
*
|
758 |
+
* Use `WPGLOBUS_WIDGETS_PHP_DEBUG` constant to activate logging.
|
759 |
+
*/
|
760 |
+
protected static function __log( $string = '' ) {
|
761 |
+
|
762 |
+
if ( ! defined('WPGLOBUS_WIDGETS_PHP_DEBUG') || ! WPGLOBUS_WIDGETS_PHP_DEBUG ) {
|
763 |
+
return;
|
764 |
+
}
|
765 |
+
|
766 |
+
if ( is_null( self::$__log_file ) || empty( $string ) ) {
|
767 |
+
return;
|
768 |
+
}
|
769 |
+
|
770 |
+
if ( is_array($string) ) {
|
771 |
+
$string = maybe_serialize($string);
|
772 |
+
}
|
773 |
+
|
774 |
+
$pre = '';
|
775 |
+
|
776 |
+
$timestamp = $pre . '['.date( 'Y-m-d H:i:s' ).'] ';
|
777 |
+
|
778 |
+
file_put_contents(
|
779 |
+
self::$__log_file,
|
780 |
+
$timestamp.$string . "\n",
|
781 |
+
FILE_APPEND
|
782 |
+
);
|
783 |
+
}
|
784 |
+
|
785 |
+
/**
|
786 |
+
* Enqueue scripts.
|
787 |
+
*/
|
788 |
+
public static function on__admin_print_scripts() {
|
789 |
+
|
790 |
+
global $pagenow;
|
791 |
+
|
792 |
+
if ( 'widgets.php' !== $pagenow ) {
|
793 |
+
return;
|
794 |
+
}
|
795 |
+
|
796 |
+
$alloptions = wp_cache_get( 'alloptions', 'options' );
|
797 |
+
$option_icon = array();
|
798 |
+
$_image_url = plugin_dir_url( __FILE__) . 'assets/css/images/';
|
799 |
+
|
800 |
+
foreach( WPGlobus::Config()->enabled_languages as $_language ) {
|
801 |
+
|
802 |
+
if ( WPGlobus::Config()->default_language === $_language ) {
|
803 |
+
|
804 |
+
$option_icon[$_language] = $_image_url . 'icon-ok.png';
|
805 |
+
|
806 |
+
} else {
|
807 |
+
|
808 |
+
$_option_key = self::get_sidebars_widgets_option_key($_language);
|
809 |
+
$option_icon[$_language] = '';
|
810 |
+
if ( isset( $alloptions[$_option_key] ) ) {
|
811 |
+
$option_icon[$_language] = $_image_url . 'icon-ok.png';
|
812 |
+
}
|
813 |
+
}
|
814 |
+
}
|
815 |
+
unset( $alloptions );
|
816 |
+
|
817 |
+
$extra_languages = WPGlobus::Config()->enabled_languages;
|
818 |
+
foreach( $extra_languages as $_key=>$_language ) {
|
819 |
+
if ( self::get_language() == $_language ) {
|
820 |
+
unset( $extra_languages[$_key] );
|
821 |
+
break;
|
822 |
+
}
|
823 |
+
}
|
824 |
+
|
825 |
+
/**
|
826 |
+
* Build the language flag URLs.
|
827 |
+
*/
|
828 |
+
$language_flag_url = array();
|
829 |
+
foreach ( WPGlobus::Config()->enabled_languages as $language ) {
|
830 |
+
if ( file_exists( WPGlobus::Config()->flag_path['big'] . WPGlobus::Config()->flag[ $language ] ) ) {
|
831 |
+
$language_flag_url[ $language ] = WPGlobus::Config()->flag_urls['big'] . WPGlobus::Config()->flag[ $language ];
|
832 |
+
} else {
|
833 |
+
$language_flag_url[ $language ] = WPGlobus::Config()->flags_url . WPGlobus::Config()->flag[ $language ];
|
834 |
+
}
|
835 |
+
}
|
836 |
+
|
837 |
+
$data = array(
|
838 |
+
'wpVersion' => $GLOBALS['wp_version'],
|
839 |
+
'version' => WPGLOBUS_VERSION,
|
840 |
+
'phase' => 'production',
|
841 |
+
'homeUrl' => home_url('/'),
|
842 |
+
'currentUrl' => add_query_arg(
|
843 |
+
array(),
|
844 |
+
admin_url( 'widgets.php' )
|
845 |
+
),
|
846 |
+
'href' => add_query_arg(
|
847 |
+
array( $_GET ),
|
848 |
+
admin_url( 'widgets.php' )
|
849 |
+
),
|
850 |
+
'pagenow' => $pagenow,
|
851 |
+
'flag' => WPGlobus::Config()->flag,
|
852 |
+
'flagUrls' => WPGlobus::Config()->flag_urls,
|
853 |
+
'defaultLanguage' => WPGlobus::Config()->default_language,
|
854 |
+
'enabledLanguages' => WPGlobus::Config()->enabled_languages,
|
855 |
+
'enLanguageName' => WPGlobus::Config()->en_language_name,
|
856 |
+
'extraLanguages' => $extra_languages,
|
857 |
+
'currentLanguage' => (array) self::get_language(),
|
858 |
+
'languageFlagUrl' => $language_flag_url,
|
859 |
+
'wpgPremiumURL' => 'https://wpglobus.com/shop/',
|
860 |
+
'wpgOptionsURL' => add_query_arg(
|
861 |
+
array('page'=>'wpglobus_options', 'tab'=>'block-editor'),
|
862 |
+
admin_url( 'admin.php' )
|
863 |
+
),
|
864 |
+
'optionIcon' => $option_icon,
|
865 |
+
'singleTabLayout' => true,
|
866 |
+
);
|
867 |
+
|
868 |
+
if ( defined('WPGLOBUS_WIDGETS_PHP_DEBUG') && defined('WPGLOBUS_WIDGETS_PHP_ASSETS_URL') ) {
|
869 |
+
$app_js = WPGLOBUS_WIDGETS_PHP_ASSETS_URL . 'js/wpglobus-widgets-block-editor.min.js';
|
870 |
+
$app_css = WPGLOBUS_WIDGETS_PHP_ASSETS_URL . 'css/wpglobus-widgets-block-editor.min.css';
|
871 |
+
} else {
|
872 |
+
$app_js = plugin_dir_url( __FILE__ ) . 'assets/js/wpglobus-widgets-block-editor.min.js';
|
873 |
+
$app_css = plugin_dir_url( __FILE__ ) . 'assets/css/wpglobus-widgets-block-editor.min.css';
|
874 |
+
}
|
875 |
+
|
876 |
+
wp_enqueue_style( 'wpglobus-widgets-block-editor', $app_css, array(), WPGLOBUS_VERSION );
|
877 |
+
|
878 |
+
wp_register_script( 'wpglobus-widgets-block-editor', $app_js, array(), WPGLOBUS_VERSION, true );
|
879 |
+
wp_enqueue_script( 'wpglobus-widgets-block-editor' );
|
880 |
+
wp_localize_script(
|
881 |
+
'wpglobus-widgets-block-editor',
|
882 |
+
'WPGlobusWidgetsBlockEditor',
|
883 |
+
$data
|
884 |
+
);
|
885 |
+
}
|
886 |
+
|
887 |
+
} // class WPGlobus_Widgets.
|
888 |
+
|
889 |
+
endif;
|
890 |
+
|
891 |
+
# --- EOF
|
languages/wpglobus-ar.mo
CHANGED
Binary file
|
languages/wpglobus-ar.po
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
msgid ""
|
7 |
msgstr ""
|
8 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
9 |
-
"PO-Revision-Date: 2021-
|
10 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
11 |
"Language-Team: Arabic (http://www.transifex.com/wp-translations/wpglobus-"
|
12 |
"multilingual/language/ar/)\n"
|
@@ -1014,14 +1014,6 @@ msgstr ""
|
|
1014 |
msgid "Builder mode is enabled on these Post Types"
|
1015 |
msgstr ""
|
1016 |
|
1017 |
-
msgid "%1$sAttention%2$s"
|
1018 |
-
msgstr ""
|
1019 |
-
|
1020 |
-
msgid ""
|
1021 |
-
"The current version of WPGlobus does not support multililngual widgets with "
|
1022 |
-
"block editor"
|
1023 |
-
msgstr ""
|
1024 |
-
|
1025 |
msgid "Use block editor on the Widgets page"
|
1026 |
msgstr ""
|
1027 |
|
6 |
msgid ""
|
7 |
msgstr ""
|
8 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
9 |
+
"PO-Revision-Date: 2021-11-06 13:42+0000\n"
|
10 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
11 |
"Language-Team: Arabic (http://www.transifex.com/wp-translations/wpglobus-"
|
12 |
"multilingual/language/ar/)\n"
|
1014 |
msgid "Builder mode is enabled on these Post Types"
|
1015 |
msgstr ""
|
1016 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1017 |
msgid "Use block editor on the Widgets page"
|
1018 |
msgstr ""
|
1019 |
|
languages/wpglobus-be.mo
CHANGED
Binary file
|
languages/wpglobus-be.po
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
msgid ""
|
6 |
msgstr ""
|
7 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
8 |
-
"PO-Revision-Date: 2021-
|
9 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
10 |
"Language-Team: Belarusian (http://www.transifex.com/wp-translations/wpglobus-"
|
11 |
"multilingual/language/be/)\n"
|
@@ -1067,14 +1067,6 @@ msgstr ""
|
|
1067 |
msgid "Builder mode is enabled on these Post Types"
|
1068 |
msgstr ""
|
1069 |
|
1070 |
-
msgid "%1$sAttention%2$s"
|
1071 |
-
msgstr ""
|
1072 |
-
|
1073 |
-
msgid ""
|
1074 |
-
"The current version of WPGlobus does not support multililngual widgets with "
|
1075 |
-
"block editor"
|
1076 |
-
msgstr ""
|
1077 |
-
|
1078 |
msgid "Use block editor on the Widgets page"
|
1079 |
msgstr ""
|
1080 |
|
5 |
msgid ""
|
6 |
msgstr ""
|
7 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
8 |
+
"PO-Revision-Date: 2021-11-06 13:42+0000\n"
|
9 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
10 |
"Language-Team: Belarusian (http://www.transifex.com/wp-translations/wpglobus-"
|
11 |
"multilingual/language/be/)\n"
|
1067 |
msgid "Builder mode is enabled on these Post Types"
|
1068 |
msgstr ""
|
1069 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1070 |
msgid "Use block editor on the Widgets page"
|
1071 |
msgstr ""
|
1072 |
|
languages/wpglobus-bg_BG.mo
CHANGED
Binary file
|
languages/wpglobus-bg_BG.po
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
msgid ""
|
5 |
msgstr ""
|
6 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
7 |
-
"PO-Revision-Date: 2021-
|
8 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
9 |
"Language-Team: Bulgarian (Bulgaria) (http://www.transifex.com/wp-"
|
10 |
"translations/wpglobus-multilingual/language/bg_BG/)\n"
|
@@ -990,14 +990,6 @@ msgstr ""
|
|
990 |
msgid "Builder mode is enabled on these Post Types"
|
991 |
msgstr ""
|
992 |
|
993 |
-
msgid "%1$sAttention%2$s"
|
994 |
-
msgstr ""
|
995 |
-
|
996 |
-
msgid ""
|
997 |
-
"The current version of WPGlobus does not support multililngual widgets with "
|
998 |
-
"block editor"
|
999 |
-
msgstr ""
|
1000 |
-
|
1001 |
msgid "Use block editor on the Widgets page"
|
1002 |
msgstr ""
|
1003 |
|
4 |
msgid ""
|
5 |
msgstr ""
|
6 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
7 |
+
"PO-Revision-Date: 2021-11-06 13:42+0000\n"
|
8 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
9 |
"Language-Team: Bulgarian (Bulgaria) (http://www.transifex.com/wp-"
|
10 |
"translations/wpglobus-multilingual/language/bg_BG/)\n"
|
990 |
msgid "Builder mode is enabled on these Post Types"
|
991 |
msgstr ""
|
992 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
993 |
msgid "Use block editor on the Widgets page"
|
994 |
msgstr ""
|
995 |
|
languages/wpglobus-de_CH.mo
CHANGED
Binary file
|
languages/wpglobus-de_CH.po
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
msgid ""
|
8 |
msgstr ""
|
9 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
10 |
-
"PO-Revision-Date: 2021-
|
11 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
12 |
"Language-Team: German (Switzerland) (http://www.transifex.com/wp-"
|
13 |
"translations/wpglobus-multilingual/language/de_CH/)\n"
|
@@ -1031,14 +1031,6 @@ msgstr ""
|
|
1031 |
msgid "Builder mode is enabled on these Post Types"
|
1032 |
msgstr ""
|
1033 |
|
1034 |
-
msgid "%1$sAttention%2$s"
|
1035 |
-
msgstr ""
|
1036 |
-
|
1037 |
-
msgid ""
|
1038 |
-
"The current version of WPGlobus does not support multililngual widgets with "
|
1039 |
-
"block editor"
|
1040 |
-
msgstr ""
|
1041 |
-
|
1042 |
msgid "Use block editor on the Widgets page"
|
1043 |
msgstr ""
|
1044 |
|
7 |
msgid ""
|
8 |
msgstr ""
|
9 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
10 |
+
"PO-Revision-Date: 2021-11-06 13:42+0000\n"
|
11 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
12 |
"Language-Team: German (Switzerland) (http://www.transifex.com/wp-"
|
13 |
"translations/wpglobus-multilingual/language/de_CH/)\n"
|
1031 |
msgid "Builder mode is enabled on these Post Types"
|
1032 |
msgstr ""
|
1033 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1034 |
msgid "Use block editor on the Widgets page"
|
1035 |
msgstr ""
|
1036 |
|
languages/wpglobus-de_DE.mo
CHANGED
Binary file
|
languages/wpglobus-de_DE.po
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
msgid ""
|
8 |
msgstr ""
|
9 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
10 |
-
"PO-Revision-Date: 2021-
|
11 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
12 |
"Language-Team: German (Germany) (http://www.transifex.com/wp-translations/"
|
13 |
"wpglobus-multilingual/language/de_DE/)\n"
|
@@ -1032,14 +1032,6 @@ msgstr ""
|
|
1032 |
msgid "Builder mode is enabled on these Post Types"
|
1033 |
msgstr ""
|
1034 |
|
1035 |
-
msgid "%1$sAttention%2$s"
|
1036 |
-
msgstr ""
|
1037 |
-
|
1038 |
-
msgid ""
|
1039 |
-
"The current version of WPGlobus does not support multililngual widgets with "
|
1040 |
-
"block editor"
|
1041 |
-
msgstr ""
|
1042 |
-
|
1043 |
msgid "Use block editor on the Widgets page"
|
1044 |
msgstr ""
|
1045 |
|
7 |
msgid ""
|
8 |
msgstr ""
|
9 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
10 |
+
"PO-Revision-Date: 2021-11-06 13:42+0000\n"
|
11 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
12 |
"Language-Team: German (Germany) (http://www.transifex.com/wp-translations/"
|
13 |
"wpglobus-multilingual/language/de_DE/)\n"
|
1032 |
msgid "Builder mode is enabled on these Post Types"
|
1033 |
msgstr ""
|
1034 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1035 |
msgid "Use block editor on the Widgets page"
|
1036 |
msgstr ""
|
1037 |
|
languages/wpglobus-el.mo
CHANGED
Binary file
|
languages/wpglobus-el.po
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
msgid ""
|
6 |
msgstr ""
|
7 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
8 |
-
"PO-Revision-Date: 2021-
|
9 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
10 |
"Language-Team: Greek (http://www.transifex.com/wp-translations/wpglobus-"
|
11 |
"multilingual/language/el/)\n"
|
@@ -991,14 +991,6 @@ msgstr ""
|
|
991 |
msgid "Builder mode is enabled on these Post Types"
|
992 |
msgstr ""
|
993 |
|
994 |
-
msgid "%1$sAttention%2$s"
|
995 |
-
msgstr ""
|
996 |
-
|
997 |
-
msgid ""
|
998 |
-
"The current version of WPGlobus does not support multililngual widgets with "
|
999 |
-
"block editor"
|
1000 |
-
msgstr ""
|
1001 |
-
|
1002 |
msgid "Use block editor on the Widgets page"
|
1003 |
msgstr ""
|
1004 |
|
5 |
msgid ""
|
6 |
msgstr ""
|
7 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
8 |
+
"PO-Revision-Date: 2021-11-06 13:42+0000\n"
|
9 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
10 |
"Language-Team: Greek (http://www.transifex.com/wp-translations/wpglobus-"
|
11 |
"multilingual/language/el/)\n"
|
991 |
msgid "Builder mode is enabled on these Post Types"
|
992 |
msgstr ""
|
993 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
994 |
msgid "Use block editor on the Widgets page"
|
995 |
msgstr ""
|
996 |
|
languages/wpglobus-en_AU.mo
CHANGED
Binary file
|
languages/wpglobus-en_AU.po
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
msgid ""
|
7 |
msgstr ""
|
8 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
9 |
-
"PO-Revision-Date: 2021-
|
10 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
11 |
"Language-Team: English (Australia) (http://www.transifex.com/wp-translations/"
|
12 |
"wpglobus-multilingual/language/en_AU/)\n"
|
@@ -1063,14 +1063,6 @@ msgstr ""
|
|
1063 |
msgid "Builder mode is enabled on these Post Types"
|
1064 |
msgstr ""
|
1065 |
|
1066 |
-
msgid "%1$sAttention%2$s"
|
1067 |
-
msgstr ""
|
1068 |
-
|
1069 |
-
msgid ""
|
1070 |
-
"The current version of WPGlobus does not support multililngual widgets with "
|
1071 |
-
"block editor"
|
1072 |
-
msgstr ""
|
1073 |
-
|
1074 |
msgid "Use block editor on the Widgets page"
|
1075 |
msgstr ""
|
1076 |
|
6 |
msgid ""
|
7 |
msgstr ""
|
8 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
9 |
+
"PO-Revision-Date: 2021-11-06 13:42+0000\n"
|
10 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
11 |
"Language-Team: English (Australia) (http://www.transifex.com/wp-translations/"
|
12 |
"wpglobus-multilingual/language/en_AU/)\n"
|
1063 |
msgid "Builder mode is enabled on these Post Types"
|
1064 |
msgstr ""
|
1065 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1066 |
msgid "Use block editor on the Widgets page"
|
1067 |
msgstr ""
|
1068 |
|
languages/wpglobus-en_CA.mo
CHANGED
Binary file
|
languages/wpglobus-en_CA.po
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
msgid ""
|
6 |
msgstr ""
|
7 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
8 |
-
"PO-Revision-Date: 2021-
|
9 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
10 |
"Language-Team: English (Canada) (http://www.transifex.com/wp-translations/"
|
11 |
"wpglobus-multilingual/language/en_CA/)\n"
|
@@ -1062,14 +1062,6 @@ msgstr ""
|
|
1062 |
msgid "Builder mode is enabled on these Post Types"
|
1063 |
msgstr ""
|
1064 |
|
1065 |
-
msgid "%1$sAttention%2$s"
|
1066 |
-
msgstr ""
|
1067 |
-
|
1068 |
-
msgid ""
|
1069 |
-
"The current version of WPGlobus does not support multililngual widgets with "
|
1070 |
-
"block editor"
|
1071 |
-
msgstr ""
|
1072 |
-
|
1073 |
msgid "Use block editor on the Widgets page"
|
1074 |
msgstr ""
|
1075 |
|
5 |
msgid ""
|
6 |
msgstr ""
|
7 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
8 |
+
"PO-Revision-Date: 2021-11-06 13:42+0000\n"
|
9 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
10 |
"Language-Team: English (Canada) (http://www.transifex.com/wp-translations/"
|
11 |
"wpglobus-multilingual/language/en_CA/)\n"
|
1062 |
msgid "Builder mode is enabled on these Post Types"
|
1063 |
msgstr ""
|
1064 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1065 |
msgid "Use block editor on the Widgets page"
|
1066 |
msgstr ""
|
1067 |
|
languages/wpglobus-en_GB.mo
CHANGED
Binary file
|
languages/wpglobus-en_GB.po
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
msgid ""
|
7 |
msgstr ""
|
8 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
9 |
-
"PO-Revision-Date: 2021-
|
10 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
11 |
"Language-Team: English (United Kingdom) (http://www.transifex.com/wp-"
|
12 |
"translations/wpglobus-multilingual/language/en_GB/)\n"
|
@@ -1063,14 +1063,6 @@ msgstr ""
|
|
1063 |
msgid "Builder mode is enabled on these Post Types"
|
1064 |
msgstr ""
|
1065 |
|
1066 |
-
msgid "%1$sAttention%2$s"
|
1067 |
-
msgstr ""
|
1068 |
-
|
1069 |
-
msgid ""
|
1070 |
-
"The current version of WPGlobus does not support multililngual widgets with "
|
1071 |
-
"block editor"
|
1072 |
-
msgstr ""
|
1073 |
-
|
1074 |
msgid "Use block editor on the Widgets page"
|
1075 |
msgstr ""
|
1076 |
|
6 |
msgid ""
|
7 |
msgstr ""
|
8 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
9 |
+
"PO-Revision-Date: 2021-11-06 13:42+0000\n"
|
10 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
11 |
"Language-Team: English (United Kingdom) (http://www.transifex.com/wp-"
|
12 |
"translations/wpglobus-multilingual/language/en_GB/)\n"
|
1063 |
msgid "Builder mode is enabled on these Post Types"
|
1064 |
msgstr ""
|
1065 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1066 |
msgid "Use block editor on the Widgets page"
|
1067 |
msgstr ""
|
1068 |
|
languages/wpglobus-en_NZ.mo
CHANGED
Binary file
|
languages/wpglobus-en_NZ.po
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
msgid ""
|
6 |
msgstr ""
|
7 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
8 |
-
"PO-Revision-Date: 2021-
|
9 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
10 |
"Language-Team: English (New Zealand) (http://www.transifex.com/wp-"
|
11 |
"translations/wpglobus-multilingual/language/en_NZ/)\n"
|
@@ -1062,14 +1062,6 @@ msgstr ""
|
|
1062 |
msgid "Builder mode is enabled on these Post Types"
|
1063 |
msgstr ""
|
1064 |
|
1065 |
-
msgid "%1$sAttention%2$s"
|
1066 |
-
msgstr ""
|
1067 |
-
|
1068 |
-
msgid ""
|
1069 |
-
"The current version of WPGlobus does not support multililngual widgets with "
|
1070 |
-
"block editor"
|
1071 |
-
msgstr ""
|
1072 |
-
|
1073 |
msgid "Use block editor on the Widgets page"
|
1074 |
msgstr ""
|
1075 |
|
5 |
msgid ""
|
6 |
msgstr ""
|
7 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
8 |
+
"PO-Revision-Date: 2021-11-06 13:42+0000\n"
|
9 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
10 |
"Language-Team: English (New Zealand) (http://www.transifex.com/wp-"
|
11 |
"translations/wpglobus-multilingual/language/en_NZ/)\n"
|
1062 |
msgid "Builder mode is enabled on these Post Types"
|
1063 |
msgstr ""
|
1064 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1065 |
msgid "Use block editor on the Widgets page"
|
1066 |
msgstr ""
|
1067 |
|
languages/wpglobus-en_US.mo
CHANGED
Binary file
|
languages/wpglobus-en_US.po
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
msgid ""
|
5 |
msgstr ""
|
6 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
7 |
-
"PO-Revision-Date: 2021-
|
8 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
9 |
"Language-Team: English (United States) (http://www.transifex.com/wp-"
|
10 |
"translations/wpglobus-multilingual/language/en_US/)\n"
|
@@ -1129,16 +1129,6 @@ msgstr "Builders support"
|
|
1129 |
msgid "Builder mode is enabled on these Post Types"
|
1130 |
msgstr "Builder mode is enabled on these Post Types"
|
1131 |
|
1132 |
-
msgid "%1$sAttention%2$s"
|
1133 |
-
msgstr "%1$sAttention%2$s"
|
1134 |
-
|
1135 |
-
msgid ""
|
1136 |
-
"The current version of WPGlobus does not support multililngual widgets with "
|
1137 |
-
"block editor"
|
1138 |
-
msgstr ""
|
1139 |
-
"The current version of WPGlobus does not support multililngual widgets with "
|
1140 |
-
"block editor"
|
1141 |
-
|
1142 |
msgid "Use block editor on the Widgets page"
|
1143 |
msgstr "Use block editor on the Widgets page"
|
1144 |
|
4 |
msgid ""
|
5 |
msgstr ""
|
6 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
7 |
+
"PO-Revision-Date: 2021-11-06 13:42+0000\n"
|
8 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
9 |
"Language-Team: English (United States) (http://www.transifex.com/wp-"
|
10 |
"translations/wpglobus-multilingual/language/en_US/)\n"
|
1129 |
msgid "Builder mode is enabled on these Post Types"
|
1130 |
msgstr "Builder mode is enabled on these Post Types"
|
1131 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1132 |
msgid "Use block editor on the Widgets page"
|
1133 |
msgstr "Use block editor on the Widgets page"
|
1134 |
|
languages/wpglobus-en_ZA.mo
CHANGED
Binary file
|
languages/wpglobus-en_ZA.po
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
msgid ""
|
6 |
msgstr ""
|
7 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
8 |
-
"PO-Revision-Date: 2021-
|
9 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
10 |
"Language-Team: English (South Africa) (http://www.transifex.com/wp-"
|
11 |
"translations/wpglobus-multilingual/language/en_ZA/)\n"
|
@@ -1062,14 +1062,6 @@ msgstr ""
|
|
1062 |
msgid "Builder mode is enabled on these Post Types"
|
1063 |
msgstr ""
|
1064 |
|
1065 |
-
msgid "%1$sAttention%2$s"
|
1066 |
-
msgstr ""
|
1067 |
-
|
1068 |
-
msgid ""
|
1069 |
-
"The current version of WPGlobus does not support multililngual widgets with "
|
1070 |
-
"block editor"
|
1071 |
-
msgstr ""
|
1072 |
-
|
1073 |
msgid "Use block editor on the Widgets page"
|
1074 |
msgstr ""
|
1075 |
|
5 |
msgid ""
|
6 |
msgstr ""
|
7 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
8 |
+
"PO-Revision-Date: 2021-11-06 13:42+0000\n"
|
9 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
10 |
"Language-Team: English (South Africa) (http://www.transifex.com/wp-"
|
11 |
"translations/wpglobus-multilingual/language/en_ZA/)\n"
|
1062 |
msgid "Builder mode is enabled on these Post Types"
|
1063 |
msgstr ""
|
1064 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1065 |
msgid "Use block editor on the Widgets page"
|
1066 |
msgstr ""
|
1067 |
|
languages/wpglobus-es_AR.mo
CHANGED
Binary file
|
languages/wpglobus-es_AR.po
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
msgid ""
|
6 |
msgstr ""
|
7 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
8 |
-
"PO-Revision-Date: 2021-
|
9 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
10 |
"Language-Team: Spanish (Argentina) (http://www.transifex.com/wp-translations/"
|
11 |
"wpglobus-multilingual/language/es_AR/)\n"
|
@@ -1028,14 +1028,6 @@ msgstr ""
|
|
1028 |
msgid "Builder mode is enabled on these Post Types"
|
1029 |
msgstr ""
|
1030 |
|
1031 |
-
msgid "%1$sAttention%2$s"
|
1032 |
-
msgstr ""
|
1033 |
-
|
1034 |
-
msgid ""
|
1035 |
-
"The current version of WPGlobus does not support multililngual widgets with "
|
1036 |
-
"block editor"
|
1037 |
-
msgstr ""
|
1038 |
-
|
1039 |
msgid "Use block editor on the Widgets page"
|
1040 |
msgstr ""
|
1041 |
|
5 |
msgid ""
|
6 |
msgstr ""
|
7 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
8 |
+
"PO-Revision-Date: 2021-11-06 13:42+0000\n"
|
9 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
10 |
"Language-Team: Spanish (Argentina) (http://www.transifex.com/wp-translations/"
|
11 |
"wpglobus-multilingual/language/es_AR/)\n"
|
1028 |
msgid "Builder mode is enabled on these Post Types"
|
1029 |
msgstr ""
|
1030 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1031 |
msgid "Use block editor on the Widgets page"
|
1032 |
msgstr ""
|
1033 |
|
languages/wpglobus-es_CL.mo
CHANGED
Binary file
|
languages/wpglobus-es_CL.po
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
msgid ""
|
6 |
msgstr ""
|
7 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
8 |
-
"PO-Revision-Date: 2021-
|
9 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
10 |
"Language-Team: Spanish (Chile) (http://www.transifex.com/wp-translations/"
|
11 |
"wpglobus-multilingual/language/es_CL/)\n"
|
@@ -1028,14 +1028,6 @@ msgstr ""
|
|
1028 |
msgid "Builder mode is enabled on these Post Types"
|
1029 |
msgstr ""
|
1030 |
|
1031 |
-
msgid "%1$sAttention%2$s"
|
1032 |
-
msgstr ""
|
1033 |
-
|
1034 |
-
msgid ""
|
1035 |
-
"The current version of WPGlobus does not support multililngual widgets with "
|
1036 |
-
"block editor"
|
1037 |
-
msgstr ""
|
1038 |
-
|
1039 |
msgid "Use block editor on the Widgets page"
|
1040 |
msgstr ""
|
1041 |
|
5 |
msgid ""
|
6 |
msgstr ""
|
7 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
8 |
+
"PO-Revision-Date: 2021-11-06 13:42+0000\n"
|
9 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
10 |
"Language-Team: Spanish (Chile) (http://www.transifex.com/wp-translations/"
|
11 |
"wpglobus-multilingual/language/es_CL/)\n"
|
1028 |
msgid "Builder mode is enabled on these Post Types"
|
1029 |
msgstr ""
|
1030 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1031 |
msgid "Use block editor on the Widgets page"
|
1032 |
msgstr ""
|
1033 |
|
languages/wpglobus-es_CO.mo
CHANGED
Binary file
|
languages/wpglobus-es_CO.po
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
msgid ""
|
6 |
msgstr ""
|
7 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
8 |
-
"PO-Revision-Date: 2021-
|
9 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
10 |
"Language-Team: Spanish (Colombia) (http://www.transifex.com/wp-translations/"
|
11 |
"wpglobus-multilingual/language/es_CO/)\n"
|
@@ -1028,14 +1028,6 @@ msgstr ""
|
|
1028 |
msgid "Builder mode is enabled on these Post Types"
|
1029 |
msgstr ""
|
1030 |
|
1031 |
-
msgid "%1$sAttention%2$s"
|
1032 |
-
msgstr ""
|
1033 |
-
|
1034 |
-
msgid ""
|
1035 |
-
"The current version of WPGlobus does not support multililngual widgets with "
|
1036 |
-
"block editor"
|
1037 |
-
msgstr ""
|
1038 |
-
|
1039 |
msgid "Use block editor on the Widgets page"
|
1040 |
msgstr ""
|
1041 |
|
5 |
msgid ""
|
6 |
msgstr ""
|
7 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
8 |
+
"PO-Revision-Date: 2021-11-06 13:42+0000\n"
|
9 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
10 |
"Language-Team: Spanish (Colombia) (http://www.transifex.com/wp-translations/"
|
11 |
"wpglobus-multilingual/language/es_CO/)\n"
|
1028 |
msgid "Builder mode is enabled on these Post Types"
|
1029 |
msgstr ""
|
1030 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1031 |
msgid "Use block editor on the Widgets page"
|
1032 |
msgstr ""
|
1033 |
|
languages/wpglobus-es_CR.mo
CHANGED
Binary file
|
languages/wpglobus-es_CR.po
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
msgid ""
|
6 |
msgstr ""
|
7 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
8 |
-
"PO-Revision-Date: 2021-
|
9 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
10 |
"Language-Team: Spanish (Costa Rica) (http://www.transifex.com/wp-"
|
11 |
"translations/wpglobus-multilingual/language/es_CR/)\n"
|
@@ -1028,14 +1028,6 @@ msgstr ""
|
|
1028 |
msgid "Builder mode is enabled on these Post Types"
|
1029 |
msgstr ""
|
1030 |
|
1031 |
-
msgid "%1$sAttention%2$s"
|
1032 |
-
msgstr ""
|
1033 |
-
|
1034 |
-
msgid ""
|
1035 |
-
"The current version of WPGlobus does not support multililngual widgets with "
|
1036 |
-
"block editor"
|
1037 |
-
msgstr ""
|
1038 |
-
|
1039 |
msgid "Use block editor on the Widgets page"
|
1040 |
msgstr ""
|
1041 |
|
5 |
msgid ""
|
6 |
msgstr ""
|
7 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
8 |
+
"PO-Revision-Date: 2021-11-06 13:42+0000\n"
|
9 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
10 |
"Language-Team: Spanish (Costa Rica) (http://www.transifex.com/wp-"
|
11 |
"translations/wpglobus-multilingual/language/es_CR/)\n"
|
1028 |
msgid "Builder mode is enabled on these Post Types"
|
1029 |
msgstr ""
|
1030 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1031 |
msgid "Use block editor on the Widgets page"
|
1032 |
msgstr ""
|
1033 |
|
languages/wpglobus-es_ES.mo
CHANGED
Binary file
|
languages/wpglobus-es_ES.po
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
msgid ""
|
6 |
msgstr ""
|
7 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
8 |
-
"PO-Revision-Date: 2021-
|
9 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
10 |
"Language-Team: Spanish (Spain) (http://www.transifex.com/wp-translations/"
|
11 |
"wpglobus-multilingual/language/es_ES/)\n"
|
@@ -1028,14 +1028,6 @@ msgstr ""
|
|
1028 |
msgid "Builder mode is enabled on these Post Types"
|
1029 |
msgstr ""
|
1030 |
|
1031 |
-
msgid "%1$sAttention%2$s"
|
1032 |
-
msgstr ""
|
1033 |
-
|
1034 |
-
msgid ""
|
1035 |
-
"The current version of WPGlobus does not support multililngual widgets with "
|
1036 |
-
"block editor"
|
1037 |
-
msgstr ""
|
1038 |
-
|
1039 |
msgid "Use block editor on the Widgets page"
|
1040 |
msgstr ""
|
1041 |
|
5 |
msgid ""
|
6 |
msgstr ""
|
7 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
8 |
+
"PO-Revision-Date: 2021-11-06 13:42+0000\n"
|
9 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
10 |
"Language-Team: Spanish (Spain) (http://www.transifex.com/wp-translations/"
|
11 |
"wpglobus-multilingual/language/es_ES/)\n"
|
1028 |
msgid "Builder mode is enabled on these Post Types"
|
1029 |
msgstr ""
|
1030 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1031 |
msgid "Use block editor on the Widgets page"
|
1032 |
msgstr ""
|
1033 |
|
languages/wpglobus-es_GT.mo
CHANGED
Binary file
|
languages/wpglobus-es_GT.po
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
msgid ""
|
6 |
msgstr ""
|
7 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
8 |
-
"PO-Revision-Date: 2021-
|
9 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
10 |
"Language-Team: Spanish (Guatemala) (http://www.transifex.com/wp-translations/"
|
11 |
"wpglobus-multilingual/language/es_GT/)\n"
|
@@ -1028,14 +1028,6 @@ msgstr ""
|
|
1028 |
msgid "Builder mode is enabled on these Post Types"
|
1029 |
msgstr ""
|
1030 |
|
1031 |
-
msgid "%1$sAttention%2$s"
|
1032 |
-
msgstr ""
|
1033 |
-
|
1034 |
-
msgid ""
|
1035 |
-
"The current version of WPGlobus does not support multililngual widgets with "
|
1036 |
-
"block editor"
|
1037 |
-
msgstr ""
|
1038 |
-
|
1039 |
msgid "Use block editor on the Widgets page"
|
1040 |
msgstr ""
|
1041 |
|
5 |
msgid ""
|
6 |
msgstr ""
|
7 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
8 |
+
"PO-Revision-Date: 2021-11-06 13:42+0000\n"
|
9 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
10 |
"Language-Team: Spanish (Guatemala) (http://www.transifex.com/wp-translations/"
|
11 |
"wpglobus-multilingual/language/es_GT/)\n"
|
1028 |
msgid "Builder mode is enabled on these Post Types"
|
1029 |
msgstr ""
|
1030 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1031 |
msgid "Use block editor on the Widgets page"
|
1032 |
msgstr ""
|
1033 |
|
languages/wpglobus-es_MX.mo
CHANGED
Binary file
|
languages/wpglobus-es_MX.po
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
msgid ""
|
6 |
msgstr ""
|
7 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
8 |
-
"PO-Revision-Date: 2021-
|
9 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
10 |
"Language-Team: Spanish (Mexico) (http://www.transifex.com/wp-translations/"
|
11 |
"wpglobus-multilingual/language/es_MX/)\n"
|
@@ -1028,14 +1028,6 @@ msgstr ""
|
|
1028 |
msgid "Builder mode is enabled on these Post Types"
|
1029 |
msgstr ""
|
1030 |
|
1031 |
-
msgid "%1$sAttention%2$s"
|
1032 |
-
msgstr ""
|
1033 |
-
|
1034 |
-
msgid ""
|
1035 |
-
"The current version of WPGlobus does not support multililngual widgets with "
|
1036 |
-
"block editor"
|
1037 |
-
msgstr ""
|
1038 |
-
|
1039 |
msgid "Use block editor on the Widgets page"
|
1040 |
msgstr ""
|
1041 |
|
5 |
msgid ""
|
6 |
msgstr ""
|
7 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
8 |
+
"PO-Revision-Date: 2021-11-06 13:42+0000\n"
|
9 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
10 |
"Language-Team: Spanish (Mexico) (http://www.transifex.com/wp-translations/"
|
11 |
"wpglobus-multilingual/language/es_MX/)\n"
|
1028 |
msgid "Builder mode is enabled on these Post Types"
|
1029 |
msgstr ""
|
1030 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1031 |
msgid "Use block editor on the Widgets page"
|
1032 |
msgstr ""
|
1033 |
|
languages/wpglobus-es_PE.mo
CHANGED
Binary file
|
languages/wpglobus-es_PE.po
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
msgid ""
|
6 |
msgstr ""
|
7 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
8 |
-
"PO-Revision-Date: 2021-
|
9 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
10 |
"Language-Team: Spanish (Peru) (http://www.transifex.com/wp-translations/"
|
11 |
"wpglobus-multilingual/language/es_PE/)\n"
|
@@ -1028,14 +1028,6 @@ msgstr ""
|
|
1028 |
msgid "Builder mode is enabled on these Post Types"
|
1029 |
msgstr ""
|
1030 |
|
1031 |
-
msgid "%1$sAttention%2$s"
|
1032 |
-
msgstr ""
|
1033 |
-
|
1034 |
-
msgid ""
|
1035 |
-
"The current version of WPGlobus does not support multililngual widgets with "
|
1036 |
-
"block editor"
|
1037 |
-
msgstr ""
|
1038 |
-
|
1039 |
msgid "Use block editor on the Widgets page"
|
1040 |
msgstr ""
|
1041 |
|
5 |
msgid ""
|
6 |
msgstr ""
|
7 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
8 |
+
"PO-Revision-Date: 2021-11-06 13:42+0000\n"
|
9 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
10 |
"Language-Team: Spanish (Peru) (http://www.transifex.com/wp-translations/"
|
11 |
"wpglobus-multilingual/language/es_PE/)\n"
|
1028 |
msgid "Builder mode is enabled on these Post Types"
|
1029 |
msgstr ""
|
1030 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1031 |
msgid "Use block editor on the Widgets page"
|
1032 |
msgstr ""
|
1033 |
|
languages/wpglobus-es_PR.mo
CHANGED
Binary file
|
languages/wpglobus-es_PR.po
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
msgid ""
|
6 |
msgstr ""
|
7 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
8 |
-
"PO-Revision-Date: 2021-
|
9 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
10 |
"Language-Team: Spanish (Puerto Rico) (http://www.transifex.com/wp-"
|
11 |
"translations/wpglobus-multilingual/language/es_PR/)\n"
|
@@ -1028,14 +1028,6 @@ msgstr ""
|
|
1028 |
msgid "Builder mode is enabled on these Post Types"
|
1029 |
msgstr ""
|
1030 |
|
1031 |
-
msgid "%1$sAttention%2$s"
|
1032 |
-
msgstr ""
|
1033 |
-
|
1034 |
-
msgid ""
|
1035 |
-
"The current version of WPGlobus does not support multililngual widgets with "
|
1036 |
-
"block editor"
|
1037 |
-
msgstr ""
|
1038 |
-
|
1039 |
msgid "Use block editor on the Widgets page"
|
1040 |
msgstr ""
|
1041 |
|
5 |
msgid ""
|
6 |
msgstr ""
|
7 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
8 |
+
"PO-Revision-Date: 2021-11-06 13:42+0000\n"
|
9 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
10 |
"Language-Team: Spanish (Puerto Rico) (http://www.transifex.com/wp-"
|
11 |
"translations/wpglobus-multilingual/language/es_PR/)\n"
|
1028 |
msgid "Builder mode is enabled on these Post Types"
|
1029 |
msgstr ""
|
1030 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1031 |
msgid "Use block editor on the Widgets page"
|
1032 |
msgstr ""
|
1033 |
|
languages/wpglobus-es_VE.mo
CHANGED
Binary file
|
languages/wpglobus-es_VE.po
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
msgid ""
|
6 |
msgstr ""
|
7 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
8 |
-
"PO-Revision-Date: 2021-
|
9 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
10 |
"Language-Team: Spanish (Venezuela) (http://www.transifex.com/wp-translations/"
|
11 |
"wpglobus-multilingual/language/es_VE/)\n"
|
@@ -1028,14 +1028,6 @@ msgstr ""
|
|
1028 |
msgid "Builder mode is enabled on these Post Types"
|
1029 |
msgstr ""
|
1030 |
|
1031 |
-
msgid "%1$sAttention%2$s"
|
1032 |
-
msgstr ""
|
1033 |
-
|
1034 |
-
msgid ""
|
1035 |
-
"The current version of WPGlobus does not support multililngual widgets with "
|
1036 |
-
"block editor"
|
1037 |
-
msgstr ""
|
1038 |
-
|
1039 |
msgid "Use block editor on the Widgets page"
|
1040 |
msgstr ""
|
1041 |
|
5 |
msgid ""
|
6 |
msgstr ""
|
7 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
8 |
+
"PO-Revision-Date: 2021-11-06 13:42+0000\n"
|
9 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
10 |
"Language-Team: Spanish (Venezuela) (http://www.transifex.com/wp-translations/"
|
11 |
"wpglobus-multilingual/language/es_VE/)\n"
|
1028 |
msgid "Builder mode is enabled on these Post Types"
|
1029 |
msgstr ""
|
1030 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1031 |
msgid "Use block editor on the Widgets page"
|
1032 |
msgstr ""
|
1033 |
|
languages/wpglobus-et.mo
CHANGED
Binary file
|
languages/wpglobus-et.po
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
msgid ""
|
6 |
msgstr ""
|
7 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
8 |
-
"PO-Revision-Date: 2021-
|
9 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
10 |
"Language-Team: Estonian (http://www.transifex.com/wp-translations/wpglobus-"
|
11 |
"multilingual/language/et/)\n"
|
@@ -991,14 +991,6 @@ msgstr ""
|
|
991 |
msgid "Builder mode is enabled on these Post Types"
|
992 |
msgstr ""
|
993 |
|
994 |
-
msgid "%1$sAttention%2$s"
|
995 |
-
msgstr ""
|
996 |
-
|
997 |
-
msgid ""
|
998 |
-
"The current version of WPGlobus does not support multililngual widgets with "
|
999 |
-
"block editor"
|
1000 |
-
msgstr ""
|
1001 |
-
|
1002 |
msgid "Use block editor on the Widgets page"
|
1003 |
msgstr ""
|
1004 |
|
5 |
msgid ""
|
6 |
msgstr ""
|
7 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
8 |
+
"PO-Revision-Date: 2021-11-06 13:42+0000\n"
|
9 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
10 |
"Language-Team: Estonian (http://www.transifex.com/wp-translations/wpglobus-"
|
11 |
"multilingual/language/et/)\n"
|
991 |
msgid "Builder mode is enabled on these Post Types"
|
992 |
msgstr ""
|
993 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
994 |
msgid "Use block editor on the Widgets page"
|
995 |
msgstr ""
|
996 |
|
languages/wpglobus-fr_BE.mo
CHANGED
Binary file
|
languages/wpglobus-fr_BE.po
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
msgid ""
|
6 |
msgstr ""
|
7 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
8 |
-
"PO-Revision-Date: 2021-
|
9 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
10 |
"Language-Team: French (Belgium) (http://www.transifex.com/wp-translations/"
|
11 |
"wpglobus-multilingual/language/fr_BE/)\n"
|
@@ -1155,14 +1155,6 @@ msgstr "Soutien des constructeurs"
|
|
1155 |
msgid "Builder mode is enabled on these Post Types"
|
1156 |
msgstr "Le mode Constructeur est activé sur ces types de post"
|
1157 |
|
1158 |
-
msgid "%1$sAttention%2$s"
|
1159 |
-
msgstr ""
|
1160 |
-
|
1161 |
-
msgid ""
|
1162 |
-
"The current version of WPGlobus does not support multililngual widgets with "
|
1163 |
-
"block editor"
|
1164 |
-
msgstr ""
|
1165 |
-
|
1166 |
msgid "Use block editor on the Widgets page"
|
1167 |
msgstr ""
|
1168 |
|
5 |
msgid ""
|
6 |
msgstr ""
|
7 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
8 |
+
"PO-Revision-Date: 2021-11-06 13:42+0000\n"
|
9 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
10 |
"Language-Team: French (Belgium) (http://www.transifex.com/wp-translations/"
|
11 |
"wpglobus-multilingual/language/fr_BE/)\n"
|
1155 |
msgid "Builder mode is enabled on these Post Types"
|
1156 |
msgstr "Le mode Constructeur est activé sur ces types de post"
|
1157 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1158 |
msgid "Use block editor on the Widgets page"
|
1159 |
msgstr ""
|
1160 |
|
languages/wpglobus-fr_CA.mo
CHANGED
Binary file
|
languages/wpglobus-fr_CA.po
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
msgid ""
|
8 |
msgstr ""
|
9 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
10 |
-
"PO-Revision-Date: 2021-
|
11 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
12 |
"Language-Team: French (Canada) (http://www.transifex.com/wp-translations/"
|
13 |
"wpglobus-multilingual/language/fr_CA/)\n"
|
@@ -1157,14 +1157,6 @@ msgstr "Soutien des constructeurs"
|
|
1157 |
msgid "Builder mode is enabled on these Post Types"
|
1158 |
msgstr "Le mode Constructeur est activé sur ces types de post"
|
1159 |
|
1160 |
-
msgid "%1$sAttention%2$s"
|
1161 |
-
msgstr ""
|
1162 |
-
|
1163 |
-
msgid ""
|
1164 |
-
"The current version of WPGlobus does not support multililngual widgets with "
|
1165 |
-
"block editor"
|
1166 |
-
msgstr ""
|
1167 |
-
|
1168 |
msgid "Use block editor on the Widgets page"
|
1169 |
msgstr ""
|
1170 |
|
7 |
msgid ""
|
8 |
msgstr ""
|
9 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
10 |
+
"PO-Revision-Date: 2021-11-06 13:42+0000\n"
|
11 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
12 |
"Language-Team: French (Canada) (http://www.transifex.com/wp-translations/"
|
13 |
"wpglobus-multilingual/language/fr_CA/)\n"
|
1157 |
msgid "Builder mode is enabled on these Post Types"
|
1158 |
msgstr "Le mode Constructeur est activé sur ces types de post"
|
1159 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1160 |
msgid "Use block editor on the Widgets page"
|
1161 |
msgstr ""
|
1162 |
|
languages/wpglobus-fr_FR.mo
CHANGED
Binary file
|
languages/wpglobus-fr_FR.po
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
msgid ""
|
8 |
msgstr ""
|
9 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
10 |
-
"PO-Revision-Date: 2021-
|
11 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
12 |
"Language-Team: French (France) (http://www.transifex.com/wp-translations/"
|
13 |
"wpglobus-multilingual/language/fr_FR/)\n"
|
@@ -1157,14 +1157,6 @@ msgstr "Soutien des constructeurs"
|
|
1157 |
msgid "Builder mode is enabled on these Post Types"
|
1158 |
msgstr "Le mode Constructeur est activé sur ces types de post"
|
1159 |
|
1160 |
-
msgid "%1$sAttention%2$s"
|
1161 |
-
msgstr ""
|
1162 |
-
|
1163 |
-
msgid ""
|
1164 |
-
"The current version of WPGlobus does not support multililngual widgets with "
|
1165 |
-
"block editor"
|
1166 |
-
msgstr ""
|
1167 |
-
|
1168 |
msgid "Use block editor on the Widgets page"
|
1169 |
msgstr ""
|
1170 |
|
7 |
msgid ""
|
8 |
msgstr ""
|
9 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
10 |
+
"PO-Revision-Date: 2021-11-06 13:42+0000\n"
|
11 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
12 |
"Language-Team: French (France) (http://www.transifex.com/wp-translations/"
|
13 |
"wpglobus-multilingual/language/fr_FR/)\n"
|
1157 |
msgid "Builder mode is enabled on these Post Types"
|
1158 |
msgstr "Le mode Constructeur est activé sur ces types de post"
|
1159 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1160 |
msgid "Use block editor on the Widgets page"
|
1161 |
msgstr ""
|
1162 |
|
languages/wpglobus-id_ID.mo
CHANGED
Binary file
|
languages/wpglobus-id_ID.po
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
msgid ""
|
8 |
msgstr ""
|
9 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
10 |
-
"PO-Revision-Date: 2021-
|
11 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
12 |
"Language-Team: Indonesian (Indonesia) (http://www.transifex.com/wp-"
|
13 |
"translations/wpglobus-multilingual/language/id_ID/)\n"
|
@@ -1066,14 +1066,6 @@ msgstr ""
|
|
1066 |
msgid "Builder mode is enabled on these Post Types"
|
1067 |
msgstr ""
|
1068 |
|
1069 |
-
msgid "%1$sAttention%2$s"
|
1070 |
-
msgstr ""
|
1071 |
-
|
1072 |
-
msgid ""
|
1073 |
-
"The current version of WPGlobus does not support multililngual widgets with "
|
1074 |
-
"block editor"
|
1075 |
-
msgstr ""
|
1076 |
-
|
1077 |
msgid "Use block editor on the Widgets page"
|
1078 |
msgstr ""
|
1079 |
|
7 |
msgid ""
|
8 |
msgstr ""
|
9 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
10 |
+
"PO-Revision-Date: 2021-11-06 13:42+0000\n"
|
11 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
12 |
"Language-Team: Indonesian (Indonesia) (http://www.transifex.com/wp-"
|
13 |
"translations/wpglobus-multilingual/language/id_ID/)\n"
|
1066 |
msgid "Builder mode is enabled on these Post Types"
|
1067 |
msgstr ""
|
1068 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1069 |
msgid "Use block editor on the Widgets page"
|
1070 |
msgstr ""
|
1071 |
|
languages/wpglobus-ko_KR.mo
CHANGED
Binary file
|
languages/wpglobus-ko_KR.po
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
msgid ""
|
5 |
msgstr ""
|
6 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
7 |
-
"PO-Revision-Date: 2021-
|
8 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
9 |
"Language-Team: Korean (Korea) (http://www.transifex.com/wp-translations/"
|
10 |
"wpglobus-multilingual/language/ko_KR/)\n"
|
@@ -990,14 +990,6 @@ msgstr ""
|
|
990 |
msgid "Builder mode is enabled on these Post Types"
|
991 |
msgstr ""
|
992 |
|
993 |
-
msgid "%1$sAttention%2$s"
|
994 |
-
msgstr ""
|
995 |
-
|
996 |
-
msgid ""
|
997 |
-
"The current version of WPGlobus does not support multililngual widgets with "
|
998 |
-
"block editor"
|
999 |
-
msgstr ""
|
1000 |
-
|
1001 |
msgid "Use block editor on the Widgets page"
|
1002 |
msgstr ""
|
1003 |
|
4 |
msgid ""
|
5 |
msgstr ""
|
6 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
7 |
+
"PO-Revision-Date: 2021-11-06 13:42+0000\n"
|
8 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
9 |
"Language-Team: Korean (Korea) (http://www.transifex.com/wp-translations/"
|
10 |
"wpglobus-multilingual/language/ko_KR/)\n"
|
990 |
msgid "Builder mode is enabled on these Post Types"
|
991 |
msgstr ""
|
992 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
993 |
msgid "Use block editor on the Widgets page"
|
994 |
msgstr ""
|
995 |
|
languages/wpglobus-pl_PL.mo
CHANGED
Binary file
|
languages/wpglobus-pl_PL.po
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
msgid ""
|
5 |
msgstr ""
|
6 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
7 |
-
"PO-Revision-Date: 2021-
|
8 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
9 |
"Language-Team: Polish (Poland) (http://www.transifex.com/wp-translations/"
|
10 |
"wpglobus-multilingual/language/pl_PL/)\n"
|
@@ -1020,14 +1020,6 @@ msgstr ""
|
|
1020 |
msgid "Builder mode is enabled on these Post Types"
|
1021 |
msgstr ""
|
1022 |
|
1023 |
-
msgid "%1$sAttention%2$s"
|
1024 |
-
msgstr ""
|
1025 |
-
|
1026 |
-
msgid ""
|
1027 |
-
"The current version of WPGlobus does not support multililngual widgets with "
|
1028 |
-
"block editor"
|
1029 |
-
msgstr ""
|
1030 |
-
|
1031 |
msgid "Use block editor on the Widgets page"
|
1032 |
msgstr ""
|
1033 |
|
4 |
msgid ""
|
5 |
msgstr ""
|
6 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
7 |
+
"PO-Revision-Date: 2021-11-06 13:42+0000\n"
|
8 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
9 |
"Language-Team: Polish (Poland) (http://www.transifex.com/wp-translations/"
|
10 |
"wpglobus-multilingual/language/pl_PL/)\n"
|
1020 |
msgid "Builder mode is enabled on these Post Types"
|
1021 |
msgstr ""
|
1022 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1023 |
msgid "Use block editor on the Widgets page"
|
1024 |
msgstr ""
|
1025 |
|
languages/wpglobus-pt_BR.mo
CHANGED
Binary file
|
languages/wpglobus-pt_BR.po
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
msgid ""
|
5 |
msgstr ""
|
6 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
7 |
-
"PO-Revision-Date: 2021-
|
8 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
9 |
"Language-Team: Portuguese (Brazil) (http://www.transifex.com/wp-translations/"
|
10 |
"wpglobus-multilingual/language/pt_BR/)\n"
|
@@ -990,14 +990,6 @@ msgstr ""
|
|
990 |
msgid "Builder mode is enabled on these Post Types"
|
991 |
msgstr ""
|
992 |
|
993 |
-
msgid "%1$sAttention%2$s"
|
994 |
-
msgstr ""
|
995 |
-
|
996 |
-
msgid ""
|
997 |
-
"The current version of WPGlobus does not support multililngual widgets with "
|
998 |
-
"block editor"
|
999 |
-
msgstr ""
|
1000 |
-
|
1001 |
msgid "Use block editor on the Widgets page"
|
1002 |
msgstr ""
|
1003 |
|
4 |
msgid ""
|
5 |
msgstr ""
|
6 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
7 |
+
"PO-Revision-Date: 2021-11-06 13:42+0000\n"
|
8 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
9 |
"Language-Team: Portuguese (Brazil) (http://www.transifex.com/wp-translations/"
|
10 |
"wpglobus-multilingual/language/pt_BR/)\n"
|
990 |
msgid "Builder mode is enabled on these Post Types"
|
991 |
msgstr ""
|
992 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
993 |
msgid "Use block editor on the Widgets page"
|
994 |
msgstr ""
|
995 |
|
languages/wpglobus-pt_PT.mo
CHANGED
Binary file
|
languages/wpglobus-pt_PT.po
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
msgid ""
|
5 |
msgstr ""
|
6 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
7 |
-
"PO-Revision-Date: 2021-
|
8 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
9 |
"Language-Team: Portuguese (Portugal) (http://www.transifex.com/wp-"
|
10 |
"translations/wpglobus-multilingual/language/pt_PT/)\n"
|
@@ -990,14 +990,6 @@ msgstr ""
|
|
990 |
msgid "Builder mode is enabled on these Post Types"
|
991 |
msgstr ""
|
992 |
|
993 |
-
msgid "%1$sAttention%2$s"
|
994 |
-
msgstr ""
|
995 |
-
|
996 |
-
msgid ""
|
997 |
-
"The current version of WPGlobus does not support multililngual widgets with "
|
998 |
-
"block editor"
|
999 |
-
msgstr ""
|
1000 |
-
|
1001 |
msgid "Use block editor on the Widgets page"
|
1002 |
msgstr ""
|
1003 |
|
4 |
msgid ""
|
5 |
msgstr ""
|
6 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
7 |
+
"PO-Revision-Date: 2021-11-06 13:42+0000\n"
|
8 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
9 |
"Language-Team: Portuguese (Portugal) (http://www.transifex.com/wp-"
|
10 |
"translations/wpglobus-multilingual/language/pt_PT/)\n"
|
990 |
msgid "Builder mode is enabled on these Post Types"
|
991 |
msgstr ""
|
992 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
993 |
msgid "Use block editor on the Widgets page"
|
994 |
msgstr ""
|
995 |
|
languages/wpglobus-ro_RO.mo
CHANGED
Binary file
|
languages/wpglobus-ro_RO.po
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
msgid ""
|
5 |
msgstr ""
|
6 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
7 |
-
"PO-Revision-Date: 2021-
|
8 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
9 |
"Language-Team: Romanian (Romania) (http://www.transifex.com/wp-translations/"
|
10 |
"wpglobus-multilingual/language/ro_RO/)\n"
|
@@ -1023,14 +1023,6 @@ msgstr ""
|
|
1023 |
msgid "Builder mode is enabled on these Post Types"
|
1024 |
msgstr ""
|
1025 |
|
1026 |
-
msgid "%1$sAttention%2$s"
|
1027 |
-
msgstr ""
|
1028 |
-
|
1029 |
-
msgid ""
|
1030 |
-
"The current version of WPGlobus does not support multililngual widgets with "
|
1031 |
-
"block editor"
|
1032 |
-
msgstr ""
|
1033 |
-
|
1034 |
msgid "Use block editor on the Widgets page"
|
1035 |
msgstr ""
|
1036 |
|
4 |
msgid ""
|
5 |
msgstr ""
|
6 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
7 |
+
"PO-Revision-Date: 2021-11-06 13:42+0000\n"
|
8 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
9 |
"Language-Team: Romanian (Romania) (http://www.transifex.com/wp-translations/"
|
10 |
"wpglobus-multilingual/language/ro_RO/)\n"
|
1023 |
msgid "Builder mode is enabled on these Post Types"
|
1024 |
msgstr ""
|
1025 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1026 |
msgid "Use block editor on the Widgets page"
|
1027 |
msgstr ""
|
1028 |
|
languages/wpglobus-ru_RU.mo
CHANGED
Binary file
|
languages/wpglobus-ru_RU.po
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
msgid ""
|
7 |
msgstr ""
|
8 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
9 |
-
"PO-Revision-Date: 2021-
|
10 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
11 |
"Language-Team: Russian (Russia) (http://www.transifex.com/wp-translations/"
|
12 |
"wpglobus-multilingual/language/ru_RU/)\n"
|
@@ -1133,16 +1133,6 @@ msgstr "Поддержка конструкторов страниц (Builders)"
|
|
1133 |
msgid "Builder mode is enabled on these Post Types"
|
1134 |
msgstr "Режим `Builder` активен для этих типов записей"
|
1135 |
|
1136 |
-
msgid "%1$sAttention%2$s"
|
1137 |
-
msgstr "%1$sВнимание%2$s"
|
1138 |
-
|
1139 |
-
msgid ""
|
1140 |
-
"The current version of WPGlobus does not support multililngual widgets with "
|
1141 |
-
"block editor"
|
1142 |
-
msgstr ""
|
1143 |
-
"Текущая версия WPGlobus не поддерживает мультиязычность виджетов при "
|
1144 |
-
"использовании редактора блоков"
|
1145 |
-
|
1146 |
msgid "Use block editor on the Widgets page"
|
1147 |
msgstr "Использовать редактор блоков на странице Виджеты"
|
1148 |
|
6 |
msgid ""
|
7 |
msgstr ""
|
8 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
9 |
+
"PO-Revision-Date: 2021-11-06 13:42+0000\n"
|
10 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
11 |
"Language-Team: Russian (Russia) (http://www.transifex.com/wp-translations/"
|
12 |
"wpglobus-multilingual/language/ru_RU/)\n"
|
1133 |
msgid "Builder mode is enabled on these Post Types"
|
1134 |
msgstr "Режим `Builder` активен для этих типов записей"
|
1135 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1136 |
msgid "Use block editor on the Widgets page"
|
1137 |
msgstr "Использовать редактор блоков на странице Виджеты"
|
1138 |
|
languages/wpglobus-sv_SE.mo
CHANGED
Binary file
|
languages/wpglobus-sv_SE.po
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
msgid ""
|
8 |
msgstr ""
|
9 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
10 |
-
"PO-Revision-Date: 2021-
|
11 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
12 |
"Language-Team: Swedish (Sweden) (http://www.transifex.com/wp-translations/"
|
13 |
"wpglobus-multilingual/language/sv_SE/)\n"
|
@@ -1022,14 +1022,6 @@ msgstr ""
|
|
1022 |
msgid "Builder mode is enabled on these Post Types"
|
1023 |
msgstr ""
|
1024 |
|
1025 |
-
msgid "%1$sAttention%2$s"
|
1026 |
-
msgstr ""
|
1027 |
-
|
1028 |
-
msgid ""
|
1029 |
-
"The current version of WPGlobus does not support multililngual widgets with "
|
1030 |
-
"block editor"
|
1031 |
-
msgstr ""
|
1032 |
-
|
1033 |
msgid "Use block editor on the Widgets page"
|
1034 |
msgstr ""
|
1035 |
|
7 |
msgid ""
|
8 |
msgstr ""
|
9 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
10 |
+
"PO-Revision-Date: 2021-11-06 13:42+0000\n"
|
11 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
12 |
"Language-Team: Swedish (Sweden) (http://www.transifex.com/wp-translations/"
|
13 |
"wpglobus-multilingual/language/sv_SE/)\n"
|
1022 |
msgid "Builder mode is enabled on these Post Types"
|
1023 |
msgstr ""
|
1024 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1025 |
msgid "Use block editor on the Widgets page"
|
1026 |
msgstr ""
|
1027 |
|
languages/wpglobus-tr_TR.mo
CHANGED
Binary file
|
languages/wpglobus-tr_TR.po
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
msgid ""
|
6 |
msgstr ""
|
7 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
8 |
-
"PO-Revision-Date: 2021-
|
9 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
10 |
"Language-Team: Turkish (Turkey) (http://www.transifex.com/wp-translations/"
|
11 |
"wpglobus-multilingual/language/tr_TR/)\n"
|
@@ -1019,14 +1019,6 @@ msgstr ""
|
|
1019 |
msgid "Builder mode is enabled on these Post Types"
|
1020 |
msgstr ""
|
1021 |
|
1022 |
-
msgid "%1$sAttention%2$s"
|
1023 |
-
msgstr ""
|
1024 |
-
|
1025 |
-
msgid ""
|
1026 |
-
"The current version of WPGlobus does not support multililngual widgets with "
|
1027 |
-
"block editor"
|
1028 |
-
msgstr ""
|
1029 |
-
|
1030 |
msgid "Use block editor on the Widgets page"
|
1031 |
msgstr ""
|
1032 |
|
5 |
msgid ""
|
6 |
msgstr ""
|
7 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
8 |
+
"PO-Revision-Date: 2021-11-06 13:42+0000\n"
|
9 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
10 |
"Language-Team: Turkish (Turkey) (http://www.transifex.com/wp-translations/"
|
11 |
"wpglobus-multilingual/language/tr_TR/)\n"
|
1019 |
msgid "Builder mode is enabled on these Post Types"
|
1020 |
msgstr ""
|
1021 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1022 |
msgid "Use block editor on the Widgets page"
|
1023 |
msgstr ""
|
1024 |
|
languages/wpglobus-uk.mo
CHANGED
Binary file
|
languages/wpglobus-uk.po
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
msgid ""
|
7 |
msgstr ""
|
8 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
9 |
-
"PO-Revision-Date: 2021-
|
10 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
11 |
"Language-Team: Ukrainian (http://www.transifex.com/wp-translations/wpglobus-"
|
12 |
"multilingual/language/uk/)\n"
|
@@ -1133,14 +1133,6 @@ msgstr "Підтримка конструкторів сторінок"
|
|
1133 |
msgid "Builder mode is enabled on these Post Types"
|
1134 |
msgstr "Режим `Builder` активний для цих типів записів"
|
1135 |
|
1136 |
-
msgid "%1$sAttention%2$s"
|
1137 |
-
msgstr ""
|
1138 |
-
|
1139 |
-
msgid ""
|
1140 |
-
"The current version of WPGlobus does not support multililngual widgets with "
|
1141 |
-
"block editor"
|
1142 |
-
msgstr ""
|
1143 |
-
|
1144 |
msgid "Use block editor on the Widgets page"
|
1145 |
msgstr ""
|
1146 |
|
6 |
msgid ""
|
7 |
msgstr ""
|
8 |
"Project-Id-Version: WPGlobus Multilingual\n"
|
9 |
+
"PO-Revision-Date: 2021-11-06 13:42+0000\n"
|
10 |
"Last-Translator: Gregory Karpinsky <gregory@tiv.net>\n"
|
11 |
"Language-Team: Ukrainian (http://www.transifex.com/wp-translations/wpglobus-"
|
12 |
"multilingual/language/uk/)\n"
|
1133 |
msgid "Builder mode is enabled on these Post Types"
|
1134 |
msgstr "Режим `Builder` активний для цих типів записів"
|
1135 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1136 |
msgid "Use block editor on the Widgets page"
|
1137 |
msgstr ""
|
1138 |
|
languages/wpglobus.pot
CHANGED
@@ -846,12 +846,6 @@ msgstr ""
|
|
846 |
msgid "Builder mode is enabled on these Post Types"
|
847 |
msgstr ""
|
848 |
|
849 |
-
msgid "%1$sAttention%2$s"
|
850 |
-
msgstr ""
|
851 |
-
|
852 |
-
msgid "The current version of WPGlobus does not support multililngual widgets with block editor"
|
853 |
-
msgstr ""
|
854 |
-
|
855 |
msgid "Use block editor on the Widgets page"
|
856 |
msgstr ""
|
857 |
|
846 |
msgid "Builder mode is enabled on these Post Types"
|
847 |
msgstr ""
|
848 |
|
|
|
|
|
|
|
|
|
|
|
|
|
849 |
msgid "Use block editor on the Widgets page"
|
850 |
msgstr ""
|
851 |
|
readme.txt
CHANGED
@@ -220,6 +220,9 @@ WPGlobus Version 2 supports WordPress 5.x, with Gutenberg.
|
|
220 |
|
221 |
== Changelog ==
|
222 |
|
|
|
|
|
|
|
223 |
= 2.8.5 =
|
224 |
* (Core/Filters) Update `widget_display_callback` filter.
|
225 |
|
220 |
|
221 |
== Changelog ==
|
222 |
|
223 |
+
= 2.8.6 =
|
224 |
+
* (Core/Widgets) Added support for the widgets block editor.
|
225 |
+
|
226 |
= 2.8.5 =
|
227 |
* (Core/Filters) Update `widget_display_callback` filter.
|
228 |
|
wpglobus.php
CHANGED
@@ -15,7 +15,7 @@
|
|
15 |
* Description: A WordPress Globalization / Multilingual Plugin. Posts, pages, menus, widgets and even custom fields - in multiple languages!
|
16 |
* Text Domain: wpglobus
|
17 |
* Domain Path: /languages/
|
18 |
-
* Version: 2.8.
|
19 |
* Author: WPGlobus
|
20 |
* Author URI: https://wpglobus.com/
|
21 |
* Network: false
|
@@ -44,7 +44,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
44 |
exit;
|
45 |
}
|
46 |
|
47 |
-
define( 'WPGLOBUS_VERSION', '2.8.
|
48 |
define( 'WPGLOBUS_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
|
49 |
define( 'WPGLOBUS_AJAX', 'wpglobus-ajax' );
|
50 |
|
@@ -160,6 +160,16 @@ if (
|
|
160 |
*/
|
161 |
require_once dirname( __FILE__ ) . '/includes/class-wpglobus-post-types.php';
|
162 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
163 |
/**
|
164 |
* In admin area
|
165 |
*/
|
15 |
* Description: A WordPress Globalization / Multilingual Plugin. Posts, pages, menus, widgets and even custom fields - in multiple languages!
|
16 |
* Text Domain: wpglobus
|
17 |
* Domain Path: /languages/
|
18 |
+
* Version: 2.8.6
|
19 |
* Author: WPGlobus
|
20 |
* Author URI: https://wpglobus.com/
|
21 |
* Network: false
|
44 |
exit;
|
45 |
}
|
46 |
|
47 |
+
define( 'WPGLOBUS_VERSION', '2.8.6' );
|
48 |
define( 'WPGLOBUS_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
|
49 |
define( 'WPGLOBUS_AJAX', 'wpglobus-ajax' );
|
50 |
|
160 |
*/
|
161 |
require_once dirname( __FILE__ ) . '/includes/class-wpglobus-post-types.php';
|
162 |
|
163 |
+
/**
|
164 |
+
* WPGlobus Widgets.
|
165 |
+
*
|
166 |
+
* @since 2.8.6
|
167 |
+
*/
|
168 |
+
if ( WPGlobus::Config()->use_widgets_block_editor ) {
|
169 |
+
require_once dirname( __FILE__ ) . '/includes/widgets/class-wpglobus-widgets.php';
|
170 |
+
WPGlobus_Widgets::get_instance( __FILE__ );
|
171 |
+
}
|
172 |
+
|
173 |
/**
|
174 |
* In admin area
|
175 |
*/
|