Version Description
- Added: (Core/Post Types) Hide Gutenberg's post types.
- Added: (Core/Recommendation) A link to the "Recommendations" tab from the
plugins.php
page. - Added: (Admin/HelpDesk) Get subject from
$_GET
array. - Added: (Vendor/Yoast) Support Yoast SEO from v.12.
- Added: (Vendor/Yoast) Support Yoast SEO Premium from v.12.(Beta stage).
- Added: (Core/WPGlobusDialogApp)
afterSave
callback.
Download this release
Release Info
Developer | tivnet |
Plugin | WPGlobus – Multilingual Everything! |
Version | 2.2.20 |
Comparing to | |
See all releases |
Code changes from version 2.2.16 to 2.2.20
- data/wpglobus-product-info.json +1 -1
- includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php +4 -0
- includes/admin/recommendations/class-wpglobus-admin-recommendations.php +27 -0
- includes/class-wpglobus-post-types.php +3 -0
- includes/js/wpglobus-admin-51.js +9 -1
- includes/js/wpglobus-admin-51.min.js +1 -1
- includes/js/wpglobus-yoastseo-120.js +151 -0
- includes/js/wpglobus-yoastseo-120.min.js +1 -0
- includes/vendor/yoast-seo/class-wpglobus-yoastseo120.php +976 -0
- includes/wpglobus-yoastseo.php +13 -3
- languages/wpglobus-ar.po +13 -13
- languages/wpglobus-be.po +13 -13
- languages/wpglobus-bg_BG.po +13 -13
- languages/wpglobus-de_CH.po +13 -13
- languages/wpglobus-de_DE.po +13 -13
- languages/wpglobus-el.po +13 -13
- languages/wpglobus-en_AU.po +13 -13
- languages/wpglobus-en_CA.po +13 -13
- languages/wpglobus-en_GB.po +13 -13
- languages/wpglobus-en_NZ.po +13 -13
- languages/wpglobus-en_US.po +13 -13
- languages/wpglobus-en_ZA.po +13 -13
- languages/wpglobus-es_AR.po +13 -13
- languages/wpglobus-es_CL.po +13 -13
- languages/wpglobus-es_CO.po +13 -13
- languages/wpglobus-es_CR.po +13 -13
- languages/wpglobus.pot +15 -15
- readme.txt +10 -12
- wpglobus.php +2 -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-menu-visibility":{"title":"WPGlobus Menu Visibility","_api_new_version":"1.2.0","_api_tested_up_to":"4.9.6"},"wpglobus-multi-currency":{"title":"{:en}WPGlobus 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-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":"1.1.0","_api_tested_up_to":"4.9.8"},"wpglobus-header-images":{"title":"{:en}WPGlobus Header Images{:}{:ru}WPGlobus Header Images{:}","_api_new_version":"2.0.0","_api_tested_up_to":"5.0.4"},"wpglobus-
|
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-menu-visibility":{"title":"WPGlobus Menu Visibility","_api_new_version":"1.2.0","_api_tested_up_to":"4.9.6"},"wpglobus-multi-currency":{"title":"{:en}WPGlobus 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-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":"1.1.0","_api_tested_up_to":"4.9.8"},"wpglobus-header-images":{"title":"{:en}WPGlobus Header Images{:}{:ru}WPGlobus Header Images{:}","_api_new_version":"2.0.0","_api_tested_up_to":"5.0.4"},"wpglobus-mobile-menu":{"title":"{:en}WPGlobus Mobile Menu{:}{:ru}WPGlobus Mobile Menu{:}","_api_new_version":"2.0.0","_api_tested_up_to":"5.2"},"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.2.0","_api_tested_up_to":"5.2"},"woocommerce-wpglobus":{"title":"{:en}WPGlobus for WooCommerce{:}{:ru}\u0420\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 WooCommerce WPGlobus{:}","_api_new_version":"3.5.1","_api_tested_up_to":"5.2"},"wpglobus-plus":{"title":"{:en}WPGlobus Plus multilingual extension{:}{:ru}WPGlobus \u041f\u043b\u044e\u0441{:}","_api_new_version":"1.1.59","_api_tested_up_to":"5.3"},"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.0.0","_api_tested_up_to":"5.3"}}
|
includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php
CHANGED
@@ -155,6 +155,10 @@ class WPGlobus_Admin_HelpDesk {
|
|
155 |
|
156 |
/** @noinspection PhpUnusedLocalVariableInspection */
|
157 |
$subject = empty( $_POST['subject'] ) ? '' : sanitize_text_field( $_POST['subject'] ); // phpcs:ignore WordPress.CSRF.NonceVerification
|
|
|
|
|
|
|
|
|
158 |
|
159 |
/** @noinspection PhpUnusedLocalVariableInspection */
|
160 |
$details = empty( $_POST['details'] ) ? '' : sanitize_textarea_field( $_POST['details'] ); // phpcs:ignore WordPress.CSRF.NonceVerification
|
155 |
|
156 |
/** @noinspection PhpUnusedLocalVariableInspection */
|
157 |
$subject = empty( $_POST['subject'] ) ? '' : sanitize_text_field( $_POST['subject'] ); // phpcs:ignore WordPress.CSRF.NonceVerification
|
158 |
+
if ( empty($subject) ) {
|
159 |
+
$subject = empty( $_GET['subject'] ) ? '' : sanitize_text_field( $_GET['subject'] ); // phpcs:ignore WordPress.CSRF.NonceVerification
|
160 |
+
}
|
161 |
+
|
162 |
|
163 |
/** @noinspection PhpUnusedLocalVariableInspection */
|
164 |
$details = empty( $_POST['details'] ) ? '' : sanitize_textarea_field( $_POST['details'] ); // phpcs:ignore WordPress.CSRF.NonceVerification
|
includes/admin/recommendations/class-wpglobus-admin-recommendations.php
CHANGED
@@ -26,6 +26,33 @@ class WPGlobus_Admin_Recommendations {
|
|
26 |
add_filter( 'wpglobus_edit_slug_box', array( __CLASS__, 'wpg_plus_slug' ) );
|
27 |
add_action( 'admin_footer', array( __CLASS__, 'on__admin_footer' ), 1000 );
|
28 |
add_action( 'wpglobus_gutenberg_metabox', array( __CLASS__, 'on__gutenberg_metabox' ) );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
}
|
30 |
|
31 |
/**
|
26 |
add_filter( 'wpglobus_edit_slug_box', array( __CLASS__, 'wpg_plus_slug' ) );
|
27 |
add_action( 'admin_footer', array( __CLASS__, 'on__admin_footer' ), 1000 );
|
28 |
add_action( 'wpglobus_gutenberg_metabox', array( __CLASS__, 'on__gutenberg_metabox' ) );
|
29 |
+
add_filter(
|
30 |
+
'plugin_action_links_' . dirname( dirname( dirname( dirname( plugin_basename( __FILE__ ) ) ) ) ) . '/wpglobus.php',
|
31 |
+
array(
|
32 |
+
__CLASS__,
|
33 |
+
'filter__plugin_action_links',
|
34 |
+
)
|
35 |
+
);
|
36 |
+
|
37 |
+
}
|
38 |
+
|
39 |
+
/**
|
40 |
+
* Add a link to the Recommendations tab.
|
41 |
+
*
|
42 |
+
* @since 2.2.20
|
43 |
+
*
|
44 |
+
* @param array $links array of links for the plugins, adapted when the current plugin is found.
|
45 |
+
*
|
46 |
+
* @return array
|
47 |
+
*/
|
48 |
+
public static function filter__plugin_action_links( $links ) {
|
49 |
+
|
50 |
+
$_url = add_query_arg( array( 'page' => WPGlobus::OPTIONS_PAGE_SLUG, 'tab' => 'recommendations' ), admin_url( 'admin.php' ) );
|
51 |
+
|
52 |
+
$recommend_link = '<a style="font-weight: bold;" href="' . $_url . '">' . esc_html__( 'Go Premium' ) . '</a>';
|
53 |
+
array_unshift( $links, $recommend_link );
|
54 |
+
|
55 |
+
return $links;
|
56 |
}
|
57 |
|
58 |
/**
|
includes/class-wpglobus-post-types.php
CHANGED
@@ -41,6 +41,9 @@ class WPGlobus_Post_Types {
|
|
41 |
'acf-field-group',
|
42 |
// Gutenberg: @since 1.9.17
|
43 |
'wp_block',
|
|
|
|
|
|
|
44 |
// WPBakery PB: @since 1.9.17
|
45 |
'vc4_templates',
|
46 |
'vc_grid_item',
|
41 |
'acf-field-group',
|
42 |
// Gutenberg: @since 1.9.17
|
43 |
'wp_block',
|
44 |
+
// Gutenberg: @since 2.2.20
|
45 |
+
'wp_template',
|
46 |
+
'wp_area',
|
47 |
// WPBakery PB: @since 1.9.17
|
48 |
'vc4_templates',
|
49 |
'vc_grid_item',
|
includes/js/wpglobus-admin-51.js
CHANGED
@@ -151,6 +151,7 @@ var WPGlobusDialogApp;
|
|
151 |
placeholder: '',
|
152 |
formFooter: '',
|
153 |
beforeOpen: function(){},
|
|
|
154 |
close: function(){},
|
155 |
},
|
156 |
dialog: {}
|
@@ -404,6 +405,11 @@ var WPGlobusDialogApp;
|
|
404 |
$(api.id).val(s);
|
405 |
s = scl == '' ? sdl : scl;
|
406 |
$(api.wpglobus_id).val(s);
|
|
|
|
|
|
|
|
|
|
|
407 |
},
|
408 |
dialog : $('#wpglobus-dialog-wrapper').dialog({
|
409 |
autoOpen: false,
|
@@ -594,7 +600,9 @@ var WPGlobusDialogApp;
|
|
594 |
if ( 'function' === typeof window[callback] ) {
|
595 |
window[callback]();
|
596 |
}
|
597 |
-
}
|
|
|
|
|
598 |
|
599 |
}
|
600 |
};
|
151 |
placeholder: '',
|
152 |
formFooter: '',
|
153 |
beforeOpen: function(){},
|
154 |
+
afterSave: function(){},
|
155 |
close: function(){},
|
156 |
},
|
157 |
dialog: {}
|
405 |
$(api.id).val(s);
|
406 |
s = scl == '' ? sdl : scl;
|
407 |
$(api.wpglobus_id).val(s);
|
408 |
+
|
409 |
+
/**
|
410 |
+
* `After save` callback.
|
411 |
+
*/
|
412 |
+
api.runCallback( api.option.dialog.afterSave );
|
413 |
},
|
414 |
dialog : $('#wpglobus-dialog-wrapper').dialog({
|
415 |
autoOpen: false,
|
600 |
if ( 'function' === typeof window[callback] ) {
|
601 |
window[callback]();
|
602 |
}
|
603 |
+
} else if ( 'function' === typeof callback ) {
|
604 |
+
callback();
|
605 |
+
}
|
606 |
|
607 |
}
|
608 |
};
|
includes/js/wpglobus-admin-51.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
var WPGlobusCore,WPGlobusDialogApp;!function(i){var d;d=WPGlobusCore={strpos:function(t,a,e){var o=(t=""+t).indexOf(a,e);return 0<=o&&o},TextFilter:function(t,a,e){if(void 0===t||""===t)return t;var o,n,i=[],l=!1;a=""==a?"en":a,e=void 0===e||""==e?"RETURN_IN_DEFAULT_LANGUAGE":e,i[0]=[],i[0].start=WPGlobusCoreData.locale_tag_start.replace("%s",a),i[0].end=WPGlobusCoreData.locale_tag_end,i[1]=[],i[1].start="\x3c!--:"+a+"--\x3e",i[1].end="\x3c!--:--\x3e",i[2]=[],i[2].start="[:"+a+"]",i[2].end="[:";for(var s=0;s<3;s++)if(!1!==(o=d.strpos(t,i[s].start))){o+=i[s].start.length,t=!1===(n=d.strpos(t,i[s].end,o))?t.substr(o):t.substr(o,n-o),l=!0;break}return l||("RETURN_EMPTY"==e?a==WPGlobusCoreData.default_language&&!/(\{:|\[:|<!--:)[a-z]{2}/.test(t)||(t=""):a==WPGlobusCoreData.default_language?/(\{:|\[:|<!--:)[a-z]{2}/.test(t)&&(t=""):t=d.TextFilter(t,WPGlobusCoreData.default_language)),t},addLocaleMarks:function(t,a){return WPGlobusCoreData.locale_tag_start.replace("%s",a)+t+WPGlobusCoreData.locale_tag_end},getTranslations:function(e){var o,n={};return i.each(WPGlobusCoreData.enabled_languages,function(t,a){o=a==WPGlobusCoreData.default_language?"RETURN_IN_DEFAULT_LANGUAGE":"RETURN_EMPTY",n[a]=d.TextFilter(e,a,o)}),n},getString:function(t,a,e){if(void 0===t)return t;void 0===a&&(a=""),void 0===e&&(e=WPGlobusCoreData.language),(t=d.getTranslations(t))[e]=a;var o="";return i.each(t,function(t,a){""!=a&&t!=WPGlobusCoreData.default_language&&(o+=d.addLocaleMarks(a,t))}),""!=t[WPGlobusCoreData.default_language]&&(o=""==o?t[WPGlobusCoreData.default_language]:d.addLocaleMarks(t[WPGlobusCoreData.default_language],WPGlobusCoreData.default_language)+o),o}}}(jQuery),function(m){var f;f=WPGlobusDialogApp={option:{listenClass:".wpglobus_dialog_start",settingsClass:".wpglobus_dialog_settings",dialogTabs:"#wpglobus-dialog-tabs",dialogTitle:"",customData:null,callback:function(){},dialogOptions:{title:"",placeholder:"",formFooter:"",beforeOpen:function(){},close:function(){}},dialog:{}},form:void 0,element:void 0,element_by:"id",id:"",clone_id:"",wpglobus_id:"",type:"textarea",source:"",order:{},value:{},request:"core",attrs:{},dialogTitle:"",trClass:"wpglobus-translatable",startButton:['<span id="wpglobus-dialog-start-{{clone_id}}" ','style="{{style}}" ','data-type="control" data-dialog-title="{{title}}" ','data-source-type="" data-source-id="{{id}}" data-source-name="{{name}}" ','data-nodename="{{nodename}}"',"{{sbTitle}} ",'class="{{classes}}"></span>'].join(""),startButtonClass:"wpglobus_dialog_start wpglobus_dialog_icon",clicks:0,init:function(t){f.option.dialog=f.option.dialogOptions,f.option=m.extend(f.option,t),m(f.option.dialogTabs).tabs(),f.dialogTitle=f.option.dialogTitle,this.attachListener(),null!=f.option.customData&&void 0!==f.option.customData.addElements&&m.each(f.option.customData.addElements,function(t,a){f.addElement(a)})},convertToId:function(t){return t=(t=t.replace(/\]/g,"")).replace(/\[/g,"-")},addElement:function(t){var a={id:null,style:"",styleTextareaWrapper:"",sbTitle:"",onChangeClass:"",dialogTitle:"",dialog:f.option.dialogOptions};if("string"==typeof t)a.id=t;else{if("object"!=typeof t)return;a=m.extend(a,t)}var e,o,n,i=null,l=null,s=null,d=null,u=f.startButton,r="";if(f.element_by="name",0==(d=document.getElementsByName(a.id)).length&&(f.element_by="id",d=document.getElementById(a.id)),null!==d){if(l=a.id,s=void 0===(i="id"==f.element_by?m("#"+l):(r=(r=d[0].nodeName).toLowerCase(),m(r+'[name="'+l+'"]'))).attr("name")||""==i.attr("name")?l:i.attr("name"),f.clone_id=f.convertToId(l),-1!=s.indexOf("wpglobus")||-1!=f.clone_id.indexOf("wpglobus"))return!1;if(0<m("#wpglobus-"+f.clone_id).length)return!1;if(0<m(r+'[name="wpglobus-'+s+'"]').length)return!1;e=m(i.clone()),n=i.attr("style")||"",i.attr("style","display:none;"),e.attr("id","wpglobus-"+f.clone_id).attr("name","wpglobus-"+s),e.addClass(f.trClass),""!=a.onChangeClass&&e.addClass(a.onChangeClass),"id"==f.element_by?e.attr("data-source-id",l).attr("data-source-name","").attr("data-source-get-by",f.element_by):e.attr("data-source-id","").attr("data-source-name",s).attr("data-source-get-by",f.element_by),"textarea"==r?(o=WPGlobusCore.getTranslations(i.val())[WPGlobusCoreData.language],e.val(o),e.attr("data-nodename","textarea"),""==a.style?e.attr("style",n+";width:95%;float:left;"):e.attr("style",n+";"+a.style)):(o=WPGlobusCore.getTranslations(i.val())[WPGlobusCoreData.language],e.attr("value",o),e.attr("data-nodename","input"),""!=a.style&&e.attr("style",n+";"+a.style)),""!=a.dialog&&e.attr("data-dialog",JSON.stringify(a.dialog)),u=u.replace(/{{clone_id}}/g,f.clone_id),u="id"==f.element_by?(u=(u=u.replace(/{{id}}/g,f.clone_id)).replace(/{{name}}/g,"")).replace(/{{nodename}}/g,""):(u=(u=u.replace(/{{id}}/g,"")).replace(/{{name}}/g,s)).replace(/{{nodename}}/g,r),u="textarea"==r?u.replace("{{style}}","float:left;margin-top:0;"):u.replace("{{style}}","");var c="textarea"==r?f.startButtonClass+" wpglobus-textarea wpglobus-textarea-"+f.clone_id:f.startButtonClass;u=u.replace("{{classes}}",c),u=""==a.dialogTitle?u.replace("{{title}}",f.dialogTitle):u.replace("{{title}}",a.dialogTitle),u=""==a.sbTitle?u.replace("{{sbTitle}}",a.sbTitle):u.replace("{{sbTitle}}",'title="'+a.sbTitle+'"'),m(u).insertAfter(i),m(e).insertAfter(i),"textarea"==r&&(m("#wpglobus-"+f.clone_id).addClass("wpglobus-textarea-"+f.clone_id),m(".wpglobus-textarea-"+f.clone_id).wrapAll('<div class="wpglobus-textarea-wrapper" style="'+a.styleTextareaWrapper+'"></div>'));var g,p=!1;if(""==a.onChangeClass)g="#wpglobus-"+f.clone_id;else{g="."+a.onChangeClass;var b=m._data(m(document)[0],"events");void 0===b?p=!0:void 0!==b.change&&m.each(b.change,function(t,a){if(a.selector==g)return!(p=!0)})}return p||m(document).on("change",g,function(){var t=m(this),a=t.data("source-id");a=""==a?t.data("nodename")+'[name="'+t.data("source-name")+'"]':"#"+a,m(a).val(WPGlobusCore.getString(m(a).val(),t.val()))}),!0}},saveDialog:function(){var e,o,n,i="",l="",s="";m(".wpglobus_dialog_textarea").each(function(t,a){e=m(a),o=e.val(),(n=e.data("language"))==WPGlobusAdmin.data.language&&(s=o),""!=o&&(i+=WPGlobusCore.addLocaleMarks(o,n),n==WPGlobusCoreData.default_language&&(l=o))}),i=i.length==l.length+8?l:i,m(f.id).val(i),i=""==s?l:s,m(f.wpglobus_id).val(i)},dialog:m("#wpglobus-dialog-wrapper").dialog({autoOpen:!1,width:650,modal:!0,dialogClass:"wpglobus-dialog",buttons:[{text:"Save",class:"wpglobus-button-save",click:function(){f.saveDialog(),f.dialog.dialog("close")}},{text:"Cancel",class:"wpglobus-button-cancel",click:function(){f.dialog.dialog("close")}}],open:function(t,a){var e=f.dialogTitle;void 0!==f.attrs.maxlength&&(m(".wpglobus_dialog_textarea").attr("maxlength",f.attrs.maxlength),e+=" | maxlength="+f.attrs.maxlength),m(".wpglobus-dialog .ui-dialog-title").text(e),m(this).removeClass("hidden")},close:function(){m(this).addClass("hidden"),f.runCallback(f.option.dialog.close),f.form[0].reset()}}),attachListener:function(){m(document).on("click",f.option.settingsClass,function(){m(".wpglobus_dialog_options_wrapper").hasClass("hidden")?m(".wpglobus_dialog_options_wrapper").removeClass("hidden"):m(".wpglobus_dialog_options_wrapper").addClass("hidden")}),m(document).on("click",".wpglobus_dialog_option",function(t){var a=m(this),e=a.data("object");f.order.action="save_post_meta_settings",f.order.post_type=WPGlobusAdmin.data.post_type,f.order.checked=a.prop("checked"),f.order.id=a.attr("id"),f.order.meta_key=a.data("meta-key"),f.ajax(f.order).done(function(t){"ok"==t.result&&("true"==t.checked?m(e).removeClass("wpglobus_dialog_start_hidden"):m(e).addClass("wpglobus_dialog_start_hidden"))}).fail(function(t){}).always(function(t,a){})}),m(document).on("click",f.option.listenClass,function(a){f.element=m(this),f.id=f.element.data("source-id"),""==f.id?(f.id=f.element.data("nodename")+'[name="'+f.element.data("source-name")+'"]',f.wpglobus_id="#wpglobus-"+f.convertToId(f.element.data("source-name"))):(f.wpglobus_id="#wpglobus-"+f.id,f.id="#"+f.id),f.clicks++,1==f.clicks&&setTimeout(function(){if(1==f.clicks)f.onClick(a);else{var t=m(f.id);t.hasClass("hidden")?t.removeClass("hidden").attr("style","display:block;"):t.addClass("hidden").attr("style","display:none;")}f.clicks=0},200)}),f.form=f.dialog.find("form#wpglobus-dialog-form").on("submit",function(t){t.preventDefault(),f.saveDialog()})},ajax:function(t){return m.ajax({type:"POST",url:WPGlobusAdmin.ajaxurl,data:{action:WPGlobusAdmin.process_ajax,order:t},dataType:"json",async:!1})},onClick:function(t){void 0===f.element.data("dialog-title")||""==f.element.data("dialog-title")?f.dialogTitle=f.option.dialogTitle:f.dialogTitle=f.element.data("dialog-title"),void 0!==f.id&&(f.attrs.maxlength=m(f.id).attr("maxlength")),f.source=f.element.data("source-value"),void 0===f.source&&(f.source=m(f.id).val(),"ajax"==f.request||(f.value=WPGlobusCore.getTranslations(f.source))),f.option.dialog=m.extend({},f.option.dialogOptions,m(f.wpglobus_id).data("dialog")),""!=f.option.dialog.title&&(f.dialogTitle=f.option.dialog.title),m.each(f.value,function(t,a){var e=m("#wpglobus-dialog-"+t);e.val(a),e.attr("placeholder",WPGlobusCore.TextFilter(f.option.dialog.placeholder,t,"RETURN_IN_DEFAULT_LANGUAGE"))}),m("#wpglobus-dialog-form-footer").html(f.option.dialog.formFooter),f.runCallback(f.option.dialog.beforeOpen),f.dialog.dialog("open")},runCallback:function(t){if("object"==typeof t){var a=Object.keys(t)[0],e=t[Object.keys(t)[0]];"window"===a?"function"==typeof window[e]&&window[e](t[Object.keys(t)[1]]):"function"==typeof window[a][e]&&window[a][e](t[Object.keys(t)[1]])}else"string"==typeof t&&"function"==typeof window[t]&&window[t]()}}}(jQuery),jQuery(document).ready(function(){"use strict";var t,c;window.WPGlobusAdminApp=(t=window.WPGlobusAdminApp||{},c=jQuery,t.App=function(t){void 0===window.WPGlobusAdminApp&&(this.config={debug:!1,version:WPGlobusAdmin.version},this.status="ok","undefined"==typeof WPGlobusAdmin?(this.status="error",this.config.debug&&console.log("WPGlobus: error options loading")):this.config.debug&&console.dir(WPGlobusAdmin),this.config.disable_first_language=['<div id="disable_first_language" style="display:block;" class="redux-field-errors notice-red">',"<strong>","<span> </span>",WPGlobusAdmin.i18n.cannot_disable_language,"</strong>","</div>"].join(""),c.extend(this.config,t),"ok"===this.status&&this.init())},t.App.prototype={$document:c(document),init:function(){WPGlobusCoreData.multisite=this.parseBool(WPGlobusCoreData.multisite),this.adminInit(),c("#content").addClass("wpglobus-editor").attr("data-language",WPGlobusAdmin.data.default_language),c("textarea[id^=content_]").each(function(t,a){var e=c(a).attr("id").replace("content_","");c(a).attr("data-language",e)}),"post.php"===WPGlobusAdmin.page?(this.postEdit(),this.set_dialog(),"undefined"!=typeof WPGlobusAioseop&&WPGlobusAioseop.init()):"menu-edit"===WPGlobusAdmin.page?(WPGlobusDialogApp.init({dialogTitle:"Edit description"}),this.navMenus()):"taxonomy-edit"===WPGlobusAdmin.page?WPGlobusAdmin.data.tag_id&&this.taxonomyEdit():"taxonomy-quick-edit"===WPGlobusAdmin.page?this.quickEdit("taxonomy"):"edit.php"===WPGlobusAdmin.page?(this.quickEdit("post"),0<_.size(WPGlobusAdmin.$_get)&&WPGlobusDialogApp.init()):"options-general.php"==WPGlobusAdmin.page?(this.optionsGeneral(),WPGlobusDialogApp.init({customData:WPGlobusCoreData.page_custom_data})):"widgets.php"==WPGlobusAdmin.page?(WPGlobusWidgets.init(),WPGlobusDialogApp.init({dialogTitle:"Edit text"})):"wpglobus_options"==WPGlobusAdmin.page?this.start():"wpglobusAdminCentral"==WPGlobusAdmin.page?this.adminCentral():WPGlobusDialogApp.init({customData:WPGlobusCoreData.page_custom_data})},parseBool:function(t){return!/^(false|0)$/i.test(t)&&!!t},getCurrentTab:function(){return c(".wpglobus-post-body-tabs-list .ui-tabs-active").data("language")},adminInit:function(){var t=c(".wpglobus-addons-group a").data("key");if(void 0!==t)if(0<=window.location.search.indexOf("page=wpglobus_options&tab="+t))WPGlobusCoreData.multisite?window.location=WPGlobusCoreData.pluginInstallLocation.multisite:window.location=WPGlobusCoreData.pluginInstallLocation.single;else{var a=c("#toplevel_page_wpglobus_options li").eq(t+1);WPGlobusCoreData.multisite?c(a).find("a").attr("href",WPGlobusCoreData.pluginInstallLocation.multisite).attr("onclick","window.location=jQuery(this).attr('href');return false;"):c(a).find("a").attr("href",WPGlobusCoreData.pluginInstallLocation.single).attr("onclick","window.location=jQuery(this).attr('href');return false;")}},optionsGeneral:function(){var o=c("#blogname"),t=c("body");o.addClass("hidden"),c("#wpglobus-blogname").insertAfter(o).removeClass("hidden"),t.on("blur",".wpglobus-blogname",function(){c(".wpglobus-blogname").each(function(t,a){var e=c(a);o.val(WPGlobusCore.getString(o.val(),e.val(),e.data("language")))})});var n=c("#blogdescription");n.addClass("hidden"),c("#wpglobus-blogdescription").insertAfter(n).removeClass("hidden"),t.on("blur",".wpglobus-blogdesc",function(){c(".wpglobus-blogdesc").each(function(t,a){var e=c(a);n.val(WPGlobusCore.getString(n.val(),e.val(),e.data("language")))})})},quickEdit:function(n){if(void 0!==WPGlobusAdmin.data.has_items&&WPGlobusAdmin.data.has_items){var o="",l=0;c(document).ajaxComplete(function(t,a,e){void 0!==e.data&&""!=o&&0<=e.data.indexOf("action=inline-save-tax&")&&(c("#"+o+" a.row-title").text(WPGlobusAdmin.qedit_titles[l][WPGlobusAdmin.data.language].name),c("#"+o+" .description").text(WPGlobusAdmin.qedit_titles[l][WPGlobusAdmin.data.language].description))});var i={};c("#the-list tr").each(function(t,a){var e=c(a),o="post"===n?"post-":"tag-";l=e.attr("id").replace(o,""),i[l]={},"post"===n?i[l].source=e.find(".post_title").text():"taxonomy"===n&&(i[l].source=c("#inline_"+l+" .name").text())});var t={action:"get_titles"};t.type=n,t.taxonomy=void 0!==WPGlobusAdmin.data.taxonomy&&WPGlobusAdmin.data.taxonomy,t.title=i,c.ajax({type:"POST",url:WPGlobusAdmin.ajaxurl,data:{action:WPGlobusAdmin.process_ajax,order:t},dataType:"json"}).done(function(t){WPGlobusAdmin.qedit_titles=t.qedit_titles,c.each(t.bulkedit_post_titles,function(t,a){c("#inline_"+t+" .post_title").text(a[WPGlobusAdmin.data.language].name)})}).fail(function(t){}).always(function(t,a){}),c("body").on("change",".wpglobus-quick-edit-title",function(){var n="",i=[];c(".wpglobus-quick-edit-title").each(function(t,a){var e=c(a),o=e.data("language");""!==e.val()&&(n=WPGlobusCore.getString(n,e.val(),o)),WPGlobusAdmin.qedit_titles[l][o].name=e.val(),i[t]=o});var t=c(document).triggerHandler("wpglobus_get_translations",{string:n,lang:i,id:l});void 0!==t&&(n=t),c("input.ptitle").eq(0).attr("value",n),WPGlobusAdmin.qedit_titles[l].source=n}),void 0!==WPGlobusAdmin.data.tags&&c.each(WPGlobusAdmin.data.tags,function(t,a){WPGlobusAdmin.data.value[a].post_id={}}),c("button.save, input#bulk_edit").on("mouseenter",function(t){void 0!==WPGlobusAdmin.data.tags&&("bulk_edit"==t.currentTarget.id?c("input#bulk_edit").unbind("click"):c("button.save").unbind("click"),c("button.save, input#bulk_edit").on("click",function(a){var t=c.when(),e=(c(this),c.Deferred());e.resolve(function(t){t.next(".spinner").css({visibility:"visible"}),"bulk_edit"!=a.currentTarget.id&&c.ajaxSetup({async:!1});var o,n,i,l=t.parents("tr"),s=l.attr("id").replace("edit-","");c.each(WPGlobusAdmin.data.tags,function(t,a){if(0==(o=l.find("textarea[name='"+WPGlobusAdmin.data.names[a]+"']")).length)return!0;WPGlobusAdmin.data.value[a].post_id[s]=o.val(),n=WPGlobusAdmin.data.value[a].post_id[s].split(","),i=[];for(var e=0;e<n.length;e++)n[e]=n[e].trim(" "),""!=n[e]&&(void 0===WPGlobusAdmin.data.tag[a][n[e]]?i[e]=n[e]:i[e]=WPGlobusAdmin.data.tag[a][n[e]]);o.val(i.join(", "))})}(c(this))),t=t.then(function(){return c.when(e.done())}).then(function(){"bulk_edit"!=a.currentTarget.id&&setTimeout(function(){inlineEditPost.save(l),c.ajaxSetup({async:!0})},50)})}))}),c("#the-list").on("click",".editinline",function(){var t=c(this);if(o=t.parents("tr").attr("id"),"post"===n)l=o.replace("post-","");else{if("taxonomy"!==n)return;l=o.replace("tag-","")}"post"===n&&void 0!==WPGlobusAdmin.data.tags&&c.each(WPGlobusAdmin.data.tags,function(t,a){if(""!=WPGlobusAdmin.data.value[a]){var e,o=c("#edit-"+l+' textarea[name="'+WPGlobusAdmin.data.names[a]+'"]').val();void 0!==o&&(e=o.split(","),c.each(e,function(t,a){o=o.replace(a,WPGlobusCore.TextFilter(a,WPGlobusCoreData.language))}),c("#edit-"+l+' textarea[name="'+WPGlobusAdmin.data.names[a]+'"]').val(o))}});var a=c("#edit-"+l+" input.ptitle").eq(0),e=a.parents("label");a.val(WPGlobusAdmin.qedit_titles[l].source),a.addClass("hidden"),c(WPGlobusAdmin.data.template).insertAfter(e),void 0===WPGlobusAdmin.qedit_titles[l]&&(WPGlobusAdmin.qedit_titles[l]={},WPGlobusAdmin.qedit_titles[l].source=c("#"+o+" .name a.row-title").text(),c(WPGlobusAdmin.data.enabled_languages).each(function(t,a){WPGlobusAdmin.qedit_titles[l][a]={},a==WPGlobusAdmin.data.default_language?WPGlobusAdmin.qedit_titles[l][a].name=WPGlobusAdmin.qedit_titles[l].source:WPGlobusAdmin.qedit_titles[l][a].name="",WPGlobusAdmin.qedit_titles[l][a].description=""})),c(".wpglobus-quick-edit-title").each(function(t,a){var e=c(a),o=e.data("language");e.attr("id",o+l),void 0!==WPGlobusAdmin.qedit_titles[l][o]&&(WPGlobusAdmin.qedit_titles[l][o].name=WPGlobusAdmin.qedit_titles[l][o].name.replace(/\\\'/g,"'"),WPGlobusAdmin.qedit_titles[l][o].name=WPGlobusAdmin.qedit_titles[l][o].name.replace(/\\\"/g,'"'),e.attr("value",WPGlobusAdmin.qedit_titles[l][o].name),WPGlobusAdmin.qedit_titles[l].source=WPGlobusCore.getString(WPGlobusAdmin.qedit_titles[l].source,WPGlobusAdmin.qedit_titles[l][o].name,o))}),c("input.ptitle").eq(0).attr("value",WPGlobusAdmin.qedit_titles[l].source)})}},taxonomyEdit:function(){var a=[];a[0]="name",a[1]="description",c.each(WPGlobusCoreData.enabled_languages,function(t,e){c.each(a,function(t,a){!function(t,a){var e,o=c("#"+t),n=o.clone(),i=o.attr("name"),l="wpglobus-element wpglobus-element_"+t+" wpglobus-element_"+a+" wpglobus-translatable";e=(e=document.getElementById(t)).nodeName,c(n).attr("id",t+"_"+a),c(n).attr("name",i+"_"+a),a!==WPGlobusCoreData.default_language&&(l+=" hidden"),c(n).attr("class",l),c(n).attr("data-save-to",t),c(n).attr("data-language",a),"INPUT"==e?c(n).attr("value",c("#wpglobus-link-tab-"+a).data(t)):"TEXTAREA"==e&&c(n).text(c("#wpglobus-link-tab-"+a).data(t)),o.addClass("hidden"),0==c(".wpglobus-element_"+t).length?c(n).insertAfter(o):c(n).insertAfter(c(".wpglobus-element_"+t).last())}(a,e)})}),c(".wpglobus-taxonomy-tabs").insertAfter("#ajax-response"),c(".wrap").tabs(),c("body").on("click",".wpglobus-taxonomy-tabs li",function(t){var a=c(this).data("language");c(".wpglobus-element").addClass("hidden"),c(".wpglobus-element_"+a).removeClass("hidden")}),c(".wpglobus-element").on("change",function(){var n=c(this).data("save-to"),i="";c(".wpglobus-element").each(function(t,a){var e=c(a),o=e.val();e.data("save-to")==n&&""!==o&&(i+=WPGlobusCore.addLocaleMarks(o,e.data("language")))}),c("#"+n).val(i)}),c(WPGlobusAdmin.data.multilingualSlug.title).insertAfter(".term-slug-wrap th label")},navMenus:function(){function e(){n!==c(i).length&&(clearInterval(o),c(i).each(function(t,a){var e=c(a);if(!e.hasClass("wpglobus-menu-item")){var l=c(a).attr("id");c.each(["input.edit-menu-item-title","input.edit-menu-item-attr-title"],function(t,a){var e=c("#"+l+" "+a),o=c(e);if(!o.hasClass("wpglobus-hidden")){o.addClass("wpglobus-hidden"),o.css("display","none");var n=o.parent("label"),i=o.parents("p");c(i).css("height","80px"),c(n).append('<div style="color:#f00;">'+WPGlobusAdmin.i18n.save_nav_menu+"</div>")}}),e.addClass("wpglobus-menu-item")}}))}var o,n,i="#menu-to-edit .menu-item";c.ajaxSetup({beforeSend:function(t,a){void 0!==a.data&&0<=a.data.indexOf("action=add-menu-item")&&(n=c(i).length,o=setInterval(e,500))}}),c(i).each(function(t,a){var e=c(a).attr("id"),u=e.replace("menu-item-","");c.each(["input.edit-menu-item-title","input.edit-menu-item-attr-title"],function(n,i){var l=c("#"+e+" "+i);l.val()!=WPGlobusAdmin.data.items[u][i].source&&l.val(WPGlobusAdmin.data.items[u][i].source);var s=c("#"+e+" "+i).parents("p"),d=0;c.each(WPGlobusAdmin.data.open_languages,function(t,a){var e=l.clone();e.attr("id",l.attr("id")+"-"+a),e.attr("name",l.attr("id")+"-"+a),e.attr("data-language",a),e.attr("data-item-id",u),e.attr("placeholder",WPGlobusAdmin.data.en_language_name[a]);var o=WPGlobusAdmin.data.items[u][a][i].class;0===n&&a===WPGlobusAdmin.data.default_language?e.attr("class",o+" edit-menu-item-title"):e.attr("class",o),""!=WPGlobusAdmin.data.items[u][a][i].caption?e.attr("value",WPGlobusAdmin.data.items[u][a][i].caption):e.attr("value",""),e.css("margin-bottom","0.6em"),c(s).append(e),d=t}),d=40*(d+1),l.css("display","none").attr("class","").addClass("widefat wpglobus-hidden"),c(s).css("height",d+"px").addClass("wpglobus-menu-item-box")}),c(a).addClass("wpglobus-menu-item")}),c(".menus-move-left, .menus-move-right").each(function(t,a){var e,o=c(a),n=(o.parents("li").attr("id").replace("menu-item-",""),o.attr("title"));void 0!==n&&c.each(WPGlobusAdmin.data.post_titles,function(t,a){0<=n.indexOf(t)&&(e=n.replace(t,a),o.attr("title",e),o.text(e))})}),c(".edit-menu-item-title").trigger("change"),wpNavMenu.refreshAdvancedAccessibility(),wpNavMenu.menusChanged=!1,c(".wpglobus-menu-item").on("change",function(){var t,a,e=c(this),o=e.data("item-id");e.hasClass("wpglobus-item-title")&&(t=WPGlobusCore.getString(c("input#edit-menu-item-title-"+o).val(),e.val(),e.data("language")),void 0!==(a=c(document).triggerHandler("wpglobus_get_menu_translations",{string:t,lang:WPGlobusCoreData.open_languages,id:o,type:"input.edit-menu-item-title"}))&&(t=a),c("input#edit-menu-item-title-"+o).val(t)),e.hasClass("wpglobus-item-attr")&&(t=WPGlobusCore.getString(c("input#edit-menu-item-attr-title-"+o).val(),e.val(),e.data("language")),void 0!==(a=c(document).triggerHandler("wpglobus_get_menu_translations",{string:t,lang:WPGlobusCoreData.open_languages,id:o,type:"input.edit-menu-item-attr-title"}))&&(t=a),c("input#edit-menu-item-attr-title-"+o).val(t))});var a=[];setTimeout(function(){c(".edit-menu-item-description").each(function(){var t=c(this).attr("id");a.push(t),WPGlobusDialogApp.addElement(t)}),c(".wpglobus_dialog_start").each(function(){c(this).css({"font-style":"normal"}),c(this).after("<br />")});var t={action:"getNavMenuItemsDescription"};t.menuItems=a,c.ajax({type:"POST",url:WPGlobusAdmin.ajaxurl,data:{action:WPGlobusAdmin.process_ajax,order:t},dataType:"json"}).done(function(t){"object"==typeof t&&c.each(t,function(t,a){""!=a&&(c("#"+t).val(a),c("#wpglobus-"+t).val(WPGlobusCore.TextFilter(a,WPGlobus.language,"RETURN_EMPTY")))})}).fail(function(t){}).always(function(t,a){})},1e3)},postEdit:function(){c(document).on("heartbeat-send",function(t,o){void 0!==o.wp_autosave&&(o.wpglobus_heartbeat="wpglobus",c.each(WPGlobusAdmin.data.open_languages,function(t,a){var e=c("#title_"+a).val()||"";""!=(e=c.trim(e))&&(o.wp_autosave["post_title_"+a]=e),e=c("#content_"+a).val()||"",""!=(e=c.trim(e))&&(o.wp_autosave["content_"+a]=e)}))});var e="#postdivrich",o=!0,a="#post-body-content";if(!1===WPGlobusAdmin.data.support.editor&&(o=!(e="#titlediv")),!1===WPGlobusAdmin.data.support.title&&(o=!1),c(a).prepend(c(".wpglobus-post-body-tabs-list")),c.each(WPGlobusAdmin.tabs,function(t,a){"default"===a?(c(e).wrap('<div id="tab-default"></div>'),o&&c(c("#titlediv")).insertBefore(e)):(c(e+"-"+a).wrap('<div id="tab-'+a+'"></div>'),o&&c(c("#titlediv-"+a)).insertBefore(e+"-"+a))}),setTimeout(function(){var i=!1;c(a).addClass("wpglobus-post-body-tabs").tabs({beforeActivate:function(t,a){!function(){if(!i){var t=c("#wp-content-editor-container .mce-btn-group").eq(0),a=t.children("div");if(0!=t.length&&0!=a.length){var l=t.attr("style"),s=a.attr("style");c.each(WPGlobusCoreData.enabled_languages,function(t,a){if(a!=WPGlobusCoreData.default_language){var e=c("#wp-content_"+a+"-editor-container .mce-btn-group").eq(0),o=e.children("div");if(0==e.length||0==o.length)return!0;var n=e.attr("style"),i=o.attr("style");l!=n&&e.attr("style",l),s!=i&&o.attr("style",s)}}),i=!0}}}();var e=a.oldTab[0].id.replace("link-tab-",""),o=a.newTab[0].id.replace("link-tab-","");"default"==e&&(e=WPGlobusCoreData.default_language),"default"==o&&(o=WPGlobusCoreData.default_language);var n=c(document).triggerHandler("wpglobus_post_body_tabs",[e,o]);return!(!n&&void 0!==n)}})},500),c("#title").val(WPGlobusAdmin.title),c("#content").text(WPGlobusAdmin.content),"undefined"!=typeof WPGlobusVendor&&WPGlobusVendor.vendor.WPSEO&&("undefined"!=typeof wpglobus_wpseo?wpglobus_wpseo():"undefined"!=typeof WPGlobusYoastSeo&&("undefined"!=typeof WPGlobusYoastSeoPremium&&WPGlobusYoastSeoPremium&&WPGlobusYoastSeoPremium.init(),WPGlobusYoastSeo.init())),WPGlobusAdmin.data.modify_excerpt){var n=c("#excerpt");n.addClass("hidden").css({display:"none"}),c(WPGlobusAdmin.data.template).insertAfter(n),c("body").on("change",".wpglobus-excerpt",function(){var t=c(this);n.val(WPGlobusCore.getString(n.val(),t.val(),t.data("language")))})}if(void 0!==wp.utils&&void 0!==wp.utils.WordCounter){WPGlobusCoreData.wordCounter={};var l=this,s={};c.each(WPGlobusCoreData.enabled_languages,function(t,a){if(a==WPGlobusCoreData.default_language)return!0;var n,e,i;s[t]="content_"+a,n=jQuery,e=new wp.utils.WordCounter,i=a,WPGlobusCoreData.wordCounter[i]={},WPGlobusCoreData.wordCounter[i].counter=e,n(function(){function o(t){var a,e;"object"==typeof t&&(t="tinymce"==t?l.getCurrentTab():t.target.id.replace("content_","")),void 0!==WPGlobusCoreData.wordCounter[t]&&(a=!WPGlobusCoreData.wordCounter[t].contentEditor||WPGlobusCoreData.wordCounter[t].contentEditor.isHidden()?WPGlobusCoreData.wordCounter[t].content.val():WPGlobusCoreData.wordCounter[t].contentEditor.getContent({format:"raw"}),(e=WPGlobusCoreData.wordCounter[t].counter.count(a))!==WPGlobusCoreData.wordCounter[t].prevCount&&WPGlobusCoreData.wordCounter[t].count.text(e),WPGlobusCoreData.wordCounter[t].prevCount=e)}WPGlobusCoreData.wordCounter[i].content=n("#content_"+i),WPGlobusCoreData.wordCounter[i].count=n("#wp-word-count-"+i).find(".word-count-"+i),WPGlobusCoreData.wordCounter[i].prevCount=0,n(document).on("tinymce-editor-init",function(t,a){if(-1!=n.inArray(a.id,s)){var e=a.id.replace("content_","");(WPGlobusCoreData.wordCounter[e].contentEditor=a).on("nodechange keyup",_.debounce(o,1e3))}}),WPGlobusCoreData.wordCounter[i].content.on("input keyup",_.debounce(o,1e3)),o(i)})})}c(document).on("click","#publish, #save-post",function(){if(1<WPGlobusAdmin.data.open_languages.length){c(document).triggerHandler("wpglobus_before_save_post",{content_tabs_id:a});var t,e=c("#title").val(),o="",n="";0==e.length&&(t=WPGlobusAdmin.data.open_languages.indexOf(WPGlobusAdmin.data.default_language),WPGlobusAdmin.data.open_languages.splice(t,1),c(WPGlobusAdmin.data.open_languages).each(function(t,a){n=0==t?"":"-",0<(e=c("#title_"+a).val()).length&&(0==o.length&&(n=""),o=o+n+e)})),0<o.length&&c("#title").val(o)}void 0===WPGlobusAdmin.data.tagsdiv||WPGlobusAdmin.data.tagsdiv.length<1||c(WPGlobusAdmin.data.tagsdiv).each(function(t,a){if(0==c("#"+a).length)return!0;var e=a.replace("tagsdiv-","");if("undefined"===e)return!0;if(0==c("#tax-input-"+e).length)return!0;var o,n=[];c("#tagsdiv-"+e+" .tagchecklist li").each(function(t,a){o=(o=c(a).html()).replace(/<button.*<\/button> /,""),void 0===WPGlobusAdmin.data.tag[e][o]?n[t]=o:n[t]=WPGlobusAdmin.data.tag[e][o]}),c("#tax-input-"+e).val(n.join(", "))})}),c(".ui-state-default").on("click",function(){"link-tab-default"===c(this).attr("id")&&(c(window).scrollTop(c(window).scrollTop()+1),c(window).scrollTop(c(window).scrollTop()-1))}),c(document).on("tabsactivate",a,function(t,a){WPGlobusAdmin.currentTab=a.newTab[0].dataset.language}),c(document).triggerHandler("wpglobus_after_post_edit")},adminCentral:function(){c(".wpglobus-admin-central-tab").css({display:"none"}),1<c(".nav-tab-active").length&&c(".wpglobus-about-wrap .nav-tab-wrapper a").removeClass("nav-tab-active");var e=!0;0==location.hash.indexOf("#")&&c(".wpglobus-about-wrap .nav-tab-wrapper a").each(function(t,a){c(a).attr("href")==location.hash&&(e=!1,c(a).addClass("nav-tab-active"))}),e&&c(".wpglobus-about-wrap .nav-tab-wrapper a").eq(0).addClass("nav-tab-active");var t=c(".wpglobus-about-wrap .nav-tab-active").data("tab-id");""!=t&&c("#"+t).css({display:"block"}),c(document).on("click",".wpglobus-about-wrap .nav-tab",function(t){var a=c(this);a.hasClass("nav-tab-active")||(c(".wpglobus-admin-central-tab").css({display:"none"}),c(".wpglobus-about-wrap .nav-tab").removeClass("nav-tab-active"),a.addClass("nav-tab-active"),""!=a.data("tab-id")&&c("#"+a.data("tab-id")).css({display:"block"}))})},start:function(){var a=this;c("#wpglobus_flags").select2({formatResult:this.format,formatSelection:this.format,minimumResultsForSearch:-1,escapeMarkup:function(t){return t}}),c("body").on("click","#enabled_languages-list li:first input",function(t){return t.preventDefault(),c(".redux-save-warn").css({display:"none"}),c("#enabled_languages-list").find("li:first > input").val("1"),0===c("#disable_first_language").length&&c(a.config.disable_first_language).insertAfter("#info_bar"),!1})},format:function(t){return'<img class="wpglobus_flag" src="'+WPGlobusAdmin.flag_url+t.text+'"/> '+t.text},set_dialog:function(){if(void 0===WPGlobusAdmin.data.customFieldsEnabled||(WPGlobusAdmin.data.customFieldsEnabled=this.parseBool(WPGlobusAdmin.data.customFieldsEnabled),WPGlobusAdmin.data.customFieldsEnabled)){var o,a=!1,n=function(t){var s,d,u,r="wpglobus_dialog_start wpglobus_dialog_icon";u=['<div class="wpglobus_dialog_options_wrapper hidden">','<input style="width:initial;" id="wpglobus-cb-{{id}}" data-object="#wpglobus-dialog-start-{{id}}" data-meta-key="{{meta-key}}" class="wpglobus_dialog_option wpglobus_dialog_cb" type="checkbox" {{checked}} />',"</div>"].join(""),c(void 0===t?"#the-list tr":"#the-list tr#"+t).each(function(){var t,a,e,o=c(this),n=o.attr("id"),i=o.find("textarea"),l=r;if(void 0===(s=i.attr("id")))return!0;e=c("#"+n+"-key").val(),t=c("#"+s).clone(),c(i).addClass("wpglobus-dialog-field-source hidden"),a=i.attr("name"),c(t).attr("id","wpglobus-"+s),c(t).attr("name","wpglobus-"+a),c(t).attr("data-source-id",s),c(t).attr("class","wpglobus-dialog-field"),c(t).val(WPGlobusCore.TextFilter(c(i).val(),WPGlobusCoreData.language)),c(t).insertAfter(i),d=(d=u.replace(/{{id}}/g,s)).replace(/{{meta-key}}/g,e),void 0===WPGlobusAdmin.data.post_meta_settings[WPGlobusAdmin.data.post_type]?d=d.replace(/{{checked}}/,"checked"):l=void 0!==WPGlobusAdmin.data.post_meta_settings[WPGlobusAdmin.data.post_type][e]&&"false"==WPGlobusAdmin.data.post_meta_settings[WPGlobusAdmin.data.post_type][e]?(d=d.replace(/{{checked}}/,""),r+" wpglobus_dialog_start_hidden"):(d=d.replace(/{{checked}}/,"checked"),r),o.append('<td style="width:20px;"><div id="wpglobus-dialog-start-'+s+'" data-type="control" data-source-type="textarea" data-source-id="'+s+'" class="'+l+'"></div>'+d+"</td>")}),!a&&0<c("#list-table .wpglobus_dialog_start").length&&(c("#list-table thead tr").append('<th class="wpglobus-control-head"><div class="wpglobus_dialog_settings wpglobus_dialog_icon"></div></th>'),a=!0)};n(),c("body").on("change",".wpglobus-dialog-field",function(){var e,o,n=c(this),t="#"+n.data("source-id"),i="";e=c(t).val(),/(\{:|\[:|<!--:)[a-z]{2}/.test(e)?(c.each(WPGlobusCoreData.enabled_languages,function(t,a){""!=(o=a==WPGlobusCoreData.language?n.val():WPGlobusCore.TextFilter(e,a,"RETURN_EMPTY"))&&(i+=WPGlobusCore.addLocaleMarks(o,a))}),c(t).val(i)):c(t).val(n.val())}),c(document).ajaxSend(function(t,a,e){"add-meta"==e.action&&(o=e.element)}),c(document).ajaxComplete(function(t,a,e){"add-meta"==e.action&&void 0!==a.responseXML&&n("newmeta"==o?"meta-"+c(a.responseXML.documentElement.outerHTML).find("meta").attr("id"):o)}),WPGlobusDialogApp.init({dialogTitle:"Edit meta"})}}},new t.App,t)});
|
1 |
+
var WPGlobusCore,WPGlobusDialogApp;!function(i){var d;d=WPGlobusCore={strpos:function(t,a,e){var o=(t=""+t).indexOf(a,e);return 0<=o&&o},TextFilter:function(t,a,e){if(void 0===t||""===t)return t;var o,n,i=[],l=!1;a=""==a?"en":a,e=void 0===e||""==e?"RETURN_IN_DEFAULT_LANGUAGE":e,i[0]=[],i[0].start=WPGlobusCoreData.locale_tag_start.replace("%s",a),i[0].end=WPGlobusCoreData.locale_tag_end,i[1]=[],i[1].start="\x3c!--:"+a+"--\x3e",i[1].end="\x3c!--:--\x3e",i[2]=[],i[2].start="[:"+a+"]",i[2].end="[:";for(var s=0;s<3;s++)if(!1!==(o=d.strpos(t,i[s].start))){o+=i[s].start.length,t=!1===(n=d.strpos(t,i[s].end,o))?t.substr(o):t.substr(o,n-o),l=!0;break}return l||("RETURN_EMPTY"==e?a==WPGlobusCoreData.default_language&&!/(\{:|\[:|<!--:)[a-z]{2}/.test(t)||(t=""):a==WPGlobusCoreData.default_language?/(\{:|\[:|<!--:)[a-z]{2}/.test(t)&&(t=""):t=d.TextFilter(t,WPGlobusCoreData.default_language)),t},addLocaleMarks:function(t,a){return WPGlobusCoreData.locale_tag_start.replace("%s",a)+t+WPGlobusCoreData.locale_tag_end},getTranslations:function(e){var o,n={};return i.each(WPGlobusCoreData.enabled_languages,function(t,a){o=a==WPGlobusCoreData.default_language?"RETURN_IN_DEFAULT_LANGUAGE":"RETURN_EMPTY",n[a]=d.TextFilter(e,a,o)}),n},getString:function(t,a,e){if(void 0===t)return t;void 0===a&&(a=""),void 0===e&&(e=WPGlobusCoreData.language),(t=d.getTranslations(t))[e]=a;var o="";return i.each(t,function(t,a){""!=a&&t!=WPGlobusCoreData.default_language&&(o+=d.addLocaleMarks(a,t))}),""!=t[WPGlobusCoreData.default_language]&&(o=""==o?t[WPGlobusCoreData.default_language]:d.addLocaleMarks(t[WPGlobusCoreData.default_language],WPGlobusCoreData.default_language)+o),o}}}(jQuery),function(m){var f;f=WPGlobusDialogApp={option:{listenClass:".wpglobus_dialog_start",settingsClass:".wpglobus_dialog_settings",dialogTabs:"#wpglobus-dialog-tabs",dialogTitle:"",customData:null,callback:function(){},dialogOptions:{title:"",placeholder:"",formFooter:"",beforeOpen:function(){},afterSave:function(){},close:function(){}},dialog:{}},form:void 0,element:void 0,element_by:"id",id:"",clone_id:"",wpglobus_id:"",type:"textarea",source:"",order:{},value:{},request:"core",attrs:{},dialogTitle:"",trClass:"wpglobus-translatable",startButton:['<span id="wpglobus-dialog-start-{{clone_id}}" ','style="{{style}}" ','data-type="control" data-dialog-title="{{title}}" ','data-source-type="" data-source-id="{{id}}" data-source-name="{{name}}" ','data-nodename="{{nodename}}"',"{{sbTitle}} ",'class="{{classes}}"></span>'].join(""),startButtonClass:"wpglobus_dialog_start wpglobus_dialog_icon",clicks:0,init:function(t){f.option.dialog=f.option.dialogOptions,f.option=m.extend(f.option,t),m(f.option.dialogTabs).tabs(),f.dialogTitle=f.option.dialogTitle,this.attachListener(),null!=f.option.customData&&void 0!==f.option.customData.addElements&&m.each(f.option.customData.addElements,function(t,a){f.addElement(a)})},convertToId:function(t){return t=(t=t.replace(/\]/g,"")).replace(/\[/g,"-")},addElement:function(t){var a={id:null,style:"",styleTextareaWrapper:"",sbTitle:"",onChangeClass:"",dialogTitle:"",dialog:f.option.dialogOptions};if("string"==typeof t)a.id=t;else{if("object"!=typeof t)return;a=m.extend(a,t)}var e,o,n,i=null,l=null,s=null,d=null,u=f.startButton,r="";if(f.element_by="name",0==(d=document.getElementsByName(a.id)).length&&(f.element_by="id",d=document.getElementById(a.id)),null!==d){if(l=a.id,s=void 0===(i="id"==f.element_by?m("#"+l):(r=(r=d[0].nodeName).toLowerCase(),m(r+'[name="'+l+'"]'))).attr("name")||""==i.attr("name")?l:i.attr("name"),f.clone_id=f.convertToId(l),-1!=s.indexOf("wpglobus")||-1!=f.clone_id.indexOf("wpglobus"))return!1;if(0<m("#wpglobus-"+f.clone_id).length)return!1;if(0<m(r+'[name="wpglobus-'+s+'"]').length)return!1;e=m(i.clone()),n=i.attr("style")||"",i.attr("style","display:none;"),e.attr("id","wpglobus-"+f.clone_id).attr("name","wpglobus-"+s),e.addClass(f.trClass),""!=a.onChangeClass&&e.addClass(a.onChangeClass),"id"==f.element_by?e.attr("data-source-id",l).attr("data-source-name","").attr("data-source-get-by",f.element_by):e.attr("data-source-id","").attr("data-source-name",s).attr("data-source-get-by",f.element_by),"textarea"==r?(o=WPGlobusCore.getTranslations(i.val())[WPGlobusCoreData.language],e.val(o),e.attr("data-nodename","textarea"),""==a.style?e.attr("style",n+";width:95%;float:left;"):e.attr("style",n+";"+a.style)):(o=WPGlobusCore.getTranslations(i.val())[WPGlobusCoreData.language],e.attr("value",o),e.attr("data-nodename","input"),""!=a.style&&e.attr("style",n+";"+a.style)),""!=a.dialog&&e.attr("data-dialog",JSON.stringify(a.dialog)),u=u.replace(/{{clone_id}}/g,f.clone_id),u="id"==f.element_by?(u=(u=u.replace(/{{id}}/g,f.clone_id)).replace(/{{name}}/g,"")).replace(/{{nodename}}/g,""):(u=(u=u.replace(/{{id}}/g,"")).replace(/{{name}}/g,s)).replace(/{{nodename}}/g,r),u="textarea"==r?u.replace("{{style}}","float:left;margin-top:0;"):u.replace("{{style}}","");var c="textarea"==r?f.startButtonClass+" wpglobus-textarea wpglobus-textarea-"+f.clone_id:f.startButtonClass;u=u.replace("{{classes}}",c),u=""==a.dialogTitle?u.replace("{{title}}",f.dialogTitle):u.replace("{{title}}",a.dialogTitle),u=""==a.sbTitle?u.replace("{{sbTitle}}",a.sbTitle):u.replace("{{sbTitle}}",'title="'+a.sbTitle+'"'),m(u).insertAfter(i),m(e).insertAfter(i),"textarea"==r&&(m("#wpglobus-"+f.clone_id).addClass("wpglobus-textarea-"+f.clone_id),m(".wpglobus-textarea-"+f.clone_id).wrapAll('<div class="wpglobus-textarea-wrapper" style="'+a.styleTextareaWrapper+'"></div>'));var g,p=!1;if(""==a.onChangeClass)g="#wpglobus-"+f.clone_id;else{g="."+a.onChangeClass;var b=m._data(m(document)[0],"events");void 0===b?p=!0:void 0!==b.change&&m.each(b.change,function(t,a){if(a.selector==g)return!(p=!0)})}return p||m(document).on("change",g,function(){var t=m(this),a=t.data("source-id");a=""==a?t.data("nodename")+'[name="'+t.data("source-name")+'"]':"#"+a,m(a).val(WPGlobusCore.getString(m(a).val(),t.val()))}),!0}},saveDialog:function(){var e,o,n,i="",l="",s="";m(".wpglobus_dialog_textarea").each(function(t,a){e=m(a),o=e.val(),(n=e.data("language"))==WPGlobusAdmin.data.language&&(s=o),""!=o&&(i+=WPGlobusCore.addLocaleMarks(o,n),n==WPGlobusCoreData.default_language&&(l=o))}),i=i.length==l.length+8?l:i,m(f.id).val(i),i=""==s?l:s,m(f.wpglobus_id).val(i),f.runCallback(f.option.dialog.afterSave)},dialog:m("#wpglobus-dialog-wrapper").dialog({autoOpen:!1,width:650,modal:!0,dialogClass:"wpglobus-dialog",buttons:[{text:"Save",class:"wpglobus-button-save",click:function(){f.saveDialog(),f.dialog.dialog("close")}},{text:"Cancel",class:"wpglobus-button-cancel",click:function(){f.dialog.dialog("close")}}],open:function(t,a){var e=f.dialogTitle;void 0!==f.attrs.maxlength&&(m(".wpglobus_dialog_textarea").attr("maxlength",f.attrs.maxlength),e+=" | maxlength="+f.attrs.maxlength),m(".wpglobus-dialog .ui-dialog-title").text(e),m(this).removeClass("hidden")},close:function(){m(this).addClass("hidden"),f.runCallback(f.option.dialog.close),f.form[0].reset()}}),attachListener:function(){m(document).on("click",f.option.settingsClass,function(){m(".wpglobus_dialog_options_wrapper").hasClass("hidden")?m(".wpglobus_dialog_options_wrapper").removeClass("hidden"):m(".wpglobus_dialog_options_wrapper").addClass("hidden")}),m(document).on("click",".wpglobus_dialog_option",function(t){var a=m(this),e=a.data("object");f.order.action="save_post_meta_settings",f.order.post_type=WPGlobusAdmin.data.post_type,f.order.checked=a.prop("checked"),f.order.id=a.attr("id"),f.order.meta_key=a.data("meta-key"),f.ajax(f.order).done(function(t){"ok"==t.result&&("true"==t.checked?m(e).removeClass("wpglobus_dialog_start_hidden"):m(e).addClass("wpglobus_dialog_start_hidden"))}).fail(function(t){}).always(function(t,a){})}),m(document).on("click",f.option.listenClass,function(a){f.element=m(this),f.id=f.element.data("source-id"),""==f.id?(f.id=f.element.data("nodename")+'[name="'+f.element.data("source-name")+'"]',f.wpglobus_id="#wpglobus-"+f.convertToId(f.element.data("source-name"))):(f.wpglobus_id="#wpglobus-"+f.id,f.id="#"+f.id),f.clicks++,1==f.clicks&&setTimeout(function(){if(1==f.clicks)f.onClick(a);else{var t=m(f.id);t.hasClass("hidden")?t.removeClass("hidden").attr("style","display:block;"):t.addClass("hidden").attr("style","display:none;")}f.clicks=0},200)}),f.form=f.dialog.find("form#wpglobus-dialog-form").on("submit",function(t){t.preventDefault(),f.saveDialog()})},ajax:function(t){return m.ajax({type:"POST",url:WPGlobusAdmin.ajaxurl,data:{action:WPGlobusAdmin.process_ajax,order:t},dataType:"json",async:!1})},onClick:function(t){void 0===f.element.data("dialog-title")||""==f.element.data("dialog-title")?f.dialogTitle=f.option.dialogTitle:f.dialogTitle=f.element.data("dialog-title"),void 0!==f.id&&(f.attrs.maxlength=m(f.id).attr("maxlength")),f.source=f.element.data("source-value"),void 0===f.source&&(f.source=m(f.id).val(),"ajax"==f.request||(f.value=WPGlobusCore.getTranslations(f.source))),f.option.dialog=m.extend({},f.option.dialogOptions,m(f.wpglobus_id).data("dialog")),""!=f.option.dialog.title&&(f.dialogTitle=f.option.dialog.title),m.each(f.value,function(t,a){var e=m("#wpglobus-dialog-"+t);e.val(a),e.attr("placeholder",WPGlobusCore.TextFilter(f.option.dialog.placeholder,t,"RETURN_IN_DEFAULT_LANGUAGE"))}),m("#wpglobus-dialog-form-footer").html(f.option.dialog.formFooter),f.runCallback(f.option.dialog.beforeOpen),f.dialog.dialog("open")},runCallback:function(t){if("object"==typeof t){var a=Object.keys(t)[0],e=t[Object.keys(t)[0]];"window"===a?"function"==typeof window[e]&&window[e](t[Object.keys(t)[1]]):"function"==typeof window[a][e]&&window[a][e](t[Object.keys(t)[1]])}else"string"==typeof t?"function"==typeof window[t]&&window[t]():"function"==typeof t&&t()}}}(jQuery),jQuery(document).ready(function(){"use strict";var t,c;window.WPGlobusAdminApp=(t=window.WPGlobusAdminApp||{},c=jQuery,t.App=function(t){void 0===window.WPGlobusAdminApp&&(this.config={debug:!1,version:WPGlobusAdmin.version},this.status="ok","undefined"==typeof WPGlobusAdmin?(this.status="error",this.config.debug&&console.log("WPGlobus: error options loading")):this.config.debug&&console.dir(WPGlobusAdmin),this.config.disable_first_language=['<div id="disable_first_language" style="display:block;" class="redux-field-errors notice-red">',"<strong>","<span> </span>",WPGlobusAdmin.i18n.cannot_disable_language,"</strong>","</div>"].join(""),c.extend(this.config,t),"ok"===this.status&&this.init())},t.App.prototype={$document:c(document),init:function(){WPGlobusCoreData.multisite=this.parseBool(WPGlobusCoreData.multisite),this.adminInit(),c("#content").addClass("wpglobus-editor").attr("data-language",WPGlobusAdmin.data.default_language),c("textarea[id^=content_]").each(function(t,a){var e=c(a).attr("id").replace("content_","");c(a).attr("data-language",e)}),"post.php"===WPGlobusAdmin.page?(this.postEdit(),this.set_dialog(),"undefined"!=typeof WPGlobusAioseop&&WPGlobusAioseop.init()):"menu-edit"===WPGlobusAdmin.page?(WPGlobusDialogApp.init({dialogTitle:"Edit description"}),this.navMenus()):"taxonomy-edit"===WPGlobusAdmin.page?WPGlobusAdmin.data.tag_id&&this.taxonomyEdit():"taxonomy-quick-edit"===WPGlobusAdmin.page?this.quickEdit("taxonomy"):"edit.php"===WPGlobusAdmin.page?(this.quickEdit("post"),0<_.size(WPGlobusAdmin.$_get)&&WPGlobusDialogApp.init()):"options-general.php"==WPGlobusAdmin.page?(this.optionsGeneral(),WPGlobusDialogApp.init({customData:WPGlobusCoreData.page_custom_data})):"widgets.php"==WPGlobusAdmin.page?(WPGlobusWidgets.init(),WPGlobusDialogApp.init({dialogTitle:"Edit text"})):"wpglobus_options"==WPGlobusAdmin.page?this.start():"wpglobusAdminCentral"==WPGlobusAdmin.page?this.adminCentral():WPGlobusDialogApp.init({customData:WPGlobusCoreData.page_custom_data})},parseBool:function(t){return!/^(false|0)$/i.test(t)&&!!t},getCurrentTab:function(){return c(".wpglobus-post-body-tabs-list .ui-tabs-active").data("language")},adminInit:function(){var t=c(".wpglobus-addons-group a").data("key");if(void 0!==t)if(0<=window.location.search.indexOf("page=wpglobus_options&tab="+t))WPGlobusCoreData.multisite?window.location=WPGlobusCoreData.pluginInstallLocation.multisite:window.location=WPGlobusCoreData.pluginInstallLocation.single;else{var a=c("#toplevel_page_wpglobus_options li").eq(t+1);WPGlobusCoreData.multisite?c(a).find("a").attr("href",WPGlobusCoreData.pluginInstallLocation.multisite).attr("onclick","window.location=jQuery(this).attr('href');return false;"):c(a).find("a").attr("href",WPGlobusCoreData.pluginInstallLocation.single).attr("onclick","window.location=jQuery(this).attr('href');return false;")}},optionsGeneral:function(){var o=c("#blogname"),t=c("body");o.addClass("hidden"),c("#wpglobus-blogname").insertAfter(o).removeClass("hidden"),t.on("blur",".wpglobus-blogname",function(){c(".wpglobus-blogname").each(function(t,a){var e=c(a);o.val(WPGlobusCore.getString(o.val(),e.val(),e.data("language")))})});var n=c("#blogdescription");n.addClass("hidden"),c("#wpglobus-blogdescription").insertAfter(n).removeClass("hidden"),t.on("blur",".wpglobus-blogdesc",function(){c(".wpglobus-blogdesc").each(function(t,a){var e=c(a);n.val(WPGlobusCore.getString(n.val(),e.val(),e.data("language")))})})},quickEdit:function(n){if(void 0!==WPGlobusAdmin.data.has_items&&WPGlobusAdmin.data.has_items){var o="",l=0;c(document).ajaxComplete(function(t,a,e){void 0!==e.data&&""!=o&&0<=e.data.indexOf("action=inline-save-tax&")&&(c("#"+o+" a.row-title").text(WPGlobusAdmin.qedit_titles[l][WPGlobusAdmin.data.language].name),c("#"+o+" .description").text(WPGlobusAdmin.qedit_titles[l][WPGlobusAdmin.data.language].description))});var i={};c("#the-list tr").each(function(t,a){var e=c(a),o="post"===n?"post-":"tag-";l=e.attr("id").replace(o,""),i[l]={},"post"===n?i[l].source=e.find(".post_title").text():"taxonomy"===n&&(i[l].source=c("#inline_"+l+" .name").text())});var t={action:"get_titles"};t.type=n,t.taxonomy=void 0!==WPGlobusAdmin.data.taxonomy&&WPGlobusAdmin.data.taxonomy,t.title=i,c.ajax({type:"POST",url:WPGlobusAdmin.ajaxurl,data:{action:WPGlobusAdmin.process_ajax,order:t},dataType:"json"}).done(function(t){WPGlobusAdmin.qedit_titles=t.qedit_titles,c.each(t.bulkedit_post_titles,function(t,a){c("#inline_"+t+" .post_title").text(a[WPGlobusAdmin.data.language].name)})}).fail(function(t){}).always(function(t,a){}),c("body").on("change",".wpglobus-quick-edit-title",function(){var n="",i=[];c(".wpglobus-quick-edit-title").each(function(t,a){var e=c(a),o=e.data("language");""!==e.val()&&(n=WPGlobusCore.getString(n,e.val(),o)),WPGlobusAdmin.qedit_titles[l][o].name=e.val(),i[t]=o});var t=c(document).triggerHandler("wpglobus_get_translations",{string:n,lang:i,id:l});void 0!==t&&(n=t),c("input.ptitle").eq(0).attr("value",n),WPGlobusAdmin.qedit_titles[l].source=n}),void 0!==WPGlobusAdmin.data.tags&&c.each(WPGlobusAdmin.data.tags,function(t,a){WPGlobusAdmin.data.value[a].post_id={}}),c("button.save, input#bulk_edit").on("mouseenter",function(t){void 0!==WPGlobusAdmin.data.tags&&("bulk_edit"==t.currentTarget.id?c("input#bulk_edit").unbind("click"):c("button.save").unbind("click"),c("button.save, input#bulk_edit").on("click",function(a){var t=c.when(),e=(c(this),c.Deferred());e.resolve(function(t){t.next(".spinner").css({visibility:"visible"}),"bulk_edit"!=a.currentTarget.id&&c.ajaxSetup({async:!1});var o,n,i,l=t.parents("tr"),s=l.attr("id").replace("edit-","");c.each(WPGlobusAdmin.data.tags,function(t,a){if(0==(o=l.find("textarea[name='"+WPGlobusAdmin.data.names[a]+"']")).length)return!0;WPGlobusAdmin.data.value[a].post_id[s]=o.val(),n=WPGlobusAdmin.data.value[a].post_id[s].split(","),i=[];for(var e=0;e<n.length;e++)n[e]=n[e].trim(" "),""!=n[e]&&(void 0===WPGlobusAdmin.data.tag[a][n[e]]?i[e]=n[e]:i[e]=WPGlobusAdmin.data.tag[a][n[e]]);o.val(i.join(", "))})}(c(this))),t=t.then(function(){return c.when(e.done())}).then(function(){"bulk_edit"!=a.currentTarget.id&&setTimeout(function(){inlineEditPost.save(l),c.ajaxSetup({async:!0})},50)})}))}),c("#the-list").on("click",".editinline",function(){var t=c(this);if(o=t.parents("tr").attr("id"),"post"===n)l=o.replace("post-","");else{if("taxonomy"!==n)return;l=o.replace("tag-","")}"post"===n&&void 0!==WPGlobusAdmin.data.tags&&c.each(WPGlobusAdmin.data.tags,function(t,a){if(""!=WPGlobusAdmin.data.value[a]){var e,o=c("#edit-"+l+' textarea[name="'+WPGlobusAdmin.data.names[a]+'"]').val();void 0!==o&&(e=o.split(","),c.each(e,function(t,a){o=o.replace(a,WPGlobusCore.TextFilter(a,WPGlobusCoreData.language))}),c("#edit-"+l+' textarea[name="'+WPGlobusAdmin.data.names[a]+'"]').val(o))}});var a=c("#edit-"+l+" input.ptitle").eq(0),e=a.parents("label");a.val(WPGlobusAdmin.qedit_titles[l].source),a.addClass("hidden"),c(WPGlobusAdmin.data.template).insertAfter(e),void 0===WPGlobusAdmin.qedit_titles[l]&&(WPGlobusAdmin.qedit_titles[l]={},WPGlobusAdmin.qedit_titles[l].source=c("#"+o+" .name a.row-title").text(),c(WPGlobusAdmin.data.enabled_languages).each(function(t,a){WPGlobusAdmin.qedit_titles[l][a]={},a==WPGlobusAdmin.data.default_language?WPGlobusAdmin.qedit_titles[l][a].name=WPGlobusAdmin.qedit_titles[l].source:WPGlobusAdmin.qedit_titles[l][a].name="",WPGlobusAdmin.qedit_titles[l][a].description=""})),c(".wpglobus-quick-edit-title").each(function(t,a){var e=c(a),o=e.data("language");e.attr("id",o+l),void 0!==WPGlobusAdmin.qedit_titles[l][o]&&(WPGlobusAdmin.qedit_titles[l][o].name=WPGlobusAdmin.qedit_titles[l][o].name.replace(/\\\'/g,"'"),WPGlobusAdmin.qedit_titles[l][o].name=WPGlobusAdmin.qedit_titles[l][o].name.replace(/\\\"/g,'"'),e.attr("value",WPGlobusAdmin.qedit_titles[l][o].name),WPGlobusAdmin.qedit_titles[l].source=WPGlobusCore.getString(WPGlobusAdmin.qedit_titles[l].source,WPGlobusAdmin.qedit_titles[l][o].name,o))}),c("input.ptitle").eq(0).attr("value",WPGlobusAdmin.qedit_titles[l].source)})}},taxonomyEdit:function(){var a=[];a[0]="name",a[1]="description",c.each(WPGlobusCoreData.enabled_languages,function(t,e){c.each(a,function(t,a){!function(t,a){var e,o=c("#"+t),n=o.clone(),i=o.attr("name"),l="wpglobus-element wpglobus-element_"+t+" wpglobus-element_"+a+" wpglobus-translatable";e=(e=document.getElementById(t)).nodeName,c(n).attr("id",t+"_"+a),c(n).attr("name",i+"_"+a),a!==WPGlobusCoreData.default_language&&(l+=" hidden"),c(n).attr("class",l),c(n).attr("data-save-to",t),c(n).attr("data-language",a),"INPUT"==e?c(n).attr("value",c("#wpglobus-link-tab-"+a).data(t)):"TEXTAREA"==e&&c(n).text(c("#wpglobus-link-tab-"+a).data(t)),o.addClass("hidden"),0==c(".wpglobus-element_"+t).length?c(n).insertAfter(o):c(n).insertAfter(c(".wpglobus-element_"+t).last())}(a,e)})}),c(".wpglobus-taxonomy-tabs").insertAfter("#ajax-response"),c(".wrap").tabs(),c("body").on("click",".wpglobus-taxonomy-tabs li",function(t){var a=c(this).data("language");c(".wpglobus-element").addClass("hidden"),c(".wpglobus-element_"+a).removeClass("hidden")}),c(".wpglobus-element").on("change",function(){var n=c(this).data("save-to"),i="";c(".wpglobus-element").each(function(t,a){var e=c(a),o=e.val();e.data("save-to")==n&&""!==o&&(i+=WPGlobusCore.addLocaleMarks(o,e.data("language")))}),c("#"+n).val(i)}),c(WPGlobusAdmin.data.multilingualSlug.title).insertAfter(".term-slug-wrap th label")},navMenus:function(){function e(){n!==c(i).length&&(clearInterval(o),c(i).each(function(t,a){var e=c(a);if(!e.hasClass("wpglobus-menu-item")){var l=c(a).attr("id");c.each(["input.edit-menu-item-title","input.edit-menu-item-attr-title"],function(t,a){var e=c("#"+l+" "+a),o=c(e);if(!o.hasClass("wpglobus-hidden")){o.addClass("wpglobus-hidden"),o.css("display","none");var n=o.parent("label"),i=o.parents("p");c(i).css("height","80px"),c(n).append('<div style="color:#f00;">'+WPGlobusAdmin.i18n.save_nav_menu+"</div>")}}),e.addClass("wpglobus-menu-item")}}))}var o,n,i="#menu-to-edit .menu-item";c.ajaxSetup({beforeSend:function(t,a){void 0!==a.data&&0<=a.data.indexOf("action=add-menu-item")&&(n=c(i).length,o=setInterval(e,500))}}),c(i).each(function(t,a){var e=c(a).attr("id"),u=e.replace("menu-item-","");c.each(["input.edit-menu-item-title","input.edit-menu-item-attr-title"],function(n,i){var l=c("#"+e+" "+i);l.val()!=WPGlobusAdmin.data.items[u][i].source&&l.val(WPGlobusAdmin.data.items[u][i].source);var s=c("#"+e+" "+i).parents("p"),d=0;c.each(WPGlobusAdmin.data.open_languages,function(t,a){var e=l.clone();e.attr("id",l.attr("id")+"-"+a),e.attr("name",l.attr("id")+"-"+a),e.attr("data-language",a),e.attr("data-item-id",u),e.attr("placeholder",WPGlobusAdmin.data.en_language_name[a]);var o=WPGlobusAdmin.data.items[u][a][i].class;0===n&&a===WPGlobusAdmin.data.default_language?e.attr("class",o+" edit-menu-item-title"):e.attr("class",o),""!=WPGlobusAdmin.data.items[u][a][i].caption?e.attr("value",WPGlobusAdmin.data.items[u][a][i].caption):e.attr("value",""),e.css("margin-bottom","0.6em"),c(s).append(e),d=t}),d=40*(d+1),l.css("display","none").attr("class","").addClass("widefat wpglobus-hidden"),c(s).css("height",d+"px").addClass("wpglobus-menu-item-box")}),c(a).addClass("wpglobus-menu-item")}),c(".menus-move-left, .menus-move-right").each(function(t,a){var e,o=c(a),n=(o.parents("li").attr("id").replace("menu-item-",""),o.attr("title"));void 0!==n&&c.each(WPGlobusAdmin.data.post_titles,function(t,a){0<=n.indexOf(t)&&(e=n.replace(t,a),o.attr("title",e),o.text(e))})}),c(".edit-menu-item-title").trigger("change"),wpNavMenu.refreshAdvancedAccessibility(),wpNavMenu.menusChanged=!1,c(".wpglobus-menu-item").on("change",function(){var t,a,e=c(this),o=e.data("item-id");e.hasClass("wpglobus-item-title")&&(t=WPGlobusCore.getString(c("input#edit-menu-item-title-"+o).val(),e.val(),e.data("language")),void 0!==(a=c(document).triggerHandler("wpglobus_get_menu_translations",{string:t,lang:WPGlobusCoreData.open_languages,id:o,type:"input.edit-menu-item-title"}))&&(t=a),c("input#edit-menu-item-title-"+o).val(t)),e.hasClass("wpglobus-item-attr")&&(t=WPGlobusCore.getString(c("input#edit-menu-item-attr-title-"+o).val(),e.val(),e.data("language")),void 0!==(a=c(document).triggerHandler("wpglobus_get_menu_translations",{string:t,lang:WPGlobusCoreData.open_languages,id:o,type:"input.edit-menu-item-attr-title"}))&&(t=a),c("input#edit-menu-item-attr-title-"+o).val(t))});var a=[];setTimeout(function(){c(".edit-menu-item-description").each(function(){var t=c(this).attr("id");a.push(t),WPGlobusDialogApp.addElement(t)}),c(".wpglobus_dialog_start").each(function(){c(this).css({"font-style":"normal"}),c(this).after("<br />")});var t={action:"getNavMenuItemsDescription"};t.menuItems=a,c.ajax({type:"POST",url:WPGlobusAdmin.ajaxurl,data:{action:WPGlobusAdmin.process_ajax,order:t},dataType:"json"}).done(function(t){"object"==typeof t&&c.each(t,function(t,a){""!=a&&(c("#"+t).val(a),c("#wpglobus-"+t).val(WPGlobusCore.TextFilter(a,WPGlobus.language,"RETURN_EMPTY")))})}).fail(function(t){}).always(function(t,a){})},1e3)},postEdit:function(){c(document).on("heartbeat-send",function(t,o){void 0!==o.wp_autosave&&(o.wpglobus_heartbeat="wpglobus",c.each(WPGlobusAdmin.data.open_languages,function(t,a){var e=c("#title_"+a).val()||"";""!=(e=c.trim(e))&&(o.wp_autosave["post_title_"+a]=e),e=c("#content_"+a).val()||"",""!=(e=c.trim(e))&&(o.wp_autosave["content_"+a]=e)}))});var e="#postdivrich",o=!0,a="#post-body-content";if(!1===WPGlobusAdmin.data.support.editor&&(o=!(e="#titlediv")),!1===WPGlobusAdmin.data.support.title&&(o=!1),c(a).prepend(c(".wpglobus-post-body-tabs-list")),c.each(WPGlobusAdmin.tabs,function(t,a){"default"===a?(c(e).wrap('<div id="tab-default"></div>'),o&&c(c("#titlediv")).insertBefore(e)):(c(e+"-"+a).wrap('<div id="tab-'+a+'"></div>'),o&&c(c("#titlediv-"+a)).insertBefore(e+"-"+a))}),setTimeout(function(){var i=!1;c(a).addClass("wpglobus-post-body-tabs").tabs({beforeActivate:function(t,a){!function(){if(!i){var t=c("#wp-content-editor-container .mce-btn-group").eq(0),a=t.children("div");if(0!=t.length&&0!=a.length){var l=t.attr("style"),s=a.attr("style");c.each(WPGlobusCoreData.enabled_languages,function(t,a){if(a!=WPGlobusCoreData.default_language){var e=c("#wp-content_"+a+"-editor-container .mce-btn-group").eq(0),o=e.children("div");if(0==e.length||0==o.length)return!0;var n=e.attr("style"),i=o.attr("style");l!=n&&e.attr("style",l),s!=i&&o.attr("style",s)}}),i=!0}}}();var e=a.oldTab[0].id.replace("link-tab-",""),o=a.newTab[0].id.replace("link-tab-","");"default"==e&&(e=WPGlobusCoreData.default_language),"default"==o&&(o=WPGlobusCoreData.default_language);var n=c(document).triggerHandler("wpglobus_post_body_tabs",[e,o]);return!(!n&&void 0!==n)}})},500),c("#title").val(WPGlobusAdmin.title),c("#content").text(WPGlobusAdmin.content),"undefined"!=typeof WPGlobusVendor&&WPGlobusVendor.vendor.WPSEO&&("undefined"!=typeof wpglobus_wpseo?wpglobus_wpseo():"undefined"!=typeof WPGlobusYoastSeo&&("undefined"!=typeof WPGlobusYoastSeoPremium&&WPGlobusYoastSeoPremium&&WPGlobusYoastSeoPremium.init(),WPGlobusYoastSeo.init())),WPGlobusAdmin.data.modify_excerpt){var n=c("#excerpt");n.addClass("hidden").css({display:"none"}),c(WPGlobusAdmin.data.template).insertAfter(n),c("body").on("change",".wpglobus-excerpt",function(){var t=c(this);n.val(WPGlobusCore.getString(n.val(),t.val(),t.data("language")))})}if(void 0!==wp.utils&&void 0!==wp.utils.WordCounter){WPGlobusCoreData.wordCounter={};var l=this,s={};c.each(WPGlobusCoreData.enabled_languages,function(t,a){if(a==WPGlobusCoreData.default_language)return!0;var n,e,i;s[t]="content_"+a,n=jQuery,e=new wp.utils.WordCounter,i=a,WPGlobusCoreData.wordCounter[i]={},WPGlobusCoreData.wordCounter[i].counter=e,n(function(){function o(t){var a,e;"object"==typeof t&&(t="tinymce"==t?l.getCurrentTab():t.target.id.replace("content_","")),void 0!==WPGlobusCoreData.wordCounter[t]&&(a=!WPGlobusCoreData.wordCounter[t].contentEditor||WPGlobusCoreData.wordCounter[t].contentEditor.isHidden()?WPGlobusCoreData.wordCounter[t].content.val():WPGlobusCoreData.wordCounter[t].contentEditor.getContent({format:"raw"}),(e=WPGlobusCoreData.wordCounter[t].counter.count(a))!==WPGlobusCoreData.wordCounter[t].prevCount&&WPGlobusCoreData.wordCounter[t].count.text(e),WPGlobusCoreData.wordCounter[t].prevCount=e)}WPGlobusCoreData.wordCounter[i].content=n("#content_"+i),WPGlobusCoreData.wordCounter[i].count=n("#wp-word-count-"+i).find(".word-count-"+i),WPGlobusCoreData.wordCounter[i].prevCount=0,n(document).on("tinymce-editor-init",function(t,a){if(-1!=n.inArray(a.id,s)){var e=a.id.replace("content_","");(WPGlobusCoreData.wordCounter[e].contentEditor=a).on("nodechange keyup",_.debounce(o,1e3))}}),WPGlobusCoreData.wordCounter[i].content.on("input keyup",_.debounce(o,1e3)),o(i)})})}c(document).on("click","#publish, #save-post",function(){if(1<WPGlobusAdmin.data.open_languages.length){c(document).triggerHandler("wpglobus_before_save_post",{content_tabs_id:a});var t,e=c("#title").val(),o="",n="";0==e.length&&(t=WPGlobusAdmin.data.open_languages.indexOf(WPGlobusAdmin.data.default_language),WPGlobusAdmin.data.open_languages.splice(t,1),c(WPGlobusAdmin.data.open_languages).each(function(t,a){n=0==t?"":"-",0<(e=c("#title_"+a).val()).length&&(0==o.length&&(n=""),o=o+n+e)})),0<o.length&&c("#title").val(o)}void 0===WPGlobusAdmin.data.tagsdiv||WPGlobusAdmin.data.tagsdiv.length<1||c(WPGlobusAdmin.data.tagsdiv).each(function(t,a){if(0==c("#"+a).length)return!0;var e=a.replace("tagsdiv-","");if("undefined"===e)return!0;if(0==c("#tax-input-"+e).length)return!0;var o,n=[];c("#tagsdiv-"+e+" .tagchecklist li").each(function(t,a){o=(o=c(a).html()).replace(/<button.*<\/button> /,""),void 0===WPGlobusAdmin.data.tag[e][o]?n[t]=o:n[t]=WPGlobusAdmin.data.tag[e][o]}),c("#tax-input-"+e).val(n.join(", "))})}),c(".ui-state-default").on("click",function(){"link-tab-default"===c(this).attr("id")&&(c(window).scrollTop(c(window).scrollTop()+1),c(window).scrollTop(c(window).scrollTop()-1))}),c(document).on("tabsactivate",a,function(t,a){WPGlobusAdmin.currentTab=a.newTab[0].dataset.language}),c(document).triggerHandler("wpglobus_after_post_edit")},adminCentral:function(){c(".wpglobus-admin-central-tab").css({display:"none"}),1<c(".nav-tab-active").length&&c(".wpglobus-about-wrap .nav-tab-wrapper a").removeClass("nav-tab-active");var e=!0;0==location.hash.indexOf("#")&&c(".wpglobus-about-wrap .nav-tab-wrapper a").each(function(t,a){c(a).attr("href")==location.hash&&(e=!1,c(a).addClass("nav-tab-active"))}),e&&c(".wpglobus-about-wrap .nav-tab-wrapper a").eq(0).addClass("nav-tab-active");var t=c(".wpglobus-about-wrap .nav-tab-active").data("tab-id");""!=t&&c("#"+t).css({display:"block"}),c(document).on("click",".wpglobus-about-wrap .nav-tab",function(t){var a=c(this);a.hasClass("nav-tab-active")||(c(".wpglobus-admin-central-tab").css({display:"none"}),c(".wpglobus-about-wrap .nav-tab").removeClass("nav-tab-active"),a.addClass("nav-tab-active"),""!=a.data("tab-id")&&c("#"+a.data("tab-id")).css({display:"block"}))})},start:function(){var a=this;c("#wpglobus_flags").select2({formatResult:this.format,formatSelection:this.format,minimumResultsForSearch:-1,escapeMarkup:function(t){return t}}),c("body").on("click","#enabled_languages-list li:first input",function(t){return t.preventDefault(),c(".redux-save-warn").css({display:"none"}),c("#enabled_languages-list").find("li:first > input").val("1"),0===c("#disable_first_language").length&&c(a.config.disable_first_language).insertAfter("#info_bar"),!1})},format:function(t){return'<img class="wpglobus_flag" src="'+WPGlobusAdmin.flag_url+t.text+'"/> '+t.text},set_dialog:function(){if(void 0===WPGlobusAdmin.data.customFieldsEnabled||(WPGlobusAdmin.data.customFieldsEnabled=this.parseBool(WPGlobusAdmin.data.customFieldsEnabled),WPGlobusAdmin.data.customFieldsEnabled)){var o,a=!1,n=function(t){var s,d,u,r="wpglobus_dialog_start wpglobus_dialog_icon";u=['<div class="wpglobus_dialog_options_wrapper hidden">','<input style="width:initial;" id="wpglobus-cb-{{id}}" data-object="#wpglobus-dialog-start-{{id}}" data-meta-key="{{meta-key}}" class="wpglobus_dialog_option wpglobus_dialog_cb" type="checkbox" {{checked}} />',"</div>"].join(""),c(void 0===t?"#the-list tr":"#the-list tr#"+t).each(function(){var t,a,e,o=c(this),n=o.attr("id"),i=o.find("textarea"),l=r;if(void 0===(s=i.attr("id")))return!0;e=c("#"+n+"-key").val(),t=c("#"+s).clone(),c(i).addClass("wpglobus-dialog-field-source hidden"),a=i.attr("name"),c(t).attr("id","wpglobus-"+s),c(t).attr("name","wpglobus-"+a),c(t).attr("data-source-id",s),c(t).attr("class","wpglobus-dialog-field"),c(t).val(WPGlobusCore.TextFilter(c(i).val(),WPGlobusCoreData.language)),c(t).insertAfter(i),d=(d=u.replace(/{{id}}/g,s)).replace(/{{meta-key}}/g,e),void 0===WPGlobusAdmin.data.post_meta_settings[WPGlobusAdmin.data.post_type]?d=d.replace(/{{checked}}/,"checked"):l=void 0!==WPGlobusAdmin.data.post_meta_settings[WPGlobusAdmin.data.post_type][e]&&"false"==WPGlobusAdmin.data.post_meta_settings[WPGlobusAdmin.data.post_type][e]?(d=d.replace(/{{checked}}/,""),r+" wpglobus_dialog_start_hidden"):(d=d.replace(/{{checked}}/,"checked"),r),o.append('<td style="width:20px;"><div id="wpglobus-dialog-start-'+s+'" data-type="control" data-source-type="textarea" data-source-id="'+s+'" class="'+l+'"></div>'+d+"</td>")}),!a&&0<c("#list-table .wpglobus_dialog_start").length&&(c("#list-table thead tr").append('<th class="wpglobus-control-head"><div class="wpglobus_dialog_settings wpglobus_dialog_icon"></div></th>'),a=!0)};n(),c("body").on("change",".wpglobus-dialog-field",function(){var e,o,n=c(this),t="#"+n.data("source-id"),i="";e=c(t).val(),/(\{:|\[:|<!--:)[a-z]{2}/.test(e)?(c.each(WPGlobusCoreData.enabled_languages,function(t,a){""!=(o=a==WPGlobusCoreData.language?n.val():WPGlobusCore.TextFilter(e,a,"RETURN_EMPTY"))&&(i+=WPGlobusCore.addLocaleMarks(o,a))}),c(t).val(i)):c(t).val(n.val())}),c(document).ajaxSend(function(t,a,e){"add-meta"==e.action&&(o=e.element)}),c(document).ajaxComplete(function(t,a,e){"add-meta"==e.action&&void 0!==a.responseXML&&n("newmeta"==o?"meta-"+c(a.responseXML.documentElement.outerHTML).find("meta").attr("id"):o)}),WPGlobusDialogApp.init({dialogTitle:"Edit meta"})}}},new t.App,t)});
|
includes/js/wpglobus-yoastseo-120.js
ADDED
@@ -0,0 +1,151 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* WPGlobus for YoastSeo 12
|
3 |
+
* Interface JS functions
|
4 |
+
*
|
5 |
+
* @since 2.2.20
|
6 |
+
*
|
7 |
+
* @package WPGlobus
|
8 |
+
*/
|
9 |
+
/*jslint browser: true*/
|
10 |
+
/*global jQuery, console, wpseoReplaceVarsL10n, WPGlobusVendor, WPGlobusCoreData*/
|
11 |
+
|
12 |
+
jQuery(document).ready( function ($) {
|
13 |
+
'use strict';
|
14 |
+
|
15 |
+
if ( typeof wpseoReplaceVarsL10n === 'undefined' ) {
|
16 |
+
return;
|
17 |
+
}
|
18 |
+
|
19 |
+
if ( typeof WPGlobusCoreData === 'undefined' ) {
|
20 |
+
return;
|
21 |
+
}
|
22 |
+
|
23 |
+
if ( typeof WPGlobusVendor === 'undefined' ) {
|
24 |
+
return;
|
25 |
+
}
|
26 |
+
|
27 |
+
var api = {
|
28 |
+
initSeoAnalysis: false,
|
29 |
+
initReadability: false,
|
30 |
+
parseBool: function(b) {
|
31 |
+
return !(/^(false|0)$/i).test(b) && !!b;
|
32 |
+
},
|
33 |
+
moduleState: function(){
|
34 |
+
if ( 'string' === typeof WPGlobusYoastSeo.plus_module ) {
|
35 |
+
if ( '' != WPGlobusYoastSeo.plus_module ) {
|
36 |
+
return WPGlobusYoastSeo.plus_module;
|
37 |
+
}
|
38 |
+
}
|
39 |
+
return api.parseBool(WPGlobusYoastSeo.plus_access);
|
40 |
+
},
|
41 |
+
isPremium: function(){
|
42 |
+
return WPGlobusVendor.vendor['WPSEO_PREMIUM'];
|
43 |
+
},
|
44 |
+
isDefaultLanguage: function(){
|
45 |
+
return api.parseBool(WPGlobusYoastSeo.is_default_language);
|
46 |
+
},
|
47 |
+
getSuggest: function(type){
|
48 |
+
var suggest = '';
|
49 |
+
if ( 'undefined' === typeof type ) {
|
50 |
+
return suggest;
|
51 |
+
}
|
52 |
+
if ( 'inactive' === api.moduleState() ) {
|
53 |
+
if ( 'keyword' == type ) {
|
54 |
+
suggest = WPGlobusVendor.i18n.yoastseo_plus_meta_keywords_inactive;
|
55 |
+
} else if( 'analysis' == type ) {
|
56 |
+
suggest = WPGlobusVendor.i18n.yoastseo_plus_page_analysis_inactive;
|
57 |
+
} else if( 'readability' == type ) {
|
58 |
+
suggest = WPGlobusVendor.i18n.yoastseo_plus_readability_inactive;
|
59 |
+
}
|
60 |
+
} else if( 'boolean' == typeof api.moduleState() && ! api.moduleState() ) {
|
61 |
+
if ( 'keyword' == type ) {
|
62 |
+
suggest = WPGlobusVendor.i18n.yoastseo_plus_meta_keywords_access;
|
63 |
+
} else if( 'analysis' == type ) {
|
64 |
+
suggest = WPGlobusVendor.i18n.yoastseo_plus_page_analysis_access;
|
65 |
+
} else if( 'readability' == type ) {
|
66 |
+
suggest = WPGlobusVendor.i18n.yoastseo_plus_readability_access;
|
67 |
+
}
|
68 |
+
}
|
69 |
+
suggest = '<div class="wpglobus-suggest" style="font-weight:bold;border:1px solid rgb(221, 221, 221);height:35px;width:90%;padding:8px 10px;">'+suggest+'</div>';
|
70 |
+
return suggest;
|
71 |
+
},
|
72 |
+
init: function() {
|
73 |
+
api.start();
|
74 |
+
},
|
75 |
+
start: function() {
|
76 |
+
if ( ! api.isDefaultLanguage() ) {
|
77 |
+
api.setMetaBoxTitle();
|
78 |
+
if ( 'inactive' == api.moduleState() || ! api.moduleState() ) {
|
79 |
+
api.setKeywordField();
|
80 |
+
api.setSeoAnalysis();
|
81 |
+
api.setReadability();
|
82 |
+
}
|
83 |
+
}
|
84 |
+
},
|
85 |
+
setKeywordField: function() {
|
86 |
+
setTimeout( function(){
|
87 |
+
var box = $('#focus-keyword-input-metabox').parent('div');
|
88 |
+
if ( box.length == 1 ) {
|
89 |
+
box.empty().append( api.getSuggest('keyword') );
|
90 |
+
}
|
91 |
+
}, 2000);
|
92 |
+
},
|
93 |
+
setReadability: function() {
|
94 |
+
var selector = $('.yoast-aria-tabs li').eq(1);
|
95 |
+
$(document).on('click', selector, function(ev) {
|
96 |
+
if ( ! api.initReadability ) {
|
97 |
+
setTimeout( function(){
|
98 |
+
$('#wpseo-meta-section-readability div').each(function(i, elm){
|
99 |
+
var $elm = $(elm);
|
100 |
+
if ( -1 !== $elm.attr('class').indexOf('ContentAnalysis__ContentAnalysisContainer') ) {
|
101 |
+
$elm.empty().append( api.getSuggest('readability') );
|
102 |
+
return false;
|
103 |
+
}
|
104 |
+
});
|
105 |
+
api.initReadability = true;
|
106 |
+
}, 100);
|
107 |
+
}
|
108 |
+
});
|
109 |
+
},
|
110 |
+
setSeoAnalysis: function() {
|
111 |
+
var container;
|
112 |
+
setTimeout( function(){
|
113 |
+
var containers = $('#yoast-seo-analysis-collapsible-metabox').parents('div');
|
114 |
+
if ( 'undefined' !== typeof containers[0] ) {
|
115 |
+
container = containers[0];
|
116 |
+
}
|
117 |
+
}, 500);
|
118 |
+
$(document).on('click', container, function(ev) {
|
119 |
+
setTimeout( function(){
|
120 |
+
var boxAnalysis = false;
|
121 |
+
$('#wpseo-metabox-root span').each(function(i, elm){
|
122 |
+
var $elm = $(elm);
|
123 |
+
if ( -1 !== $elm.attr('class').indexOf('SeoAnalysis__') ) {
|
124 |
+
var _class = $elm.attr('class').split(' ')[0];
|
125 |
+
boxAnalysis = $('.'+_class).next();
|
126 |
+
return false;
|
127 |
+
}
|
128 |
+
});
|
129 |
+
if ( boxAnalysis ) {
|
130 |
+
boxAnalysis.empty().append( api.getSuggest('analysis') );
|
131 |
+
}
|
132 |
+
}, 300);
|
133 |
+
});
|
134 |
+
},
|
135 |
+
setMetaBoxTitle: function() {
|
136 |
+
var box = $('#wpseo_meta .hndle'); // post.php
|
137 |
+
if ( box.length == 1 ) {
|
138 |
+
var content = box.text();
|
139 |
+
box.text(content+' ('+WPGlobusCoreData.en_language_name[ WPGlobusYoastSeo.language ]+')');
|
140 |
+
return;
|
141 |
+
}
|
142 |
+
box = $('#wpseo_meta > h2 > span'); // term.php
|
143 |
+
if ( box.length == 1 ) {
|
144 |
+
var content = box.text();
|
145 |
+
box.text(content+' ('+WPGlobusCoreData.en_language_name[ WPGlobusYoastSeo.language ]+')');
|
146 |
+
}
|
147 |
+
}
|
148 |
+
}
|
149 |
+
WPGlobusYoastSeo = $.extend( {}, WPGlobusYoastSeo, api );
|
150 |
+
WPGlobusYoastSeo.init();
|
151 |
+
});
|
includes/js/wpglobus-yoastseo-120.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
jQuery(document).ready(function(n){"use strict";if("undefined"!=typeof wpseoReplaceVarsL10n&&"undefined"!=typeof WPGlobusCoreData&&"undefined"!=typeof WPGlobusVendor){var a={initSeoAnalysis:!1,initReadability:!1,parseBool:function(e){return!/^(false|0)$/i.test(e)&&!!e},moduleState:function(){return"string"==typeof WPGlobusYoastSeo.plus_module&&""!=WPGlobusYoastSeo.plus_module?WPGlobusYoastSeo.plus_module:a.parseBool(WPGlobusYoastSeo.plus_access)},isPremium:function(){return WPGlobusVendor.vendor.WPSEO_PREMIUM},isDefaultLanguage:function(){return a.parseBool(WPGlobusYoastSeo.is_default_language)},getSuggest:function(e){var t="";return void 0===e?t:("inactive"===a.moduleState()?"keyword"==e?t=WPGlobusVendor.i18n.yoastseo_plus_meta_keywords_inactive:"analysis"==e?t=WPGlobusVendor.i18n.yoastseo_plus_page_analysis_inactive:"readability"==e&&(t=WPGlobusVendor.i18n.yoastseo_plus_readability_inactive):"boolean"!=typeof a.moduleState()||a.moduleState()||("keyword"==e?t=WPGlobusVendor.i18n.yoastseo_plus_meta_keywords_access:"analysis"==e?t=WPGlobusVendor.i18n.yoastseo_plus_page_analysis_access:"readability"==e&&(t=WPGlobusVendor.i18n.yoastseo_plus_readability_access)),t='<div class="wpglobus-suggest" style="font-weight:bold;border:1px solid rgb(221, 221, 221);height:35px;width:90%;padding:8px 10px;">'+t+"</div>")},init:function(){a.start()},start:function(){a.isDefaultLanguage()||(a.setMetaBoxTitle(),"inactive"!=a.moduleState()&&a.moduleState()||(a.setKeywordField(),a.setSeoAnalysis(),a.setReadability()))},setKeywordField:function(){setTimeout(function(){var e=n("#focus-keyword-input-metabox").parent("div");1==e.length&&e.empty().append(a.getSuggest("keyword"))},2e3)},setReadability:function(){var e=n(".yoast-aria-tabs li").eq(1);n(document).on("click",e,function(e){a.initReadability||setTimeout(function(){n("#wpseo-meta-section-readability div").each(function(e,t){var o=n(t);if(-1!==o.attr("class").indexOf("ContentAnalysis__ContentAnalysisContainer"))return o.empty().append(a.getSuggest("readability")),!1}),a.initReadability=!0},100)})},setSeoAnalysis:function(){var t;setTimeout(function(){var e=n("#yoast-seo-analysis-collapsible-metabox").parents("div");void 0!==e[0]&&(t=e[0])},500),n(document).on("click",t,function(e){setTimeout(function(){var s=!1;n("#wpseo-metabox-root span").each(function(e,t){var o=n(t);if(-1!==o.attr("class").indexOf("SeoAnalysis__")){var a=o.attr("class").split(" ")[0];return s=n("."+a).next(),!1}}),s&&s.empty().append(a.getSuggest("analysis"))},300)})},setMetaBoxTitle:function(){var e=n("#wpseo_meta .hndle");if(1!=e.length){if(1==(e=n("#wpseo_meta > h2 > span")).length){t=e.text();e.text(t+" ("+WPGlobusCoreData.en_language_name[WPGlobusYoastSeo.language]+")")}}else{var t=e.text();e.text(t+" ("+WPGlobusCoreData.en_language_name[WPGlobusYoastSeo.language]+")")}}};WPGlobusYoastSeo=n.extend({},WPGlobusYoastSeo,a),WPGlobusYoastSeo.init()}});
|
includes/vendor/yoast-seo/class-wpglobus-yoastseo120.php
ADDED
@@ -0,0 +1,976 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Support of Yoast SEO 12.0
|
4 |
+
*
|
5 |
+
* @package WPGlobus\Vendor\YoastSEO
|
6 |
+
* @since 2.2.20
|
7 |
+
*/
|
8 |
+
|
9 |
+
/**
|
10 |
+
* Class WPGlobus_YoastSEO.
|
11 |
+
*/
|
12 |
+
class WPGlobus_YoastSEO {
|
13 |
+
|
14 |
+
/**
|
15 |
+
* Yoast SEO separator.
|
16 |
+
*
|
17 |
+
* @var string
|
18 |
+
*/
|
19 |
+
public static $yoastseo_separator = '';
|
20 |
+
|
21 |
+
/**
|
22 |
+
* Name of the script.
|
23 |
+
*
|
24 |
+
* @var string
|
25 |
+
*/
|
26 |
+
public static $handle_script = 'wpglobus-yoastseo';
|
27 |
+
|
28 |
+
/**
|
29 |
+
* Name of the premium script.
|
30 |
+
*
|
31 |
+
* @since 1.7.2
|
32 |
+
* @var string
|
33 |
+
*/
|
34 |
+
public static $handle_script_premium = 'wpglobus-yoastseo-premium';
|
35 |
+
|
36 |
+
/**
|
37 |
+
* Current version yoast seo.
|
38 |
+
*
|
39 |
+
* @since 1.8
|
40 |
+
* @var string
|
41 |
+
*/
|
42 |
+
protected static $version = '';
|
43 |
+
|
44 |
+
/**
|
45 |
+
* Contains wpseo meta.
|
46 |
+
*
|
47 |
+
* @since 2.2.16
|
48 |
+
* @var null|array
|
49 |
+
*/
|
50 |
+
protected static $wpseo_meta = null;
|
51 |
+
|
52 |
+
/**
|
53 |
+
* Plus access.
|
54 |
+
*
|
55 |
+
* @since 2.2.20
|
56 |
+
* @var boolean|string
|
57 |
+
*/
|
58 |
+
protected static $plus_module = false;
|
59 |
+
|
60 |
+
/**
|
61 |
+
* Static "controller"
|
62 |
+
*/
|
63 |
+
public static function controller($version, $plus_module = false) {
|
64 |
+
|
65 |
+
self::$version = $version;
|
66 |
+
self::$plus_module = $plus_module;
|
67 |
+
|
68 |
+
if ( is_admin() ) {
|
69 |
+
|
70 |
+
/**
|
71 |
+
* @since 2.2.20
|
72 |
+
*/
|
73 |
+
add_action( 'admin_print_scripts', array(
|
74 |
+
__CLASS__,
|
75 |
+
'action__admin_print_scripts'
|
76 |
+
) );
|
77 |
+
|
78 |
+
if ( WPGlobus_WP::is_pagenow( 'edit.php' ) ) {
|
79 |
+
|
80 |
+
/**
|
81 |
+
* To translate Yoast columns on `edit.php` page.
|
82 |
+
* @since 2.2.16
|
83 |
+
*/
|
84 |
+
|
85 |
+
add_filter( 'wpseo_title', array(
|
86 |
+
__CLASS__,
|
87 |
+
'filter__wpseo_title'
|
88 |
+
), 5 );
|
89 |
+
|
90 |
+
|
91 |
+
add_filter( 'wpseo_metadesc', array(
|
92 |
+
__CLASS__,
|
93 |
+
'filter__wpseo_metadesc'
|
94 |
+
), 5 );
|
95 |
+
|
96 |
+
/**
|
97 |
+
* @W.I.P @since 2.2.16 with 'wpseo-focuskw'. There is no filter.
|
98 |
+
* @see case 'wpseo-focuskw': in wordpress-seo\admin\class-meta-columns.php
|
99 |
+
*/
|
100 |
+
|
101 |
+
}
|
102 |
+
|
103 |
+
/**
|
104 |
+
* Don't run further in admin @since 1.9.17
|
105 |
+
*/
|
106 |
+
return;
|
107 |
+
|
108 |
+
if ( ! WPGlobus_WP::is_doing_ajax() ) {
|
109 |
+
|
110 |
+
/** @see WPGlobus::__construct */
|
111 |
+
WPGlobus::O()->vendors_scripts['WPSEO'] = true;
|
112 |
+
|
113 |
+
if ( defined( 'WPSEO_PREMIUM_PLUGIN_FILE' ) ) {
|
114 |
+
/**
|
115 |
+
* @see wordpress-seo-premium\wp-seo-premium.php
|
116 |
+
*/
|
117 |
+
WPGlobus::O()->vendors_scripts['WPSEO_PREMIUM'] = true;
|
118 |
+
}
|
119 |
+
|
120 |
+
if ( WPGlobus_WP::is_pagenow( 'edit.php' ) ) {
|
121 |
+
|
122 |
+
/**
|
123 |
+
* @since 1.5.3
|
124 |
+
*/
|
125 |
+
add_filter( 'wpseo_replacements_filter_sep', array( __CLASS__, 'filter__get_separator' ), 999 );
|
126 |
+
|
127 |
+
/**
|
128 |
+
* To translate Yoast columns on edit.php page
|
129 |
+
*/
|
130 |
+
add_filter( 'esc_html', array(
|
131 |
+
__CLASS__,
|
132 |
+
'filter__wpseo_columns'
|
133 |
+
), 0 );
|
134 |
+
|
135 |
+
}
|
136 |
+
|
137 |
+
/**
|
138 |
+
* @since 1.6.3
|
139 |
+
*/
|
140 |
+
add_action( 'wpseo_save_compare_data', array(
|
141 |
+
__CLASS__,
|
142 |
+
'action__save_compare_data'
|
143 |
+
) );
|
144 |
+
|
145 |
+
add_action( 'admin_print_scripts', array(
|
146 |
+
__CLASS__,
|
147 |
+
'action__admin_print_scripts'
|
148 |
+
) );
|
149 |
+
|
150 |
+
add_action( 'wpseo_tab_content', array(
|
151 |
+
__CLASS__,
|
152 |
+
'action__wpseo_tab_content'
|
153 |
+
), 11 );
|
154 |
+
|
155 |
+
if ( WPGlobus_WP::is_pagenow( array( 'edit-tags.php', 'term.php' ) ) ) {
|
156 |
+
add_filter( 'wp_default_editor', array(
|
157 |
+
__CLASS__,
|
158 |
+
'set_default_editor'
|
159 |
+
) );
|
160 |
+
}
|
161 |
+
|
162 |
+
}
|
163 |
+
|
164 |
+
} else {
|
165 |
+
/**
|
166 |
+
* Filter SEO title and meta description on front only, when the page header HTML tags are generated.
|
167 |
+
* AJAX is probably not required (waiting for a case).
|
168 |
+
*/
|
169 |
+
//add_filter( 'wpseo_title', array( 'WPGlobus_Filters', 'filter__text' ), PHP_INT_MAX );
|
170 |
+
add_filter( 'wpseo_title', array( __CLASS__, 'filter__title' ), PHP_INT_MAX );
|
171 |
+
|
172 |
+
add_filter( 'wpseo_metadesc', array( 'WPGlobus_Filters', 'filter__text' ), PHP_INT_MAX );
|
173 |
+
|
174 |
+
/**
|
175 |
+
* @todo check for '_yoast_wpseo_title' meta
|
176 |
+
* @see <title> view-source:http://test/test-post-seo/
|
177 |
+
* @see <title> view-source:http://test/ru/test-post-seo/
|
178 |
+
*/
|
179 |
+
add_filter( 'get_post_metadata', array( __CLASS__, 'filter__get_post_metadata' ), 6, 4 );
|
180 |
+
|
181 |
+
/**
|
182 |
+
* Filter meta keywords.
|
183 |
+
* @from 1.8.8
|
184 |
+
*/
|
185 |
+
add_filter( 'wpseo_metakeywords', array( __CLASS__, 'filter__metakeywords' ), 0 );
|
186 |
+
|
187 |
+
}
|
188 |
+
|
189 |
+
}
|
190 |
+
/**
|
191 |
+
* Filter Yoast post meta title.
|
192 |
+
*
|
193 |
+
* @scope front
|
194 |
+
* @since 1.9.18
|
195 |
+
*
|
196 |
+
* @param string $title Post title.
|
197 |
+
*
|
198 |
+
* @return string.
|
199 |
+
*/
|
200 |
+
public static function filter__title( $title ) {
|
201 |
+
/**
|
202 |
+
* In some cases we can get $title like {:en}En title{:}{:ru}Ru title{:}{:fr}Fr title{:} - SiteTitle
|
203 |
+
* so, let's filter.
|
204 |
+
*/
|
205 |
+
if ( WPGlobus_Core::has_translations($title) ) {
|
206 |
+
return WPGlobus_Core::extract_text( $title, WPGlobus::Config()->language );
|
207 |
+
}
|
208 |
+
return $title;
|
209 |
+
}
|
210 |
+
|
211 |
+
/**
|
212 |
+
* Filter post meta.
|
213 |
+
*
|
214 |
+
* @since 1.9.21
|
215 |
+
* @since 2.1.3
|
216 |
+
* @see function function get_value() in wordpress-seo\inc\class-wpseo-meta.php
|
217 |
+
*/
|
218 |
+
public static function filter__get_post_metadata( $check, $object_id, $meta_key, $single ) {
|
219 |
+
|
220 |
+
global $post;
|
221 |
+
|
222 |
+
if ( $single ) {
|
223 |
+
return $check;
|
224 |
+
}
|
225 |
+
|
226 |
+
if ( ! is_object($post) ) {
|
227 |
+
return $check;
|
228 |
+
}
|
229 |
+
|
230 |
+
if ( $object_id != $post->ID ) {
|
231 |
+
return $check;
|
232 |
+
}
|
233 |
+
|
234 |
+
/**
|
235 |
+
* May be called many times on one page. Let's cache.
|
236 |
+
*/
|
237 |
+
static $_done = null;
|
238 |
+
if ( ! is_null($_done) ) {
|
239 |
+
return $check;
|
240 |
+
}
|
241 |
+
|
242 |
+
$meta_type = 'post';
|
243 |
+
|
244 |
+
$meta_cache = wp_cache_get($object_id, $meta_type . '_meta');
|
245 |
+
|
246 |
+
if ( ! empty($meta_cache['_yoast_wpseo_title'][0]) ) {
|
247 |
+
$meta_cache['_yoast_wpseo_title'][0] = WPGlobus_Core::text_filter( $meta_cache['_yoast_wpseo_title'][0], WPGlobus::Config()->language, WPGlobus::RETURN_EMPTY );
|
248 |
+
wp_cache_replace( $object_id, $meta_cache, $meta_type . '_meta' );
|
249 |
+
}
|
250 |
+
|
251 |
+
$_done = true;
|
252 |
+
|
253 |
+
return $check;
|
254 |
+
|
255 |
+
}
|
256 |
+
|
257 |
+
/**
|
258 |
+
* Filter Yoast post meta keywords.
|
259 |
+
*
|
260 |
+
* @scope front
|
261 |
+
* @since 1.8.8
|
262 |
+
*
|
263 |
+
* @param string $keywords Multilingual keywords.
|
264 |
+
*
|
265 |
+
* @return string.
|
266 |
+
*/
|
267 |
+
public static function filter__metakeywords( $keywords ) {
|
268 |
+
if ( WPGlobus::Config()->language != WPGlobus::Config()->default_language ) {
|
269 |
+
return '';
|
270 |
+
}
|
271 |
+
return WPGlobus_Core::text_filter($keywords, WPGlobus::Config()->language, WPGlobus::RETURN_EMPTY);
|
272 |
+
}
|
273 |
+
|
274 |
+
/**
|
275 |
+
* Fix empty yoast_wpseo_focuskw while saving/updating post with active extra language.
|
276 |
+
*
|
277 |
+
* @since 1.6.3
|
278 |
+
* @since 1.7.7
|
279 |
+
* @see filter 'wpseo_save_compare_data' wordpress-seo\admin\metabox\class-metabox.php
|
280 |
+
*
|
281 |
+
* @param WP_Post Object $post Current post.
|
282 |
+
*/
|
283 |
+
public static function action__save_compare_data( $post ) {
|
284 |
+
/**
|
285 |
+
* Don't need @since 1.7.7
|
286 |
+
* It is helpful for testing purposes, use: error_log( print_r( $_POST, true ) );
|
287 |
+
*/
|
288 |
+
return;
|
289 |
+
/*
|
290 |
+
if ( empty( $_POST[ 'yoast_wpseo_focuskw' ] ) ) {
|
291 |
+
if ( ! empty( $_POST[ 'yoast_wpseo_focuskw_text_input' ] ) ) {
|
292 |
+
$_POST[ 'yoast_wpseo_focuskw' ] = $_POST[ 'yoast_wpseo_focuskw_text_input' ];
|
293 |
+
}
|
294 |
+
} */
|
295 |
+
}
|
296 |
+
|
297 |
+
/**
|
298 |
+
* Filter Yoast post metadata.
|
299 |
+
*
|
300 |
+
* When Yoast builds HTML title and meta description, it looks in tree places:
|
301 |
+
* - Actual post_title,
|
302 |
+
* - Title and Description from Yoast Snippet (fancy metabox for each post),
|
303 |
+
* - Rules (%%title%% %%sep%% %%page%%) in the SEO Settings.
|
304 |
+
* Yoast gets confused when not all languages are filled in consistently
|
305 |
+
* (one language has post_title, another one - only Snippet, others - should work
|
306 |
+
* from the Rules).
|
307 |
+
* We are trying to hook into the `get_post_metadata` and return filtered values
|
308 |
+
* to Yoast, so when it should be empty - it's empty and not
|
309 |
+
* {:xx}Something from another language{:}
|
310 |
+
*
|
311 |
+
* @scope front
|
312 |
+
* @since 1.4.0 (original)
|
313 |
+
* 1.5.5 (restored and rewritten)
|
314 |
+
*
|
315 |
+
* @param null|array $metadata Comes as NULL. Return something to short-circuit.
|
316 |
+
* @param int $post_id Post ID.
|
317 |
+
* @param string $meta_key Empty because the array of all metas is returned.
|
318 |
+
* @param bool $single False in this case.
|
319 |
+
*
|
320 |
+
* @return null|array Return metadata array if we are "in business".
|
321 |
+
*/
|
322 |
+
public static function filter__get_post_metadata_OLD(
|
323 |
+
$metadata, $post_id, $meta_key, $single
|
324 |
+
) {
|
325 |
+
// Yoast does not pass any `meta_key`, and does not ask for `single`.
|
326 |
+
// Checking it here is faster than going to backtrace directly.
|
327 |
+
if ( $meta_key || $single ) {
|
328 |
+
return $metadata;
|
329 |
+
}
|
330 |
+
|
331 |
+
// We only need to deal with these two callers:
|
332 |
+
if ( WPGlobus_WP::is_functions_in_backtrace( array(
|
333 |
+
array( 'WPSEO_Frontend', 'get_content_title' ),
|
334 |
+
array( 'WPSEO_Frontend', 'generate_metadesc' ),
|
335 |
+
) )
|
336 |
+
) {
|
337 |
+
/**
|
338 |
+
* The part of getting meta / updating cache is copied from
|
339 |
+
* @see get_metadata
|
340 |
+
* (except for doing serialize - we believe it's not necessary for Yoast).
|
341 |
+
*/
|
342 |
+
|
343 |
+
/** @var array $post_meta */
|
344 |
+
$post_meta = wp_cache_get( $post_id, 'post_meta' );
|
345 |
+
|
346 |
+
if ( ! $post_meta ) {
|
347 |
+
$meta_cache = update_meta_cache( 'post', array( $post_id ) );
|
348 |
+
$post_meta = $meta_cache[ $post_id ];
|
349 |
+
}
|
350 |
+
|
351 |
+
/**
|
352 |
+
* Filter both title and meta description to the current language.
|
353 |
+
*
|
354 |
+
* @important Return empty if no current language text exists,
|
355 |
+
* do not use the default. Yoast must receive empty string to realize
|
356 |
+
* that meta is not set for that language.
|
357 |
+
*/
|
358 |
+
foreach ( array( '_yoast_wpseo_title', '_yoast_wpseo_metadesc' ) as $_ ) {
|
359 |
+
if ( ! empty( $post_meta[ $_ ][0] ) ) {
|
360 |
+
$post_meta[ $_ ][0] = WPGlobus_Core::text_filter(
|
361 |
+
$post_meta[ $_ ][0],
|
362 |
+
WPGlobus::Config()->language,
|
363 |
+
WPGlobus::RETURN_EMPTY
|
364 |
+
);
|
365 |
+
}
|
366 |
+
}
|
367 |
+
// ... and return it.
|
368 |
+
$metadata = $post_meta;
|
369 |
+
}
|
370 |
+
|
371 |
+
return $metadata;
|
372 |
+
}
|
373 |
+
|
374 |
+
/**
|
375 |
+
* Filter to get yoast seo separator.
|
376 |
+
*
|
377 |
+
* @since 1.5.3
|
378 |
+
*
|
379 |
+
* @param array $sep Contains separator.
|
380 |
+
*
|
381 |
+
* @return string
|
382 |
+
*/
|
383 |
+
public static function filter__get_separator( $sep ) {
|
384 |
+
self::$yoastseo_separator = $sep;
|
385 |
+
|
386 |
+
return $sep;
|
387 |
+
}
|
388 |
+
|
389 |
+
/**
|
390 |
+
* Filter which editor should be displayed by default.
|
391 |
+
*
|
392 |
+
* @since 1.4.8
|
393 |
+
*
|
394 |
+
* @param array $editors An array of editors. Accepts 'tinymce', 'html', 'test'.
|
395 |
+
*
|
396 |
+
* @return string
|
397 |
+
*/
|
398 |
+
public static function set_default_editor(
|
399 |
+
/** @noinspection PhpUnusedParameterInspection */
|
400 |
+
$editors
|
401 |
+
) {
|
402 |
+
return 'tinymce';
|
403 |
+
}
|
404 |
+
|
405 |
+
/**
|
406 |
+
* Filter wpseo meta description.
|
407 |
+
*
|
408 |
+
* @see wordpress-seo\admin\class-meta-columns.php
|
409 |
+
* @scope admin
|
410 |
+
* @since 2.2.16
|
411 |
+
*
|
412 |
+
* @param string $metadesc_val Value in default language.
|
413 |
+
*
|
414 |
+
* @return string
|
415 |
+
*/
|
416 |
+
public static function filter__wpseo_metadesc( $metadesc_val ) {
|
417 |
+
|
418 |
+
if ( empty($metadesc_val) ) {
|
419 |
+
return $metadesc_val;
|
420 |
+
}
|
421 |
+
|
422 |
+
if ( WPGlobus::Config()->language == WPGlobus::Config()->default_language ) {
|
423 |
+
return $metadesc_val;
|
424 |
+
}
|
425 |
+
|
426 |
+
return self::get_meta( '_yoast_wpseo_metadesc', $metadesc_val );
|
427 |
+
}
|
428 |
+
|
429 |
+
/**
|
430 |
+
* To translate Yoast `column-wpseo-title`.
|
431 |
+
*
|
432 |
+
* @see wordpress-seo\admin\class-meta-columns.php
|
433 |
+
* @scope admin
|
434 |
+
* @since 2.2.16
|
435 |
+
*
|
436 |
+
* @param string $title
|
437 |
+
*
|
438 |
+
* @return string
|
439 |
+
*/
|
440 |
+
public static function filter__wpseo_title( $title ) {
|
441 |
+
return WPGlobus_Core::extract_text( $title, WPGlobus::Config()->language );
|
442 |
+
}
|
443 |
+
|
444 |
+
/**
|
445 |
+
* Get meta for extra language.
|
446 |
+
*
|
447 |
+
* @scope admin
|
448 |
+
* @since 2.2.16
|
449 |
+
*/
|
450 |
+
protected static function get_meta( $meta_key, $meta_value = '' ) {
|
451 |
+
|
452 |
+
if ( is_null(self::$wpseo_meta) ) {
|
453 |
+
self::set_wpseo_meta();
|
454 |
+
}
|
455 |
+
|
456 |
+
if ( empty( self::$wpseo_meta[ $meta_key ] ) ) {
|
457 |
+
return '';
|
458 |
+
}
|
459 |
+
|
460 |
+
$_return_value = '';
|
461 |
+
foreach( self::$wpseo_meta[ $meta_key ] as $_meta_value ) {
|
462 |
+
if ( false !== strpos( $_meta_value, $meta_value ) ) {
|
463 |
+
$_return_value = WPGlobus_Core::text_filter( $_meta_value, WPGlobus::Config()->language, WPGlobus::RETURN_EMPTY );
|
464 |
+
break;
|
465 |
+
}
|
466 |
+
}
|
467 |
+
|
468 |
+
return $_return_value;
|
469 |
+
}
|
470 |
+
|
471 |
+
/**
|
472 |
+
* Set `_yoast_wpseo_metadesc`, `_yoast_wpseo_focuskw` meta.
|
473 |
+
*
|
474 |
+
* @scope admin
|
475 |
+
* @since 2.2.16
|
476 |
+
*/
|
477 |
+
protected static function set_wpseo_meta() {
|
478 |
+
|
479 |
+
/** @global wpdb $wpdb */
|
480 |
+
global $wpdb;
|
481 |
+
|
482 |
+
$post_type = 'post';
|
483 |
+
if ( ! empty( $_GET['post_type'] ) ) {
|
484 |
+
$post_type = sanitize_text_field( $_GET['post_type'] ); // phpcs:ignore WordPress.CSRF.NonceVerification
|
485 |
+
}
|
486 |
+
|
487 |
+
$query = $wpdb->prepare(
|
488 |
+
"SELECT p.ID, p.post_type, pm.meta_key, pm.meta_value FROM {$wpdb->prefix}posts AS p JOIN {$wpdb->prefix}postmeta AS pm ON p.ID = pm.post_id WHERE p.post_type = %s AND (pm.meta_key = %s OR pm.meta_key = %s)",
|
489 |
+
$post_type,
|
490 |
+
'_yoast_wpseo_metadesc',
|
491 |
+
'_yoast_wpseo_focuskw'
|
492 |
+
);
|
493 |
+
|
494 |
+
$metas = $wpdb->get_results( $query, ARRAY_A );
|
495 |
+
|
496 |
+
if ( ! empty( $metas ) ) {
|
497 |
+
foreach( $metas as $_meta ) {
|
498 |
+
if ( ! isset( self::$wpseo_meta[ $_meta['meta_key'] ] ) ) {
|
499 |
+
self::$wpseo_meta[ $_meta['meta_key'] ] = array();
|
500 |
+
}
|
501 |
+
self::$wpseo_meta[ $_meta['meta_key'] ][] = $_meta['meta_value'];
|
502 |
+
}
|
503 |
+
}
|
504 |
+
|
505 |
+
}
|
506 |
+
|
507 |
+
/**
|
508 |
+
* To translate Yoast columns
|
509 |
+
* @see WPSEO_Meta_Columns::column_content
|
510 |
+
* @scope admin
|
511 |
+
*
|
512 |
+
* @param string $text
|
513 |
+
*
|
514 |
+
* @return string
|
515 |
+
* @todo Yoast said things might change in the next version. See the pull request
|
516 |
+
* @link https://github.com/Yoast/wordpress-seo/pull/1946
|
517 |
+
*/
|
518 |
+
public static function filter__wpseo_columns( $text ) {
|
519 |
+
|
520 |
+
if ( WPGlobus_WP::is_filter_called_by( 'column_content', 'WPSEO_Meta_Columns' ) ) {
|
521 |
+
|
522 |
+
if ( self::$yoastseo_separator && false !== strpos( $text, self::$yoastseo_separator ) ) {
|
523 |
+
|
524 |
+
$title_arr = explode( self::$yoastseo_separator, $text );
|
525 |
+
|
526 |
+
foreach ( $title_arr as $key => $piece ) {
|
527 |
+
if ( (int) $key === 0 ) {
|
528 |
+
$title_arr[ $key ] = WPGlobus_Core::text_filter( $piece, WPGlobus::Config()->language ) . ' ';
|
529 |
+
} else {
|
530 |
+
$title_arr[ $key ] = ' ' . WPGlobus_Core::text_filter( $piece, WPGlobus::Config()->language );
|
531 |
+
}
|
532 |
+
}
|
533 |
+
|
534 |
+
$text = implode( self::$yoastseo_separator, $title_arr );
|
535 |
+
|
536 |
+
} else {
|
537 |
+
|
538 |
+
$text = WPGlobus_Core::text_filter(
|
539 |
+
$text,
|
540 |
+
WPGlobus::Config()->language,
|
541 |
+
null,
|
542 |
+
WPGlobus::Config()->default_language
|
543 |
+
);
|
544 |
+
|
545 |
+
}
|
546 |
+
}
|
547 |
+
|
548 |
+
return $text;
|
549 |
+
}
|
550 |
+
|
551 |
+
/**
|
552 |
+
* Enqueue js for YoastSEO support.
|
553 |
+
* @since 1.4.0
|
554 |
+
* @since 2.2.20
|
555 |
+
*/
|
556 |
+
public static function action__admin_print_scripts() {
|
557 |
+
|
558 |
+
if ( 'off' === WPGlobus::Config()->toggle ) {
|
559 |
+
return;
|
560 |
+
}
|
561 |
+
|
562 |
+
if ( self::disabled_entity() ) {
|
563 |
+
return;
|
564 |
+
}
|
565 |
+
|
566 |
+
/** @global string $pagenow */
|
567 |
+
global $pagenow;
|
568 |
+
|
569 |
+
$enabled_pages = array(
|
570 |
+
'post.php',
|
571 |
+
'post-new.php',
|
572 |
+
'edit-tags.php',
|
573 |
+
'term.php'
|
574 |
+
);
|
575 |
+
|
576 |
+
if ( WPGlobus_WP::is_pagenow( $enabled_pages ) ) {
|
577 |
+
|
578 |
+
WPGlobus::O()->vendors_scripts['WPSEO'] = true;
|
579 |
+
|
580 |
+
if ( defined( 'WPSEO_PREMIUM_PLUGIN_FILE' ) ) {
|
581 |
+
/**
|
582 |
+
* @see wordpress-seo-premium\wp-seo-premium.php
|
583 |
+
*/
|
584 |
+
WPGlobus::O()->vendors_scripts['WPSEO_PREMIUM'] = true;
|
585 |
+
}
|
586 |
+
|
587 |
+
$yoastseo_plus_readability_access = '';
|
588 |
+
$yoastseo_plus_readability_inactive = '';
|
589 |
+
|
590 |
+
$yoastseo_plus_page_analysis_access = '';
|
591 |
+
$yoastseo_plus_page_analysis_inactive = '';
|
592 |
+
|
593 |
+
$yoastseo_plus_meta_keywords_access = '';
|
594 |
+
$yoastseo_plus_meta_keywords_inactive = '';
|
595 |
+
|
596 |
+
if ( WPGlobus::Config()->builder->is_builder_page() ) {
|
597 |
+
|
598 |
+
$_url = '#';
|
599 |
+
if ( class_exists('WPGlobusPlus') ) {
|
600 |
+
/**
|
601 |
+
* @see wpglobus-plus\includes\wpglobus-plus-main.php
|
602 |
+
*/
|
603 |
+
$_url = add_query_arg(
|
604 |
+
array(
|
605 |
+
'page' => 'wpglobus-plus-options'
|
606 |
+
),
|
607 |
+
admin_url('admin.php')
|
608 |
+
);
|
609 |
+
}
|
610 |
+
|
611 |
+
$yoastseo_plus_readability_access = sprintf(
|
612 |
+
__( 'Please see %1s to get access to Analysis results in %2s with YoastSEO.', '' ),
|
613 |
+
'<a href="https://wpglobus.com/product/wpglobus-plus/#yoastseo" target="_blank">WPGlobus Plus</a>',
|
614 |
+
WPGlobus::Config()->en_language_name[ WPGlobus::Config()->builder->get_language() ]
|
615 |
+
);
|
616 |
+
$yoastseo_plus_readability_inactive = sprintf(
|
617 |
+
__( 'Please activate %1sYoast SEO Plus%2s module to get access to Analysis results in %3s with YoastSEO.', '' ),
|
618 |
+
'<a href="'.$_url.'">',
|
619 |
+
'</a>',
|
620 |
+
WPGlobus::Config()->en_language_name[ WPGlobus::Config()->builder->get_language() ]
|
621 |
+
);
|
622 |
+
|
623 |
+
$yoastseo_plus_page_analysis_access = sprintf(
|
624 |
+
__( 'Please see %1s to get access to Analysis results in %2s with YoastSEO.', '' ),
|
625 |
+
'<a href="https://wpglobus.com/product/wpglobus-plus/#yoastseo" target="_blank">WPGlobus Plus</a>',
|
626 |
+
WPGlobus::Config()->en_language_name[ WPGlobus::Config()->builder->get_language() ]
|
627 |
+
);
|
628 |
+
$yoastseo_plus_page_analysis_inactive = sprintf(
|
629 |
+
__( 'Please activate %1sYoast SEO Plus%2s module to get access to Analysis results in %3s with YoastSEO.', '' ),
|
630 |
+
'<a href="'.$_url.'">',
|
631 |
+
'</a>',
|
632 |
+
WPGlobus::Config()->en_language_name[ WPGlobus::Config()->builder->get_language() ]
|
633 |
+
);
|
634 |
+
|
635 |
+
$yoastseo_plus_meta_keywords_access = sprintf(
|
636 |
+
__( 'Please see %1s to get access to Focus keyphrase in %2s with YoastSEO.', '' ),
|
637 |
+
'<a href="https://wpglobus.com/product/wpglobus-plus/#yoastseo" target="_blank">WPGlobus Plus</a>',
|
638 |
+
WPGlobus::Config()->en_language_name[ WPGlobus::Config()->builder->get_language() ]
|
639 |
+
);
|
640 |
+
$yoastseo_plus_meta_keywords_inactive = sprintf(
|
641 |
+
__( 'Please activate %1sYoast SEO Plus%2s module to get access to Focus keyphrase in %1s with YoastSEO.', '' ),
|
642 |
+
'<a href="'.$_url.'">',
|
643 |
+
'</a>',
|
644 |
+
WPGlobus::Config()->en_language_name[ WPGlobus::Config()->builder->get_language() ]
|
645 |
+
);
|
646 |
+
}
|
647 |
+
|
648 |
+
$i18n = array(
|
649 |
+
'yoastseo_plus_readability_access' => $yoastseo_plus_readability_access,
|
650 |
+
'yoastseo_plus_readability_inactive' => $yoastseo_plus_readability_inactive,
|
651 |
+
'yoastseo_plus_page_analysis_access' => $yoastseo_plus_page_analysis_access,
|
652 |
+
'yoastseo_plus_page_analysis_inactive' => $yoastseo_plus_page_analysis_inactive,
|
653 |
+
'yoastseo_plus_meta_keywords_access' => $yoastseo_plus_meta_keywords_access,
|
654 |
+
'yoastseo_plus_meta_keywords_inactive' => $yoastseo_plus_meta_keywords_inactive
|
655 |
+
);
|
656 |
+
|
657 |
+
$src_version = false;
|
658 |
+
$src_version_premium = false;
|
659 |
+
|
660 |
+
if ( ! WPGlobus::O()->vendors_scripts['WPSEO_PREMIUM'] ) {
|
661 |
+
|
662 |
+
/** @noinspection PhpInternalEntityUsedInspection */
|
663 |
+
$src_version = version_compare( WPSEO_VERSION, '4.0', '>=' ) ? '40' : $src_version;
|
664 |
+
/** @noinspection PhpInternalEntityUsedInspection */
|
665 |
+
$src_version = version_compare( WPSEO_VERSION, '4.1', '>=' ) ? '41' : $src_version;
|
666 |
+
/** @noinspection PhpInternalEntityUsedInspection */
|
667 |
+
$src_version = version_compare( WPSEO_VERSION, '4.4', '>=' ) ? '44' : $src_version;
|
668 |
+
if (
|
669 |
+
/** @noinspection PhpInternalEntityUsedInspection */
|
670 |
+
version_compare( WPSEO_VERSION, '4.8', '>=' )
|
671 |
+
) {
|
672 |
+
$src_version = self::$version;
|
673 |
+
}
|
674 |
+
|
675 |
+
} else {
|
676 |
+
/**
|
677 |
+
* Start with Yoast SEO Premium.
|
678 |
+
*/
|
679 |
+
|
680 |
+
/**
|
681 |
+
* Version of file yoast seo must be latest.
|
682 |
+
*/
|
683 |
+
/** @noinspection PhpInternalEntityUsedInspection */
|
684 |
+
$src_version = version_compare( WPSEO_VERSION, '3.9', '>=' ) ? self::$version : $src_version;
|
685 |
+
/** @noinspection PhpInternalEntityUsedInspection */
|
686 |
+
$src_version_premium = version_compare( WPSEO_VERSION, '3.9', '>=' ) ? '39' : $src_version_premium;
|
687 |
+
/**
|
688 |
+
* @since WPGlobus 2.2.17
|
689 |
+
*/
|
690 |
+
$src_version_premium = version_compare( WPSEO_VERSION, '12.0', '>=' ) ? $src_version : $src_version_premium;
|
691 |
+
|
692 |
+
}
|
693 |
+
|
694 |
+
if ( $src_version ) :
|
695 |
+
|
696 |
+
$handle = self::$handle_script;
|
697 |
+
|
698 |
+
$src = WPGlobus::$PLUGIN_DIR_URL . 'includes/js/' .
|
699 |
+
$handle . '-' . $src_version .
|
700 |
+
WPGlobus::SCRIPT_SUFFIX() . '.js';
|
701 |
+
|
702 |
+
wp_register_script(
|
703 |
+
$handle,
|
704 |
+
$src,
|
705 |
+
array( 'jquery', 'underscore' ),
|
706 |
+
WPGLOBUS_VERSION,
|
707 |
+
true
|
708 |
+
);
|
709 |
+
|
710 |
+
wp_enqueue_script($handle);
|
711 |
+
|
712 |
+
wp_localize_script(
|
713 |
+
$handle,
|
714 |
+
'WPGlobusYoastSeo',
|
715 |
+
array(
|
716 |
+
'version' => WPGLOBUS_VERSION,
|
717 |
+
'src_version' => $src_version,
|
718 |
+
'builder_id' => WPGlobus::Config()->builder->get('id'),
|
719 |
+
'language' => WPGlobus::Config()->builder->get_language(),
|
720 |
+
'is_default_language' => WPGlobus::Config()->builder->is_default_language() ? true : false,
|
721 |
+
'src_version_premium' => $src_version_premium,
|
722 |
+
'plus_module' => self::$plus_module,
|
723 |
+
)
|
724 |
+
);
|
725 |
+
|
726 |
+
wp_localize_script(
|
727 |
+
$handle,
|
728 |
+
'WPGlobusVendor',
|
729 |
+
array(
|
730 |
+
'version' => WPGLOBUS_VERSION,
|
731 |
+
'vendor' => WPGlobus::O()->vendors_scripts,
|
732 |
+
'pagenow' => $pagenow,
|
733 |
+
'i18n' => $i18n
|
734 |
+
)
|
735 |
+
);
|
736 |
+
|
737 |
+
endif;
|
738 |
+
|
739 |
+
}
|
740 |
+
|
741 |
+
}
|
742 |
+
|
743 |
+
/**
|
744 |
+
* Add language tabs to wpseo metabox ( .wpseo-metabox-tabs-div )
|
745 |
+
*/
|
746 |
+
public static function action__wpseo_tab_content() {
|
747 |
+
|
748 |
+
/** @global WP_Post $post */
|
749 |
+
global $post;
|
750 |
+
|
751 |
+
if ( self::disabled_entity() ) {
|
752 |
+
return;
|
753 |
+
}
|
754 |
+
|
755 |
+
$permalink = array();
|
756 |
+
if ( 'publish' === $post->post_status ) {
|
757 |
+
$permalink['url'] = get_permalink( $post->ID );
|
758 |
+
$permalink['action'] = 'complete';
|
759 |
+
} else {
|
760 |
+
$permalink['url'] = trailingslashit( home_url() );
|
761 |
+
$permalink['action'] = '';
|
762 |
+
}
|
763 |
+
|
764 |
+
/**
|
765 |
+
* #wpseo-metabox-tabs
|
766 |
+
*/
|
767 |
+
/**
|
768 |
+
* Array of IDs to make multilingual.
|
769 |
+
*/
|
770 |
+
$ids = array(
|
771 |
+
'wpseo-add-keyword-popup',
|
772 |
+
'wpseosnippet',
|
773 |
+
#'wpseosnippet_title',
|
774 |
+
'snippet_preview',
|
775 |
+
'title_container',
|
776 |
+
'snippet_title',
|
777 |
+
'snippet_sitename',
|
778 |
+
'url_container',
|
779 |
+
'snippet_citeBase',
|
780 |
+
'snippet_cite',
|
781 |
+
'meta_container',
|
782 |
+
'snippet_meta',
|
783 |
+
'yoast_wpseo_focuskw_text_input',
|
784 |
+
'yoast_wpseo_focuskw',
|
785 |
+
'yoast_wpseo_focuskeywords',
|
786 |
+
'focuskwresults',
|
787 |
+
'yoast_wpseo_title',
|
788 |
+
#'yoast_wpseo_title-length-warning',
|
789 |
+
'yoast_wpseo_metadesc',
|
790 |
+
#'yoast_wpseo_metadesc-length',
|
791 |
+
#'yoast_wpseo_metadesc_notice',
|
792 |
+
'yoast_wpseo_linkdex',
|
793 |
+
'wpseo-pageanalysis',
|
794 |
+
'yoast-seo-content-analysis',
|
795 |
+
'YoastSEO-plugin-loading',
|
796 |
+
#from Yoast 3.1
|
797 |
+
'snippet-editor-title',
|
798 |
+
'snippet-editor-slug',
|
799 |
+
'snippet-editor-meta-description',
|
800 |
+
#from Yoast 4.4
|
801 |
+
'wpseo-focuskeyword-section',
|
802 |
+
'wpseo-pageanalysis-section',
|
803 |
+
'pageanalysis',
|
804 |
+
#'_yst_is_cornerstone',
|
805 |
+
/* @since 1.8.8 */
|
806 |
+
'wpseometakeywords',
|
807 |
+
'yoast_wpseo_metakeywords'
|
808 |
+
);
|
809 |
+
|
810 |
+
/**
|
811 |
+
* Array of special IDs for yoast premium.
|
812 |
+
* @since 1.7.12
|
813 |
+
*/
|
814 |
+
$ids_premium_special = array(
|
815 |
+
'_yst_is_cornerstone',
|
816 |
+
/* @since 1.8.8 */
|
817 |
+
'wpseometakeywords'
|
818 |
+
);
|
819 |
+
|
820 |
+
$names = array(
|
821 |
+
'yoast_wpseo_focuskw_text_input',
|
822 |
+
'yoast_wpseo_focuskw',
|
823 |
+
'yoast_wpseo_focuskeywords',
|
824 |
+
'yoast_wpseo_title',
|
825 |
+
'yoast_wpseo_metadesc',
|
826 |
+
'yoast_wpseo_linkdex',
|
827 |
+
/* @since 1.8.8 */
|
828 |
+
'yoast_wpseo_metakeywords'
|
829 |
+
);
|
830 |
+
|
831 |
+
$qtip = array(
|
832 |
+
'snippetpreviewhelp',
|
833 |
+
'focuskw_text_inputhelp',
|
834 |
+
'pageanalysishelp',
|
835 |
+
#'focuskwhelp',
|
836 |
+
#'titlehelp',
|
837 |
+
#'metadeschelp',
|
838 |
+
#since yoast seo 3.2
|
839 |
+
'snippetpreview-help',
|
840 |
+
'focuskw_text_input-help',
|
841 |
+
'pageanalysis-help',
|
842 |
+
'snippetpreview-help-toggle',
|
843 |
+
'focuskw_text_input-help-toggle',
|
844 |
+
'pageanalysis-help-toggle'
|
845 |
+
);
|
846 |
+
|
847 |
+
?>
|
848 |
+
|
849 |
+
<div id="wpglobus-wpseo-tabs" style="width:90%;float:right;"> <?php
|
850 |
+
/**
|
851 |
+
* Use span with attributes 'data' for send to js script ids, names elements for which needs to be set new ids, names with language code.
|
852 |
+
*/ ?>
|
853 |
+
<span id="wpglobus-wpseo-attr"
|
854 |
+
data-ids="<?php echo esc_attr( implode( ',', $ids ) ); ?>"
|
855 |
+
data-names="<?php echo esc_attr( implode( ',', $names ) ); ?>"
|
856 |
+
data-qtip="<?php echo esc_attr( implode( ',', $qtip ) ); ?>"
|
857 |
+
data-ids-premium-special="<?php echo esc_attr( implode( ',', $ids_premium_special ) ); ?>">
|
858 |
+
</span>
|
859 |
+
<ul class="wpglobus-wpseo-tabs-list"> <?php
|
860 |
+
$order = 0;
|
861 |
+
foreach ( WPGlobus::Config()->open_languages as $language ) { ?>
|
862 |
+
<li id="wpseo-link-tab-<?php echo esc_attr( $language ); ?>"
|
863 |
+
data-language="<?php echo esc_attr( $language ); ?>"
|
864 |
+
data-order="<?php echo esc_attr( $order ); ?>"
|
865 |
+
class="wpglobus-wpseo-tab"><a
|
866 |
+
href="#wpseo-tab-<?php echo esc_attr($language); ?>"><?php echo esc_attr( WPGlobus::Config()->en_language_name[ $language ] ); ?></a>
|
867 |
+
</li> <?php
|
868 |
+
$order ++;
|
869 |
+
} ?>
|
870 |
+
</ul> <?php
|
871 |
+
|
872 |
+
/**
|
873 |
+
* Get meta description
|
874 |
+
*/
|
875 |
+
$metadesc = get_post_meta( $post->ID, '_yoast_wpseo_metadesc', true );
|
876 |
+
|
877 |
+
/**
|
878 |
+
* Get title
|
879 |
+
*/
|
880 |
+
$wpseotitle = get_post_meta( $post->ID, '_yoast_wpseo_title', true );
|
881 |
+
|
882 |
+
/**
|
883 |
+
* From Yoast3 focus keyword key is '_yoast_wpseo_focuskw_text_input'.
|
884 |
+
*/
|
885 |
+
$focuskw = get_post_meta( $post->ID, '_yoast_wpseo_focuskw_text_input', true );
|
886 |
+
|
887 |
+
/**
|
888 |
+
* Make yoast cite base.
|
889 |
+
*/
|
890 |
+
list( $yoast_permalink ) = get_sample_permalink( $post->ID );
|
891 |
+
$yoast_permalink = str_replace( array( '%pagename%', '%postname%' ), '', urldecode( $yoast_permalink ) );
|
892 |
+
|
893 |
+
/**
|
894 |
+
* Set cite does not editable by default.
|
895 |
+
*/
|
896 |
+
$cite_contenteditable = 'false';
|
897 |
+
|
898 |
+
foreach ( WPGlobus::Config()->open_languages as $language ) {
|
899 |
+
|
900 |
+
$focuskeywords = '';
|
901 |
+
if ( $language == WPGlobus::Config()->default_language ) {
|
902 |
+
/**
|
903 |
+
* Get meta _yoast_wpseo_focuskeywords from yoast premium.
|
904 |
+
* @since 1.7.2 are processing default language only.
|
905 |
+
*/
|
906 |
+
$focuskeywords = get_post_meta( $post->ID, '_yoast_wpseo_focuskeywords', true );
|
907 |
+
}
|
908 |
+
|
909 |
+
$yoast_cite_base = WPGlobus_Utils::localize_url( $yoast_permalink, $language );
|
910 |
+
$yoast_cite_base = str_replace( array( 'http://', 'https://' ), '', $yoast_cite_base );
|
911 |
+
$yoast_cite_base = str_replace( '//', '/', $yoast_cite_base );
|
912 |
+
|
913 |
+
$permalink['url'] = WPGlobus_Utils::localize_url( $permalink['url'], $language );
|
914 |
+
$url = apply_filters( 'wpglobus_wpseo_permalink', $permalink['url'], $language );
|
915 |
+
|
916 |
+
if ( $url !== $permalink['url'] ) {
|
917 |
+
/* We accept that user's filter make complete permalink for draft */
|
918 |
+
/* @todo maybe need more investigation */
|
919 |
+
$permalink['action'] = 'complete';
|
920 |
+
} else {
|
921 |
+
if ( 'publish' !== $post->post_status ) {
|
922 |
+
/**
|
923 |
+
* We cannot get post-name-full to make correct url here ( for draft & auto-draft ). We do it in JS
|
924 |
+
* @see var wpseosnippet_url in wpglobus-wpseo-**.js
|
925 |
+
*/
|
926 |
+
$permalink['action'] = '';
|
927 |
+
}
|
928 |
+
} ?>
|
929 |
+
<div id="wpseo-tab-<?php echo esc_attr( $language ); ?>" class="wpglobus-wpseo-general"
|
930 |
+
data-language="<?php echo esc_attr( $language ); ?>"
|
931 |
+
data-url-<?php echo esc_attr( $language ); ?>="<?php echo esc_attr( $url ); ?>"
|
932 |
+
data-yoast-cite-base="<?php echo esc_attr( $yoast_cite_base ); ?>"
|
933 |
+
data-cite-contenteditable="<?php echo esc_attr( $cite_contenteditable ); ?>"
|
934 |
+
data-permalink="<?php echo esc_attr( $permalink['action'] ); ?>"
|
935 |
+
data-metadesc="<?php echo esc_attr( WPGlobus_Core::text_filter( $metadesc, $language, WPGlobus::RETURN_EMPTY ) ); ?>"
|
936 |
+
data-wpseotitle="<?php echo esc_attr( WPGlobus_Core::text_filter( $wpseotitle, $language, WPGlobus::RETURN_EMPTY ) ); ?>"
|
937 |
+
data-focuskw="<?php echo esc_attr( WPGlobus_Core::text_filter( $focuskw, $language, WPGlobus::RETURN_EMPTY ) ); ?>"
|
938 |
+
data-focuskeywords='<?php echo esc_attr( $focuskeywords ); ?>'>
|
939 |
+
</div> <?php
|
940 |
+
} ?>
|
941 |
+
</div>
|
942 |
+
<?php
|
943 |
+
}
|
944 |
+
|
945 |
+
/**
|
946 |
+
* Check disabled entity.
|
947 |
+
*
|
948 |
+
* @since 1.7.3
|
949 |
+
* @return boolean
|
950 |
+
*/
|
951 |
+
public static function disabled_entity() {
|
952 |
+
|
953 |
+
if ( WPGlobus_WP::is_pagenow( array( 'edit-tags.php', 'term.php' ) ) ) :
|
954 |
+
/**
|
955 |
+
* Don't check page when editing taxonomy.
|
956 |
+
*/
|
957 |
+
return false;
|
958 |
+
endif;
|
959 |
+
|
960 |
+
/** @global WP_Post $post */
|
961 |
+
global $post;
|
962 |
+
|
963 |
+
$result = false;
|
964 |
+
if ( WPGlobus_WP::is_pagenow( array( 'post.php', 'post-new.php' ) ) ) :
|
965 |
+
if ( empty( $post ) ) {
|
966 |
+
$result = true;
|
967 |
+
} else if ( WPGlobus::O()->disabled_entity( $post->post_type ) ) {
|
968 |
+
$result = true;
|
969 |
+
}
|
970 |
+
endif;
|
971 |
+
return $result;
|
972 |
+
}
|
973 |
+
|
974 |
+
} // class
|
975 |
+
|
976 |
+
# --- EOF
|
includes/wpglobus-yoastseo.php
CHANGED
@@ -17,7 +17,16 @@
|
|
17 |
* @since 1.9.18
|
18 |
* 23.10.2018 - 80
|
19 |
*/
|
20 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
|
22 |
if ( defined('WPSEO_VERSION') && defined('WPSEO_PREMIUM_PLUGIN_FILE') ) {
|
23 |
/**
|
@@ -34,7 +43,8 @@ if ( defined('WPSEO_VERSION') && defined('WPSEO_PREMIUM_PLUGIN_FILE') ) {
|
|
34 |
*/
|
35 |
$ver = $wpglobus_yoastseo_latest_version;
|
36 |
require_once "vendor/yoast-seo/class-wpglobus-yoastseo$ver.php";
|
37 |
-
WPGlobus_YoastSEO::controller($ver);
|
|
|
38 |
} elseif ( version_compare( WPGLOBUS_VERSION, '1.8', '>=' ) ) {
|
39 |
/**
|
40 |
* Version of file must be latest.
|
@@ -75,7 +85,7 @@ if ( defined('WPSEO_VERSION') && defined('WPSEO_PREMIUM_PLUGIN_FILE') ) {
|
|
75 |
} elseif ( version_compare( WPSEO_VERSION, '8.0', '>=' ) ) {
|
76 |
|
77 |
require_once "vendor/yoast-seo/class-wpglobus-yoastseo$version.php";
|
78 |
-
WPGlobus_YoastSEO::controller($version);
|
79 |
|
80 |
} else {
|
81 |
|
17 |
* @since 1.9.18
|
18 |
* 23.10.2018 - 80
|
19 |
*/
|
20 |
+
/**
|
21 |
+
* @since 2.2.20
|
22 |
+
* 16.10.2019 - 120
|
23 |
+
*/
|
24 |
+
$wpglobus_yoastseo_latest_version = '120';
|
25 |
+
|
26 |
+
/**
|
27 |
+
* @since 2.2.20
|
28 |
+
*/
|
29 |
+
$wpglobus_yoastseo_plus_access = apply_filters( 'wpglobus_yoastseo_plus_access', false );
|
30 |
|
31 |
if ( defined('WPSEO_VERSION') && defined('WPSEO_PREMIUM_PLUGIN_FILE') ) {
|
32 |
/**
|
43 |
*/
|
44 |
$ver = $wpglobus_yoastseo_latest_version;
|
45 |
require_once "vendor/yoast-seo/class-wpglobus-yoastseo$ver.php";
|
46 |
+
WPGlobus_YoastSEO::controller($ver, $wpglobus_yoastseo_plus_access );
|
47 |
+
|
48 |
} elseif ( version_compare( WPGLOBUS_VERSION, '1.8', '>=' ) ) {
|
49 |
/**
|
50 |
* Version of file must be latest.
|
85 |
} elseif ( version_compare( WPSEO_VERSION, '8.0', '>=' ) ) {
|
86 |
|
87 |
require_once "vendor/yoast-seo/class-wpglobus-yoastseo$version.php";
|
88 |
+
WPGlobus_YoastSEO::controller($version, $wpglobus_yoastseo_plus_access);
|
89 |
|
90 |
} else {
|
91 |
|
languages/wpglobus-ar.po
CHANGED
@@ -705,16 +705,16 @@ msgstr "مُثبت"
|
|
705 |
msgid "Help Desk"
|
706 |
msgstr "طاولة المساعدة"
|
707 |
|
708 |
-
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:
|
709 |
msgid "Email not sent. Please fill in the entire form."
|
710 |
msgstr ""
|
711 |
|
712 |
-
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:
|
713 |
msgid ""
|
714 |
"Email not sent. Please verify that your name and email are entered correctly."
|
715 |
msgstr ""
|
716 |
|
717 |
-
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:
|
718 |
msgid "Email sent."
|
719 |
msgstr ""
|
720 |
|
@@ -775,43 +775,43 @@ msgid ""
|
|
775 |
"technical information to your email message."
|
776 |
msgstr ""
|
777 |
|
778 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
779 |
msgid "WPGlobus Recommends:"
|
780 |
msgstr ""
|
781 |
|
782 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
783 |
#: includes/options/class-wpglobus-options.php:912
|
784 |
msgid "WPGlobus for WooCommerce"
|
785 |
msgstr ""
|
786 |
|
787 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
788 |
msgid ""
|
789 |
"Translate product titles and descriptions, product categories, tags and "
|
790 |
"attributes."
|
791 |
msgstr ""
|
792 |
|
793 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
794 |
msgid "Get it now:"
|
795 |
msgstr ""
|
796 |
|
797 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
798 |
msgid "WooCommerce Multi-Currency"
|
799 |
msgstr ""
|
800 |
|
801 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
802 |
msgid "Accept multiple currencies in your online store!"
|
803 |
msgstr ""
|
804 |
|
805 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
806 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
807 |
msgid "Check it out:"
|
808 |
msgstr ""
|
809 |
|
810 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
811 |
msgid "Translate permalinks with our premium add-on, WPGlobus Plus!"
|
812 |
msgstr ""
|
813 |
|
814 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
815 |
msgid "To translate permalinks, please activate the module Slug."
|
816 |
msgstr ""
|
817 |
|
705 |
msgid "Help Desk"
|
706 |
msgstr "طاولة المساعدة"
|
707 |
|
708 |
+
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:185
|
709 |
msgid "Email not sent. Please fill in the entire form."
|
710 |
msgstr ""
|
711 |
|
712 |
+
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:195
|
713 |
msgid ""
|
714 |
"Email not sent. Please verify that your name and email are entered correctly."
|
715 |
msgstr ""
|
716 |
|
717 |
+
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:216
|
718 |
msgid "Email sent."
|
719 |
msgstr ""
|
720 |
|
775 |
"technical information to your email message."
|
776 |
msgstr ""
|
777 |
|
778 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:89
|
779 |
msgid "WPGlobus Recommends:"
|
780 |
msgstr ""
|
781 |
|
782 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:98,
|
783 |
#: includes/options/class-wpglobus-options.php:912
|
784 |
msgid "WPGlobus for WooCommerce"
|
785 |
msgstr ""
|
786 |
|
787 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:102
|
788 |
msgid ""
|
789 |
"Translate product titles and descriptions, product categories, tags and "
|
790 |
"attributes."
|
791 |
msgstr ""
|
792 |
|
793 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:107
|
794 |
msgid "Get it now:"
|
795 |
msgstr ""
|
796 |
|
797 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:117
|
798 |
msgid "WooCommerce Multi-Currency"
|
799 |
msgstr ""
|
800 |
|
801 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:121
|
802 |
msgid "Accept multiple currencies in your online store!"
|
803 |
msgstr ""
|
804 |
|
805 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:126,
|
806 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:185
|
807 |
msgid "Check it out:"
|
808 |
msgstr ""
|
809 |
|
810 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:183
|
811 |
msgid "Translate permalinks with our premium add-on, WPGlobus Plus!"
|
812 |
msgstr ""
|
813 |
|
814 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:195
|
815 |
msgid "To translate permalinks, please activate the module Slug."
|
816 |
msgstr ""
|
817 |
|
languages/wpglobus-be.po
CHANGED
@@ -752,16 +752,16 @@ msgstr "Установлен"
|
|
752 |
msgid "Help Desk"
|
753 |
msgstr "Поддержка"
|
754 |
|
755 |
-
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:
|
756 |
msgid "Email not sent. Please fill in the entire form."
|
757 |
msgstr ""
|
758 |
|
759 |
-
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:
|
760 |
msgid ""
|
761 |
"Email not sent. Please verify that your name and email are entered correctly."
|
762 |
msgstr ""
|
763 |
|
764 |
-
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:
|
765 |
msgid "Email sent."
|
766 |
msgstr ""
|
767 |
|
@@ -826,43 +826,43 @@ msgid ""
|
|
826 |
"technical information to your email message."
|
827 |
msgstr ""
|
828 |
|
829 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
830 |
msgid "WPGlobus Recommends:"
|
831 |
msgstr "WPGlobus рекомендует:"
|
832 |
|
833 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
834 |
#: includes/options/class-wpglobus-options.php:912
|
835 |
msgid "WPGlobus for WooCommerce"
|
836 |
msgstr "WPGlobus для WooCommerce"
|
837 |
|
838 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
839 |
msgid ""
|
840 |
"Translate product titles and descriptions, product categories, tags and "
|
841 |
"attributes."
|
842 |
msgstr "Переведите названия и описания товаров, категорий, свойств и меток."
|
843 |
|
844 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
845 |
msgid "Get it now:"
|
846 |
msgstr "Установите прямо сейчас:"
|
847 |
|
848 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
849 |
msgid "WooCommerce Multi-Currency"
|
850 |
msgstr ""
|
851 |
|
852 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
853 |
msgid "Accept multiple currencies in your online store!"
|
854 |
msgstr "Принимайте оплату в нескольких валютах!"
|
855 |
|
856 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
857 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
858 |
msgid "Check it out:"
|
859 |
msgstr "Информация - здесь:"
|
860 |
|
861 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
862 |
msgid "Translate permalinks with our premium add-on, WPGlobus Plus!"
|
863 |
msgstr ""
|
864 |
|
865 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
866 |
msgid "To translate permalinks, please activate the module Slug."
|
867 |
msgstr ""
|
868 |
|
752 |
msgid "Help Desk"
|
753 |
msgstr "Поддержка"
|
754 |
|
755 |
+
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:185
|
756 |
msgid "Email not sent. Please fill in the entire form."
|
757 |
msgstr ""
|
758 |
|
759 |
+
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:195
|
760 |
msgid ""
|
761 |
"Email not sent. Please verify that your name and email are entered correctly."
|
762 |
msgstr ""
|
763 |
|
764 |
+
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:216
|
765 |
msgid "Email sent."
|
766 |
msgstr ""
|
767 |
|
826 |
"technical information to your email message."
|
827 |
msgstr ""
|
828 |
|
829 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:89
|
830 |
msgid "WPGlobus Recommends:"
|
831 |
msgstr "WPGlobus рекомендует:"
|
832 |
|
833 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:98,
|
834 |
#: includes/options/class-wpglobus-options.php:912
|
835 |
msgid "WPGlobus for WooCommerce"
|
836 |
msgstr "WPGlobus для WooCommerce"
|
837 |
|
838 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:102
|
839 |
msgid ""
|
840 |
"Translate product titles and descriptions, product categories, tags and "
|
841 |
"attributes."
|
842 |
msgstr "Переведите названия и описания товаров, категорий, свойств и меток."
|
843 |
|
844 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:107
|
845 |
msgid "Get it now:"
|
846 |
msgstr "Установите прямо сейчас:"
|
847 |
|
848 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:117
|
849 |
msgid "WooCommerce Multi-Currency"
|
850 |
msgstr ""
|
851 |
|
852 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:121
|
853 |
msgid "Accept multiple currencies in your online store!"
|
854 |
msgstr "Принимайте оплату в нескольких валютах!"
|
855 |
|
856 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:126,
|
857 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:185
|
858 |
msgid "Check it out:"
|
859 |
msgstr "Информация - здесь:"
|
860 |
|
861 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:183
|
862 |
msgid "Translate permalinks with our premium add-on, WPGlobus Plus!"
|
863 |
msgstr ""
|
864 |
|
865 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:195
|
866 |
msgid "To translate permalinks, please activate the module Slug."
|
867 |
msgstr ""
|
868 |
|
languages/wpglobus-bg_BG.po
CHANGED
@@ -681,16 +681,16 @@ msgstr ""
|
|
681 |
msgid "Help Desk"
|
682 |
msgstr ""
|
683 |
|
684 |
-
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:
|
685 |
msgid "Email not sent. Please fill in the entire form."
|
686 |
msgstr ""
|
687 |
|
688 |
-
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:
|
689 |
msgid ""
|
690 |
"Email not sent. Please verify that your name and email are entered correctly."
|
691 |
msgstr ""
|
692 |
|
693 |
-
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:
|
694 |
msgid "Email sent."
|
695 |
msgstr ""
|
696 |
|
@@ -751,43 +751,43 @@ msgid ""
|
|
751 |
"technical information to your email message."
|
752 |
msgstr ""
|
753 |
|
754 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
755 |
msgid "WPGlobus Recommends:"
|
756 |
msgstr ""
|
757 |
|
758 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
759 |
#: includes/options/class-wpglobus-options.php:912
|
760 |
msgid "WPGlobus for WooCommerce"
|
761 |
msgstr ""
|
762 |
|
763 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
764 |
msgid ""
|
765 |
"Translate product titles and descriptions, product categories, tags and "
|
766 |
"attributes."
|
767 |
msgstr ""
|
768 |
|
769 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
770 |
msgid "Get it now:"
|
771 |
msgstr ""
|
772 |
|
773 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
774 |
msgid "WooCommerce Multi-Currency"
|
775 |
msgstr ""
|
776 |
|
777 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
778 |
msgid "Accept multiple currencies in your online store!"
|
779 |
msgstr ""
|
780 |
|
781 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
782 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
783 |
msgid "Check it out:"
|
784 |
msgstr ""
|
785 |
|
786 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
787 |
msgid "Translate permalinks with our premium add-on, WPGlobus Plus!"
|
788 |
msgstr ""
|
789 |
|
790 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
791 |
msgid "To translate permalinks, please activate the module Slug."
|
792 |
msgstr ""
|
793 |
|
681 |
msgid "Help Desk"
|
682 |
msgstr ""
|
683 |
|
684 |
+
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:185
|
685 |
msgid "Email not sent. Please fill in the entire form."
|
686 |
msgstr ""
|
687 |
|
688 |
+
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:195
|
689 |
msgid ""
|
690 |
"Email not sent. Please verify that your name and email are entered correctly."
|
691 |
msgstr ""
|
692 |
|
693 |
+
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:216
|
694 |
msgid "Email sent."
|
695 |
msgstr ""
|
696 |
|
751 |
"technical information to your email message."
|
752 |
msgstr ""
|
753 |
|
754 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:89
|
755 |
msgid "WPGlobus Recommends:"
|
756 |
msgstr ""
|
757 |
|
758 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:98,
|
759 |
#: includes/options/class-wpglobus-options.php:912
|
760 |
msgid "WPGlobus for WooCommerce"
|
761 |
msgstr ""
|
762 |
|
763 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:102
|
764 |
msgid ""
|
765 |
"Translate product titles and descriptions, product categories, tags and "
|
766 |
"attributes."
|
767 |
msgstr ""
|
768 |
|
769 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:107
|
770 |
msgid "Get it now:"
|
771 |
msgstr ""
|
772 |
|
773 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:117
|
774 |
msgid "WooCommerce Multi-Currency"
|
775 |
msgstr ""
|
776 |
|
777 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:121
|
778 |
msgid "Accept multiple currencies in your online store!"
|
779 |
msgstr ""
|
780 |
|
781 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:126,
|
782 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:185
|
783 |
msgid "Check it out:"
|
784 |
msgstr ""
|
785 |
|
786 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:183
|
787 |
msgid "Translate permalinks with our premium add-on, WPGlobus Plus!"
|
788 |
msgstr ""
|
789 |
|
790 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:195
|
791 |
msgid "To translate permalinks, please activate the module Slug."
|
792 |
msgstr ""
|
793 |
|
languages/wpglobus-de_CH.po
CHANGED
@@ -717,16 +717,16 @@ msgstr "Instaliert"
|
|
717 |
msgid "Help Desk"
|
718 |
msgstr ""
|
719 |
|
720 |
-
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:
|
721 |
msgid "Email not sent. Please fill in the entire form."
|
722 |
msgstr ""
|
723 |
|
724 |
-
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:
|
725 |
msgid ""
|
726 |
"Email not sent. Please verify that your name and email are entered correctly."
|
727 |
msgstr ""
|
728 |
|
729 |
-
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:
|
730 |
msgid "Email sent."
|
731 |
msgstr ""
|
732 |
|
@@ -787,43 +787,43 @@ msgid ""
|
|
787 |
"technical information to your email message."
|
788 |
msgstr ""
|
789 |
|
790 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
791 |
msgid "WPGlobus Recommends:"
|
792 |
msgstr ""
|
793 |
|
794 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
795 |
#: includes/options/class-wpglobus-options.php:912
|
796 |
msgid "WPGlobus for WooCommerce"
|
797 |
msgstr ""
|
798 |
|
799 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
800 |
msgid ""
|
801 |
"Translate product titles and descriptions, product categories, tags and "
|
802 |
"attributes."
|
803 |
msgstr ""
|
804 |
|
805 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
806 |
msgid "Get it now:"
|
807 |
msgstr "Jetzt holen"
|
808 |
|
809 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
810 |
msgid "WooCommerce Multi-Currency"
|
811 |
msgstr ""
|
812 |
|
813 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
814 |
msgid "Accept multiple currencies in your online store!"
|
815 |
msgstr ""
|
816 |
|
817 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
818 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
819 |
msgid "Check it out:"
|
820 |
msgstr ""
|
821 |
|
822 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
823 |
msgid "Translate permalinks with our premium add-on, WPGlobus Plus!"
|
824 |
msgstr ""
|
825 |
|
826 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
827 |
msgid "To translate permalinks, please activate the module Slug."
|
828 |
msgstr ""
|
829 |
|
717 |
msgid "Help Desk"
|
718 |
msgstr ""
|
719 |
|
720 |
+
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:185
|
721 |
msgid "Email not sent. Please fill in the entire form."
|
722 |
msgstr ""
|
723 |
|
724 |
+
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:195
|
725 |
msgid ""
|
726 |
"Email not sent. Please verify that your name and email are entered correctly."
|
727 |
msgstr ""
|
728 |
|
729 |
+
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:216
|
730 |
msgid "Email sent."
|
731 |
msgstr ""
|
732 |
|
787 |
"technical information to your email message."
|
788 |
msgstr ""
|
789 |
|
790 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:89
|
791 |
msgid "WPGlobus Recommends:"
|
792 |
msgstr ""
|
793 |
|
794 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:98,
|
795 |
#: includes/options/class-wpglobus-options.php:912
|
796 |
msgid "WPGlobus for WooCommerce"
|
797 |
msgstr ""
|
798 |
|
799 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:102
|
800 |
msgid ""
|
801 |
"Translate product titles and descriptions, product categories, tags and "
|
802 |
"attributes."
|
803 |
msgstr ""
|
804 |
|
805 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:107
|
806 |
msgid "Get it now:"
|
807 |
msgstr "Jetzt holen"
|
808 |
|
809 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:117
|
810 |
msgid "WooCommerce Multi-Currency"
|
811 |
msgstr ""
|
812 |
|
813 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:121
|
814 |
msgid "Accept multiple currencies in your online store!"
|
815 |
msgstr ""
|
816 |
|
817 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:126,
|
818 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:185
|
819 |
msgid "Check it out:"
|
820 |
msgstr ""
|
821 |
|
822 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:183
|
823 |
msgid "Translate permalinks with our premium add-on, WPGlobus Plus!"
|
824 |
msgstr ""
|
825 |
|
826 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:195
|
827 |
msgid "To translate permalinks, please activate the module Slug."
|
828 |
msgstr ""
|
829 |
|
languages/wpglobus-de_DE.po
CHANGED
@@ -716,16 +716,16 @@ msgstr "Installiert"
|
|
716 |
msgid "Help Desk"
|
717 |
msgstr ""
|
718 |
|
719 |
-
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:
|
720 |
msgid "Email not sent. Please fill in the entire form."
|
721 |
msgstr ""
|
722 |
|
723 |
-
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:
|
724 |
msgid ""
|
725 |
"Email not sent. Please verify that your name and email are entered correctly."
|
726 |
msgstr ""
|
727 |
|
728 |
-
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:
|
729 |
msgid "Email sent."
|
730 |
msgstr ""
|
731 |
|
@@ -787,43 +787,43 @@ msgid ""
|
|
787 |
"technical information to your email message."
|
788 |
msgstr ""
|
789 |
|
790 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
791 |
msgid "WPGlobus Recommends:"
|
792 |
msgstr ""
|
793 |
|
794 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
795 |
#: includes/options/class-wpglobus-options.php:912
|
796 |
msgid "WPGlobus for WooCommerce"
|
797 |
msgstr ""
|
798 |
|
799 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
800 |
msgid ""
|
801 |
"Translate product titles and descriptions, product categories, tags and "
|
802 |
"attributes."
|
803 |
msgstr ""
|
804 |
|
805 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
806 |
msgid "Get it now:"
|
807 |
msgstr "Jetzt holen"
|
808 |
|
809 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
810 |
msgid "WooCommerce Multi-Currency"
|
811 |
msgstr ""
|
812 |
|
813 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
814 |
msgid "Accept multiple currencies in your online store!"
|
815 |
msgstr ""
|
816 |
|
817 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
818 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
819 |
msgid "Check it out:"
|
820 |
msgstr ""
|
821 |
|
822 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
823 |
msgid "Translate permalinks with our premium add-on, WPGlobus Plus!"
|
824 |
msgstr ""
|
825 |
|
826 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
827 |
msgid "To translate permalinks, please activate the module Slug."
|
828 |
msgstr ""
|
829 |
|
716 |
msgid "Help Desk"
|
717 |
msgstr ""
|
718 |
|
719 |
+
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:185
|
720 |
msgid "Email not sent. Please fill in the entire form."
|
721 |
msgstr ""
|
722 |
|
723 |
+
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:195
|
724 |
msgid ""
|
725 |
"Email not sent. Please verify that your name and email are entered correctly."
|
726 |
msgstr ""
|
727 |
|
728 |
+
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:216
|
729 |
msgid "Email sent."
|
730 |
msgstr ""
|
731 |
|
787 |
"technical information to your email message."
|
788 |
msgstr ""
|
789 |
|
790 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:89
|
791 |
msgid "WPGlobus Recommends:"
|
792 |
msgstr ""
|
793 |
|
794 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:98,
|
795 |
#: includes/options/class-wpglobus-options.php:912
|
796 |
msgid "WPGlobus for WooCommerce"
|
797 |
msgstr ""
|
798 |
|
799 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:102
|
800 |
msgid ""
|
801 |
"Translate product titles and descriptions, product categories, tags and "
|
802 |
"attributes."
|
803 |
msgstr ""
|
804 |
|
805 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:107
|
806 |
msgid "Get it now:"
|
807 |
msgstr "Jetzt holen"
|
808 |
|
809 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:117
|
810 |
msgid "WooCommerce Multi-Currency"
|
811 |
msgstr ""
|
812 |
|
813 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:121
|
814 |
msgid "Accept multiple currencies in your online store!"
|
815 |
msgstr ""
|
816 |
|
817 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:126,
|
818 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:185
|
819 |
msgid "Check it out:"
|
820 |
msgstr ""
|
821 |
|
822 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:183
|
823 |
msgid "Translate permalinks with our premium add-on, WPGlobus Plus!"
|
824 |
msgstr ""
|
825 |
|
826 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:195
|
827 |
msgid "To translate permalinks, please activate the module Slug."
|
828 |
msgstr ""
|
829 |
|
languages/wpglobus-el.po
CHANGED
@@ -682,16 +682,16 @@ msgstr ""
|
|
682 |
msgid "Help Desk"
|
683 |
msgstr ""
|
684 |
|
685 |
-
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:
|
686 |
msgid "Email not sent. Please fill in the entire form."
|
687 |
msgstr ""
|
688 |
|
689 |
-
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:
|
690 |
msgid ""
|
691 |
"Email not sent. Please verify that your name and email are entered correctly."
|
692 |
msgstr ""
|
693 |
|
694 |
-
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:
|
695 |
msgid "Email sent."
|
696 |
msgstr ""
|
697 |
|
@@ -752,43 +752,43 @@ msgid ""
|
|
752 |
"technical information to your email message."
|
753 |
msgstr ""
|
754 |
|
755 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
756 |
msgid "WPGlobus Recommends:"
|
757 |
msgstr ""
|
758 |
|
759 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
760 |
#: includes/options/class-wpglobus-options.php:912
|
761 |
msgid "WPGlobus for WooCommerce"
|
762 |
msgstr ""
|
763 |
|
764 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
765 |
msgid ""
|
766 |
"Translate product titles and descriptions, product categories, tags and "
|
767 |
"attributes."
|
768 |
msgstr ""
|
769 |
|
770 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
771 |
msgid "Get it now:"
|
772 |
msgstr ""
|
773 |
|
774 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
775 |
msgid "WooCommerce Multi-Currency"
|
776 |
msgstr ""
|
777 |
|
778 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
779 |
msgid "Accept multiple currencies in your online store!"
|
780 |
msgstr ""
|
781 |
|
782 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
783 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
784 |
msgid "Check it out:"
|
785 |
msgstr ""
|
786 |
|
787 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
788 |
msgid "Translate permalinks with our premium add-on, WPGlobus Plus!"
|
789 |
msgstr ""
|
790 |
|
791 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
792 |
msgid "To translate permalinks, please activate the module Slug."
|
793 |
msgstr ""
|
794 |
|
682 |
msgid "Help Desk"
|
683 |
msgstr ""
|
684 |
|
685 |
+
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:185
|
686 |
msgid "Email not sent. Please fill in the entire form."
|
687 |
msgstr ""
|
688 |
|
689 |
+
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:195
|
690 |
msgid ""
|
691 |
"Email not sent. Please verify that your name and email are entered correctly."
|
692 |
msgstr ""
|
693 |
|
694 |
+
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:216
|
695 |
msgid "Email sent."
|
696 |
msgstr ""
|
697 |
|
752 |
"technical information to your email message."
|
753 |
msgstr ""
|
754 |
|
755 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:89
|
756 |
msgid "WPGlobus Recommends:"
|
757 |
msgstr ""
|
758 |
|
759 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:98,
|
760 |
#: includes/options/class-wpglobus-options.php:912
|
761 |
msgid "WPGlobus for WooCommerce"
|
762 |
msgstr ""
|
763 |
|
764 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:102
|
765 |
msgid ""
|
766 |
"Translate product titles and descriptions, product categories, tags and "
|
767 |
"attributes."
|
768 |
msgstr ""
|
769 |
|
770 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:107
|
771 |
msgid "Get it now:"
|
772 |
msgstr ""
|
773 |
|
774 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:117
|
775 |
msgid "WooCommerce Multi-Currency"
|
776 |
msgstr ""
|
777 |
|
778 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:121
|
779 |
msgid "Accept multiple currencies in your online store!"
|
780 |
msgstr ""
|
781 |
|
782 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:126,
|
783 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:185
|
784 |
msgid "Check it out:"
|
785 |
msgstr ""
|
786 |
|
787 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:183
|
788 |
msgid "Translate permalinks with our premium add-on, WPGlobus Plus!"
|
789 |
msgstr ""
|
790 |
|
791 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:195
|
792 |
msgid "To translate permalinks, please activate the module Slug."
|
793 |
msgstr ""
|
794 |
|
languages/wpglobus-en_AU.po
CHANGED
@@ -751,16 +751,16 @@ msgstr "Installed"
|
|
751 |
msgid "Help Desk"
|
752 |
msgstr "Help Desk"
|
753 |
|
754 |
-
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:
|
755 |
msgid "Email not sent. Please fill in the entire form."
|
756 |
msgstr ""
|
757 |
|
758 |
-
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:
|
759 |
msgid ""
|
760 |
"Email not sent. Please verify that your name and email are entered correctly."
|
761 |
msgstr ""
|
762 |
|
763 |
-
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:
|
764 |
msgid "Email sent."
|
765 |
msgstr ""
|
766 |
|
@@ -824,16 +824,16 @@ msgid ""
|
|
824 |
"technical information to your email message."
|
825 |
msgstr ""
|
826 |
|
827 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
828 |
msgid "WPGlobus Recommends:"
|
829 |
msgstr "WPGlobus Recommends:"
|
830 |
|
831 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
832 |
#: includes/options/class-wpglobus-options.php:912
|
833 |
msgid "WPGlobus for WooCommerce"
|
834 |
msgstr "WPGlobus for WooCommerce"
|
835 |
|
836 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
837 |
msgid ""
|
838 |
"Translate product titles and descriptions, product categories, tags and "
|
839 |
"attributes."
|
@@ -841,28 +841,28 @@ msgstr ""
|
|
841 |
"Translate product titles and descriptions, product categories, tags and "
|
842 |
"attributes."
|
843 |
|
844 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
845 |
msgid "Get it now:"
|
846 |
msgstr "Get it now:"
|
847 |
|
848 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
849 |
msgid "WooCommerce Multi-Currency"
|
850 |
msgstr ""
|
851 |
|
852 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
853 |
msgid "Accept multiple currencies in your online store!"
|
854 |
msgstr "Accept multiple currencies in your online store!"
|
855 |
|
856 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
857 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
858 |
msgid "Check it out:"
|
859 |
msgstr "Check it out:"
|
860 |
|
861 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
862 |
msgid "Translate permalinks with our premium add-on, WPGlobus Plus!"
|
863 |
msgstr ""
|
864 |
|
865 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
866 |
msgid "To translate permalinks, please activate the module Slug."
|
867 |
msgstr ""
|
868 |
|
751 |
msgid "Help Desk"
|
752 |
msgstr "Help Desk"
|
753 |
|
754 |
+
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:185
|
755 |
msgid "Email not sent. Please fill in the entire form."
|
756 |
msgstr ""
|
757 |
|
758 |
+
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:195
|
759 |
msgid ""
|
760 |
"Email not sent. Please verify that your name and email are entered correctly."
|
761 |
msgstr ""
|
762 |
|
763 |
+
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:216
|
764 |
msgid "Email sent."
|
765 |
msgstr ""
|
766 |
|
824 |
"technical information to your email message."
|
825 |
msgstr ""
|
826 |
|
827 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:89
|
828 |
msgid "WPGlobus Recommends:"
|
829 |
msgstr "WPGlobus Recommends:"
|
830 |
|
831 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:98,
|
832 |
#: includes/options/class-wpglobus-options.php:912
|
833 |
msgid "WPGlobus for WooCommerce"
|
834 |
msgstr "WPGlobus for WooCommerce"
|
835 |
|
836 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:102
|
837 |
msgid ""
|
838 |
"Translate product titles and descriptions, product categories, tags and "
|
839 |
"attributes."
|
841 |
"Translate product titles and descriptions, product categories, tags and "
|
842 |
"attributes."
|
843 |
|
844 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:107
|
845 |
msgid "Get it now:"
|
846 |
msgstr "Get it now:"
|
847 |
|
848 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:117
|
849 |
msgid "WooCommerce Multi-Currency"
|
850 |
msgstr ""
|
851 |
|
852 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:121
|
853 |
msgid "Accept multiple currencies in your online store!"
|
854 |
msgstr "Accept multiple currencies in your online store!"
|
855 |
|
856 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:126,
|
857 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:185
|
858 |
msgid "Check it out:"
|
859 |
msgstr "Check it out:"
|
860 |
|
861 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:183
|
862 |
msgid "Translate permalinks with our premium add-on, WPGlobus Plus!"
|
863 |
msgstr ""
|
864 |
|
865 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:195
|
866 |
msgid "To translate permalinks, please activate the module Slug."
|
867 |
msgstr ""
|
868 |
|
languages/wpglobus-en_CA.po
CHANGED
@@ -750,16 +750,16 @@ msgstr "Installed"
|
|
750 |
msgid "Help Desk"
|
751 |
msgstr "Help Desk"
|
752 |
|
753 |
-
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:
|
754 |
msgid "Email not sent. Please fill in the entire form."
|
755 |
msgstr ""
|
756 |
|
757 |
-
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:
|
758 |
msgid ""
|
759 |
"Email not sent. Please verify that your name and email are entered correctly."
|
760 |
msgstr ""
|
761 |
|
762 |
-
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:
|
763 |
msgid "Email sent."
|
764 |
msgstr ""
|
765 |
|
@@ -823,16 +823,16 @@ msgid ""
|
|
823 |
"technical information to your email message."
|
824 |
msgstr ""
|
825 |
|
826 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
827 |
msgid "WPGlobus Recommends:"
|
828 |
msgstr "WPGlobus Recommends:"
|
829 |
|
830 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
831 |
#: includes/options/class-wpglobus-options.php:912
|
832 |
msgid "WPGlobus for WooCommerce"
|
833 |
msgstr "WPGlobus for WooCommerce"
|
834 |
|
835 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
836 |
msgid ""
|
837 |
"Translate product titles and descriptions, product categories, tags and "
|
838 |
"attributes."
|
@@ -840,28 +840,28 @@ msgstr ""
|
|
840 |
"Translate product titles and descriptions, product categories, tags and "
|
841 |
"attributes."
|
842 |
|
843 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
844 |
msgid "Get it now:"
|
845 |
msgstr "Get it now:"
|
846 |
|
847 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
848 |
msgid "WooCommerce Multi-Currency"
|
849 |
msgstr ""
|
850 |
|
851 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
852 |
msgid "Accept multiple currencies in your online store!"
|
853 |
msgstr "Accept multiple currencies in your online store!"
|
854 |
|
855 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
856 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
857 |
msgid "Check it out:"
|
858 |
msgstr "Check it out:"
|
859 |
|
860 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
861 |
msgid "Translate permalinks with our premium add-on, WPGlobus Plus!"
|
862 |
msgstr ""
|
863 |
|
864 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
865 |
msgid "To translate permalinks, please activate the module Slug."
|
866 |
msgstr ""
|
867 |
|
750 |
msgid "Help Desk"
|
751 |
msgstr "Help Desk"
|
752 |
|
753 |
+
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:185
|
754 |
msgid "Email not sent. Please fill in the entire form."
|
755 |
msgstr ""
|
756 |
|
757 |
+
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:195
|
758 |
msgid ""
|
759 |
"Email not sent. Please verify that your name and email are entered correctly."
|
760 |
msgstr ""
|
761 |
|
762 |
+
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:216
|
763 |
msgid "Email sent."
|
764 |
msgstr ""
|
765 |
|
823 |
"technical information to your email message."
|
824 |
msgstr ""
|
825 |
|
826 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:89
|
827 |
msgid "WPGlobus Recommends:"
|
828 |
msgstr "WPGlobus Recommends:"
|
829 |
|
830 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:98,
|
831 |
#: includes/options/class-wpglobus-options.php:912
|
832 |
msgid "WPGlobus for WooCommerce"
|
833 |
msgstr "WPGlobus for WooCommerce"
|
834 |
|
835 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:102
|
836 |
msgid ""
|
837 |
"Translate product titles and descriptions, product categories, tags and "
|
838 |
"attributes."
|
840 |
"Translate product titles and descriptions, product categories, tags and "
|
841 |
"attributes."
|
842 |
|
843 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:107
|
844 |
msgid "Get it now:"
|
845 |
msgstr "Get it now:"
|
846 |
|
847 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:117
|
848 |
msgid "WooCommerce Multi-Currency"
|
849 |
msgstr ""
|
850 |
|
851 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:121
|
852 |
msgid "Accept multiple currencies in your online store!"
|
853 |
msgstr "Accept multiple currencies in your online store!"
|
854 |
|
855 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:126,
|
856 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:185
|
857 |
msgid "Check it out:"
|
858 |
msgstr "Check it out:"
|
859 |
|
860 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:183
|
861 |
msgid "Translate permalinks with our premium add-on, WPGlobus Plus!"
|
862 |
msgstr ""
|
863 |
|
864 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:195
|
865 |
msgid "To translate permalinks, please activate the module Slug."
|
866 |
msgstr ""
|
867 |
|
languages/wpglobus-en_GB.po
CHANGED
@@ -751,16 +751,16 @@ msgstr "Installed"
|
|
751 |
msgid "Help Desk"
|
752 |
msgstr "Help Desk"
|
753 |
|
754 |
-
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:
|
755 |
msgid "Email not sent. Please fill in the entire form."
|
756 |
msgstr ""
|
757 |
|
758 |
-
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:
|
759 |
msgid ""
|
760 |
"Email not sent. Please verify that your name and email are entered correctly."
|
761 |
msgstr ""
|
762 |
|
763 |
-
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:
|
764 |
msgid "Email sent."
|
765 |
msgstr ""
|
766 |
|
@@ -824,16 +824,16 @@ msgid ""
|
|
824 |
"technical information to your email message."
|
825 |
msgstr ""
|
826 |
|
827 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
828 |
msgid "WPGlobus Recommends:"
|
829 |
msgstr "WPGlobus Recommends:"
|
830 |
|
831 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
832 |
#: includes/options/class-wpglobus-options.php:912
|
833 |
msgid "WPGlobus for WooCommerce"
|
834 |
msgstr "WPGlobus for WooCommerce"
|
835 |
|
836 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
837 |
msgid ""
|
838 |
"Translate product titles and descriptions, product categories, tags and "
|
839 |
"attributes."
|
@@ -841,28 +841,28 @@ msgstr ""
|
|
841 |
"Translate product titles and descriptions, product categories, tags and "
|
842 |
"attributes."
|
843 |
|
844 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
845 |
msgid "Get it now:"
|
846 |
msgstr "Get it now:"
|
847 |
|
848 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
849 |
msgid "WooCommerce Multi-Currency"
|
850 |
msgstr ""
|
851 |
|
852 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
853 |
msgid "Accept multiple currencies in your online store!"
|
854 |
msgstr "Accept multiple currencies in your online store!"
|
855 |
|
856 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
857 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
858 |
msgid "Check it out:"
|
859 |
msgstr "Check it out:"
|
860 |
|
861 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
862 |
msgid "Translate permalinks with our premium add-on, WPGlobus Plus!"
|
863 |
msgstr ""
|
864 |
|
865 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
866 |
msgid "To translate permalinks, please activate the module Slug."
|
867 |
msgstr ""
|
868 |
|
751 |
msgid "Help Desk"
|
752 |
msgstr "Help Desk"
|
753 |
|
754 |
+
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:185
|
755 |
msgid "Email not sent. Please fill in the entire form."
|
756 |
msgstr ""
|
757 |
|
758 |
+
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:195
|
759 |
msgid ""
|
760 |
"Email not sent. Please verify that your name and email are entered correctly."
|
761 |
msgstr ""
|
762 |
|
763 |
+
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:216
|
764 |
msgid "Email sent."
|
765 |
msgstr ""
|
766 |
|
824 |
"technical information to your email message."
|
825 |
msgstr ""
|
826 |
|
827 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:89
|
828 |
msgid "WPGlobus Recommends:"
|
829 |
msgstr "WPGlobus Recommends:"
|
830 |
|
831 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:98,
|
832 |
#: includes/options/class-wpglobus-options.php:912
|
833 |
msgid "WPGlobus for WooCommerce"
|
834 |
msgstr "WPGlobus for WooCommerce"
|
835 |
|
836 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:102
|
837 |
msgid ""
|
838 |
"Translate product titles and descriptions, product categories, tags and "
|
839 |
"attributes."
|
841 |
"Translate product titles and descriptions, product categories, tags and "
|
842 |
"attributes."
|
843 |
|
844 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:107
|
845 |
msgid "Get it now:"
|
846 |
msgstr "Get it now:"
|
847 |
|
848 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:117
|
849 |
msgid "WooCommerce Multi-Currency"
|
850 |
msgstr ""
|
851 |
|
852 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:121
|
853 |
msgid "Accept multiple currencies in your online store!"
|
854 |
msgstr "Accept multiple currencies in your online store!"
|
855 |
|
856 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:126,
|
857 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:185
|
858 |
msgid "Check it out:"
|
859 |
msgstr "Check it out:"
|
860 |
|
861 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:183
|
862 |
msgid "Translate permalinks with our premium add-on, WPGlobus Plus!"
|
863 |
msgstr ""
|
864 |
|
865 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:195
|
866 |
msgid "To translate permalinks, please activate the module Slug."
|
867 |
msgstr ""
|
868 |
|
languages/wpglobus-en_NZ.po
CHANGED
@@ -750,16 +750,16 @@ msgstr "Installed"
|
|
750 |
msgid "Help Desk"
|
751 |
msgstr "Help Desk"
|
752 |
|
753 |
-
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:
|
754 |
msgid "Email not sent. Please fill in the entire form."
|
755 |
msgstr ""
|
756 |
|
757 |
-
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:
|
758 |
msgid ""
|
759 |
"Email not sent. Please verify that your name and email are entered correctly."
|
760 |
msgstr ""
|
761 |
|
762 |
-
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:
|
763 |
msgid "Email sent."
|
764 |
msgstr ""
|
765 |
|
@@ -823,16 +823,16 @@ msgid ""
|
|
823 |
"technical information to your email message."
|
824 |
msgstr ""
|
825 |
|
826 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
827 |
msgid "WPGlobus Recommends:"
|
828 |
msgstr "WPGlobus Recommends:"
|
829 |
|
830 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
831 |
#: includes/options/class-wpglobus-options.php:912
|
832 |
msgid "WPGlobus for WooCommerce"
|
833 |
msgstr "WPGlobus for WooCommerce"
|
834 |
|
835 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
836 |
msgid ""
|
837 |
"Translate product titles and descriptions, product categories, tags and "
|
838 |
"attributes."
|
@@ -840,28 +840,28 @@ msgstr ""
|
|
840 |
"Translate product titles and descriptions, product categories, tags and "
|
841 |
"attributes."
|
842 |
|
843 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
844 |
msgid "Get it now:"
|
845 |
msgstr "Get it now:"
|
846 |
|
847 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
848 |
msgid "WooCommerce Multi-Currency"
|
849 |
msgstr ""
|
850 |
|
851 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
852 |
msgid "Accept multiple currencies in your online store!"
|
853 |
msgstr "Accept multiple currencies in your online store!"
|
854 |
|
855 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
856 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
857 |
msgid "Check it out:"
|
858 |
msgstr "Check it out:"
|
859 |
|
860 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
861 |
msgid "Translate permalinks with our premium add-on, WPGlobus Plus!"
|
862 |
msgstr ""
|
863 |
|
864 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
865 |
msgid "To translate permalinks, please activate the module Slug."
|
866 |
msgstr ""
|
867 |
|
750 |
msgid "Help Desk"
|
751 |
msgstr "Help Desk"
|
752 |
|
753 |
+
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:185
|
754 |
msgid "Email not sent. Please fill in the entire form."
|
755 |
msgstr ""
|
756 |
|
757 |
+
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:195
|
758 |
msgid ""
|
759 |
"Email not sent. Please verify that your name and email are entered correctly."
|
760 |
msgstr ""
|
761 |
|
762 |
+
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:216
|
763 |
msgid "Email sent."
|
764 |
msgstr ""
|
765 |
|
823 |
"technical information to your email message."
|
824 |
msgstr ""
|
825 |
|
826 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:89
|
827 |
msgid "WPGlobus Recommends:"
|
828 |
msgstr "WPGlobus Recommends:"
|
829 |
|
830 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:98,
|
831 |
#: includes/options/class-wpglobus-options.php:912
|
832 |
msgid "WPGlobus for WooCommerce"
|
833 |
msgstr "WPGlobus for WooCommerce"
|
834 |
|
835 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:102
|
836 |
msgid ""
|
837 |
"Translate product titles and descriptions, product categories, tags and "
|
838 |
"attributes."
|
840 |
"Translate product titles and descriptions, product categories, tags and "
|
841 |
"attributes."
|
842 |
|
843 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:107
|
844 |
msgid "Get it now:"
|
845 |
msgstr "Get it now:"
|
846 |
|
847 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:117
|
848 |
msgid "WooCommerce Multi-Currency"
|
849 |
msgstr ""
|
850 |
|
851 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:121
|
852 |
msgid "Accept multiple currencies in your online store!"
|
853 |
msgstr "Accept multiple currencies in your online store!"
|
854 |
|
855 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:126,
|
856 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:185
|
857 |
msgid "Check it out:"
|
858 |
msgstr "Check it out:"
|
859 |
|
860 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:183
|
861 |
msgid "Translate permalinks with our premium add-on, WPGlobus Plus!"
|
862 |
msgstr ""
|
863 |
|
864 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:195
|
865 |
msgid "To translate permalinks, please activate the module Slug."
|
866 |
msgstr ""
|
867 |
|
languages/wpglobus-en_US.po
CHANGED
@@ -751,17 +751,17 @@ msgstr "Installed"
|
|
751 |
msgid "Help Desk"
|
752 |
msgstr "Help Desk"
|
753 |
|
754 |
-
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:
|
755 |
msgid "Email not sent. Please fill in the entire form."
|
756 |
msgstr "Email not sent. Please fill in the entire form."
|
757 |
|
758 |
-
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:
|
759 |
msgid ""
|
760 |
"Email not sent. Please verify that your name and email are entered correctly."
|
761 |
msgstr ""
|
762 |
"Email not sent. Please verify that your name and email are entered correctly."
|
763 |
|
764 |
-
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:
|
765 |
msgid "Email sent."
|
766 |
msgstr "Email sent."
|
767 |
|
@@ -827,16 +827,16 @@ msgstr ""
|
|
827 |
"Alternatively, please email %s. Do not forget to copy and paste the "
|
828 |
"technical information to your email message."
|
829 |
|
830 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
831 |
msgid "WPGlobus Recommends:"
|
832 |
msgstr "WPGlobus Recommends:"
|
833 |
|
834 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
835 |
#: includes/options/class-wpglobus-options.php:912
|
836 |
msgid "WPGlobus for WooCommerce"
|
837 |
msgstr "WPGlobus for WooCommerce"
|
838 |
|
839 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
840 |
msgid ""
|
841 |
"Translate product titles and descriptions, product categories, tags and "
|
842 |
"attributes."
|
@@ -844,28 +844,28 @@ msgstr ""
|
|
844 |
"Translate product titles and descriptions, product categories, tags and "
|
845 |
"attributes."
|
846 |
|
847 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
848 |
msgid "Get it now:"
|
849 |
msgstr "Get it now:"
|
850 |
|
851 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
852 |
msgid "WooCommerce Multi-Currency"
|
853 |
msgstr "WooCommerce Multi-Currency"
|
854 |
|
855 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
856 |
msgid "Accept multiple currencies in your online store!"
|
857 |
msgstr "Accept multiple currencies in your online store!"
|
858 |
|
859 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
860 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
861 |
msgid "Check it out:"
|
862 |
msgstr "Check it out:"
|
863 |
|
864 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
865 |
msgid "Translate permalinks with our premium add-on, WPGlobus Plus!"
|
866 |
msgstr "Translate permalinks with our premium add-on, WPGlobus Plus!"
|
867 |
|
868 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
869 |
msgid "To translate permalinks, please activate the module Slug."
|
870 |
msgstr "To translate permalinks, please activate the module Slug."
|
871 |
|
751 |
msgid "Help Desk"
|
752 |
msgstr "Help Desk"
|
753 |
|
754 |
+
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:185
|
755 |
msgid "Email not sent. Please fill in the entire form."
|
756 |
msgstr "Email not sent. Please fill in the entire form."
|
757 |
|
758 |
+
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:195
|
759 |
msgid ""
|
760 |
"Email not sent. Please verify that your name and email are entered correctly."
|
761 |
msgstr ""
|
762 |
"Email not sent. Please verify that your name and email are entered correctly."
|
763 |
|
764 |
+
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:216
|
765 |
msgid "Email sent."
|
766 |
msgstr "Email sent."
|
767 |
|
827 |
"Alternatively, please email %s. Do not forget to copy and paste the "
|
828 |
"technical information to your email message."
|
829 |
|
830 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:89
|
831 |
msgid "WPGlobus Recommends:"
|
832 |
msgstr "WPGlobus Recommends:"
|
833 |
|
834 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:98,
|
835 |
#: includes/options/class-wpglobus-options.php:912
|
836 |
msgid "WPGlobus for WooCommerce"
|
837 |
msgstr "WPGlobus for WooCommerce"
|
838 |
|
839 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:102
|
840 |
msgid ""
|
841 |
"Translate product titles and descriptions, product categories, tags and "
|
842 |
"attributes."
|
844 |
"Translate product titles and descriptions, product categories, tags and "
|
845 |
"attributes."
|
846 |
|
847 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:107
|
848 |
msgid "Get it now:"
|
849 |
msgstr "Get it now:"
|
850 |
|
851 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:117
|
852 |
msgid "WooCommerce Multi-Currency"
|
853 |
msgstr "WooCommerce Multi-Currency"
|
854 |
|
855 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:121
|
856 |
msgid "Accept multiple currencies in your online store!"
|
857 |
msgstr "Accept multiple currencies in your online store!"
|
858 |
|
859 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:126,
|
860 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:185
|
861 |
msgid "Check it out:"
|
862 |
msgstr "Check it out:"
|
863 |
|
864 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:183
|
865 |
msgid "Translate permalinks with our premium add-on, WPGlobus Plus!"
|
866 |
msgstr "Translate permalinks with our premium add-on, WPGlobus Plus!"
|
867 |
|
868 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:195
|
869 |
msgid "To translate permalinks, please activate the module Slug."
|
870 |
msgstr "To translate permalinks, please activate the module Slug."
|
871 |
|
languages/wpglobus-en_ZA.po
CHANGED
@@ -750,16 +750,16 @@ msgstr "Installed"
|
|
750 |
msgid "Help Desk"
|
751 |
msgstr "Help Desk"
|
752 |
|
753 |
-
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:
|
754 |
msgid "Email not sent. Please fill in the entire form."
|
755 |
msgstr ""
|
756 |
|
757 |
-
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:
|
758 |
msgid ""
|
759 |
"Email not sent. Please verify that your name and email are entered correctly."
|
760 |
msgstr ""
|
761 |
|
762 |
-
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:
|
763 |
msgid "Email sent."
|
764 |
msgstr ""
|
765 |
|
@@ -823,16 +823,16 @@ msgid ""
|
|
823 |
"technical information to your email message."
|
824 |
msgstr ""
|
825 |
|
826 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
827 |
msgid "WPGlobus Recommends:"
|
828 |
msgstr "WPGlobus Recommends:"
|
829 |
|
830 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
831 |
#: includes/options/class-wpglobus-options.php:912
|
832 |
msgid "WPGlobus for WooCommerce"
|
833 |
msgstr "WPGlobus for WooCommerce"
|
834 |
|
835 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
836 |
msgid ""
|
837 |
"Translate product titles and descriptions, product categories, tags and "
|
838 |
"attributes."
|
@@ -840,28 +840,28 @@ msgstr ""
|
|
840 |
"Translate product titles and descriptions, product categories, tags and "
|
841 |
"attributes."
|
842 |
|
843 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
844 |
msgid "Get it now:"
|
845 |
msgstr "Get it now:"
|
846 |
|
847 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
848 |
msgid "WooCommerce Multi-Currency"
|
849 |
msgstr ""
|
850 |
|
851 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
852 |
msgid "Accept multiple currencies in your online store!"
|
853 |
msgstr "Accept multiple currencies in your online store!"
|
854 |
|
855 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
856 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
857 |
msgid "Check it out:"
|
858 |
msgstr "Check it out:"
|
859 |
|
860 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
861 |
msgid "Translate permalinks with our premium add-on, WPGlobus Plus!"
|
862 |
msgstr ""
|
863 |
|
864 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
865 |
msgid "To translate permalinks, please activate the module Slug."
|
866 |
msgstr ""
|
867 |
|
750 |
msgid "Help Desk"
|
751 |
msgstr "Help Desk"
|
752 |
|
753 |
+
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:185
|
754 |
msgid "Email not sent. Please fill in the entire form."
|
755 |
msgstr ""
|
756 |
|
757 |
+
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:195
|
758 |
msgid ""
|
759 |
"Email not sent. Please verify that your name and email are entered correctly."
|
760 |
msgstr ""
|
761 |
|
762 |
+
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:216
|
763 |
msgid "Email sent."
|
764 |
msgstr ""
|
765 |
|
823 |
"technical information to your email message."
|
824 |
msgstr ""
|
825 |
|
826 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:89
|
827 |
msgid "WPGlobus Recommends:"
|
828 |
msgstr "WPGlobus Recommends:"
|
829 |
|
830 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:98,
|
831 |
#: includes/options/class-wpglobus-options.php:912
|
832 |
msgid "WPGlobus for WooCommerce"
|
833 |
msgstr "WPGlobus for WooCommerce"
|
834 |
|
835 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:102
|
836 |
msgid ""
|
837 |
"Translate product titles and descriptions, product categories, tags and "
|
838 |
"attributes."
|
840 |
"Translate product titles and descriptions, product categories, tags and "
|
841 |
"attributes."
|
842 |
|
843 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:107
|
844 |
msgid "Get it now:"
|
845 |
msgstr "Get it now:"
|
846 |
|
847 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:117
|
848 |
msgid "WooCommerce Multi-Currency"
|
849 |
msgstr ""
|
850 |
|
851 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:121
|
852 |
msgid "Accept multiple currencies in your online store!"
|
853 |
msgstr "Accept multiple currencies in your online store!"
|
854 |
|
855 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:126,
|
856 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:185
|
857 |
msgid "Check it out:"
|
858 |
msgstr "Check it out:"
|
859 |
|
860 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:183
|
861 |
msgid "Translate permalinks with our premium add-on, WPGlobus Plus!"
|
862 |
msgstr ""
|
863 |
|
864 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:195
|
865 |
msgid "To translate permalinks, please activate the module Slug."
|
866 |
msgstr ""
|
867 |
|
languages/wpglobus-es_AR.po
CHANGED
@@ -716,16 +716,16 @@ msgstr "Instalado"
|
|
716 |
msgid "Help Desk"
|
717 |
msgstr ""
|
718 |
|
719 |
-
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:
|
720 |
msgid "Email not sent. Please fill in the entire form."
|
721 |
msgstr ""
|
722 |
|
723 |
-
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:
|
724 |
msgid ""
|
725 |
"Email not sent. Please verify that your name and email are entered correctly."
|
726 |
msgstr ""
|
727 |
|
728 |
-
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:
|
729 |
msgid "Email sent."
|
730 |
msgstr ""
|
731 |
|
@@ -786,43 +786,43 @@ msgid ""
|
|
786 |
"technical information to your email message."
|
787 |
msgstr ""
|
788 |
|
789 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
790 |
msgid "WPGlobus Recommends:"
|
791 |
msgstr ""
|
792 |
|
793 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
794 |
#: includes/options/class-wpglobus-options.php:912
|
795 |
msgid "WPGlobus for WooCommerce"
|
796 |
msgstr ""
|
797 |
|
798 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
799 |
msgid ""
|
800 |
"Translate product titles and descriptions, product categories, tags and "
|
801 |
"attributes."
|
802 |
msgstr ""
|
803 |
|
804 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
805 |
msgid "Get it now:"
|
806 |
msgstr ""
|
807 |
|
808 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
809 |
msgid "WooCommerce Multi-Currency"
|
810 |
msgstr ""
|
811 |
|
812 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
813 |
msgid "Accept multiple currencies in your online store!"
|
814 |
msgstr ""
|
815 |
|
816 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
817 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
818 |
msgid "Check it out:"
|
819 |
msgstr ""
|
820 |
|
821 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
822 |
msgid "Translate permalinks with our premium add-on, WPGlobus Plus!"
|
823 |
msgstr ""
|
824 |
|
825 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
826 |
msgid "To translate permalinks, please activate the module Slug."
|
827 |
msgstr ""
|
828 |
|
716 |
msgid "Help Desk"
|
717 |
msgstr ""
|
718 |
|
719 |
+
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:185
|
720 |
msgid "Email not sent. Please fill in the entire form."
|
721 |
msgstr ""
|
722 |
|
723 |
+
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:195
|
724 |
msgid ""
|
725 |
"Email not sent. Please verify that your name and email are entered correctly."
|
726 |
msgstr ""
|
727 |
|
728 |
+
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:216
|
729 |
msgid "Email sent."
|
730 |
msgstr ""
|
731 |
|
786 |
"technical information to your email message."
|
787 |
msgstr ""
|
788 |
|
789 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:89
|
790 |
msgid "WPGlobus Recommends:"
|
791 |
msgstr ""
|
792 |
|
793 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:98,
|
794 |
#: includes/options/class-wpglobus-options.php:912
|
795 |
msgid "WPGlobus for WooCommerce"
|
796 |
msgstr ""
|
797 |
|
798 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:102
|
799 |
msgid ""
|
800 |
"Translate product titles and descriptions, product categories, tags and "
|
801 |
"attributes."
|
802 |
msgstr ""
|
803 |
|
804 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:107
|
805 |
msgid "Get it now:"
|
806 |
msgstr ""
|
807 |
|
808 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:117
|
809 |
msgid "WooCommerce Multi-Currency"
|
810 |
msgstr ""
|
811 |
|
812 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:121
|
813 |
msgid "Accept multiple currencies in your online store!"
|
814 |
msgstr ""
|
815 |
|
816 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:126,
|
817 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:185
|
818 |
msgid "Check it out:"
|
819 |
msgstr ""
|
820 |
|
821 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:183
|
822 |
msgid "Translate permalinks with our premium add-on, WPGlobus Plus!"
|
823 |
msgstr ""
|
824 |
|
825 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:195
|
826 |
msgid "To translate permalinks, please activate the module Slug."
|
827 |
msgstr ""
|
828 |
|
languages/wpglobus-es_CL.po
CHANGED
@@ -716,16 +716,16 @@ msgstr "Instalado"
|
|
716 |
msgid "Help Desk"
|
717 |
msgstr ""
|
718 |
|
719 |
-
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:
|
720 |
msgid "Email not sent. Please fill in the entire form."
|
721 |
msgstr ""
|
722 |
|
723 |
-
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:
|
724 |
msgid ""
|
725 |
"Email not sent. Please verify that your name and email are entered correctly."
|
726 |
msgstr ""
|
727 |
|
728 |
-
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:
|
729 |
msgid "Email sent."
|
730 |
msgstr ""
|
731 |
|
@@ -786,43 +786,43 @@ msgid ""
|
|
786 |
"technical information to your email message."
|
787 |
msgstr ""
|
788 |
|
789 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
790 |
msgid "WPGlobus Recommends:"
|
791 |
msgstr ""
|
792 |
|
793 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
794 |
#: includes/options/class-wpglobus-options.php:912
|
795 |
msgid "WPGlobus for WooCommerce"
|
796 |
msgstr ""
|
797 |
|
798 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
799 |
msgid ""
|
800 |
"Translate product titles and descriptions, product categories, tags and "
|
801 |
"attributes."
|
802 |
msgstr ""
|
803 |
|
804 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
805 |
msgid "Get it now:"
|
806 |
msgstr ""
|
807 |
|
808 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
809 |
msgid "WooCommerce Multi-Currency"
|
810 |
msgstr ""
|
811 |
|
812 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
813 |
msgid "Accept multiple currencies in your online store!"
|
814 |
msgstr ""
|
815 |
|
816 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
817 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
818 |
msgid "Check it out:"
|
819 |
msgstr ""
|
820 |
|
821 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
822 |
msgid "Translate permalinks with our premium add-on, WPGlobus Plus!"
|
823 |
msgstr ""
|
824 |
|
825 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
826 |
msgid "To translate permalinks, please activate the module Slug."
|
827 |
msgstr ""
|
828 |
|
716 |
msgid "Help Desk"
|
717 |
msgstr ""
|
718 |
|
719 |
+
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:185
|
720 |
msgid "Email not sent. Please fill in the entire form."
|
721 |
msgstr ""
|
722 |
|
723 |
+
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:195
|
724 |
msgid ""
|
725 |
"Email not sent. Please verify that your name and email are entered correctly."
|
726 |
msgstr ""
|
727 |
|
728 |
+
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:216
|
729 |
msgid "Email sent."
|
730 |
msgstr ""
|
731 |
|
786 |
"technical information to your email message."
|
787 |
msgstr ""
|
788 |
|
789 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:89
|
790 |
msgid "WPGlobus Recommends:"
|
791 |
msgstr ""
|
792 |
|
793 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:98,
|
794 |
#: includes/options/class-wpglobus-options.php:912
|
795 |
msgid "WPGlobus for WooCommerce"
|
796 |
msgstr ""
|
797 |
|
798 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:102
|
799 |
msgid ""
|
800 |
"Translate product titles and descriptions, product categories, tags and "
|
801 |
"attributes."
|
802 |
msgstr ""
|
803 |
|
804 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:107
|
805 |
msgid "Get it now:"
|
806 |
msgstr ""
|
807 |
|
808 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:117
|
809 |
msgid "WooCommerce Multi-Currency"
|
810 |
msgstr ""
|
811 |
|
812 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:121
|
813 |
msgid "Accept multiple currencies in your online store!"
|
814 |
msgstr ""
|
815 |
|
816 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:126,
|
817 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:185
|
818 |
msgid "Check it out:"
|
819 |
msgstr ""
|
820 |
|
821 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:183
|
822 |
msgid "Translate permalinks with our premium add-on, WPGlobus Plus!"
|
823 |
msgstr ""
|
824 |
|
825 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:195
|
826 |
msgid "To translate permalinks, please activate the module Slug."
|
827 |
msgstr ""
|
828 |
|
languages/wpglobus-es_CO.po
CHANGED
@@ -716,16 +716,16 @@ msgstr "Instalado"
|
|
716 |
msgid "Help Desk"
|
717 |
msgstr ""
|
718 |
|
719 |
-
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:
|
720 |
msgid "Email not sent. Please fill in the entire form."
|
721 |
msgstr ""
|
722 |
|
723 |
-
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:
|
724 |
msgid ""
|
725 |
"Email not sent. Please verify that your name and email are entered correctly."
|
726 |
msgstr ""
|
727 |
|
728 |
-
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:
|
729 |
msgid "Email sent."
|
730 |
msgstr ""
|
731 |
|
@@ -786,43 +786,43 @@ msgid ""
|
|
786 |
"technical information to your email message."
|
787 |
msgstr ""
|
788 |
|
789 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
790 |
msgid "WPGlobus Recommends:"
|
791 |
msgstr ""
|
792 |
|
793 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
794 |
#: includes/options/class-wpglobus-options.php:912
|
795 |
msgid "WPGlobus for WooCommerce"
|
796 |
msgstr ""
|
797 |
|
798 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
799 |
msgid ""
|
800 |
"Translate product titles and descriptions, product categories, tags and "
|
801 |
"attributes."
|
802 |
msgstr ""
|
803 |
|
804 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
805 |
msgid "Get it now:"
|
806 |
msgstr ""
|
807 |
|
808 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
809 |
msgid "WooCommerce Multi-Currency"
|
810 |
msgstr ""
|
811 |
|
812 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
813 |
msgid "Accept multiple currencies in your online store!"
|
814 |
msgstr ""
|
815 |
|
816 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
817 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
818 |
msgid "Check it out:"
|
819 |
msgstr ""
|
820 |
|
821 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
822 |
msgid "Translate permalinks with our premium add-on, WPGlobus Plus!"
|
823 |
msgstr ""
|
824 |
|
825 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
826 |
msgid "To translate permalinks, please activate the module Slug."
|
827 |
msgstr ""
|
828 |
|
716 |
msgid "Help Desk"
|
717 |
msgstr ""
|
718 |
|
719 |
+
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:185
|
720 |
msgid "Email not sent. Please fill in the entire form."
|
721 |
msgstr ""
|
722 |
|
723 |
+
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:195
|
724 |
msgid ""
|
725 |
"Email not sent. Please verify that your name and email are entered correctly."
|
726 |
msgstr ""
|
727 |
|
728 |
+
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:216
|
729 |
msgid "Email sent."
|
730 |
msgstr ""
|
731 |
|
786 |
"technical information to your email message."
|
787 |
msgstr ""
|
788 |
|
789 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:89
|
790 |
msgid "WPGlobus Recommends:"
|
791 |
msgstr ""
|
792 |
|
793 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:98,
|
794 |
#: includes/options/class-wpglobus-options.php:912
|
795 |
msgid "WPGlobus for WooCommerce"
|
796 |
msgstr ""
|
797 |
|
798 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:102
|
799 |
msgid ""
|
800 |
"Translate product titles and descriptions, product categories, tags and "
|
801 |
"attributes."
|
802 |
msgstr ""
|
803 |
|
804 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:107
|
805 |
msgid "Get it now:"
|
806 |
msgstr ""
|
807 |
|
808 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:117
|
809 |
msgid "WooCommerce Multi-Currency"
|
810 |
msgstr ""
|
811 |
|
812 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:121
|
813 |
msgid "Accept multiple currencies in your online store!"
|
814 |
msgstr ""
|
815 |
|
816 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:126,
|
817 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:185
|
818 |
msgid "Check it out:"
|
819 |
msgstr ""
|
820 |
|
821 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:183
|
822 |
msgid "Translate permalinks with our premium add-on, WPGlobus Plus!"
|
823 |
msgstr ""
|
824 |
|
825 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:195
|
826 |
msgid "To translate permalinks, please activate the module Slug."
|
827 |
msgstr ""
|
828 |
|
languages/wpglobus-es_CR.po
CHANGED
@@ -716,16 +716,16 @@ msgstr "Instalado"
|
|
716 |
msgid "Help Desk"
|
717 |
msgstr ""
|
718 |
|
719 |
-
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:
|
720 |
msgid "Email not sent. Please fill in the entire form."
|
721 |
msgstr ""
|
722 |
|
723 |
-
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:
|
724 |
msgid ""
|
725 |
"Email not sent. Please verify that your name and email are entered correctly."
|
726 |
msgstr ""
|
727 |
|
728 |
-
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:
|
729 |
msgid "Email sent."
|
730 |
msgstr ""
|
731 |
|
@@ -786,43 +786,43 @@ msgid ""
|
|
786 |
"technical information to your email message."
|
787 |
msgstr ""
|
788 |
|
789 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
790 |
msgid "WPGlobus Recommends:"
|
791 |
msgstr ""
|
792 |
|
793 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
794 |
#: includes/options/class-wpglobus-options.php:912
|
795 |
msgid "WPGlobus for WooCommerce"
|
796 |
msgstr ""
|
797 |
|
798 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
799 |
msgid ""
|
800 |
"Translate product titles and descriptions, product categories, tags and "
|
801 |
"attributes."
|
802 |
msgstr ""
|
803 |
|
804 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
805 |
msgid "Get it now:"
|
806 |
msgstr ""
|
807 |
|
808 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
809 |
msgid "WooCommerce Multi-Currency"
|
810 |
msgstr ""
|
811 |
|
812 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
813 |
msgid "Accept multiple currencies in your online store!"
|
814 |
msgstr ""
|
815 |
|
816 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
817 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
818 |
msgid "Check it out:"
|
819 |
msgstr ""
|
820 |
|
821 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
822 |
msgid "Translate permalinks with our premium add-on, WPGlobus Plus!"
|
823 |
msgstr ""
|
824 |
|
825 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
826 |
msgid "To translate permalinks, please activate the module Slug."
|
827 |
msgstr ""
|
828 |
|
716 |
msgid "Help Desk"
|
717 |
msgstr ""
|
718 |
|
719 |
+
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:185
|
720 |
msgid "Email not sent. Please fill in the entire form."
|
721 |
msgstr ""
|
722 |
|
723 |
+
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:195
|
724 |
msgid ""
|
725 |
"Email not sent. Please verify that your name and email are entered correctly."
|
726 |
msgstr ""
|
727 |
|
728 |
+
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:216
|
729 |
msgid "Email sent."
|
730 |
msgstr ""
|
731 |
|
786 |
"technical information to your email message."
|
787 |
msgstr ""
|
788 |
|
789 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:89
|
790 |
msgid "WPGlobus Recommends:"
|
791 |
msgstr ""
|
792 |
|
793 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:98,
|
794 |
#: includes/options/class-wpglobus-options.php:912
|
795 |
msgid "WPGlobus for WooCommerce"
|
796 |
msgstr ""
|
797 |
|
798 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:102
|
799 |
msgid ""
|
800 |
"Translate product titles and descriptions, product categories, tags and "
|
801 |
"attributes."
|
802 |
msgstr ""
|
803 |
|
804 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:107
|
805 |
msgid "Get it now:"
|
806 |
msgstr ""
|
807 |
|
808 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:117
|
809 |
msgid "WooCommerce Multi-Currency"
|
810 |
msgstr ""
|
811 |
|
812 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:121
|
813 |
msgid "Accept multiple currencies in your online store!"
|
814 |
msgstr ""
|
815 |
|
816 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:126,
|
817 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:185
|
818 |
msgid "Check it out:"
|
819 |
msgstr ""
|
820 |
|
821 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:183
|
822 |
msgid "Translate permalinks with our premium add-on, WPGlobus Plus!"
|
823 |
msgstr ""
|
824 |
|
825 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:195
|
826 |
msgid "To translate permalinks, please activate the module Slug."
|
827 |
msgstr ""
|
828 |
|
languages/wpglobus.pot
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
-
# Copyright (C) 2019 WPGlobus 2.2.
|
2 |
-
# This file is distributed under the same license as the WPGlobus 2.2.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: WPGlobus 2.2.
|
6 |
"MIME-Version: 1.0\n"
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -543,15 +543,15 @@ msgstr ""
|
|
543 |
msgid "Help Desk"
|
544 |
msgstr ""
|
545 |
|
546 |
-
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:
|
547 |
msgid "Email not sent. Please fill in the entire form."
|
548 |
msgstr ""
|
549 |
|
550 |
-
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:
|
551 |
msgid "Email not sent. Please verify that your name and email are entered correctly."
|
552 |
msgstr ""
|
553 |
|
554 |
-
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:
|
555 |
msgid "Email sent."
|
556 |
msgstr ""
|
557 |
|
@@ -607,39 +607,39 @@ msgstr ""
|
|
607 |
msgid "Alternatively, please email %s. Do not forget to copy and paste the technical information to your email message."
|
608 |
msgstr ""
|
609 |
|
610 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
611 |
msgid "WPGlobus Recommends:"
|
612 |
msgstr ""
|
613 |
|
614 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
615 |
msgid "WPGlobus for WooCommerce"
|
616 |
msgstr ""
|
617 |
|
618 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
619 |
msgid "Translate product titles and descriptions, product categories, tags and attributes."
|
620 |
msgstr ""
|
621 |
|
622 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
623 |
msgid "Get it now:"
|
624 |
msgstr ""
|
625 |
|
626 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
627 |
msgid "WooCommerce Multi-Currency"
|
628 |
msgstr ""
|
629 |
|
630 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
631 |
msgid "Accept multiple currencies in your online store!"
|
632 |
msgstr ""
|
633 |
|
634 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
635 |
msgid "Check it out:"
|
636 |
msgstr ""
|
637 |
|
638 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
639 |
msgid "Translate permalinks with our premium add-on, WPGlobus Plus!"
|
640 |
msgstr ""
|
641 |
|
642 |
-
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:
|
643 |
msgid "To translate permalinks, please activate the module Slug."
|
644 |
msgstr ""
|
645 |
|
1 |
+
# Copyright (C) 2019 WPGlobus 2.2.20
|
2 |
+
# This file is distributed under the same license as the WPGlobus 2.2.20 package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: WPGlobus 2.2.20\n"
|
6 |
"MIME-Version: 1.0\n"
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
543 |
msgid "Help Desk"
|
544 |
msgstr ""
|
545 |
|
546 |
+
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:185
|
547 |
msgid "Email not sent. Please fill in the entire form."
|
548 |
msgstr ""
|
549 |
|
550 |
+
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:195
|
551 |
msgid "Email not sent. Please verify that your name and email are entered correctly."
|
552 |
msgstr ""
|
553 |
|
554 |
+
#: includes/admin/helpdesk/class-wpglobus-admin-helpdesk.php:216
|
555 |
msgid "Email sent."
|
556 |
msgstr ""
|
557 |
|
607 |
msgid "Alternatively, please email %s. Do not forget to copy and paste the technical information to your email message."
|
608 |
msgstr ""
|
609 |
|
610 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:89
|
611 |
msgid "WPGlobus Recommends:"
|
612 |
msgstr ""
|
613 |
|
614 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:98, includes/options/class-wpglobus-options.php:912
|
615 |
msgid "WPGlobus for WooCommerce"
|
616 |
msgstr ""
|
617 |
|
618 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:102
|
619 |
msgid "Translate product titles and descriptions, product categories, tags and attributes."
|
620 |
msgstr ""
|
621 |
|
622 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:107
|
623 |
msgid "Get it now:"
|
624 |
msgstr ""
|
625 |
|
626 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:117
|
627 |
msgid "WooCommerce Multi-Currency"
|
628 |
msgstr ""
|
629 |
|
630 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:121
|
631 |
msgid "Accept multiple currencies in your online store!"
|
632 |
msgstr ""
|
633 |
|
634 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:126, includes/admin/recommendations/class-wpglobus-admin-recommendations.php:185
|
635 |
msgid "Check it out:"
|
636 |
msgstr ""
|
637 |
|
638 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:183
|
639 |
msgid "Translate permalinks with our premium add-on, WPGlobus Plus!"
|
640 |
msgstr ""
|
641 |
|
642 |
+
#: includes/admin/recommendations/class-wpglobus-admin-recommendations.php:195
|
643 |
msgid "To translate permalinks, please activate the module Slug."
|
644 |
msgstr ""
|
645 |
|
readme.txt
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
Contributors: tivnetinc, alexgff, tivnet
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=SLF8M4YNZHNQN
|
4 |
Tags: WPGlobus, localization, multilanguage, multilingual, translate
|
5 |
-
Requires at least:
|
6 |
Tested up to: 5.3
|
7 |
Requires PHP: 5.6
|
8 |
Stable tag: trunk
|
@@ -218,9 +218,17 @@ WPGlobus Version 2 supports WordPress 5.x, with Gutenberg.
|
|
218 |
|
219 |
== Changelog ==
|
220 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
221 |
= 2.2.16 =
|
222 |
|
223 |
-
2019-10-02 - version 2.2.16
|
224 |
* Added: (Vendor/Yoast) Filters for `SEO Title`, `Meta Desc` on `edit.php` page.
|
225 |
|
226 |
= 2.2.15 =
|
@@ -240,16 +248,6 @@ WPGlobus Version 2 supports WordPress 5.x, with Gutenberg.
|
|
240 |
|
241 |
* Fixed: (Config) PHP warnings for clean install.
|
242 |
|
243 |
-
= 2.2.11 =
|
244 |
-
|
245 |
-
* Fixed: Default locale and flag for Taiwan.
|
246 |
-
* Fixed: (Vendor/All In One SEO Pack) Do not set the keywords field in according to the option.
|
247 |
-
* Added: (WPGlobus Admin interface) More translated strings in `de_DE` and `sv_SE`.
|
248 |
-
* Added: (Config) (Options/Сompatibility) `builder_post_types` option.
|
249 |
-
* Added: (Config/Builder) `post_types` property.
|
250 |
-
* Added: (Options/Welcome) Notices to `Welcome` tab.
|
251 |
-
* Added: (Vendor/All In One SEO Pack) `wpglobus-translatable` class for multilingual fields.
|
252 |
-
|
253 |
= Earlier versions and Add-ons =
|
254 |
|
255 |
* [See the complete changelog here](https://github.com/WPGlobus/WPGlobus/blob/master/CHANGELOG.md)
|
2 |
Contributors: tivnetinc, alexgff, tivnet
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=SLF8M4YNZHNQN
|
4 |
Tags: WPGlobus, localization, multilanguage, multilingual, translate
|
5 |
+
Requires at least: 5.0
|
6 |
Tested up to: 5.3
|
7 |
Requires PHP: 5.6
|
8 |
Stable tag: trunk
|
218 |
|
219 |
== Changelog ==
|
220 |
|
221 |
+
= 2.2.20 =
|
222 |
+
|
223 |
+
* Added: (Core/Post Types) Hide Gutenberg's post types.
|
224 |
+
* Added: (Core/Recommendation) A link to the "Recommendations" tab from the `plugins.php` page.
|
225 |
+
* Added: (Admin/HelpDesk) Get subject from `$_GET` array.
|
226 |
+
* Added: (Vendor/Yoast) Support Yoast SEO from v.12.
|
227 |
+
* Added: (Vendor/Yoast) Support Yoast SEO Premium from v.12.(Beta stage).
|
228 |
+
* Added: (Core/WPGlobusDialogApp) `afterSave` callback.
|
229 |
+
|
230 |
= 2.2.16 =
|
231 |
|
|
|
232 |
* Added: (Vendor/Yoast) Filters for `SEO Title`, `Meta Desc` on `edit.php` page.
|
233 |
|
234 |
= 2.2.15 =
|
248 |
|
249 |
* Fixed: (Config) PHP warnings for clean install.
|
250 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
251 |
= Earlier versions and Add-ons =
|
252 |
|
253 |
* [See the complete changelog here](https://github.com/WPGlobus/WPGlobus/blob/master/CHANGELOG.md)
|
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.2.
|
19 |
* Author: WPGlobus
|
20 |
* Author URI: https://wpglobus.com/
|
21 |
* Network: false
|
@@ -42,7 +42,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
42 |
exit;
|
43 |
}
|
44 |
|
45 |
-
define( 'WPGLOBUS_VERSION', '2.2.
|
46 |
define( 'WPGLOBUS_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
|
47 |
define( 'WPGLOBUS_AJAX', 'wpglobus-ajax' );
|
48 |
|
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.2.20
|
19 |
* Author: WPGlobus
|
20 |
* Author URI: https://wpglobus.com/
|
21 |
* Network: false
|
42 |
exit;
|
43 |
}
|
44 |
|
45 |
+
define( 'WPGLOBUS_VERSION', '2.2.20' );
|
46 |
define( 'WPGLOBUS_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
|
47 |
define( 'WPGLOBUS_AJAX', 'wpglobus-ajax' );
|
48 |
|