WPGlobus – Multilingual Everything! - Version 2.1.10

Version Description

  • Compatibility: new JS for Admin and Builders support, to work with WordPress 5.1.x
Download this release

Release Info

Developer tivnet
Plugin Icon 128x128 WPGlobus – Multilingual Everything!
Version 2.1.10
Comparing to
See all releases

Code changes from version 2.1.9 to 2.1.10

Files changed (49) hide show
  1. data/paid_plugins.json +6 -6
  2. data/wpglobus-product-info.json +1 -1
  3. includes/admin/class-wpglobus-plugin-install.php +27 -32
  4. includes/builders/assets/wpglobus-admin-builder-51.js +348 -0
  5. includes/builders/assets/wpglobus-admin-builder-51.min.js +1 -0
  6. includes/class-wpglobus-config-vendor.php +12 -0
  7. includes/class-wpglobus.php +9 -0
  8. includes/css/images/wpglobus-multilingual-notices-logo.png +0 -0
  9. includes/js/wpglobus-admin-51.js +1697 -0
  10. includes/js/wpglobus-admin-51.min.js +1 -0
  11. languages/wpglobus-ar.po +8 -8
  12. languages/wpglobus-be.po +8 -8
  13. languages/wpglobus-bg_BG.po +8 -8
  14. languages/wpglobus-de_CH.po +8 -8
  15. languages/wpglobus-de_DE.po +8 -8
  16. languages/wpglobus-el.po +8 -8
  17. languages/wpglobus-en_AU.po +8 -8
  18. languages/wpglobus-en_CA.po +8 -8
  19. languages/wpglobus-en_GB.po +8 -8
  20. languages/wpglobus-en_NZ.po +8 -8
  21. languages/wpglobus-en_US.po +8 -8
  22. languages/wpglobus-en_ZA.po +8 -8
  23. languages/wpglobus-es_AR.po +8 -8
  24. languages/wpglobus-es_CL.po +8 -8
  25. languages/wpglobus-es_CO.po +8 -8
  26. languages/wpglobus-es_CR.po +8 -8
  27. languages/wpglobus-es_ES.po +8 -8
  28. languages/wpglobus-es_GT.po +8 -8
  29. languages/wpglobus-es_MX.po +8 -8
  30. languages/wpglobus-es_PE.po +8 -8
  31. languages/wpglobus-es_PR.po +8 -8
  32. languages/wpglobus-es_VE.po +8 -8
  33. languages/wpglobus-et.po +8 -8
  34. languages/wpglobus-fr_BE.po +8 -8
  35. languages/wpglobus-fr_CA.po +8 -8
  36. languages/wpglobus-fr_FR.po +8 -8
  37. languages/wpglobus-id_ID.po +8 -8
  38. languages/wpglobus-ko_KR.po +8 -8
  39. languages/wpglobus-pl_PL.po +8 -8
  40. languages/wpglobus-pt_BR.po +8 -8
  41. languages/wpglobus-pt_PT.po +8 -8
  42. languages/wpglobus-ro_RO.po +8 -8
  43. languages/wpglobus-ru_RU.po +8 -8
  44. languages/wpglobus-sv_SE.po +8 -8
  45. languages/wpglobus-tr_TR.po +8 -8
  46. languages/wpglobus-uk.po +8 -8
  47. languages/wpglobus.pot +8 -8
  48. readme.txt +4 -9
  49. wpglobus.php +2 -2
data/paid_plugins.json CHANGED
@@ -11,12 +11,6 @@
11
  "image_file": "wpglobus-plus-logo-300x300.png",
12
  "order": 90
13
  },
14
- "wpglobus-multi-currency": {
15
- "slug": "wpglobus-multi-currency",
16
- "loader": "wpglobus-multi-currency.php",
17
- "image_file": "wpglobus-multi-currency-logo.jpg",
18
- "order": 80
19
- },
20
  "wpglobus-revslider": {
21
  "slug": "wpglobus-revslider",
22
  "loader": "wpglobus-revslider.php",
@@ -48,6 +42,12 @@
48
  "image_file": "wpglobus-mobile-menu-logo-400x400.png",
49
  "order": 20
50
  },
 
 
 
 
 
 
51
  "wpglobus-for-bridge-theme": {
52
  "slug": "wpglobus-for-bridge-theme",
53
  "loader": "wpglobus-for-bridge-theme.php",
11
  "image_file": "wpglobus-plus-logo-300x300.png",
12
  "order": 90
13
  },
 
 
 
 
 
 
14
  "wpglobus-revslider": {
15
  "slug": "wpglobus-revslider",
16
  "loader": "wpglobus-revslider.php",
42
  "image_file": "wpglobus-mobile-menu-logo-400x400.png",
43
  "order": 20
44
  },
45
+ "wpglobus-multilingual-notices": {
46
+ "slug": "wpglobus-multilingual-notices",
47
+ "loader": "wpglobus-multilingual-notices.php",
48
+ "image_file": "wpglobus-multilingual-notices-logo.png",
49
+ "order": 10
50
+ },
51
  "wpglobus-for-bridge-theme": {
52
  "slug": "wpglobus-for-bridge-theme",
53
  "loader": "wpglobus-for-bridge-theme.php",
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-for-bridge-theme":{"title":"{:en}WPGlobus for the \"Bridge\" theme{:}{:ru}WPGlobus \u0434\u043b\u044f \u0442\u0435\u043c\u044b Bridge{:}","_api_new_version":"1.1.0","_api_tested_up_to":"4.9.6"},"wpglobus-menu-visibility":{"title":"WPGlobus Menu Visibility","_api_new_version":"1.2.0","_api_tested_up_to":"4.9.6"},"wpglobus-mobile-menu":{"title":"{:en}WPGlobus Mobile Menu{:}{:ru}WPGlobus Mobile Menu{:}","_api_new_version":"1.2.2","_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"},"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.0","_api_tested_up_to":"5.0.0"},"wpglobus-for-slider-revolution":{"title":"{:en}WPGlobus for Slider Revolution{:}{:ru}WPGlobus \u0434\u043b\u044f \u043f\u043b\u0430\u0433\u0438\u043d\u0430 Slider Revolution{:}","_api_new_version":"1.6.0","_api_tested_up_to":"5.0.2"},"wpglobus-plus":{"title":"{:en}WPGlobus Plus multilingual extension{:}{:ru}WPGlobus \u041f\u043b\u044e\u0441{:}","_api_new_version":"1.1.54","_api_tested_up_to":"5.0.3"},"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"}}
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-for-bridge-theme":{"title":"{:en}WPGlobus for the \"Bridge\" theme{:}{:ru}WPGlobus \u0434\u043b\u044f \u0442\u0435\u043c\u044b Bridge{:}","_api_new_version":"1.1.0","_api_tested_up_to":"4.9.6"},"wpglobus-menu-visibility":{"title":"WPGlobus Menu Visibility","_api_new_version":"1.2.0","_api_tested_up_to":"4.9.6"},"wpglobus-mobile-menu":{"title":"{:en}WPGlobus Mobile Menu{:}{:ru}WPGlobus Mobile Menu{:}","_api_new_version":"1.2.2","_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"},"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.0","_api_tested_up_to":"5.0.0"},"wpglobus-for-slider-revolution":{"title":"{:en}WPGlobus for Slider Revolution{:}{:ru}WPGlobus \u0434\u043b\u044f \u043f\u043b\u0430\u0433\u0438\u043d\u0430 Slider Revolution{:}","_api_new_version":"1.6.0","_api_tested_up_to":"5.0.2"},"wpglobus-plus":{"title":"{:en}WPGlobus Plus multilingual extension{:}{:ru}WPGlobus \u041f\u043b\u044e\u0441{:}","_api_new_version":"1.1.54","_api_tested_up_to":"5.0.3"},"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-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":"1.0.0","_api_tested_up_to":"5.1"}}
includes/admin/class-wpglobus-plugin-install.php CHANGED
@@ -60,15 +60,8 @@ if ( ! class_exists( 'WPGlobus_Plugin_Install' ) ) :
60
  */
61
  public static function controller() {
62
 
63
- if ( empty( $_GET['source'] ) ) { // WPCS: input var ok, sanitization ok.
64
- return;
65
- }
66
-
67
- if ( empty( $_GET['s'] ) ) { // WPCS: input var ok, sanitization ok.
68
- return;
69
- }
70
-
71
- if ( 'WPGlobus' !== $_GET['source'] || 'WPGlobus' !== $_GET['s'] ) { // WPCS: input var ok, sanitization ok.
72
  return;
73
  }
74
 
@@ -77,7 +70,7 @@ if ( ! class_exists( 'WPGlobus_Plugin_Install' ) ) :
77
  self::$plugin_card['free'] = array();
78
  self::$plugin_card['paid'] = array();
79
 
80
- self::_setup_paid_plugins();
81
 
82
  // Enqueue the CSS & JS scripts.
83
  add_action( 'admin_enqueue_scripts', array( __CLASS__, 'enqueue_scripts' ) );
@@ -89,7 +82,7 @@ if ( ! class_exists( 'WPGlobus_Plugin_Install' ) ) :
89
  * List of the premium WPGlobus extensions.
90
  * This file is created manually.
91
  */
92
- protected static function _setup_paid_plugins() {
93
 
94
  self::$paid_plugins = array();
95
 
@@ -140,6 +133,10 @@ if ( ! class_exists( 'WPGlobus_Plugin_Install' ) ) :
140
  }
141
 
142
  foreach ( (array) $res->plugins as $key => $plugin ) {
 
 
 
 
143
  if ( false === strpos( $plugin->slug, 'wpglobus' ) ) {
144
  unset( $res->plugins[ $key ] );
145
  } else {
@@ -166,7 +163,7 @@ if ( ! class_exists( 'WPGlobus_Plugin_Install' ) ) :
166
 
167
  $url_wpglobus_site = WPGlobus_Utils::url_wpglobus_site();
168
 
169
- $all_products = self::_get_all_product_info();
170
 
171
  foreach ( self::$paid_plugins as $plugin => $plugin_data ) {
172
 
@@ -201,7 +198,7 @@ if ( ! class_exists( 'WPGlobus_Plugin_Install' ) ) :
201
  'Title' => $_plugin_title,
202
  'Version' => $plugin_info['_api_new_version'],
203
  'PluginURI' => $url_wpglobus_site . 'product/' .
204
- $product_slug . '/',
205
  );
206
  }
207
  }
@@ -210,36 +207,35 @@ if ( ! class_exists( 'WPGlobus_Plugin_Install' ) ) :
210
  /**
211
  * Prepend the premium add-ons to the list of plugins.
212
  */
213
- foreach ( self::$paid_plugins as $slug => $paid_plugin ) :
214
 
215
- $_info = self::_plugin_info_template();
216
 
217
- $_info->slug = $slug;
218
 
219
- $_info->icons['default'] =
220
- $_info->icons['1x'] =
221
- $_info->icons['2x'] = WPGlobus::internal_images_url() . '/' .
222
- $paid_plugin['image_file'];
223
 
224
  if ( ! empty( $paid_plugin['plugin_data'] ) ) {
225
- $_info->name = $paid_plugin['plugin_data']['Name'];
226
- $_info->short_description = $paid_plugin['plugin_data']['Description'];
227
- $_info->homepage = $paid_plugin['plugin_data']['PluginURI'];
228
  } else {
229
- $_info->name = $slug;
230
  }
231
 
232
  self::$plugin_card['paid'][] = $slug;
233
 
234
- self::$paid_plugins[ $slug ]['card'] = $_info;
235
 
236
  self::$paid_plugins[ $slug ]['extra_data']['product_url'] =
237
  self::$paid_plugins[ $slug ]['extra_data']['details_url'] =
238
- $_info->homepage;
239
 
240
- array_unshift( $res->plugins, $_info );
241
 
242
- endforeach;
243
 
244
  $res->info['results'] = count( $res->plugins );
245
 
@@ -252,7 +248,7 @@ if ( ! class_exists( 'WPGlobus_Plugin_Install' ) ) :
252
  *
253
  * @return array[]
254
  */
255
- protected static function _get_all_product_info() {
256
  $all_product_info = array();
257
 
258
  $data_file = WPGlobus::data_path() . '/wpglobus-product-info.json';
@@ -270,7 +266,7 @@ if ( ! class_exists( 'WPGlobus_Plugin_Install' ) ) :
270
  *
271
  * @return stdClass
272
  */
273
- protected static function _plugin_info_template() {
274
  $url_wpglobus_site = WPGlobus_Utils::url_wpglobus_site();
275
 
276
  $template = new stdClass();
@@ -298,7 +294,7 @@ if ( ! class_exists( 'WPGlobus_Plugin_Install' ) ) :
298
  *
299
  * @param string $hook_page The current admin page.
300
  */
301
- static public function enqueue_scripts( $hook_page ) {
302
 
303
  if ( 'plugin-install.php' === $hook_page ) {
304
 
@@ -332,4 +328,3 @@ if ( ! class_exists( 'WPGlobus_Plugin_Install' ) ) :
332
  }
333
 
334
  endif;
335
- /*EOF*/
60
  */
61
  public static function controller() {
62
 
63
+ // phpcs:ignore WordPress.CSRF.NonceVerification.NoNonceVerification
64
+ if ( empty( $_GET['s'] ) || 'wpglobus' !== strtolower( $_GET['s'] ) ) {
 
 
 
 
 
 
 
65
  return;
66
  }
67
 
70
  self::$plugin_card['free'] = array();
71
  self::$plugin_card['paid'] = array();
72
 
73
+ self::setup_paid_plugins();
74
 
75
  // Enqueue the CSS & JS scripts.
76
  add_action( 'admin_enqueue_scripts', array( __CLASS__, 'enqueue_scripts' ) );
82
  * List of the premium WPGlobus extensions.
83
  * This file is created manually.
84
  */
85
+ protected static function setup_paid_plugins() {
86
 
87
  self::$paid_plugins = array();
88
 
133
  }
134
 
135
  foreach ( (array) $res->plugins as $key => $plugin ) {
136
+ if ( is_array( $plugin ) ) {
137
+ /** @since 2.1.10 */
138
+ $plugin = (object) $plugin;
139
+ }
140
  if ( false === strpos( $plugin->slug, 'wpglobus' ) ) {
141
  unset( $res->plugins[ $key ] );
142
  } else {
163
 
164
  $url_wpglobus_site = WPGlobus_Utils::url_wpglobus_site();
165
 
166
+ $all_products = self::get_all_product_info();
167
 
168
  foreach ( self::$paid_plugins as $plugin => $plugin_data ) {
169
 
198
  'Title' => $_plugin_title,
199
  'Version' => $plugin_info['_api_new_version'],
200
  'PluginURI' => $url_wpglobus_site . 'product/' .
201
+ $product_slug . '/',
202
  );
203
  }
204
  }
207
  /**
208
  * Prepend the premium add-ons to the list of plugins.
209
  */
210
+ foreach ( self::$paid_plugins as $slug => $paid_plugin ) {
211
 
212
+ $info = self::plugin_info_template();
213
 
214
+ $info->slug = $slug;
215
 
216
+ $info->icons['default'] = WPGlobus::internal_images_url() . '/' . $paid_plugin['image_file'];
217
+ $info->icons['1x'] = $info->icons['default'];
218
+ $info->icons['2x'] = $info->icons['default'];
 
219
 
220
  if ( ! empty( $paid_plugin['plugin_data'] ) ) {
221
+ $info->name = $paid_plugin['plugin_data']['Name'];
222
+ $info->short_description = $paid_plugin['plugin_data']['Description'];
223
+ $info->homepage = $paid_plugin['plugin_data']['PluginURI'];
224
  } else {
225
+ $info->name = $slug;
226
  }
227
 
228
  self::$plugin_card['paid'][] = $slug;
229
 
230
+ self::$paid_plugins[ $slug ]['card'] = $info;
231
 
232
  self::$paid_plugins[ $slug ]['extra_data']['product_url'] =
233
  self::$paid_plugins[ $slug ]['extra_data']['details_url'] =
234
+ $info->homepage;
235
 
236
+ array_unshift( $res->plugins, $info );
237
 
238
+ }
239
 
240
  $res->info['results'] = count( $res->plugins );
241
 
248
  *
249
  * @return array[]
250
  */
251
+ protected static function get_all_product_info() {
252
  $all_product_info = array();
253
 
254
  $data_file = WPGlobus::data_path() . '/wpglobus-product-info.json';
266
  *
267
  * @return stdClass
268
  */
269
+ protected static function plugin_info_template() {
270
  $url_wpglobus_site = WPGlobus_Utils::url_wpglobus_site();
271
 
272
  $template = new stdClass();
294
  *
295
  * @param string $hook_page The current admin page.
296
  */
297
+ public static function enqueue_scripts( $hook_page ) {
298
 
299
  if ( 'plugin-install.php' === $hook_page ) {
300
 
328
  }
329
 
330
  endif;
 
includes/builders/assets/wpglobus-admin-builder-51.js ADDED
@@ -0,0 +1,348 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * WPGlobus Administration Core.
3
+ * Interface JS functions
4
+ *
5
+ * @since 1.9.17
6
+ *
7
+ * @package WPGlobus
8
+ * @subpackage Administration
9
+ */
10
+ /*jslint browser: true*/
11
+ /*global jQuery, console, WPGlobusCore*/
12
+
13
+ var WPGlobusCore;
14
+
15
+ (function($) {
16
+ var api;
17
+ api = WPGlobusCore = {
18
+ strpos: function( haystack, needle, offset){
19
+ haystack = "" + haystack;
20
+ var i = haystack.indexOf( needle, offset );
21
+ return i >= 0 ? i : false;
22
+ },
23
+
24
+ TextFilter: function(text, language, return_in){
25
+ if ( typeof text == 'undefined' || '' === text ) { return text; }
26
+
27
+ var pos_start, pos_end, possible_delimiters = [], is_local_text_found = false;;
28
+
29
+ language = '' == language ? 'en' : language;
30
+ return_in = typeof return_in == 'undefined' || '' == return_in ? 'RETURN_IN_DEFAULT_LANGUAGE' : return_in;
31
+
32
+ possible_delimiters[0] = [];
33
+ possible_delimiters[0]['start'] = WPGlobusCoreData.locale_tag_start.replace('%s', language);
34
+ possible_delimiters[0]['end'] = WPGlobusCoreData.locale_tag_end;
35
+
36
+ possible_delimiters[1] = [];
37
+ possible_delimiters[1]['start'] = '<!--:'+language+'-->';
38
+ possible_delimiters[1]['end'] = '<!--:-->';
39
+
40
+ possible_delimiters[2] = [];
41
+ possible_delimiters[2]['start'] = '[:'+language+']';
42
+ possible_delimiters[2]['end'] = '[:';
43
+
44
+
45
+
46
+ for (var i = 0; i < 3; i++) {
47
+
48
+ pos_start = api.strpos( text, possible_delimiters[i]['start'] );
49
+ if ( pos_start === false ) {
50
+ continue;
51
+ }
52
+
53
+ pos_start = pos_start + possible_delimiters[i]['start'].length;
54
+
55
+ pos_end = api.strpos( text, possible_delimiters[i]['end'], pos_start );
56
+
57
+ if ( pos_end === false ) {
58
+ text = text.substr( pos_start );
59
+ } else {
60
+ text = text.substr( pos_start, pos_end - pos_start );
61
+ }
62
+
63
+ is_local_text_found = true;
64
+ break;
65
+
66
+ }
67
+
68
+ if ( ! is_local_text_found ) {
69
+ if ( return_in == 'RETURN_EMPTY' ) {
70
+ if ( language == WPGlobusCoreData.default_language && ! /(\{:|\[:|<!--:)[a-z]{2}/.test(text) ) {
71
+ /** do nothing */
72
+ } else {
73
+ text = '';
74
+ }
75
+ } else {
76
+ /**
77
+ * Try RETURN_IN_DEFAULT_LANGUAGE.
78
+ */
79
+ if ( language == WPGlobusCoreData.default_language ) {
80
+ if ( /(\{:|\[:|<!--:)[a-z]{2}/.test(text) ) {
81
+ text = '';
82
+ }
83
+ } else {
84
+ text = api.TextFilter( text, WPGlobusCoreData.default_language );
85
+ }
86
+ }
87
+ }
88
+ return text;
89
+ },
90
+ addLocaleMarks: function(text, language) {
91
+ return WPGlobusCoreData.locale_tag_start.replace('%s', language) + text + WPGlobusCoreData.locale_tag_end;
92
+ },
93
+ getTranslations: function(text) {
94
+ var t = {},
95
+ return_in;
96
+ $.each(WPGlobusCoreData.enabled_languages, function(i,l){
97
+ return_in = l == WPGlobusCoreData.default_language ? 'RETURN_IN_DEFAULT_LANGUAGE' : 'RETURN_EMPTY';
98
+ t[l] = api.TextFilter(text, l, return_in);
99
+ });
100
+ return t;
101
+ },
102
+ getString: function(s, newVal, l) {
103
+ if ( 'undefined' === typeof(s) ) {
104
+ return s;
105
+ }
106
+ if ( 'undefined' === typeof(newVal) ) {
107
+ newVal = '';
108
+ }
109
+ if ( 'undefined' === typeof(l) ) {
110
+ l = WPGlobusCoreData.language;
111
+ }
112
+
113
+ s = api.getTranslations(s);
114
+ s[l] = newVal;
115
+
116
+ var cS = '';
117
+
118
+ $.each(s, function(ln,val){
119
+ if ( '' != val && ln != WPGlobusCoreData.default_language) {
120
+ cS += api.addLocaleMarks(val, ln);
121
+ }
122
+ });
123
+
124
+ if ( '' != s[WPGlobusCoreData.default_language] ) {
125
+ if ( '' == cS ) {
126
+ cS = s[WPGlobusCoreData.default_language];
127
+ } else {
128
+ cS = api.addLocaleMarks(s[WPGlobusCoreData.default_language], WPGlobusCoreData.default_language) + cS;
129
+ }
130
+ }
131
+ return cS;
132
+ }
133
+ };
134
+ })(jQuery);
135
+
136
+ jQuery(document).ready(function ($) {
137
+ "use strict";
138
+
139
+ if ( 'undefined' === typeof WPGlobusAdmin ) {
140
+ return;
141
+ }
142
+
143
+ var api = {
144
+ languageSelectorBoxDelta: 0,
145
+ locationPathname: '/wp-admin/post.php',
146
+ init: function() {
147
+ //api.setCookie();
148
+ if ('taxonomy-edit' === WPGlobusAdmin.page) {
149
+ api.taxonomyEdit();
150
+ } else {
151
+ api.start();
152
+ }
153
+ },
154
+ _info: function() {
155
+ var lang = undefined;
156
+ if( $('#language').length > 0 ) {
157
+ lang = $('#language').val();
158
+ }
159
+ console.log('Current language from hidden (#language) : ', lang);
160
+
161
+ lang = undefined;
162
+ if( $('#wpglobus-language').length > 0 ) {
163
+ lang = $('#wpglobus-language').val();
164
+ }
165
+ console.log('Current language from hidden (#wpglobus-language) : ', lang);
166
+
167
+ lang = undefined;
168
+ if( $('input[name="wpglobus-language"]').length > 0 ) {
169
+ lang = $('input[name="wpglobus-language"]').val();
170
+ }
171
+ console.log('Current language from hidden (input[name="wpglobus-language"]) : ', lang);
172
+
173
+ lang = undefined;
174
+ if( $('input[name="wpglobus_language"]').length > 0 ) {
175
+ lang = $('input[name="wpglobus_language"]').val();
176
+ }
177
+ console.log('Current language from hidden (input[name="wpglobus_language"]) : ', lang);
178
+ console.log('Builder : ', WPGlobusAdmin.builder);
179
+
180
+ var content = $('#content').val();
181
+ if ( content == '' ) {
182
+ console.log('Editor content (#content) : (empty)');
183
+ } else {
184
+ console.log(content);
185
+ }
186
+ },
187
+ checkCookie: function() {
188
+ if ( -1 != window.location.search.indexOf('language=') ) {
189
+ return false;
190
+ }
191
+ if ( 'post.php' == WPGlobusAdmin.page ) {
192
+ var cookie = wpCookies.get(WPGlobusAdmin.builder.languageCookie);
193
+
194
+ if ( null !== cookie && history.pushState) {
195
+ cookie = cookie.split('+');
196
+ var language = cookie[0];
197
+ if ('undefined' !== typeof cookie[1] && cookie[1] + 0 == WPGlobusAdmin.$_get.post ) {
198
+ var newurl = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search + '&language='+language;
199
+ window.history.pushState({path:newurl},'',newurl);
200
+ return language;
201
+ }
202
+ }
203
+ }
204
+ return false;
205
+ },
206
+ setCookie: function() {
207
+ var lang = api.checkCookie();
208
+ if ( ! lang ) {
209
+ lang = WPGlobusAdmin.$_get.language;
210
+ if ( 'undefined' === typeof lang ) {
211
+ lang = WPGlobusAdmin.data.default_language;
212
+ }
213
+ }
214
+ wpCookies.set(WPGlobusAdmin.builder.languageCookie, lang+'+'+WPGlobusAdmin.$_get.post, 31536000, api.locationPathname );
215
+ },
216
+ setLocationSearch: function() {
217
+ if ( ! history.pushState || -1 != window.location.search.indexOf('language=') ) {
218
+ return;
219
+ }
220
+ if ( WPGlobusAdmin.data.default_language != WPGlobusAdmin.currentTab ) {
221
+ var newurl = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search + '&language='+WPGlobusAdmin.currentTab;
222
+ window.history.pushState({path:newurl},'',newurl);
223
+ }
224
+ },
225
+ taxonomyEdit: function() {
226
+
227
+ $('.wpglobus-taxonomy-tabs').insertAfter('#ajax-response');
228
+
229
+ /**
230
+ * Make class wrap as tabs container.
231
+ * Tabs on.
232
+ */
233
+ $('.wrap').tabs();
234
+
235
+ $(WPGlobusAdmin.data.multilingualSlug.title).insertAfter('.term-slug-wrap th label');
236
+
237
+ if ( WPGlobusAdmin.currentTab !== WPGlobusAdmin.data.default_language ) {
238
+ $('.wpglobus-tax-edit-tab').removeClass('ui-tabs-active ui-state-active');
239
+ $('#wpglobus-link-tab-'+WPGlobusAdmin.currentTab).addClass('ui-tabs-active ui-state-active');
240
+ }
241
+
242
+ $(document).on('click', '.wpglobus-tax-edit-tab a', function(event) {
243
+ event.preventDefault();
244
+ var _href = $(this).data('href');
245
+ location.href = _href;
246
+ });
247
+
248
+ api.setMultilingualFields();
249
+
250
+ /**
251
+ * Init Yoast tinymce editor for description.
252
+ */
253
+ $(document).on( 'tinymce-editor-init', function( event, editor ) {
254
+ $( '#' + editor.getContainer().id ).find('iframe').addClass(WPGlobusAdmin.builder.translatableClass).css({'width':''});
255
+ });
256
+ },
257
+ start: function() {
258
+ /**
259
+ *
260
+ */
261
+ api.setLocationSearch();
262
+
263
+ /**
264
+ *
265
+ */
266
+ var wrap_at = '#postdivrich',
267
+ set_title = true,
268
+ content_tabs_id = '#post-body-content';
269
+ if ( WPGlobusAdmin.data.support['editor'] === false ) {
270
+ wrap_at = '#titlediv';
271
+ set_title = false;
272
+ }
273
+ if ( WPGlobusAdmin.data.support['title'] === false ) {
274
+ set_title = false;
275
+ }
276
+
277
+ /**
278
+ * Make post-body-content as tabs container.
279
+ */
280
+ $(content_tabs_id).prepend($('.wpglobus-post-body-tabs-list'));
281
+ $.each(WPGlobusAdmin.tabs, function (index, suffix) {
282
+ if ('default' === suffix) {
283
+ $(wrap_at).wrap('<div id="tab-default"></div>');
284
+ if ( set_title ) {
285
+ $($('#titlediv')).insertBefore(wrap_at);
286
+ }
287
+ } else {
288
+ $(wrap_at+'-' + suffix).wrap('<div id="tab-' + suffix + '"></div>');
289
+ if ( set_title ) {
290
+ $($('#titlediv-' + suffix)).insertBefore(wrap_at+'-' + suffix);
291
+ }
292
+ }
293
+ });
294
+
295
+ $(content_tabs_id).addClass('wpglobus-post-body-tabs');
296
+
297
+ /**
298
+ * Set fields as multilingual.
299
+ */
300
+ //setTimeout(api.setMultilingualFields(), 1000);
301
+ api.setMultilingualFields();
302
+
303
+ /**
304
+ *
305
+ */
306
+ //api.ajaxPrefilter();
307
+
308
+ },
309
+ ajaxPrefilter: function() {
310
+ /**
311
+ * @todo WIP.
312
+ */
313
+ $.ajaxPrefilter(function( options, originalOptions, jqXHR ) {
314
+ // Modify options, control originalOptions, store jqXHR, etc
315
+ //console.log(options);
316
+ });
317
+ },
318
+ setMultilingualFields: function() {
319
+ $.each(WPGlobusAdmin.builder.multilingualFields, function(indx, field) {
320
+ var elementBy = 'name';
321
+ var node = document.getElementsByName(field);
322
+ var $element;
323
+
324
+ if ( 0 == node.length ) {
325
+ elementBy = 'id';
326
+ node = document.getElementById(field);
327
+ }
328
+
329
+ if ( null === node ) {
330
+ return;
331
+ } else {
332
+ if ( 'id' == elementBy ) {
333
+ $element = $('#'+field);
334
+ } else {
335
+ var nodeName = node[0].nodeName;
336
+ nodeName = nodeName.toLowerCase();
337
+ $element = $(nodeName+'[name="'+field+'"]');
338
+ }
339
+ $element.addClass(WPGlobusAdmin.builder.translatableClass);
340
+ }
341
+
342
+ });
343
+ }
344
+ }
345
+
346
+ WPGlobusAdmin = $.extend({}, WPGlobusAdmin, api);
347
+ WPGlobusAdmin.init();
348
+ });
includes/builders/assets/wpglobus-admin-builder-51.min.js ADDED
@@ -0,0 +1 @@
 
1
+ var WPGlobusCore;!function(l){var s;s=WPGlobusCore={strpos:function(a,t,e){var o=(a=""+a).indexOf(t,e);return 0<=o&&o},TextFilter:function(a,t,e){if(void 0===a||""===a)return a;var o,n,l=[],i=!1;t=""==t?"en":t,e=void 0===e||""==e?"RETURN_IN_DEFAULT_LANGUAGE":e,l[0]=[],l[0].start=WPGlobusCoreData.locale_tag_start.replace("%s",t),l[0].end=WPGlobusCoreData.locale_tag_end,l[1]=[],l[1].start="\x3c!--:"+t+"--\x3e",l[1].end="\x3c!--:--\x3e",l[2]=[],l[2].start="[:"+t+"]",l[2].end="[:";for(var u=0;u<3;u++)if(!1!==(o=s.strpos(a,l[u].start))){o+=l[u].start.length,a=!1===(n=s.strpos(a,l[u].end,o))?a.substr(o):a.substr(o,n-o),i=!0;break}return i||("RETURN_EMPTY"==e?(t!=WPGlobusCoreData.default_language||/(\{:|\[:|<!--:)[a-z]{2}/.test(a))&&(a=""):t==WPGlobusCoreData.default_language?/(\{:|\[:|<!--:)[a-z]{2}/.test(a)&&(a=""):a=s.TextFilter(a,WPGlobusCoreData.default_language)),a},addLocaleMarks:function(a,t){return WPGlobusCoreData.locale_tag_start.replace("%s",t)+a+WPGlobusCoreData.locale_tag_end},getTranslations:function(e){var o,n={};return l.each(WPGlobusCoreData.enabled_languages,function(a,t){o=t==WPGlobusCoreData.default_language?"RETURN_IN_DEFAULT_LANGUAGE":"RETURN_EMPTY",n[t]=s.TextFilter(e,t,o)}),n},getString:function(a,t,e){if(void 0===a)return a;void 0===t&&(t=""),void 0===e&&(e=WPGlobusCoreData.language),(a=s.getTranslations(a))[e]=t;var o="";return l.each(a,function(a,t){""!=t&&a!=WPGlobusCoreData.default_language&&(o+=s.addLocaleMarks(t,a))}),""!=a[WPGlobusCoreData.default_language]&&(o=""==o?a[WPGlobusCoreData.default_language]:s.addLocaleMarks(a[WPGlobusCoreData.default_language],WPGlobusCoreData.default_language)+o),o}}}(jQuery),jQuery(document).ready(function(i){"use strict";if("undefined"!=typeof WPGlobusAdmin){var t={languageSelectorBoxDelta:0,locationPathname:"/wp-admin/post.php",init:function(){"taxonomy-edit"===WPGlobusAdmin.page?t.taxonomyEdit():t.start()},_info:function(){var a=void 0;0<i("#language").length&&(a=i("#language").val()),console.log("Current language from hidden (#language) : ",a),a=void 0,0<i("#wpglobus-language").length&&(a=i("#wpglobus-language").val()),console.log("Current language from hidden (#wpglobus-language) : ",a),a=void 0,0<i('input[name="wpglobus-language"]').length&&(a=i('input[name="wpglobus-language"]').val()),console.log('Current language from hidden (input[name="wpglobus-language"]) : ',a),a=void 0,0<i('input[name="wpglobus_language"]').length&&(a=i('input[name="wpglobus_language"]').val()),console.log('Current language from hidden (input[name="wpglobus_language"]) : ',a),console.log("Builder : ",WPGlobusAdmin.builder);var t=i("#content").val();""==t?console.log("Editor content (#content) : (empty)"):console.log(t)},checkCookie:function(){if(-1!=window.location.search.indexOf("language="))return!1;if("post.php"==WPGlobusAdmin.page){var a=wpCookies.get(WPGlobusAdmin.builder.languageCookie);if(null!==a&&history.pushState){var t=(a=a.split("+"))[0];if(void 0!==a[1]&&a[1]+0==WPGlobusAdmin.$_get.post){var e=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search+"&language="+t;return window.history.pushState({path:e},"",e),t}}}return!1},setCookie:function(){var a=t.checkCookie();a||void 0===(a=WPGlobusAdmin.$_get.language)&&(a=WPGlobusAdmin.data.default_language),wpCookies.set(WPGlobusAdmin.builder.languageCookie,a+"+"+WPGlobusAdmin.$_get.post,31536e3,t.locationPathname)},setLocationSearch:function(){if(history.pushState&&-1==window.location.search.indexOf("language=")&&WPGlobusAdmin.data.default_language!=WPGlobusAdmin.currentTab){var a=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search+"&language="+WPGlobusAdmin.currentTab;window.history.pushState({path:a},"",a)}},taxonomyEdit:function(){i(".wpglobus-taxonomy-tabs").insertAfter("#ajax-response"),i(".wrap").tabs(),i(WPGlobusAdmin.data.multilingualSlug.title).insertAfter(".term-slug-wrap th label"),WPGlobusAdmin.currentTab!==WPGlobusAdmin.data.default_language&&(i(".wpglobus-tax-edit-tab").removeClass("ui-tabs-active ui-state-active"),i("#wpglobus-link-tab-"+WPGlobusAdmin.currentTab).addClass("ui-tabs-active ui-state-active")),i(document).on("click",".wpglobus-tax-edit-tab a",function(a){a.preventDefault();var t=i(this).data("href");location.href=t}),t.setMultilingualFields(),i(document).on("tinymce-editor-init",function(a,t){i("#"+t.getContainer().id).find("iframe").addClass(WPGlobusAdmin.builder.translatableClass).css({width:""})})},start:function(){t.setLocationSearch();var e="#postdivrich",o=!0,a="#post-body-content";!1===WPGlobusAdmin.data.support.editor&&(o=!(e="#titlediv")),!1===WPGlobusAdmin.data.support.title&&(o=!1),i(a).prepend(i(".wpglobus-post-body-tabs-list")),i.each(WPGlobusAdmin.tabs,function(a,t){"default"===t?(i(e).wrap('<div id="tab-default"></div>'),o&&i(i("#titlediv")).insertBefore(e)):(i(e+"-"+t).wrap('<div id="tab-'+t+'"></div>'),o&&i(i("#titlediv-"+t)).insertBefore(e+"-"+t))}),i(a).addClass("wpglobus-post-body-tabs"),t.setMultilingualFields()},ajaxPrefilter:function(){i.ajaxPrefilter(function(a,t,e){})},setMultilingualFields:function(){i.each(WPGlobusAdmin.builder.multilingualFields,function(a,t){var e,o="name",n=document.getElementsByName(t);if(0==n.length&&(o="id",n=document.getElementById(t)),null!==n){if("id"==o)e=i("#"+t);else{var l=n[0].nodeName;l=l.toLowerCase(),e=i(l+'[name="'+t+'"]')}e.addClass(WPGlobusAdmin.builder.translatableClass)}})}};WPGlobusAdmin=i.extend({},WPGlobusAdmin,t),WPGlobusAdmin.init()}});
includes/class-wpglobus-config-vendor.php CHANGED
@@ -222,6 +222,18 @@ if ( ! class_exists( 'WPGlobus_Config_Vendor' ) ) :
222
  }
223
  }
224
 
 
 
 
 
 
 
 
 
 
 
 
 
225
  }
226
 
227
  /**
222
  }
223
  }
224
 
225
+ /**
226
+ * Filter vendor's config.
227
+ *
228
+ * @since 2.1.10
229
+ *
230
+ * @param array $config Config.
231
+ * @param object $builder An object WPGlobus_Config_Builder.
232
+ *
233
+ * @return array
234
+ */
235
+ self::$config = apply_filters( 'wpglobus_config_vendors', self::$config, self::$builder );
236
+
237
  }
238
 
239
  /**
includes/class-wpglobus.php CHANGED
@@ -1862,6 +1862,15 @@ class WPGlobus {
1862
  $version = '-49';
1863
  }
1864
 
 
 
 
 
 
 
 
 
 
1865
  /**
1866
  * @since 1.9.17
1867
  */
1862
  $version = '-49';
1863
  }
1864
 
1865
+ /**
1866
+ * WordPress 5.1+ needs a new version of our admin JS.
1867
+ *
1868
+ * @since 2.1.10
1869
+ */
1870
+ if ( version_compare( $GLOBALS['wp_version'], '5.0.999', '>' ) ) {
1871
+ $version = '-51';
1872
+ }
1873
+
1874
  /**
1875
  * @since 1.9.17
1876
  */
includes/css/images/wpglobus-multilingual-notices-logo.png ADDED
Binary file
includes/js/wpglobus-admin-51.js ADDED
@@ -0,0 +1,1697 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * WPGlobus Administration Core, Dialog, Admin
3
+ * Interface JS functions
4
+ *
5
+ * @since 2.1.10
6
+ *
7
+ * @package WPGlobus
8
+ * @subpackage Administration
9
+ */
10
+ /*jslint browser: true*/
11
+ /*global jQuery, console, WPGlobusCore, WPGlobusDialogApp, WPGlobusAdmin, inlineEditPost */
12
+
13
+ var WPGlobusCore;
14
+
15
+ (function($) {
16
+ var api;
17
+ api = WPGlobusCore = {
18
+ strpos: function( haystack, needle, offset){
19
+ haystack = "" + haystack;
20
+ var i = haystack.indexOf( needle, offset );
21
+ return i >= 0 ? i : false;
22
+ },
23
+
24
+ TextFilter: function(text, language, return_in){
25
+ if ( typeof text == 'undefined' || '' === text ) { return text; }
26
+
27
+ var pos_start, pos_end, possible_delimiters = [], is_local_text_found = false;;
28
+
29
+ language = '' == language ? 'en' : language;
30
+ return_in = typeof return_in == 'undefined' || '' == return_in ? 'RETURN_IN_DEFAULT_LANGUAGE' : return_in;
31
+
32
+ possible_delimiters[0] = [];
33
+ possible_delimiters[0]['start'] = WPGlobusCoreData.locale_tag_start.replace('%s', language);
34
+ possible_delimiters[0]['end'] = WPGlobusCoreData.locale_tag_end;
35
+
36
+ possible_delimiters[1] = [];
37
+ possible_delimiters[1]['start'] = '<!--:'+language+'-->';
38
+ possible_delimiters[1]['end'] = '<!--:-->';
39
+
40
+ possible_delimiters[2] = [];
41
+ possible_delimiters[2]['start'] = '[:'+language+']';
42
+ possible_delimiters[2]['end'] = '[:';
43
+
44
+
45
+
46
+ for (var i = 0; i < 3; i++) {
47
+
48
+ pos_start = api.strpos( text, possible_delimiters[i]['start'] );
49
+ if ( pos_start === false ) {
50
+ continue;
51
+ }
52
+
53
+ pos_start = pos_start + possible_delimiters[i]['start'].length;
54
+
55
+ pos_end = api.strpos( text, possible_delimiters[i]['end'], pos_start );
56
+
57
+ if ( pos_end === false ) {
58
+ text = text.substr( pos_start );
59
+ } else {
60
+ text = text.substr( pos_start, pos_end - pos_start );
61
+ }
62
+
63
+ is_local_text_found = true;
64
+ break;
65
+
66
+ }
67
+
68
+ if ( ! is_local_text_found ) {
69
+ if ( return_in == 'RETURN_EMPTY' ) {
70
+ if ( language == WPGlobusCoreData.default_language && ! /(\{:|\[:|<!--:)[a-z]{2}/.test(text) ) {
71
+ /** do nothing */
72
+ } else {
73
+ text = '';
74
+ }
75
+ } else {
76
+ /**
77
+ * Try RETURN_IN_DEFAULT_LANGUAGE.
78
+ */
79
+ if ( language == WPGlobusCoreData.default_language ) {
80
+ if ( /(\{:|\[:|<!--:)[a-z]{2}/.test(text) ) {
81
+ text = '';
82
+ }
83
+ } else {
84
+ text = api.TextFilter( text, WPGlobusCoreData.default_language );
85
+ }
86
+ }
87
+ }
88
+ return text;
89
+ },
90
+ addLocaleMarks: function(text, language) {
91
+ return WPGlobusCoreData.locale_tag_start.replace('%s', language) + text + WPGlobusCoreData.locale_tag_end;
92
+ },
93
+ getTranslations: function(text) {
94
+ var t = {},
95
+ return_in;
96
+ $.each(WPGlobusCoreData.enabled_languages, function(i,l){
97
+ return_in = l == WPGlobusCoreData.default_language ? 'RETURN_IN_DEFAULT_LANGUAGE' : 'RETURN_EMPTY';
98
+ t[l] = api.TextFilter(text, l, return_in);
99
+ });
100
+ return t;
101
+ },
102
+ getString: function(s, newVal, l) {
103
+ if ( 'undefined' === typeof(s) ) {
104
+ return s;
105
+ }
106
+ if ( 'undefined' === typeof(newVal) ) {
107
+ newVal = '';
108
+ }
109
+ if ( 'undefined' === typeof(l) ) {
110
+ l = WPGlobusCoreData.language;
111
+ }
112
+
113
+ s = api.getTranslations(s);
114
+ s[l] = newVal;
115
+
116
+ var cS = '';
117
+
118
+ $.each(s, function(ln,val){
119
+ if ( '' != val && ln != WPGlobusCoreData.default_language) {
120
+ cS += api.addLocaleMarks(val, ln);
121
+ }
122
+ });
123
+
124
+ if ( '' != s[WPGlobusCoreData.default_language] ) {
125
+ if ( '' == cS ) {
126
+ cS = s[WPGlobusCoreData.default_language];
127
+ } else {
128
+ cS = api.addLocaleMarks(s[WPGlobusCoreData.default_language], WPGlobusCoreData.default_language) + cS;
129
+ }
130
+ }
131
+ return cS;
132
+ }
133
+ };
134
+ })(jQuery);
135
+
136
+ var WPGlobusDialogApp;
137
+
138
+ (function($) {
139
+
140
+ var api;
141
+ api = WPGlobusDialogApp = {
142
+ option : {
143
+ listenClass : '.wpglobus_dialog_start',
144
+ settingsClass : '.wpglobus_dialog_settings',
145
+ dialogTabs: '#wpglobus-dialog-tabs',
146
+ dialogTitle: '',
147
+ customData: null,
148
+ callback: function(){},
149
+ dialogOptions: {
150
+ title: '',
151
+ placeholder: '',
152
+ formFooter: '',
153
+ beforeOpen: function(){},
154
+ close: function(){},
155
+ },
156
+ dialog: {}
157
+ },
158
+ form : undefined,
159
+ element : undefined,
160
+ element_by : 'id',
161
+ id : '',
162
+ clone_id: '',
163
+ wpglobus_id : '',
164
+ type : 'textarea',
165
+ source : '',
166
+ order : {},
167
+ value : {},
168
+ request : 'core',
169
+ attrs: {},
170
+ dialogTitle: '',
171
+ trClass: 'wpglobus-translatable',
172
+ startButton: [
173
+ '<span id="wpglobus-dialog-start-{{clone_id}}" ',
174
+ 'style="{{style}}" ',
175
+ 'data-type="control" data-dialog-title="{{title}}" ',
176
+ 'data-source-type="" data-source-id="{{id}}" data-source-name="{{name}}" ',
177
+ 'data-nodename="{{nodename}}"',
178
+ '{{sbTitle}} ',
179
+ 'class="{{classes}}"></span>'
180
+ ].join(''),
181
+ startButtonClass : 'wpglobus_dialog_start wpglobus_dialog_icon',
182
+ clicks: 0,
183
+ init: function(args) {
184
+ api.option.dialog = api.option.dialogOptions;
185
+ api.option = $.extend(api.option, args);
186
+ $(api.option.dialogTabs).tabs();
187
+ api.dialogTitle = api.option.dialogTitle;
188
+ this.attachListener();
189
+ if ( api.option.customData != null && typeof api.option.customData.addElements != 'undefined' ) {
190
+ $.each(api.option.customData.addElements, function(i,e) {
191
+ api.addElement(e);
192
+ });
193
+ }
194
+ },
195
+ convertToId: function(s){
196
+ s = s.replace(/\]/g,'');
197
+ s = s.replace(/\[/g,'-');
198
+ return s;
199
+ },
200
+ addElement: function(elem) {
201
+ var option = {
202
+ id: null,
203
+ style: '',
204
+ styleTextareaWrapper: '',
205
+ sbTitle: '',
206
+ onChangeClass: '',
207
+ dialogTitle: '',
208
+ dialog: api.option.dialogOptions
209
+ }
210
+ if ( 'string' == typeof(elem) ) {
211
+ option.id = elem;
212
+ } else if ( 'object' == typeof(elem) ) {
213
+ option = $.extend(option, elem);
214
+ } else {
215
+ return;
216
+ }
217
+
218
+ var $element = null, id = null, name = null, node = null,
219
+ sb = api.startButton,
220
+ clone, v, style, nodeName = '';
221
+
222
+ api.element_by = 'name';
223
+ node = document.getElementsByName(option.id);
224
+
225
+ if ( 0 == node.length ) {
226
+ api.element_by = 'id';
227
+ node = document.getElementById(option.id);
228
+ }
229
+
230
+ if ( null === node ) {
231
+ return;
232
+ } else {
233
+ id = option.id;
234
+ if ( 'id' == api.element_by ) {
235
+ $element = $('#'+id);
236
+ } else {
237
+ nodeName = node[0].nodeName;
238
+ nodeName = nodeName.toLowerCase();
239
+ $element = $(nodeName+'[name="'+id+'"]');
240
+ }
241
+ }
242
+
243
+ if ( 'undefined' === typeof $element.attr('name') || '' == $element.attr('name') ) {
244
+ name = id;
245
+ } else {
246
+ name = $element.attr('name');
247
+ }
248
+ api.clone_id = api.convertToId(id);
249
+
250
+ if ( -1 != name.indexOf( 'wpglobus' ) || -1 != api.clone_id.indexOf( 'wpglobus' ) ) {
251
+ /**
252
+ * To prevent add element to itself.
253
+ */
254
+ return false;
255
+ }
256
+
257
+ if ( $( '#wpglobus-'+api.clone_id ).length > 0 ) {
258
+ /**
259
+ * WPGlobus element exists already.
260
+ */
261
+ return false;
262
+ }
263
+ if ( $( nodeName+'[name="wpglobus-'+name+'"]' ).length > 0 ) {
264
+ /**
265
+ * WPGlobus element exists already.
266
+ */
267
+ return false;
268
+ }
269
+
270
+ clone = $( $element.clone() );
271
+ //$element.addClass('hidden');
272
+ style = $element.attr('style') || '';
273
+ $element.attr( 'style', 'display:none;' );
274
+ clone.attr( 'id', 'wpglobus-'+api.clone_id ).attr( 'name', 'wpglobus-'+name );
275
+
276
+ /**
277
+ * Add WPGlobus translatable class.
278
+ */
279
+ clone.addClass( api.trClass );
280
+
281
+ if ( option.onChangeClass != '' ) {
282
+ /**
283
+ * add class to bind 'change' event
284
+ */
285
+ clone.addClass( option.onChangeClass );
286
+ }
287
+
288
+ if ( 'id' == api.element_by ) {
289
+ clone.attr('data-source-id', id).attr('data-source-name', '').attr('data-source-get-by',api.element_by);
290
+ } else {
291
+ clone.attr('data-source-id', '').attr('data-source-name', name).attr('data-source-get-by',api.element_by);
292
+ }
293
+
294
+ if ( 'textarea' == nodeName ) {
295
+ v = WPGlobusCore.getTranslations( $element.val() )[WPGlobusCoreData['language']];
296
+ clone.val( v );
297
+ clone.attr( 'data-nodename', 'textarea' );
298
+ if ( '' == option.style ) {
299
+ clone.attr( 'style', style + ';width:95%;float:left;' );
300
+ } else {
301
+ clone.attr( 'style', style + ';' + option.style );
302
+ }
303
+ } else {
304
+ v = WPGlobusCore.getTranslations( $element.val() )[WPGlobusCoreData['language']];
305
+ clone.attr( 'value', v );
306
+ clone.attr( 'data-nodename', 'input' );
307
+ if ( '' != option.style ) {
308
+ clone.attr( 'style', style + ';' + option.style );
309
+ }
310
+ }
311
+
312
+ /**
313
+ * Add dialog options.
314
+ * @since 1.7.12
315
+ */
316
+ if ( '' != option.dialog ) {
317
+ clone.attr( 'data-dialog', JSON.stringify(option.dialog) );
318
+ }
319
+
320
+ sb = sb.replace(/{{clone_id}}/g, api.clone_id);
321
+ if ( 'id' == api.element_by ) {
322
+ sb = sb.replace(/{{id}}/g, api.clone_id);
323
+ sb = sb.replace(/{{name}}/g, '');
324
+ sb = sb.replace(/{{nodename}}/g, '');
325
+ } else {
326
+ sb = sb.replace(/{{id}}/g, '');
327
+ sb = sb.replace(/{{name}}/g, name);
328
+ sb = sb.replace(/{{nodename}}/g, nodeName);
329
+ }
330
+ sb = 'textarea' == nodeName ? sb.replace( '{{style}}', 'float:left;margin-top:0;' ) : sb.replace( '{{style}}', '' );
331
+ var startButtonClasses = 'textarea' == nodeName ? api.startButtonClass + ' wpglobus-textarea wpglobus-textarea-'+api.clone_id : api.startButtonClass;
332
+ sb = sb.replace( '{{classes}}', startButtonClasses );
333
+ sb = option.dialogTitle == '' ? sb.replace('{{title}}', api.dialogTitle) : sb.replace('{{title}}', option.dialogTitle);
334
+ sb = option.sbTitle == '' ? sb.replace('{{sbTitle}}', option.sbTitle) : sb.replace('{{sbTitle}}', 'title="'+option.sbTitle+'"');
335
+
336
+ $(sb).insertAfter($element);
337
+ $(clone).insertAfter($element);
338
+
339
+ if ( 'textarea' == nodeName ) {
340
+ $('#wpglobus-'+api.clone_id).addClass( 'wpglobus-textarea-'+api.clone_id );
341
+ $('.wpglobus-textarea-'+api.clone_id).wrapAll( '<div class="wpglobus-textarea-wrapper" style="'+option.styleTextareaWrapper+'"></div>' );
342
+ }
343
+
344
+ /**
345
+ * Bind change event
346
+ */
347
+ var selector, ret = false;
348
+ if ( option.onChangeClass == '' ) {
349
+ selector = '#wpglobus-' + api.clone_id;
350
+ } else {
351
+ selector = '.' + option.onChangeClass;
352
+ var $events = $._data( $(document)[0], 'events' );
353
+ if( typeof $events === 'undefined' ){
354
+ ret = true;
355
+ } else {
356
+ if ( typeof $events.change !== 'undefined' ) {
357
+ $.each( $events.change, function(i, ev){
358
+ if ( ev.selector == selector ) {
359
+ ret = true;
360
+ return false;
361
+ }
362
+ });
363
+ }
364
+ }
365
+ }
366
+
367
+ if ( ret ) {
368
+ /**
369
+ * Return because we had bound 'change' event already.
370
+ */
371
+ return true;
372
+ }
373
+
374
+ $(document).on( 'change', selector, function() {
375
+ var $t = $(this),
376
+ sid = $t.data( 'source-id' );
377
+
378
+ if ( '' == sid ) {
379
+ sid = $t.data( 'nodename' ) + '[name="' + $t.data( 'source-name' ) + '"]';
380
+ } else {
381
+ sid = '#' + sid;
382
+ }
383
+ $(sid).val( WPGlobusCore.getString( $(sid).val(), $t.val() ) );
384
+ });
385
+ return true;
386
+ },
387
+ saveDialog: function() {
388
+ var s = '', sdl = '', scl = '', $e, val, l;
389
+ $('.wpglobus_dialog_textarea').each(function(indx,e){
390
+ $e = $(e);
391
+ val = $e.val();
392
+ l = $e.data('language');
393
+ if ( l == WPGlobusAdmin.data.language ) {
394
+ scl = val;
395
+ }
396
+ if ( val != '' ) {
397
+ s = s + WPGlobusCore.addLocaleMarks(val,l);
398
+ if ( l == WPGlobusCoreData.default_language ) {
399
+ sdl = val;
400
+ }
401
+ }
402
+ });
403
+ s = s.length == sdl.length + 8 ? sdl : s;
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,
410
+ //height: 250,
411
+ width: 650,
412
+ modal: true,
413
+ dialogClass: 'wpglobus-dialog',
414
+ buttons: [
415
+ {
416
+ text:'Save',
417
+ class: 'wpglobus-button-save',
418
+ click:function(){api.saveDialog(); api.dialog.dialog('close');}
419
+ },
420
+ {
421
+ text:'Cancel',
422
+ class: 'wpglobus-button-cancel',
423
+ click: function(){api.dialog.dialog('close');}
424
+ }
425
+ ],
426
+ open: function( event, ui ) {
427
+ var title = api.dialogTitle;
428
+ if ( typeof api.attrs.maxlength !== 'undefined' ) {
429
+ $('.wpglobus_dialog_textarea').attr('maxlength', api.attrs.maxlength);
430
+ title += ' | maxlength='+api.attrs.maxlength;
431
+ }
432
+ $('.wpglobus-dialog .ui-dialog-title').text(title);
433
+ },
434
+ close: function() {
435
+ /**
436
+ * Close callback.
437
+ */
438
+ api.runCallback( api.option.dialog.close );
439
+
440
+ api.form[0].reset();
441
+ //allFields.removeClass( "ui-state-error" );
442
+ }
443
+ }),
444
+ attachListener : function() {
445
+ $(document).on('click', api.option.settingsClass, function() {
446
+ if ( $('.wpglobus_dialog_options_wrapper').hasClass('hidden') ) {
447
+ $('.wpglobus_dialog_options_wrapper').removeClass('hidden');
448
+ } else {
449
+ $('.wpglobus_dialog_options_wrapper').addClass('hidden');
450
+ }
451
+ });
452
+ $(document).on('click', '.wpglobus_dialog_option', function(event) {
453
+ var $t = $(this), r;
454
+ var ob = $t.data('object');
455
+ api.order['action'] = 'save_post_meta_settings';
456
+ api.order['post_type'] = WPGlobusAdmin.data.post_type;
457
+ api.order['checked'] = $t.prop('checked');
458
+ api.order['id'] = $t.attr('id');
459
+ api.order['meta_key'] = $t.data('meta-key');
460
+ r = api.ajax(api.order);
461
+ r.done(function (result) {
462
+ if ( result.result == 'ok' ) {
463
+ if ( result.checked == 'true' ) {
464
+ $(ob).removeClass('wpglobus_dialog_start_hidden');
465
+ } else {
466
+ $(ob).addClass('wpglobus_dialog_start_hidden');
467
+ }
468
+ }
469
+ })
470
+ .fail(function (error) {})
471
+ .always(function (jqXHR, status){});
472
+ });
473
+ $(document).on('click', api.option.listenClass, function(e) {
474
+ api.element = $(this);
475
+ api.id = api.element.data('source-id');
476
+ if ( '' == api.id ) {
477
+ api.id = api.element.data('nodename') + '[name="'+api.element.data('source-name')+'"]';
478
+ api.wpglobus_id = '#wpglobus-'+api.convertToId( api.element.data('source-name') );
479
+ } else {
480
+ api.wpglobus_id = '#wpglobus-'+api.id;
481
+ api.id = '#'+api.id;
482
+ }
483
+
484
+ api.clicks++;
485
+ if ( api.clicks == 1 ) {
486
+ setTimeout(function () {
487
+ if (api.clicks == 1) {
488
+ api.onClick(e);
489
+ } else {
490
+ var s = $(api.id);
491
+ if ( s.hasClass('hidden') ) {
492
+ s.removeClass('hidden').attr('style', 'display:block;');
493
+ } else {
494
+ s.addClass('hidden').attr('style', 'display:none;');
495
+ }
496
+ }
497
+ api.clicks = 0;
498
+ }, 200);
499
+ }
500
+ });
501
+ api.form = api.dialog.find('form#wpglobus-dialog-form').on('submit', function( event ) {
502
+ event.preventDefault();
503
+ api.saveDialog();
504
+ });
505
+ },
506
+ ajax : function(order) {
507
+ return $.ajax({type:'POST', url:WPGlobusAdmin.ajaxurl, data:{action:WPGlobusAdmin.process_ajax, order:order}, dataType:'json', async:false});
508
+ },
509
+ onClick: function(ev) {
510
+ if ( typeof(api.element.data('dialog-title')) == 'undefined' || '' == api.element.data('dialog-title') ) {
511
+ api.dialogTitle = api.option.dialogTitle;
512
+ } else {
513
+ api.dialogTitle = api.element.data('dialog-title');
514
+ }
515
+ if ( typeof api.id !== 'undefined' ) {
516
+ api.attrs['maxlength'] = $(api.id).attr('maxlength');
517
+ }
518
+
519
+ api.source = api.element.data('source-value');
520
+ if ( typeof api.source === 'undefined' ) {
521
+ api.source = $(api.id).val();
522
+ if (api.request == 'ajax') {
523
+ // @todo revise ajax action
524
+ //api.order['action'] = 'get_translate';
525
+ //api.order['source'] = api.source;
526
+ //api.ajax(api.order);
527
+ } else {
528
+ api.value = WPGlobusCore.getTranslations(api.source);
529
+ }
530
+ }
531
+
532
+ /**
533
+ * Get dialog form options.
534
+ */
535
+ api.option.dialog = $.extend( {}, api.option.dialogOptions, $(api.wpglobus_id).data('dialog') );
536
+
537
+ if ( '' != api.option.dialog.title ) {
538
+ api.dialogTitle = api.option.dialog.title;
539
+ }
540
+
541
+ $.each(api.value, function(l,e){
542
+ var $d = $('#wpglobus-dialog-'+l);
543
+ /**
544
+ * Value.
545
+ */
546
+ $d.val(e);
547
+
548
+ /**
549
+ * Placeholder.
550
+ */
551
+ $d.attr(
552
+ 'placeholder',
553
+ WPGlobusCore.TextFilter( api.option.dialog.placeholder, l, 'RETURN_IN_DEFAULT_LANGUAGE' )
554
+ );
555
+ });
556
+
557
+ /**
558
+ * Dialog form footer.
559
+ */
560
+ $('#wpglobus-dialog-form-footer').html(api.option.dialog.formFooter);
561
+
562
+ /**
563
+ * Before open callback.
564
+ */
565
+ api.runCallback( api.option.dialog.beforeOpen );
566
+
567
+ api.dialog.dialog('open');
568
+ },
569
+ runCallback: function(callback) {
570
+
571
+ if ( 'object' === typeof callback ) {
572
+ var k = Object.keys(callback)[0];
573
+ var fn = callback[Object.keys(callback)[0]]
574
+ if ( 'window' === k ) {
575
+ if ( 'function' === typeof window[fn] ) {
576
+ window[fn]( callback[Object.keys(callback)[1]] );
577
+ }
578
+ } else if ( 'function' === typeof window[k][fn] ) {
579
+ window[k][fn]( callback[Object.keys(callback)[1]] );
580
+ }
581
+ } else if ( 'string' === typeof callback ) {
582
+ if ( 'function' === typeof window[callback] ) {
583
+ window[callback]();
584
+ }
585
+ }
586
+
587
+ }
588
+ };
589
+
590
+ })(jQuery);
591
+
592
+ jQuery(document).ready(function () {
593
+ "use strict";
594
+ window.WPGlobusAdminApp = (function (WPGlobusAdminApp, $) {
595
+ /* Object Constructor
596
+ ========================*/
597
+ WPGlobusAdminApp.App = function (config) {
598
+
599
+ if ( 'undefined' !== typeof window.WPGlobusAdminApp ) {
600
+ return;
601
+ }
602
+
603
+ this.config = {
604
+ debug: false,
605
+ version: WPGlobusAdmin.version
606
+ };
607
+
608
+ this.status = 'ok';
609
+
610
+ if ( 'undefined' === typeof WPGlobusAdmin ) {
611
+ this.status = 'error';
612
+ if (this.config.debug) {
613
+ console.log('WPGlobus: error options loading');
614
+ }
615
+ } else {
616
+ if (this.config.debug) {
617
+ console.dir(WPGlobusAdmin);
618
+ }
619
+ }
620
+
621
+ this.config.disable_first_language = [
622
+ '<div id="disable_first_language" style="display:block;" class="redux-field-errors notice-red">',
623
+ '<strong>',
624
+ '<span>&nbsp;</span>',
625
+ WPGlobusAdmin.i18n.cannot_disable_language,
626
+ '</strong>',
627
+ '</div>'
628
+ ].join('');
629
+
630
+ $.extend(this.config, config);
631
+
632
+ if ('ok' === this.status) {
633
+ this.init();
634
+ }
635
+ };
636
+
637
+ WPGlobusAdminApp.App.prototype = {
638
+ $document : $(document),
639
+ init: function () {
640
+ WPGlobusCoreData.multisite = this.parseBool(WPGlobusCoreData.multisite);
641
+ this.adminInit();
642
+ $('#content').addClass('wpglobus-editor').attr('data-language',WPGlobusAdmin.data.default_language);
643
+ $('textarea[id^=content_]').each(function(i,e){
644
+ var l=$(e).attr('id').replace('content_','');
645
+ $(e).attr('data-language',l);
646
+ });
647
+ if ('post.php' === WPGlobusAdmin.page) {
648
+ this.postEdit();
649
+ this.set_dialog();
650
+ if ( 'undefined' !== typeof WPGlobusAioseop ) {
651
+ WPGlobusAioseop.init();
652
+ }
653
+ } else if ('menu-edit' === WPGlobusAdmin.page) {
654
+ /**
655
+ * @since 1.9.16
656
+ */
657
+ WPGlobusDialogApp.init({dialogTitle:'Edit description'});
658
+ this.navMenus();
659
+ } else if ('taxonomy-edit' === WPGlobusAdmin.page) {
660
+ if (WPGlobusAdmin.data.tag_id) {
661
+ this.taxonomyEdit();
662
+ }
663
+ } else if ('taxonomy-quick-edit' === WPGlobusAdmin.page) {
664
+ this.quickEdit('taxonomy');
665
+ } else if ('edit.php' === WPGlobusAdmin.page) {
666
+ this.quickEdit('post');
667
+ if( _.size(WPGlobusAdmin.$_get) > 0 ) {
668
+ WPGlobusDialogApp.init();
669
+ }
670
+ } else if ('options-general.php' == WPGlobusAdmin.page) {
671
+ this.optionsGeneral();
672
+ WPGlobusDialogApp.init({customData:WPGlobusCoreData.page_custom_data});
673
+ } else if ('widgets.php' == WPGlobusAdmin.page) {
674
+ WPGlobusWidgets.init();
675
+ WPGlobusDialogApp.init({dialogTitle:'Edit text'});
676
+ } else if ('wpglobus_options' == WPGlobusAdmin.page) {
677
+ this.start();
678
+ } else if ('wpglobusAdminCentral' == WPGlobusAdmin.page) {
679
+ this.adminCentral();
680
+ } else {
681
+ /**
682
+ * Init WPGlobusDialogApp for using in a 3-party plugins.
683
+ */
684
+ WPGlobusDialogApp.init({customData:WPGlobusCoreData.page_custom_data});
685
+ }
686
+ },
687
+ parseBool: function(b) {
688
+ return !(/^(false|0)$/i).test(b) && !!b;
689
+ },
690
+ getCurrentTab: function() {
691
+ return $( '.wpglobus-post-body-tabs-list .ui-tabs-active' ).data( 'language' );
692
+ },
693
+ adminInit: function () {
694
+ var order = $('.wpglobus-addons-group a').data('key');
695
+ if ( 'undefined' !== typeof order ) {
696
+ if ( window.location.search.indexOf('page=wpglobus_options&tab='+order) >= 0 ) {
697
+ if ( WPGlobusCoreData.multisite ) {
698
+ window.location = WPGlobusCoreData.pluginInstallLocation.multisite;
699
+ } else {
700
+ window.location = WPGlobusCoreData.pluginInstallLocation.single;
701
+ }
702
+ } else {
703
+ var addon = $('#toplevel_page_wpglobus_options li').eq(order+1);
704
+ if ( WPGlobusCoreData.multisite ) {
705
+ $(addon).find('a').attr('href',WPGlobusCoreData.pluginInstallLocation.multisite).attr('onclick',"window.location=jQuery(this).attr('href');return false;");
706
+ } else {
707
+ $(addon).find('a').attr('href',WPGlobusCoreData.pluginInstallLocation.single).attr('onclick',"window.location=jQuery(this).attr('href');return false;");
708
+ }
709
+ }
710
+ }
711
+ },
712
+ optionsGeneral: function() {
713
+ var $bn = $('#blogname'),
714
+ $body = $('body');
715
+
716
+ $bn.addClass('hidden');
717
+ $('#wpglobus-blogname').insertAfter($bn).removeClass('hidden');
718
+
719
+ $body.on('blur', '.wpglobus-blogname', function () {
720
+ $('.wpglobus-blogname').each( function (i, e) {
721
+ var $e = $(e);
722
+ $bn.val( WPGlobusCore.getString( $bn.val(), $e.val(), $e.data('language') ) );
723
+ });
724
+ });
725
+
726
+ var $bd = $('#blogdescription');
727
+ $bd.addClass('hidden');
728
+ $('#wpglobus-blogdescription').insertAfter($bd).removeClass('hidden');
729
+ $body.on('blur', '.wpglobus-blogdesc', function () {
730
+ $('.wpglobus-blogdesc').each( function (i, e) {
731
+ var $e = $(e);
732
+ $bd.val( WPGlobusCore.getString( $bd.val(), $e.val(), $e.data('language') ) );
733
+ });
734
+ });
735
+ },
736
+ quickEdit: function(type) {
737
+ /**
738
+ * For more info @see ajax handler 'wp_ajax_inline_save'.
739
+ */
740
+ if ( 'undefined' === typeof WPGlobusAdmin.data.has_items ) {
741
+ return;
742
+ }
743
+ if (!WPGlobusAdmin.data.has_items) {
744
+ return;
745
+ }
746
+ var full_id = '', id = 0;
747
+
748
+ $(document).ajaxComplete(function(event, jqxhr, settings){
749
+ if (typeof settings.data === 'undefined') {
750
+ return;
751
+ }
752
+ if ( full_id == '' ) {
753
+ return;
754
+ }
755
+ if (settings.data.indexOf('action=inline-save-tax&') >= 0) {
756
+ $('#'+full_id+' a.row-title').text(WPGlobusAdmin.qedit_titles[id][WPGlobusAdmin.data.language]['name']);
757
+ $('#'+full_id+' .description').text(WPGlobusAdmin.qedit_titles[id][WPGlobusAdmin.data.language]['description']);
758
+ }
759
+ });
760
+
761
+ var title = {};
762
+ $('#the-list tr').each(function (i, e) {
763
+ var $e = $(e);
764
+ var k = ( type === 'post' ? 'post-' : 'tag-' );
765
+ id = $e.attr('id').replace(k, ''); /* don't need var with id, see line 109 */
766
+ title[id] = {};
767
+ if ('post' === type) {
768
+ title[id]['source'] = $e.find('.post_title').text();
769
+ } else if ('taxonomy' === type) {
770
+ title[id]['source'] = $('#inline_' + id + ' .name').text();
771
+ }
772
+ });
773
+
774
+ var order = {};
775
+ order['action'] = 'get_titles';
776
+ order['type'] = type;
777
+ order['taxonomy'] = typeof WPGlobusAdmin.data.taxonomy === 'undefined' ? false : WPGlobusAdmin.data.taxonomy;
778
+ order['title'] = title;
779
+ $.ajax({type:'POST', url:WPGlobusAdmin.ajaxurl, data:{action:WPGlobusAdmin.process_ajax, order:order}, dataType:'json'})
780
+ .done(function (result) {
781
+ WPGlobusAdmin.qedit_titles = result.qedit_titles;
782
+ $.each(result.bulkedit_post_titles, function(id, obj){
783
+ $('#inline_'+id+' .post_title').text(obj[WPGlobusAdmin.data.language]['name']);
784
+ });
785
+ })
786
+ .fail(function (error) {
787
+ })
788
+ .always(function (jqXHR, status) {
789
+ });
790
+
791
+ $('body').on('change', '.wpglobus-quick-edit-title', function () {
792
+ var s = '';
793
+ var lang = [];
794
+ $('.wpglobus-quick-edit-title').each(function (index, e) {
795
+ var $e = $(e);
796
+ var l = $e.data('language');
797
+ if ($e.val() !== '') {
798
+ s = WPGlobusCore.getString( s, $e.val(), l );
799
+ }
800
+ WPGlobusAdmin.qedit_titles[ id ][ l ][ 'name' ] = $e.val();
801
+ lang[ index ] = l;
802
+ });
803
+
804
+ var so = $(document).triggerHandler( 'wpglobus_get_translations', {string:s, lang:lang, id:id} );
805
+ if ( typeof so !== 'undefined' ) {
806
+ s = so;
807
+ }
808
+ $( 'input.ptitle' ).eq( 0 ).attr( 'value', s ) ;
809
+ WPGlobusAdmin.qedit_titles[ id ][ 'source' ] = s;
810
+ });
811
+
812
+ if ( typeof WPGlobusAdmin.data.tags !== 'undefined' ) {
813
+ $.each( WPGlobusAdmin.data.tags, function(i,tag){
814
+ WPGlobusAdmin.data.value[tag]['post_id'] = {};
815
+ });
816
+ }
817
+
818
+ $('button.save, input#bulk_edit').on('mouseenter', function (event) {
819
+ /**
820
+ * Quick edit action for the "Tags" box in edit.php page.
821
+ */
822
+ if ( typeof WPGlobusAdmin.data.tags === 'undefined' ) {
823
+ return;
824
+ }
825
+
826
+ if (event.currentTarget.id=='bulk_edit') {
827
+ $('input#bulk_edit').unbind('click');
828
+ } else {
829
+ $('button.save').unbind('click');
830
+ }
831
+
832
+ $( 'button.save, input#bulk_edit').on('click', function (event) {
833
+ //console.log( 'Start Updating' );
834
+ var promise = $.when();
835
+
836
+ var tagsHandler = function( $elem ) {
837
+ $elem.next('.spinner').css({'visibility':'visible'});
838
+ if (event.currentTarget.id != 'bulk_edit') {
839
+ $.ajaxSetup({async:false});
840
+ }
841
+ var p = $elem.parents('tr');
842
+ var id = p.attr('id').replace('edit-','');
843
+ var t,v,newTags;
844
+
845
+ $.each( WPGlobusAdmin.data.tags, function(index,tag){
846
+ t = p.find("textarea[name='" + WPGlobusAdmin.data.names[tag] + "']");
847
+ if ( t.length == 0 ) {
848
+ return true;
849
+ }
850
+ WPGlobusAdmin.data.value[tag]['post_id'][id] = t.val();
851
+ v = WPGlobusAdmin.data.value[tag]['post_id'][id].split(',');
852
+ newTags = [];
853
+ for(var i=0; i<v.length; i++) {
854
+ v[i] = v[i].trim(' ');
855
+ if ( v[i] != '' ) {
856
+ if ( typeof WPGlobusAdmin.data.tag[tag][v[i]] === 'undefined' ) {
857
+ newTags[i] = v[i];
858
+ } else {
859
+ newTags[i] = WPGlobusAdmin.data.tag[tag][v[i]];
860
+ }
861
+ }
862
+ }
863
+ t.val( newTags.join(', ') );
864
+ });
865
+ }
866
+
867
+ var $this = $(this);
868
+ var start = $.Deferred();
869
+ start.resolve( tagsHandler( $(this) ) );
870
+
871
+ promise = promise.then(function() {
872
+ return $.when(
873
+ start.done()
874
+ )
875
+ }).then( function() {
876
+ if (event.currentTarget.id != 'bulk_edit') {
877
+ setTimeout(
878
+ function() {
879
+ inlineEditPost.save(id);
880
+ $.ajaxSetup({async:true});
881
+ },
882
+ 50
883
+ );
884
+ }
885
+ });
886
+
887
+ });
888
+ });
889
+
890
+ $( '#the-list' ).on( 'click', '.editinline', function () {
891
+ var t = $(this);
892
+ full_id = t.parents('tr').attr('id');
893
+ if ('post' === type) {
894
+ id = full_id.replace('post-', '');
895
+ } else if ('taxonomy' === type) {
896
+ id = full_id.replace('tag-', '');
897
+ } else {
898
+ return;
899
+ }
900
+
901
+ if ( 'post' === type && 'undefined' !== typeof WPGlobusAdmin.data.tags ) {
902
+ /**
903
+ * @since 1.6.6
904
+ */
905
+ $.each( WPGlobusAdmin.data.tags, function(i,tag){
906
+ if ( WPGlobusAdmin.data.value[tag] != '' ) {
907
+ var val = $('#edit-' + id + ' textarea[name="' + WPGlobusAdmin.data.names[tag] + '"]').val(),
908
+ currentTags;
909
+ if ( 'undefined' !== typeof val ) {
910
+ currentTags = val.split(',');
911
+ $.each( currentTags, function(order,currentTag) {
912
+ val = val.replace(currentTag, WPGlobusCore.TextFilter(currentTag, WPGlobusCoreData.language));
913
+ });
914
+ $('#edit-' + id + ' textarea[name="' + WPGlobusAdmin.data.names[tag] + '"]').val(val);
915
+ }
916
+ }
917
+ });
918
+ }
919
+
920
+ var e = $('#edit-' + id + ' input.ptitle').eq(0);
921
+ var p = e.parents('label');
922
+ e.val(WPGlobusAdmin.qedit_titles[id].source);
923
+ e.addClass('hidden');
924
+ $(WPGlobusAdmin.data.template).insertAfter(p);
925
+
926
+ if ( typeof WPGlobusAdmin.qedit_titles[id] === 'undefined' ) {
927
+ WPGlobusAdmin.qedit_titles[id] = {};
928
+ WPGlobusAdmin.qedit_titles[id]['source'] = $('#'+full_id+' .name a.row-title').text();
929
+ $(WPGlobusAdmin.data.enabled_languages).each(function(i,l){
930
+ WPGlobusAdmin.qedit_titles[id][l] = {};
931
+ if ( l == WPGlobusAdmin.data.default_language ) {
932
+ WPGlobusAdmin.qedit_titles[id][l]['name'] = WPGlobusAdmin.qedit_titles[id]['source'];
933
+ } else {
934
+ WPGlobusAdmin.qedit_titles[id][l]['name'] = '';
935
+ }
936
+ WPGlobusAdmin.qedit_titles[id][l]['description'] = '';
937
+ });
938
+ }
939
+
940
+ $( '.wpglobus-quick-edit-title' ).each(function ( i, e ) {
941
+ var $e = $(e);
942
+ var l = $e.data( 'language' );
943
+ $e.attr( 'id', l + id );
944
+ if ( typeof WPGlobusAdmin.qedit_titles[id][l] !== 'undefined' ) {
945
+ WPGlobusAdmin.qedit_titles[id][l]['name'] = WPGlobusAdmin.qedit_titles[id][l]['name'].replace( /\\\'/g, "'" );
946
+ WPGlobusAdmin.qedit_titles[id][l]['name'] = WPGlobusAdmin.qedit_titles[id][l]['name'].replace( /\\\"/g, '"' );
947
+ $e.attr( 'value', WPGlobusAdmin.qedit_titles[id][l]['name'] );
948
+ WPGlobusAdmin.qedit_titles[id]['source'] =
949
+ WPGlobusCore.getString(
950
+ WPGlobusAdmin.qedit_titles[id]['source'],
951
+ WPGlobusAdmin.qedit_titles[id][l]['name'],
952
+ l
953
+ );
954
+ }
955
+ });
956
+ $( 'input.ptitle' ).eq( 0 ).attr( 'value', WPGlobusAdmin.qedit_titles[ id ][ 'source' ] );
957
+ });
958
+
959
+ },
960
+ taxonomyEdit: function () {
961
+
962
+ var elements = [];
963
+ elements[0] = 'name';
964
+ elements[1] = 'description';
965
+
966
+ var make_clone = function(id,language){
967
+ var $element = $('#'+id),
968
+ clone = $element.clone(),
969
+ name = $element.attr('name'),
970
+ classes = 'wpglobus-element wpglobus-element_'+id+' wpglobus-element_'+language+' wpglobus-translatable',
971
+ node;
972
+
973
+ node = document.getElementById(id);
974
+ node = node.nodeName;
975
+ $(clone).attr('id', id+'_'+language);
976
+ $(clone).attr('name', name+'_'+language);
977
+ if ( language !== WPGlobusCoreData.default_language ) {
978
+ classes += ' hidden';
979
+ }
980
+ $(clone).attr('class', classes);
981
+ $(clone).attr('data-save-to', id);
982
+ $(clone).attr('data-language', language);
983
+ if ( node == 'INPUT' ) {
984
+ $(clone).attr('value', $('#wpglobus-link-tab-'+language).data(id));
985
+ } else if ( node == 'TEXTAREA' ) {
986
+ $(clone).text($('#wpglobus-link-tab-'+language).data(id));
987
+ }
988
+ $element.addClass('hidden');
989
+ if ( $('.wpglobus-element_'+id).length == 0 ) {
990
+ $(clone).insertAfter($element);
991
+ } else {
992
+ $(clone).insertAfter($('.wpglobus-element_'+id).last());
993
+ }
994
+ };
995
+
996
+ $.each(WPGlobusCoreData.enabled_languages, function(i,l){
997
+ $.each(elements, function(i,e){
998
+ make_clone(e,l);
999
+ });
1000
+ });
1001
+
1002
+ $('.wpglobus-taxonomy-tabs').insertAfter('#ajax-response');
1003
+
1004
+ /**
1005
+ * Make class wrap as tabs container.
1006
+ * Tabs on.
1007
+ */
1008
+ $('.wrap').tabs();
1009
+
1010
+ $('body').on('click', '.wpglobus-taxonomy-tabs li', function(event){
1011
+ var $t = $(this);
1012
+ var language = $t.data('language');
1013
+ $('.wpglobus-element').addClass('hidden');
1014
+ $('.wpglobus-element_'+language).removeClass('hidden');
1015
+ });
1016
+
1017
+ $('.wpglobus-element').on('change', function () {
1018
+ var $this = $(this),
1019
+ save_to = $this.data('save-to'),
1020
+ s = '';
1021
+
1022
+ $('.wpglobus-element').each(function (index, element) {
1023
+ var $e = $(element),
1024
+ value = $e.val();
1025
+ if ( $e.data('save-to') == save_to && value !== '' ) {
1026
+ s = s + WPGlobusCore.addLocaleMarks(value, $e.data('language') )
1027
+ }
1028
+ });
1029
+ $('#' + save_to).val(s);
1030
+ });
1031
+
1032
+ /**
1033
+ * @since 1.8.1
1034
+ * $('<span class="wpglobus-multilingual-slug wpglobus_dialog_start wpglobus_dialog_icon" title="Title"></span>').insertBefore('#slug');
1035
+ * $('.term-slug-wrap th').css({'padding-right':'0'});
1036
+ * $('.term-slug-wrap td').css({'padding-left':'0'});
1037
+ */
1038
+ $(WPGlobusAdmin.data.multilingualSlug.title).insertAfter('.term-slug-wrap th label');
1039
+
1040
+ },
1041
+ navMenus: function () {
1042
+ var iID, menu_size,
1043
+ menu_item = '#menu-to-edit .menu-item';
1044
+
1045
+ var timer = function () {
1046
+ if ( menu_size !== $(menu_item).length ) {
1047
+ clearInterval(iID);
1048
+ $(menu_item).each(function (index, li) {
1049
+ var $li = $(li);
1050
+ if ($li.hasClass('wpglobus-menu-item')) {
1051
+ return; /** the same as continue */
1052
+ }
1053
+ var id = $(li).attr('id');
1054
+ $.each(['input.edit-menu-item-title', 'input.edit-menu-item-attr-title'], function (input_index, input) {
1055
+ var i = $('#' + id + ' ' + input);
1056
+ var $i = $(i);
1057
+ if (!$i.hasClass('wpglobus-hidden')) {
1058
+ $i.addClass('wpglobus-hidden');
1059
+ $i.css('display', 'none');
1060
+ var l = $i.parent('label');
1061
+ var p = $i.parents('p');
1062
+ $(p).css('height', '80px');
1063
+ $(l).append('<div style="color:#f00;">' + WPGlobusAdmin.i18n.save_nav_menu + '</div>');
1064
+ }
1065
+ });
1066
+ $li.addClass('wpglobus-menu-item');
1067
+ });
1068
+ }
1069
+ };
1070
+
1071
+ $.ajaxSetup({
1072
+ beforeSend: function (jqXHR, PlainObject) {
1073
+ if (typeof PlainObject.data === 'undefined') {
1074
+ return;
1075
+ }
1076
+ if (PlainObject.data.indexOf('action=add-menu-item') >= 0) {
1077
+ menu_size = $(menu_item).length;
1078
+ iID = setInterval(timer, 500);
1079
+ }
1080
+ }
1081
+ });
1082
+
1083
+ $(menu_item).each(function (index, li) {
1084
+
1085
+ var id = $(li).attr('id'),
1086
+ item_id = id.replace('menu-item-', '');
1087
+
1088
+ $.each(['input.edit-menu-item-title', 'input.edit-menu-item-attr-title'], function (input_index, input) {
1089
+ var $i = $('#' + id + ' ' + input);
1090
+ if ( $i.val() != WPGlobusAdmin.data.items[ item_id ][ input ][ 'source' ] ) {
1091
+ /**
1092
+ * fix for case when value resets by WP core
1093
+ */
1094
+ $i.val( WPGlobusAdmin.data.items[ item_id ][ input ][ 'source' ] );
1095
+ }
1096
+
1097
+ var p = $( '#' + id + ' ' + input ).parents('p');
1098
+ var height = 0;
1099
+
1100
+ $.each(WPGlobusAdmin.data.open_languages, function (index, language) {
1101
+ var new_element = $i.clone();
1102
+ new_element.attr('id', $i.attr('id') + '-' + language);
1103
+ new_element.attr('name', $i.attr('id') + '-' + language);
1104
+ new_element.attr('data-language', language);
1105
+ new_element.attr('data-item-id', item_id);
1106
+ new_element.attr('placeholder', WPGlobusAdmin.data.en_language_name[language]);
1107
+
1108
+ var classes = WPGlobusAdmin.data.items[item_id][language][input]['class'];
1109
+ if (input_index === 0 && language === WPGlobusAdmin.data.default_language) {
1110
+ new_element.attr('class', classes + ' edit-menu-item-title');
1111
+ } else {
1112
+ new_element.attr('class', classes);
1113
+ }
1114
+
1115
+ if ( WPGlobusAdmin.data.items[ item_id ][ language ][ input ][ 'caption' ] != '' ) {
1116
+ new_element.attr('value', WPGlobusAdmin.data.items[item_id][language][input]['caption']);
1117
+ } else {
1118
+ new_element.attr('value', '');
1119
+ }
1120
+ new_element.css('margin-bottom', '0.6em');
1121
+ $(p).append( new_element );
1122
+ height = index;
1123
+ });
1124
+ height = (height + 1) * 40;
1125
+ $i.css('display', 'none').attr('class', '').addClass('widefat wpglobus-hidden');
1126
+ $(p).css('height', height + 'px').addClass('wpglobus-menu-item-box');
1127
+
1128
+ });
1129
+ $(li).addClass('wpglobus-menu-item');
1130
+ });
1131
+
1132
+ $('.menus-move-left, .menus-move-right').each(function(index,e) {
1133
+ var $e = $(e), new_title;
1134
+ var item_id = $e.parents('li').attr('id').replace('menu-item-', '');
1135
+ var title = $e.attr('title');
1136
+ if ( typeof title !== 'undefined' ) {
1137
+ $.each(WPGlobusAdmin.data.post_titles, function(post_title, item_title) {
1138
+ if ( title.indexOf(post_title) >= 0 ) {
1139
+ new_title = title.replace(post_title, item_title);
1140
+ $e.attr('title', new_title);
1141
+ $e.text(new_title);
1142
+ }
1143
+ });
1144
+ }
1145
+ });
1146
+
1147
+ /**
1148
+ * Run the item handle title when the navigation label was loaded.
1149
+ * @see wp-admin\js\nav-menu.js
1150
+ */
1151
+ $('.edit-menu-item-title').trigger('change');
1152
+ wpNavMenu.refreshAdvancedAccessibility();
1153
+ wpNavMenu.menusChanged = false;
1154
+
1155
+ $('.wpglobus-menu-item').on('change', function () {
1156
+ var $this = $(this),
1157
+ item_id = $this.data('item-id'),
1158
+ s, so;
1159
+ if ($this.hasClass('wpglobus-item-title')) {
1160
+ s = WPGlobusCore.getString( $('input#edit-menu-item-title-' + item_id).val(), $this.val(), $this.data('language') );
1161
+ so = $(document).triggerHandler('wpglobus_get_menu_translations', {string:s, lang:WPGlobusCoreData.open_languages, id:item_id, type:'input.edit-menu-item-title'});
1162
+ if ( typeof so !== 'undefined' ) {
1163
+ s = so;
1164
+ }
1165
+ $('input#edit-menu-item-title-' + item_id).val(s);
1166
+ }
1167
+ if ($this.hasClass('wpglobus-item-attr')) {
1168
+ s = WPGlobusCore.getString( $('input#edit-menu-item-attr-title-' + item_id).val(), $this.val(), $this.data('language') );
1169
+ so = $(document).triggerHandler('wpglobus_get_menu_translations', {string:s, lang:WPGlobusCoreData.open_languages, id:item_id, type:'input.edit-menu-item-attr-title'});
1170
+ if ( typeof so !== 'undefined' ) {
1171
+ s = so;
1172
+ }
1173
+ $('input#edit-menu-item-attr-title-' + item_id).val(s);
1174
+ }
1175
+
1176
+ });
1177
+
1178
+ /**
1179
+ * @since 1.9.16
1180
+ */
1181
+ var menuItems = [];
1182
+ setTimeout(function () {
1183
+ $('.edit-menu-item-description').each(function() {
1184
+ var id = $(this).attr('id');
1185
+ menuItems.push(id);
1186
+ WPGlobusDialogApp.addElement(id);
1187
+ });
1188
+ $('.wpglobus_dialog_start').each(function() {
1189
+ $(this).css({'font-style':'normal'});
1190
+ $(this).after('<br />');
1191
+ });
1192
+ var order = {};
1193
+ order['action'] = 'getNavMenuItemsDescription';
1194
+ order['menuItems'] = menuItems;
1195
+ $.ajax({type:'POST', url:WPGlobusAdmin.ajaxurl, data:{action:WPGlobusAdmin.process_ajax, order:order}, dataType:'json'})
1196
+ .done(function (results) {
1197
+ if ( 'object' != typeof results ) {
1198
+ return;
1199
+ }
1200
+ $.each(results, function( id, value ) {
1201
+ if ( '' != value ) {
1202
+ $('#'+id).val(value);
1203
+ $('#wpglobus-'+id).val( WPGlobusCore.TextFilter(value, WPGlobus.language, 'RETURN_EMPTY') );
1204
+ }
1205
+ });
1206
+ })
1207
+ .fail(function (error) {
1208
+ })
1209
+ .always(function (jqXHR, status) {
1210
+ });
1211
+ }, 1000 );
1212
+
1213
+ },
1214
+ postEdit: function () {
1215
+ /**
1216
+ * Hook into the heartbeat-send.
1217
+ */
1218
+ $(document).on('heartbeat-send', function(e, data) {
1219
+ if ( typeof data['wp_autosave'] !== 'undefined' ) {
1220
+ data['wpglobus_heartbeat'] = 'wpglobus';
1221
+ $.each(WPGlobusAdmin.data.open_languages, function(i,l){
1222
+ var v = $('#title_'+l).val() || '';
1223
+ v = $.trim(v);
1224
+ if ( v != '' ) {
1225
+ data['wp_autosave']['post_title_'+l] = v;
1226
+ }
1227
+ v = $('#content_'+l).val() || '';
1228
+ v = $.trim(v);
1229
+ if ( v != '' ) {
1230
+ data['wp_autosave']['content_'+l] = v;
1231
+ }
1232
+ });
1233
+ }
1234
+ });
1235
+
1236
+ var wrap_at = '#postdivrich',
1237
+ set_title = true,
1238
+ content_tabs_id = '#post-body-content';
1239
+ if ( WPGlobusAdmin.data.support['editor'] === false ) {
1240
+ wrap_at = '#titlediv';
1241
+ set_title = false;
1242
+ }
1243
+ if ( WPGlobusAdmin.data.support['title'] === false ) {
1244
+ set_title = false;
1245
+ }
1246
+ /**
1247
+ * Make post-body-content as tabs container.
1248
+ */
1249
+ $(content_tabs_id).prepend($('.wpglobus-post-body-tabs-list'));
1250
+ $.each(WPGlobusAdmin.tabs, function (index, suffix) {
1251
+ if ('default' === suffix) {
1252
+ $(wrap_at).wrap('<div id="tab-default"></div>');
1253
+ if ( set_title ) {
1254
+ $($('#titlediv')).insertBefore(wrap_at);
1255
+ }
1256
+ } else {
1257
+ $(wrap_at+'-' + suffix).wrap('<div id="tab-' + suffix + '"></div>');
1258
+ if ( set_title ) {
1259
+ $($('#titlediv-' + suffix)).insertBefore(wrap_at+'-' + suffix);
1260
+ }
1261
+ }
1262
+ });
1263
+
1264
+ /**
1265
+ * Tabs on.
1266
+ */
1267
+ $(content_tabs_id).addClass('wpglobus-post-body-tabs').tabs({
1268
+ beforeActivate: function( event, ui ){
1269
+ var otab = ui.oldTab[0].id.replace('link-tab-','');
1270
+ var ntab = ui.newTab[0].id.replace('link-tab-','');
1271
+ if ( 'default' == otab ) {
1272
+ otab = WPGlobusCoreData.default_language;
1273
+ }
1274
+ if ( 'default' == ntab ) {
1275
+ ntab = WPGlobusCoreData.default_language;
1276
+ }
1277
+ var a = $(document).triggerHandler('wpglobus_post_body_tabs', [ otab, ntab ]);
1278
+ if ( a || typeof a === 'undefined' ) {
1279
+ return true;
1280
+ }
1281
+ return false;
1282
+ }
1283
+ }); /** #post-body-content */
1284
+
1285
+ /**
1286
+ * Setup for default language.
1287
+ */
1288
+ $('#title').val(WPGlobusAdmin.title);
1289
+
1290
+ /**
1291
+ * See other places with the same bookmark.
1292
+ * @bookmark EDITOR_LINE_BREAKS
1293
+ */
1294
+ //$('#content').text(WPGlobusAdmin.content.replace(/\n/g, "<p>"));
1295
+
1296
+ $('#content').text(WPGlobusAdmin.content);
1297
+
1298
+ if (typeof WPGlobusVendor !== "undefined" && WPGlobusVendor.vendor.WPSEO ) {
1299
+ if ( typeof wpglobus_wpseo !== "undefined" ) {
1300
+ wpglobus_wpseo();
1301
+ } else if ( 'undefined' !== typeof WPGlobusYoastSeo ) {
1302
+ if ( 'undefined' !== typeof WPGlobusYoastSeoPremium ) {
1303
+ /**
1304
+ * @since WPGlobus 1.7.2
1305
+ */
1306
+ if ( WPGlobusYoastSeoPremium ) {
1307
+ WPGlobusYoastSeoPremium.init();
1308
+ }
1309
+ }
1310
+ /**
1311
+ * @since Yoast SEO 3.0
1312
+ */
1313
+ WPGlobusYoastSeo.init();
1314
+ }
1315
+ }
1316
+
1317
+ if ( WPGlobusAdmin.data.modify_excerpt ) {
1318
+ /**
1319
+ * Add excerpt fields from template.
1320
+ */
1321
+ var $excerpt = $( '#excerpt' );
1322
+ $excerpt.addClass( 'hidden' ).css( {'display':'none'} );
1323
+ $( WPGlobusAdmin.data.template ).insertAfter( $excerpt );
1324
+ $( 'body' ).on( 'change', '.wpglobus-excerpt', function () {
1325
+ var $t = $( this );
1326
+ $excerpt.val( WPGlobusCore.getString( $excerpt.val(), $t.val(), $t.data('language') ) );
1327
+ });
1328
+ }
1329
+
1330
+ /**
1331
+ * wp_editor word count.
1332
+ * from WordPress 4.3 @see \wp-admin\js\post.js
1333
+ */
1334
+ if ( typeof wp.utils !== 'undefined' && typeof wp.utils.WordCounter !== 'undefined' ) {
1335
+ WPGlobusCoreData.wordCounter = {};
1336
+
1337
+ var self = this, wpglobusEditors = {};
1338
+
1339
+ $.each( WPGlobusCoreData.enabled_languages, function( i, l ){
1340
+ if ( l == WPGlobusCoreData.default_language ) {
1341
+ return true;
1342
+ }
1343
+ wpglobusEditors[i] = 'content_'+l;
1344
+
1345
+ ( function( $, counter, l ) {
1346
+ WPGlobusCoreData.wordCounter[ l ] = {};
1347
+ WPGlobusCoreData.wordCounter[ l ][ 'counter' ] = counter;
1348
+
1349
+ $( function() {
1350
+
1351
+ WPGlobusCoreData.wordCounter[ l ][ 'content' ] = $( '#content_'+l );
1352
+ WPGlobusCoreData.wordCounter[ l ][ 'count' ] = $( '#wp-word-count-'+l ).find( '.word-count-'+l );
1353
+
1354
+ WPGlobusCoreData.wordCounter[ l ][ 'prevCount' ] = 0;
1355
+
1356
+ function update( l ) {
1357
+ var text, count;
1358
+
1359
+ if ( typeof l === 'object' ) {
1360
+
1361
+ if ( l == 'tinymce' ) {
1362
+ /** wysiwyg editor */
1363
+ l = self.getCurrentTab();
1364
+ } else {
1365
+ /** textarea */
1366
+ l = l.target.id.replace( 'content_', '' );
1367
+ }
1368
+
1369
+ }
1370
+
1371
+ if ( typeof WPGlobusCoreData.wordCounter[ l ] === 'undefined' ) {
1372
+ return;
1373
+ }
1374
+
1375
+ if ( ! WPGlobusCoreData.wordCounter[ l ][ 'contentEditor' ] ||
1376
+ WPGlobusCoreData.wordCounter[ l ][ 'contentEditor' ].isHidden() ) {
1377
+
1378
+ text = WPGlobusCoreData.wordCounter[ l ][ 'content' ].val();
1379
+
1380
+ } else {
1381
+ text = WPGlobusCoreData.wordCounter[ l ][ 'contentEditor' ].getContent( { format: 'raw' } );
1382
+ }
1383
+
1384
+ count = WPGlobusCoreData.wordCounter[ l ][ 'counter' ].count( text );
1385
+
1386
+ if ( count !== WPGlobusCoreData.wordCounter[ l ][ 'prevCount' ] ) {
1387
+ WPGlobusCoreData.wordCounter[ l ][ 'count' ].text( count );
1388
+ }
1389
+
1390
+ WPGlobusCoreData.wordCounter[ l ][ 'prevCount' ] = count;
1391
+ }
1392
+
1393
+ $(document).on( 'tinymce-editor-init', function( event, editor ) {
1394
+
1395
+ if ( -1 == $.inArray(editor.id, wpglobusEditors) ) {
1396
+ /**
1397
+ * Init WPGlobus editor only.
1398
+ */
1399
+ return;
1400
+ }
1401
+ var l = editor.id.replace( 'content_', '' );
1402
+
1403
+ WPGlobusCoreData.wordCounter[ l ][ 'contentEditor' ] = editor;
1404
+
1405
+ editor.on( 'nodechange keyup', _.debounce( update, 1000 ) );
1406
+ } );
1407
+
1408
+ WPGlobusCoreData.wordCounter[l]['content'].on( 'input keyup', _.debounce( update, 1000 ) );
1409
+
1410
+ update( l );
1411
+
1412
+ } );
1413
+ } )( jQuery, new wp.utils.WordCounter(), l );
1414
+ });
1415
+
1416
+ }
1417
+
1418
+ $(document).on('click', '#publish, #save-post', function() {
1419
+ if ( WPGlobusAdmin.data.open_languages.length > 1 ) {
1420
+ $(document).triggerHandler('wpglobus_before_save_post', {content_tabs_id:content_tabs_id});
1421
+ /**
1422
+ * If empty title in default language make it from another titles.
1423
+ */
1424
+ var t = $('#title').val(),
1425
+ index, title = '', delimiter = '';
1426
+
1427
+ if ( t.length == 0 ) {
1428
+ index = WPGlobusAdmin.data.open_languages.indexOf(WPGlobusAdmin.data.default_language);
1429
+ WPGlobusAdmin.data.open_languages.splice(index, 1);
1430
+ $(WPGlobusAdmin.data.open_languages).each(function(i,l){
1431
+ delimiter = i == 0 ? '' : '-';
1432
+ t = $('#title_'+l).val();
1433
+ if ( t.length > 0 ) {
1434
+ if ( title.length == 0 ) { delimiter = '';}
1435
+ title = title + delimiter + t;
1436
+ }
1437
+ });
1438
+ }
1439
+ if ( title.length > 0 ) {
1440
+ $('#title').val(title);
1441
+ }
1442
+ }
1443
+
1444
+ /**
1445
+ * To handle taxonomy tags.
1446
+ */
1447
+ if ( 'undefined' === typeof WPGlobusAdmin.data.tagsdiv || WPGlobusAdmin.data.tagsdiv.length < 1 ) {
1448
+ return;
1449
+ }
1450
+ $(WPGlobusAdmin.data.tagsdiv).each(function(i,tagsdiv){
1451
+ if ($('#' + tagsdiv).length == 0) {
1452
+ /**
1453
+ * Next iteration.
1454
+ */
1455
+ return true;
1456
+ }
1457
+
1458
+ var id = tagsdiv.replace('tagsdiv-', '');
1459
+ if ( 'undefined' === id ) {
1460
+ return true;
1461
+ }
1462
+ if ( $('#tax-input-'+id).length == 0 ) {
1463
+ return true;
1464
+ }
1465
+
1466
+ var name, tags = [];
1467
+
1468
+ /**
1469
+ * Obsolete from WP 4.9
1470
+ * $('#tagsdiv-'+id+' .tagchecklist > span').each(function(i,e){
1471
+ */
1472
+ $('#tagsdiv-'+id+' .tagchecklist li').each(function(i,e){
1473
+ name = $(e).html();
1474
+ name = name.replace( /<button.*<\/button>&nbsp;/, '' );
1475
+ if ( 'undefined' === typeof WPGlobusAdmin.data.tag[id][name] ) {
1476
+ tags[i] = name;
1477
+ } else {
1478
+ tags[i] = WPGlobusAdmin.data.tag[id][name];
1479
+ }
1480
+ });
1481
+
1482
+ $('#tax-input-'+id).val(tags.join(', '));
1483
+ });
1484
+ /**
1485
+ * The end to handle taxonomy tags.
1486
+ */
1487
+ });
1488
+
1489
+ /**
1490
+ * The alignment when default tab was clicked.
1491
+ */
1492
+ $('.ui-state-default').on('click', function () {
1493
+ if ('link-tab-default' === $(this).attr('id')) {
1494
+ $(window).scrollTop($(window).scrollTop() + 1);
1495
+ $(window).scrollTop($(window).scrollTop() - 1);
1496
+ }
1497
+ });
1498
+
1499
+ /**
1500
+ * Set current value after language tab of content was changed.
1501
+ */
1502
+ $(document).on( 'tabsactivate', content_tabs_id, function( event, ui ) {
1503
+ WPGlobusAdmin.currentTab = ui.newTab[0].dataset.language;
1504
+ });
1505
+
1506
+ $(document).triggerHandler('wpglobus_after_post_edit');
1507
+
1508
+ },
1509
+ adminCentral: function () {
1510
+ $( '.wpglobus-admin-central-tab' ).css({ 'display':'none' });
1511
+
1512
+ if ( $( '.nav-tab-active' ).length > 1 ) {
1513
+ $( '.wpglobus-about-wrap .nav-tab-wrapper a' ).removeClass( 'nav-tab-active' );
1514
+ }
1515
+
1516
+ var setFirstElement = true;
1517
+ if ( 0 == location.hash.indexOf( '#' ) ) {
1518
+ $( '.wpglobus-about-wrap .nav-tab-wrapper a').each( function( i, e ) {
1519
+ if ( $(e).attr( 'href' ) == location.hash ) {
1520
+ setFirstElement = false;
1521
+ $(e).addClass( 'nav-tab-active' );
1522
+ }
1523
+ });
1524
+ }
1525
+ if ( setFirstElement ) {
1526
+ $( '.wpglobus-about-wrap .nav-tab-wrapper a' ).eq(0).addClass( 'nav-tab-active' );
1527
+ }
1528
+
1529
+ var activePanel = $( '.wpglobus-about-wrap .nav-tab-active' ).data( 'tab-id' );
1530
+ if ( '' != activePanel ) {
1531
+ $( '#'+activePanel ).css({'display':'block'});
1532
+ }
1533
+
1534
+ $(document).on( 'click', '.wpglobus-about-wrap .nav-tab', function(event){
1535
+ var $t = $( this );
1536
+ if ( $t.hasClass( 'nav-tab-active' ) ) {
1537
+ return;
1538
+ }
1539
+ $( '.wpglobus-admin-central-tab' ).css({ 'display':'none' });
1540
+ $( '.wpglobus-about-wrap .nav-tab' ).removeClass( 'nav-tab-active' );
1541
+ $t.addClass( 'nav-tab-active' );
1542
+ if ( '' != $t.data( 'tab-id' ) ) {
1543
+ $( '#' + $t.data( 'tab-id' ) ).css({ 'display':'block' });
1544
+ }
1545
+ });
1546
+ },
1547
+ start: function () {
1548
+ var t = this;
1549
+ $('#wpglobus_flags').select2({
1550
+ formatResult: this.format,
1551
+ formatSelection: this.format,
1552
+ minimumResultsForSearch: -1,
1553
+ escapeMarkup: function (m) {
1554
+ return m;
1555
+ }
1556
+ });
1557
+
1558
+ /** disable checked off first language */
1559
+ $('body').on('click', '#enabled_languages-list li:first input', function (event) {
1560
+ event.preventDefault();
1561
+ $('.redux-save-warn').css({'display': 'none'});
1562
+ $('#enabled_languages-list').find('li:first > input').val('1');
1563
+ if ($('#disable_first_language').length === 0) {
1564
+ $(t.config.disable_first_language).insertAfter('#info_bar');
1565
+ }
1566
+ return false;
1567
+ });
1568
+
1569
+ },
1570
+ format: function (language) {
1571
+ return '<img class="wpglobus_flag" src="' + WPGlobusAdmin.flag_url + language.text + '"/>&nbsp;&nbsp;' + language.text;
1572
+ },
1573
+ set_dialog: function() {
1574
+
1575
+ if ( 'undefined' !== typeof WPGlobusAdmin.data.customFieldsEnabled ) {
1576
+ WPGlobusAdmin.data.customFieldsEnabled = this.parseBool( WPGlobusAdmin.data.customFieldsEnabled );
1577
+ if ( ! WPGlobusAdmin.data.customFieldsEnabled ) {
1578
+ return;
1579
+ }
1580
+ }
1581
+
1582
+ var ajaxify_row_id, added_control = false;
1583
+ var add_elements = function(post_id) {
1584
+
1585
+ var id, rows, cb, _cb,
1586
+ _classes = 'wpglobus_dialog_start wpglobus_dialog_icon';
1587
+
1588
+ _cb = [
1589
+ '<div class="wpglobus_dialog_options_wrapper hidden">',
1590
+ '<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}} />',
1591
+ '</div>'
1592
+ ].join('');
1593
+
1594
+ if (typeof post_id == 'undefined') {
1595
+ rows = '#the-list tr';
1596
+ } else {
1597
+ rows = '#the-list tr#'+post_id;
1598
+ }
1599
+ $(rows).each(function(){
1600
+ var $t = $(this),
1601
+ tid = $t.attr('id'),
1602
+ element = $t.find('textarea'),
1603
+ clone, name, meta_key,
1604
+ classes = _classes;
1605
+
1606
+ id = element.attr('id');
1607
+ if ( undefined === id ) {
1608
+ return true;
1609
+ }
1610
+ meta_key = $('#'+tid+'-key').val();
1611
+ clone = $('#'+id).clone();
1612
+ $(element).addClass('wpglobus-dialog-field-source hidden');
1613
+ name = element.attr('name');
1614
+ $(clone).attr('id', 'wpglobus-'+id);
1615
+ $(clone).attr('name', 'wpglobus-'+name);
1616
+ $(clone).attr('data-source-id', id);
1617
+ $(clone).attr('class', 'wpglobus-dialog-field');
1618
+ $(clone).val( WPGlobusCore.TextFilter($(element).val(), WPGlobusCoreData.language) );
1619
+ $(clone).insertAfter(element);
1620
+ cb = _cb.replace(/{{id}}/g, id);
1621
+ cb = cb.replace(/{{meta-key}}/g, meta_key);
1622
+ if ( undefined === WPGlobusAdmin.data.post_meta_settings[WPGlobusAdmin.data.post_type] ) {
1623
+ cb = cb.replace(/{{checked}}/, 'checked');
1624
+ } else {
1625
+ if ( undefined !== WPGlobusAdmin.data.post_meta_settings[WPGlobusAdmin.data.post_type][meta_key] && WPGlobusAdmin.data.post_meta_settings[WPGlobusAdmin.data.post_type][meta_key] == 'false' ) {
1626
+ cb = cb.replace(/{{checked}}/, '');
1627
+ classes = _classes+' wpglobus_dialog_start_hidden';
1628
+ } else {
1629
+ cb = cb.replace(/{{checked}}/, 'checked');
1630
+ classes = _classes;
1631
+ }
1632
+ }
1633
+ $t.append('<td style="width:20px;"><div id="wpglobus-dialog-start-'+id+'" data-type="control" data-source-type="textarea" data-source-id="'+id+'" class="'+classes+'"></div>'+cb+'</td>');
1634
+ });
1635
+ if ( ! added_control && $('#list-table .wpglobus_dialog_start').length > 0 ) {
1636
+ $('#list-table thead tr').append('<th class="wpglobus-control-head"><div class="wpglobus_dialog_settings wpglobus_dialog_icon"></div></th>');
1637
+ added_control = true;
1638
+ }
1639
+ }
1640
+
1641
+ add_elements();
1642
+
1643
+ $('body').on('change', '.wpglobus-dialog-field', function(){
1644
+ var $t = $(this),
1645
+ source_id = '#'+$t.data('source-id'),
1646
+ source = '', s = '', new_value;
1647
+
1648
+ if ( typeof source_id == 'undefined' ) {
1649
+ return;
1650
+ }
1651
+ source = $(source_id).val();
1652
+
1653
+ if ( ! /(\{:|\[:|<!--:)[a-z]{2}/.test(source) ) {
1654
+ $(source_id).val($t.val());
1655
+ } else {
1656
+ $.each(WPGlobusCoreData.enabled_languages, function(i,l){
1657
+ if ( l == WPGlobusCoreData.language ) {
1658
+ new_value = $t.val();
1659
+ } else {
1660
+ new_value = WPGlobusCore.TextFilter(source,l,'RETURN_EMPTY');
1661
+ }
1662
+ if ( '' != new_value ) {
1663
+ s = s + WPGlobusCore.addLocaleMarks(new_value,l);
1664
+ }
1665
+ });
1666
+ $(source_id).val(s);
1667
+ }
1668
+
1669
+ });
1670
+
1671
+ $(document).ajaxSend(function(event, jqxhr, settings){
1672
+ if ( 'add-meta' == settings.action ) {
1673
+ ajaxify_row_id = settings.element;
1674
+ }
1675
+ });
1676
+ $(document).ajaxComplete(function(event, jqxhr, settings){
1677
+ if ( 'add-meta' == settings.action && undefined !== jqxhr.responseXML ) {
1678
+ if ( 'newmeta' == ajaxify_row_id ) {
1679
+ add_elements('meta-'+$(jqxhr.responseXML.documentElement.outerHTML).find('meta').attr('id'));
1680
+ } else {
1681
+ add_elements(ajaxify_row_id);
1682
+ }
1683
+ }
1684
+ });
1685
+
1686
+ WPGlobusDialogApp.init({dialogTitle:'Edit meta'});
1687
+
1688
+ }
1689
+ };
1690
+
1691
+ new WPGlobusAdminApp.App();
1692
+
1693
+ return WPGlobusAdminApp;
1694
+
1695
+ }(window.WPGlobusAdminApp || {}, jQuery));
1696
+
1697
+ });
includes/js/wpglobus-admin-51.min.js ADDED
@@ -0,0 +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)},close:function(){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>&nbsp;</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,u){c.each(a,function(t,a){var e,o,n,i,l,s,d;o=u,i=c("#"+(e=a)),l=i.clone(),s=i.attr("name"),d="wpglobus-element wpglobus-element_"+e+" wpglobus-element_"+o+" wpglobus-translatable",n=(n=document.getElementById(e)).nodeName,c(l).attr("id",e+"_"+o),c(l).attr("name",s+"_"+o),o!==WPGlobusCoreData.default_language&&(d+=" hidden"),c(l).attr("class",d),c(l).attr("data-save-to",e),c(l).attr("data-language",o),"INPUT"==n?c(l).attr("value",c("#wpglobus-link-tab-"+o).data(e)):"TEXTAREA"==n&&c(l).text(c("#wpglobus-link-tab-"+o).data(e)),i.addClass("hidden"),0==c(".wpglobus-element_"+e).length?c(l).insertAfter(i):c(l).insertAfter(c(".wpglobus-element_"+e).last())})}),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(){var e,o,n="#menu-to-edit .menu-item",i=function(){o!==c(n).length&&(clearInterval(e),c(n).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")}}))};c.ajaxSetup({beforeSend:function(t,a){void 0!==a.data&&0<=a.data.indexOf("action=add-menu-item")&&(o=c(n).length,e=setInterval(i,500))}}),c(n).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))}),c(a).addClass("wpglobus-post-body-tabs").tabs({beforeActivate:function(t,a){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)}}),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>&nbsp;/,""),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+'"/>&nbsp;&nbsp;'+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="";void 0!==t&&(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)});
languages/wpglobus-ar.po CHANGED
@@ -675,19 +675,19 @@ msgstr "هل أنت متأكد من المسح؟"
675
  msgid "Back to the WPGlobus Settings"
676
  msgstr ""
677
 
678
- #: includes/admin/class-wpglobus-plugin-install.php:306
679
  msgid "Current Version"
680
  msgstr "النسخة الحالية"
681
 
682
- #: includes/admin/class-wpglobus-plugin-install.php:307
683
  msgid "Get it now!"
684
  msgstr "إحصل عليها الأن!"
685
 
686
- #: includes/admin/class-wpglobus-plugin-install.php:308
687
  msgid "Premium add-on"
688
  msgstr ""
689
 
690
- #: includes/admin/class-wpglobus-plugin-install.php:309,
691
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
692
  msgid "Installed"
693
  msgstr "مُثبت"
@@ -808,7 +808,7 @@ msgid "To translate permalinks, please activate the module Slug."
808
  msgstr ""
809
 
810
  #: includes/builders/class-wpglobus-builder.php:358,
811
- #: includes/class-wpglobus.php:3572
812
  msgid "Save draft before using extra language."
813
  msgstr ""
814
 
@@ -908,17 +908,17 @@ msgstr ""
908
  msgid "Need a multilingual slug?"
909
  msgstr ""
910
 
911
- #: includes/class-wpglobus.php:4011
912
  msgid "You must enable Pretty Permalinks to use WPGlobus."
913
  msgstr ""
914
 
915
- #: includes/class-wpglobus.php:4013
916
  msgid ""
917
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
918
  "default option."
919
  msgstr ""
920
 
921
- #: includes/class-wpglobus.php:4165
922
  msgid "Add"
923
  msgstr "إضافة"
924
 
675
  msgid "Back to the WPGlobus Settings"
676
  msgstr ""
677
 
678
+ #: includes/admin/class-wpglobus-plugin-install.php:302
679
  msgid "Current Version"
680
  msgstr "النسخة الحالية"
681
 
682
+ #: includes/admin/class-wpglobus-plugin-install.php:303
683
  msgid "Get it now!"
684
  msgstr "إحصل عليها الأن!"
685
 
686
+ #: includes/admin/class-wpglobus-plugin-install.php:304
687
  msgid "Premium add-on"
688
  msgstr ""
689
 
690
+ #: includes/admin/class-wpglobus-plugin-install.php:305,
691
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
692
  msgid "Installed"
693
  msgstr "مُثبت"
808
  msgstr ""
809
 
810
  #: includes/builders/class-wpglobus-builder.php:358,
811
+ #: includes/class-wpglobus.php:3581
812
  msgid "Save draft before using extra language."
813
  msgstr ""
814
 
908
  msgid "Need a multilingual slug?"
909
  msgstr ""
910
 
911
+ #: includes/class-wpglobus.php:4020
912
  msgid "You must enable Pretty Permalinks to use WPGlobus."
913
  msgstr ""
914
 
915
+ #: includes/class-wpglobus.php:4022
916
  msgid ""
917
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
918
  "default option."
919
  msgstr ""
920
 
921
+ #: includes/class-wpglobus.php:4174
922
  msgid "Add"
923
  msgstr "إضافة"
924
 
languages/wpglobus-be.po CHANGED
@@ -722,19 +722,19 @@ msgstr "Удалить? Вы уверены?"
722
  msgid "Back to the WPGlobus Settings"
723
  msgstr "Вернуться к настройкам WPGlobus"
724
 
725
- #: includes/admin/class-wpglobus-plugin-install.php:306
726
  msgid "Current Version"
727
  msgstr "Текущая версия"
728
 
729
- #: includes/admin/class-wpglobus-plugin-install.php:307
730
  msgid "Get it now!"
731
  msgstr "Установить!"
732
 
733
- #: includes/admin/class-wpglobus-plugin-install.php:308
734
  msgid "Premium add-on"
735
  msgstr "Платное расширение"
736
 
737
- #: includes/admin/class-wpglobus-plugin-install.php:309,
738
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
739
  msgid "Installed"
740
  msgstr "Установлен"
@@ -859,7 +859,7 @@ msgid "To translate permalinks, please activate the module Slug."
859
  msgstr ""
860
 
861
  #: includes/builders/class-wpglobus-builder.php:358,
862
- #: includes/class-wpglobus.php:3572
863
  msgid "Save draft before using extra language."
864
  msgstr ""
865
 
@@ -959,13 +959,13 @@ msgstr "*) Доступно после сохранения меню."
959
  msgid "Need a multilingual slug?"
960
  msgstr "Нужен мультиязычный ярлык?"
961
 
962
- #: includes/class-wpglobus.php:4011
963
  msgid "You must enable Pretty Permalinks to use WPGlobus."
964
  msgstr ""
965
  "Чтобы использовать плагин WPGlobus, необходимо включить ЧПУ - постоянные "
966
  "ссылки."
967
 
968
- #: includes/class-wpglobus.php:4013
969
  msgid ""
970
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
971
  "default option."
@@ -973,7 +973,7 @@ msgstr ""
973
  "Пожалуйста, перейдите в меню Настройки > Постоянные ссылки и поменяйте "
974
  "структуру ссылок в разделе \"Общие настройки\"."
975
 
976
- #: includes/class-wpglobus.php:4165
977
  msgid "Add"
978
  msgstr "Добавить"
979
 
722
  msgid "Back to the WPGlobus Settings"
723
  msgstr "Вернуться к настройкам WPGlobus"
724
 
725
+ #: includes/admin/class-wpglobus-plugin-install.php:302
726
  msgid "Current Version"
727
  msgstr "Текущая версия"
728
 
729
+ #: includes/admin/class-wpglobus-plugin-install.php:303
730
  msgid "Get it now!"
731
  msgstr "Установить!"
732
 
733
+ #: includes/admin/class-wpglobus-plugin-install.php:304
734
  msgid "Premium add-on"
735
  msgstr "Платное расширение"
736
 
737
+ #: includes/admin/class-wpglobus-plugin-install.php:305,
738
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
739
  msgid "Installed"
740
  msgstr "Установлен"
859
  msgstr ""
860
 
861
  #: includes/builders/class-wpglobus-builder.php:358,
862
+ #: includes/class-wpglobus.php:3581
863
  msgid "Save draft before using extra language."
864
  msgstr ""
865
 
959
  msgid "Need a multilingual slug?"
960
  msgstr "Нужен мультиязычный ярлык?"
961
 
962
+ #: includes/class-wpglobus.php:4020
963
  msgid "You must enable Pretty Permalinks to use WPGlobus."
964
  msgstr ""
965
  "Чтобы использовать плагин WPGlobus, необходимо включить ЧПУ - постоянные "
966
  "ссылки."
967
 
968
+ #: includes/class-wpglobus.php:4022
969
  msgid ""
970
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
971
  "default option."
973
  "Пожалуйста, перейдите в меню Настройки > Постоянные ссылки и поменяйте "
974
  "структуру ссылок в разделе \"Общие настройки\"."
975
 
976
+ #: includes/class-wpglobus.php:4174
977
  msgid "Add"
978
  msgstr "Добавить"
979
 
languages/wpglobus-bg_BG.po CHANGED
@@ -651,19 +651,19 @@ msgstr ""
651
  msgid "Back to the WPGlobus Settings"
652
  msgstr ""
653
 
654
- #: includes/admin/class-wpglobus-plugin-install.php:306
655
  msgid "Current Version"
656
  msgstr ""
657
 
658
- #: includes/admin/class-wpglobus-plugin-install.php:307
659
  msgid "Get it now!"
660
  msgstr ""
661
 
662
- #: includes/admin/class-wpglobus-plugin-install.php:308
663
  msgid "Premium add-on"
664
  msgstr ""
665
 
666
- #: includes/admin/class-wpglobus-plugin-install.php:309,
667
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
668
  msgid "Installed"
669
  msgstr ""
@@ -784,7 +784,7 @@ msgid "To translate permalinks, please activate the module Slug."
784
  msgstr ""
785
 
786
  #: includes/builders/class-wpglobus-builder.php:358,
787
- #: includes/class-wpglobus.php:3572
788
  msgid "Save draft before using extra language."
789
  msgstr ""
790
 
@@ -884,17 +884,17 @@ msgstr ""
884
  msgid "Need a multilingual slug?"
885
  msgstr ""
886
 
887
- #: includes/class-wpglobus.php:4011
888
  msgid "You must enable Pretty Permalinks to use WPGlobus."
889
  msgstr ""
890
 
891
- #: includes/class-wpglobus.php:4013
892
  msgid ""
893
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
894
  "default option."
895
  msgstr ""
896
 
897
- #: includes/class-wpglobus.php:4165
898
  msgid "Add"
899
  msgstr ""
900
 
651
  msgid "Back to the WPGlobus Settings"
652
  msgstr ""
653
 
654
+ #: includes/admin/class-wpglobus-plugin-install.php:302
655
  msgid "Current Version"
656
  msgstr ""
657
 
658
+ #: includes/admin/class-wpglobus-plugin-install.php:303
659
  msgid "Get it now!"
660
  msgstr ""
661
 
662
+ #: includes/admin/class-wpglobus-plugin-install.php:304
663
  msgid "Premium add-on"
664
  msgstr ""
665
 
666
+ #: includes/admin/class-wpglobus-plugin-install.php:305,
667
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
668
  msgid "Installed"
669
  msgstr ""
784
  msgstr ""
785
 
786
  #: includes/builders/class-wpglobus-builder.php:358,
787
+ #: includes/class-wpglobus.php:3581
788
  msgid "Save draft before using extra language."
789
  msgstr ""
790
 
884
  msgid "Need a multilingual slug?"
885
  msgstr ""
886
 
887
+ #: includes/class-wpglobus.php:4020
888
  msgid "You must enable Pretty Permalinks to use WPGlobus."
889
  msgstr ""
890
 
891
+ #: includes/class-wpglobus.php:4022
892
  msgid ""
893
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
894
  "default option."
895
  msgstr ""
896
 
897
+ #: includes/class-wpglobus.php:4174
898
  msgid "Add"
899
  msgstr ""
900
 
languages/wpglobus-de_CH.po CHANGED
@@ -687,19 +687,19 @@ msgstr "Sind Sie sicher, dass Sie die Lösch-Aktion durchführen möchten?"
687
  msgid "Back to the WPGlobus Settings"
688
  msgstr "Zurück zu den WPGlobus-Einstellungen"
689
 
690
- #: includes/admin/class-wpglobus-plugin-install.php:306
691
  msgid "Current Version"
692
  msgstr "Aktelle Version"
693
 
694
- #: includes/admin/class-wpglobus-plugin-install.php:307
695
  msgid "Get it now!"
696
  msgstr "Jetzt holen"
697
 
698
- #: includes/admin/class-wpglobus-plugin-install.php:308
699
  msgid "Premium add-on"
700
  msgstr ""
701
 
702
- #: includes/admin/class-wpglobus-plugin-install.php:309,
703
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
704
  msgid "Installed"
705
  msgstr "Instaliert"
@@ -820,7 +820,7 @@ msgid "To translate permalinks, please activate the module Slug."
820
  msgstr ""
821
 
822
  #: includes/builders/class-wpglobus-builder.php:358,
823
- #: includes/class-wpglobus.php:3572
824
  msgid "Save draft before using extra language."
825
  msgstr ""
826
 
@@ -920,12 +920,12 @@ msgstr "*) Verfügbar nachdem das Menü gespeichert wurde."
920
  msgid "Need a multilingual slug?"
921
  msgstr ""
922
 
923
- #: includes/class-wpglobus.php:4011
924
  msgid "You must enable Pretty Permalinks to use WPGlobus."
925
  msgstr ""
926
  "Sie müssen schöne Permalinks aktivieren um WPGlobus verwenden zu können."
927
 
928
- #: includes/class-wpglobus.php:4013
929
  msgid ""
930
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
931
  "default option."
@@ -933,7 +933,7 @@ msgstr ""
933
  "Bitte gehen Sie zu Einstellungen > Permalinks > allgemeine Einstellungen, "
934
  "und wählen Sie die \"Beitragsname\" für schöne Permalinks."
935
 
936
- #: includes/class-wpglobus.php:4165
937
  msgid "Add"
938
  msgstr "Hinzufügen"
939
 
687
  msgid "Back to the WPGlobus Settings"
688
  msgstr "Zurück zu den WPGlobus-Einstellungen"
689
 
690
+ #: includes/admin/class-wpglobus-plugin-install.php:302
691
  msgid "Current Version"
692
  msgstr "Aktelle Version"
693
 
694
+ #: includes/admin/class-wpglobus-plugin-install.php:303
695
  msgid "Get it now!"
696
  msgstr "Jetzt holen"
697
 
698
+ #: includes/admin/class-wpglobus-plugin-install.php:304
699
  msgid "Premium add-on"
700
  msgstr ""
701
 
702
+ #: includes/admin/class-wpglobus-plugin-install.php:305,
703
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
704
  msgid "Installed"
705
  msgstr "Instaliert"
820
  msgstr ""
821
 
822
  #: includes/builders/class-wpglobus-builder.php:358,
823
+ #: includes/class-wpglobus.php:3581
824
  msgid "Save draft before using extra language."
825
  msgstr ""
826
 
920
  msgid "Need a multilingual slug?"
921
  msgstr ""
922
 
923
+ #: includes/class-wpglobus.php:4020
924
  msgid "You must enable Pretty Permalinks to use WPGlobus."
925
  msgstr ""
926
  "Sie müssen schöne Permalinks aktivieren um WPGlobus verwenden zu können."
927
 
928
+ #: includes/class-wpglobus.php:4022
929
  msgid ""
930
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
931
  "default option."
933
  "Bitte gehen Sie zu Einstellungen > Permalinks > allgemeine Einstellungen, "
934
  "und wählen Sie die \"Beitragsname\" für schöne Permalinks."
935
 
936
+ #: includes/class-wpglobus.php:4174
937
  msgid "Add"
938
  msgstr "Hinzufügen"
939
 
languages/wpglobus-de_DE.po CHANGED
@@ -686,19 +686,19 @@ msgstr "Sind Sie sicher, dass Sie die Lösch-Aktion durchführen möchten?"
686
  msgid "Back to the WPGlobus Settings"
687
  msgstr "Zurück zu den WPGlobus-Einstellungen"
688
 
689
- #: includes/admin/class-wpglobus-plugin-install.php:306
690
  msgid "Current Version"
691
  msgstr "Aktelle Version"
692
 
693
- #: includes/admin/class-wpglobus-plugin-install.php:307
694
  msgid "Get it now!"
695
  msgstr "Jetzt holen"
696
 
697
- #: includes/admin/class-wpglobus-plugin-install.php:308
698
  msgid "Premium add-on"
699
  msgstr ""
700
 
701
- #: includes/admin/class-wpglobus-plugin-install.php:309,
702
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
703
  msgid "Installed"
704
  msgstr "Instaliert"
@@ -819,7 +819,7 @@ msgid "To translate permalinks, please activate the module Slug."
819
  msgstr ""
820
 
821
  #: includes/builders/class-wpglobus-builder.php:358,
822
- #: includes/class-wpglobus.php:3572
823
  msgid "Save draft before using extra language."
824
  msgstr ""
825
 
@@ -919,12 +919,12 @@ msgstr "*) Verfügbar nachdem das Menü gespeichert wurde."
919
  msgid "Need a multilingual slug?"
920
  msgstr ""
921
 
922
- #: includes/class-wpglobus.php:4011
923
  msgid "You must enable Pretty Permalinks to use WPGlobus."
924
  msgstr ""
925
  "Sie müssen schöne Permalinks aktivieren um WPGlobus verwenden zu können."
926
 
927
- #: includes/class-wpglobus.php:4013
928
  msgid ""
929
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
930
  "default option."
@@ -932,7 +932,7 @@ msgstr ""
932
  "Bitte gehen Sie zu Einstellungen > Permalinks > allgemeine Einstellungen, "
933
  "und wählen Sie die \"Beitragsname\" für schöne Permalinks."
934
 
935
- #: includes/class-wpglobus.php:4165
936
  msgid "Add"
937
  msgstr "Hinzufügen"
938
 
686
  msgid "Back to the WPGlobus Settings"
687
  msgstr "Zurück zu den WPGlobus-Einstellungen"
688
 
689
+ #: includes/admin/class-wpglobus-plugin-install.php:302
690
  msgid "Current Version"
691
  msgstr "Aktelle Version"
692
 
693
+ #: includes/admin/class-wpglobus-plugin-install.php:303
694
  msgid "Get it now!"
695
  msgstr "Jetzt holen"
696
 
697
+ #: includes/admin/class-wpglobus-plugin-install.php:304
698
  msgid "Premium add-on"
699
  msgstr ""
700
 
701
+ #: includes/admin/class-wpglobus-plugin-install.php:305,
702
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
703
  msgid "Installed"
704
  msgstr "Instaliert"
819
  msgstr ""
820
 
821
  #: includes/builders/class-wpglobus-builder.php:358,
822
+ #: includes/class-wpglobus.php:3581
823
  msgid "Save draft before using extra language."
824
  msgstr ""
825
 
919
  msgid "Need a multilingual slug?"
920
  msgstr ""
921
 
922
+ #: includes/class-wpglobus.php:4020
923
  msgid "You must enable Pretty Permalinks to use WPGlobus."
924
  msgstr ""
925
  "Sie müssen schöne Permalinks aktivieren um WPGlobus verwenden zu können."
926
 
927
+ #: includes/class-wpglobus.php:4022
928
  msgid ""
929
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
930
  "default option."
932
  "Bitte gehen Sie zu Einstellungen > Permalinks > allgemeine Einstellungen, "
933
  "und wählen Sie die \"Beitragsname\" für schöne Permalinks."
934
 
935
+ #: includes/class-wpglobus.php:4174
936
  msgid "Add"
937
  msgstr "Hinzufügen"
938
 
languages/wpglobus-el.po CHANGED
@@ -652,19 +652,19 @@ msgstr ""
652
  msgid "Back to the WPGlobus Settings"
653
  msgstr ""
654
 
655
- #: includes/admin/class-wpglobus-plugin-install.php:306
656
  msgid "Current Version"
657
  msgstr ""
658
 
659
- #: includes/admin/class-wpglobus-plugin-install.php:307
660
  msgid "Get it now!"
661
  msgstr ""
662
 
663
- #: includes/admin/class-wpglobus-plugin-install.php:308
664
  msgid "Premium add-on"
665
  msgstr ""
666
 
667
- #: includes/admin/class-wpglobus-plugin-install.php:309,
668
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
669
  msgid "Installed"
670
  msgstr ""
@@ -785,7 +785,7 @@ msgid "To translate permalinks, please activate the module Slug."
785
  msgstr ""
786
 
787
  #: includes/builders/class-wpglobus-builder.php:358,
788
- #: includes/class-wpglobus.php:3572
789
  msgid "Save draft before using extra language."
790
  msgstr ""
791
 
@@ -885,17 +885,17 @@ msgstr ""
885
  msgid "Need a multilingual slug?"
886
  msgstr ""
887
 
888
- #: includes/class-wpglobus.php:4011
889
  msgid "You must enable Pretty Permalinks to use WPGlobus."
890
  msgstr ""
891
 
892
- #: includes/class-wpglobus.php:4013
893
  msgid ""
894
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
895
  "default option."
896
  msgstr ""
897
 
898
- #: includes/class-wpglobus.php:4165
899
  msgid "Add"
900
  msgstr ""
901
 
652
  msgid "Back to the WPGlobus Settings"
653
  msgstr ""
654
 
655
+ #: includes/admin/class-wpglobus-plugin-install.php:302
656
  msgid "Current Version"
657
  msgstr ""
658
 
659
+ #: includes/admin/class-wpglobus-plugin-install.php:303
660
  msgid "Get it now!"
661
  msgstr ""
662
 
663
+ #: includes/admin/class-wpglobus-plugin-install.php:304
664
  msgid "Premium add-on"
665
  msgstr ""
666
 
667
+ #: includes/admin/class-wpglobus-plugin-install.php:305,
668
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
669
  msgid "Installed"
670
  msgstr ""
785
  msgstr ""
786
 
787
  #: includes/builders/class-wpglobus-builder.php:358,
788
+ #: includes/class-wpglobus.php:3581
789
  msgid "Save draft before using extra language."
790
  msgstr ""
791
 
885
  msgid "Need a multilingual slug?"
886
  msgstr ""
887
 
888
+ #: includes/class-wpglobus.php:4020
889
  msgid "You must enable Pretty Permalinks to use WPGlobus."
890
  msgstr ""
891
 
892
+ #: includes/class-wpglobus.php:4022
893
  msgid ""
894
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
895
  "default option."
896
  msgstr ""
897
 
898
+ #: includes/class-wpglobus.php:4174
899
  msgid "Add"
900
  msgstr ""
901
 
languages/wpglobus-en_AU.po CHANGED
@@ -721,19 +721,19 @@ msgstr "Are you sure you want to delete?"
721
  msgid "Back to the WPGlobus Settings"
722
  msgstr "Back to the WPGlobus Settings"
723
 
724
- #: includes/admin/class-wpglobus-plugin-install.php:306
725
  msgid "Current Version"
726
  msgstr "Current Version"
727
 
728
- #: includes/admin/class-wpglobus-plugin-install.php:307
729
  msgid "Get it now!"
730
  msgstr "Get it now!"
731
 
732
- #: includes/admin/class-wpglobus-plugin-install.php:308
733
  msgid "Premium add-on"
734
  msgstr "Premium add-on"
735
 
736
- #: includes/admin/class-wpglobus-plugin-install.php:309,
737
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
738
  msgid "Installed"
739
  msgstr "Installed"
@@ -859,7 +859,7 @@ msgid "To translate permalinks, please activate the module Slug."
859
  msgstr ""
860
 
861
  #: includes/builders/class-wpglobus-builder.php:358,
862
- #: includes/class-wpglobus.php:3572
863
  msgid "Save draft before using extra language."
864
  msgstr ""
865
 
@@ -959,11 +959,11 @@ msgstr "*) Available after the menu is saved."
959
  msgid "Need a multilingual slug?"
960
  msgstr "Need a multilingual slug?"
961
 
962
- #: includes/class-wpglobus.php:4011
963
  msgid "You must enable Pretty Permalinks to use WPGlobus."
964
  msgstr "You must enable Pretty Permalinks to use WPGlobus."
965
 
966
- #: includes/class-wpglobus.php:4013
967
  msgid ""
968
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
969
  "default option."
@@ -971,7 +971,7 @@ msgstr ""
971
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
972
  "default option."
973
 
974
- #: includes/class-wpglobus.php:4165
975
  msgid "Add"
976
  msgstr "Add"
977
 
721
  msgid "Back to the WPGlobus Settings"
722
  msgstr "Back to the WPGlobus Settings"
723
 
724
+ #: includes/admin/class-wpglobus-plugin-install.php:302
725
  msgid "Current Version"
726
  msgstr "Current Version"
727
 
728
+ #: includes/admin/class-wpglobus-plugin-install.php:303
729
  msgid "Get it now!"
730
  msgstr "Get it now!"
731
 
732
+ #: includes/admin/class-wpglobus-plugin-install.php:304
733
  msgid "Premium add-on"
734
  msgstr "Premium add-on"
735
 
736
+ #: includes/admin/class-wpglobus-plugin-install.php:305,
737
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
738
  msgid "Installed"
739
  msgstr "Installed"
859
  msgstr ""
860
 
861
  #: includes/builders/class-wpglobus-builder.php:358,
862
+ #: includes/class-wpglobus.php:3581
863
  msgid "Save draft before using extra language."
864
  msgstr ""
865
 
959
  msgid "Need a multilingual slug?"
960
  msgstr "Need a multilingual slug?"
961
 
962
+ #: includes/class-wpglobus.php:4020
963
  msgid "You must enable Pretty Permalinks to use WPGlobus."
964
  msgstr "You must enable Pretty Permalinks to use WPGlobus."
965
 
966
+ #: includes/class-wpglobus.php:4022
967
  msgid ""
968
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
969
  "default option."
971
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
972
  "default option."
973
 
974
+ #: includes/class-wpglobus.php:4174
975
  msgid "Add"
976
  msgstr "Add"
977
 
languages/wpglobus-en_CA.po CHANGED
@@ -720,19 +720,19 @@ msgstr "Are you sure you want to delete?"
720
  msgid "Back to the WPGlobus Settings"
721
  msgstr "Back to the WPGlobus Settings"
722
 
723
- #: includes/admin/class-wpglobus-plugin-install.php:306
724
  msgid "Current Version"
725
  msgstr "Current Version"
726
 
727
- #: includes/admin/class-wpglobus-plugin-install.php:307
728
  msgid "Get it now!"
729
  msgstr "Get it now!"
730
 
731
- #: includes/admin/class-wpglobus-plugin-install.php:308
732
  msgid "Premium add-on"
733
  msgstr "Premium add-on"
734
 
735
- #: includes/admin/class-wpglobus-plugin-install.php:309,
736
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
737
  msgid "Installed"
738
  msgstr "Installed"
@@ -858,7 +858,7 @@ msgid "To translate permalinks, please activate the module Slug."
858
  msgstr ""
859
 
860
  #: includes/builders/class-wpglobus-builder.php:358,
861
- #: includes/class-wpglobus.php:3572
862
  msgid "Save draft before using extra language."
863
  msgstr ""
864
 
@@ -958,11 +958,11 @@ msgstr "*) Available after the menu is saved."
958
  msgid "Need a multilingual slug?"
959
  msgstr "Need a multilingual slug?"
960
 
961
- #: includes/class-wpglobus.php:4011
962
  msgid "You must enable Pretty Permalinks to use WPGlobus."
963
  msgstr "You must enable Pretty Permalinks to use WPGlobus."
964
 
965
- #: includes/class-wpglobus.php:4013
966
  msgid ""
967
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
968
  "default option."
@@ -970,7 +970,7 @@ msgstr ""
970
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
971
  "default option."
972
 
973
- #: includes/class-wpglobus.php:4165
974
  msgid "Add"
975
  msgstr "Add"
976
 
720
  msgid "Back to the WPGlobus Settings"
721
  msgstr "Back to the WPGlobus Settings"
722
 
723
+ #: includes/admin/class-wpglobus-plugin-install.php:302
724
  msgid "Current Version"
725
  msgstr "Current Version"
726
 
727
+ #: includes/admin/class-wpglobus-plugin-install.php:303
728
  msgid "Get it now!"
729
  msgstr "Get it now!"
730
 
731
+ #: includes/admin/class-wpglobus-plugin-install.php:304
732
  msgid "Premium add-on"
733
  msgstr "Premium add-on"
734
 
735
+ #: includes/admin/class-wpglobus-plugin-install.php:305,
736
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
737
  msgid "Installed"
738
  msgstr "Installed"
858
  msgstr ""
859
 
860
  #: includes/builders/class-wpglobus-builder.php:358,
861
+ #: includes/class-wpglobus.php:3581
862
  msgid "Save draft before using extra language."
863
  msgstr ""
864
 
958
  msgid "Need a multilingual slug?"
959
  msgstr "Need a multilingual slug?"
960
 
961
+ #: includes/class-wpglobus.php:4020
962
  msgid "You must enable Pretty Permalinks to use WPGlobus."
963
  msgstr "You must enable Pretty Permalinks to use WPGlobus."
964
 
965
+ #: includes/class-wpglobus.php:4022
966
  msgid ""
967
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
968
  "default option."
970
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
971
  "default option."
972
 
973
+ #: includes/class-wpglobus.php:4174
974
  msgid "Add"
975
  msgstr "Add"
976
 
languages/wpglobus-en_GB.po CHANGED
@@ -721,19 +721,19 @@ msgstr "Are you sure you want to delete?"
721
  msgid "Back to the WPGlobus Settings"
722
  msgstr "Back to the WPGlobus Settings"
723
 
724
- #: includes/admin/class-wpglobus-plugin-install.php:306
725
  msgid "Current Version"
726
  msgstr "Current Version"
727
 
728
- #: includes/admin/class-wpglobus-plugin-install.php:307
729
  msgid "Get it now!"
730
  msgstr "Get it now!"
731
 
732
- #: includes/admin/class-wpglobus-plugin-install.php:308
733
  msgid "Premium add-on"
734
  msgstr "Premium add-on"
735
 
736
- #: includes/admin/class-wpglobus-plugin-install.php:309,
737
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
738
  msgid "Installed"
739
  msgstr "Installed"
@@ -859,7 +859,7 @@ msgid "To translate permalinks, please activate the module Slug."
859
  msgstr ""
860
 
861
  #: includes/builders/class-wpglobus-builder.php:358,
862
- #: includes/class-wpglobus.php:3572
863
  msgid "Save draft before using extra language."
864
  msgstr ""
865
 
@@ -959,11 +959,11 @@ msgstr "*) Available after the menu is saved."
959
  msgid "Need a multilingual slug?"
960
  msgstr "Need a multilingual slug?"
961
 
962
- #: includes/class-wpglobus.php:4011
963
  msgid "You must enable Pretty Permalinks to use WPGlobus."
964
  msgstr "You must enable Pretty Permalinks to use WPGlobus."
965
 
966
- #: includes/class-wpglobus.php:4013
967
  msgid ""
968
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
969
  "default option."
@@ -971,7 +971,7 @@ msgstr ""
971
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
972
  "default option."
973
 
974
- #: includes/class-wpglobus.php:4165
975
  msgid "Add"
976
  msgstr "Add"
977
 
721
  msgid "Back to the WPGlobus Settings"
722
  msgstr "Back to the WPGlobus Settings"
723
 
724
+ #: includes/admin/class-wpglobus-plugin-install.php:302
725
  msgid "Current Version"
726
  msgstr "Current Version"
727
 
728
+ #: includes/admin/class-wpglobus-plugin-install.php:303
729
  msgid "Get it now!"
730
  msgstr "Get it now!"
731
 
732
+ #: includes/admin/class-wpglobus-plugin-install.php:304
733
  msgid "Premium add-on"
734
  msgstr "Premium add-on"
735
 
736
+ #: includes/admin/class-wpglobus-plugin-install.php:305,
737
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
738
  msgid "Installed"
739
  msgstr "Installed"
859
  msgstr ""
860
 
861
  #: includes/builders/class-wpglobus-builder.php:358,
862
+ #: includes/class-wpglobus.php:3581
863
  msgid "Save draft before using extra language."
864
  msgstr ""
865
 
959
  msgid "Need a multilingual slug?"
960
  msgstr "Need a multilingual slug?"
961
 
962
+ #: includes/class-wpglobus.php:4020
963
  msgid "You must enable Pretty Permalinks to use WPGlobus."
964
  msgstr "You must enable Pretty Permalinks to use WPGlobus."
965
 
966
+ #: includes/class-wpglobus.php:4022
967
  msgid ""
968
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
969
  "default option."
971
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
972
  "default option."
973
 
974
+ #: includes/class-wpglobus.php:4174
975
  msgid "Add"
976
  msgstr "Add"
977
 
languages/wpglobus-en_NZ.po CHANGED
@@ -720,19 +720,19 @@ msgstr "Are you sure you want to delete?"
720
  msgid "Back to the WPGlobus Settings"
721
  msgstr "Back to the WPGlobus Settings"
722
 
723
- #: includes/admin/class-wpglobus-plugin-install.php:306
724
  msgid "Current Version"
725
  msgstr "Current Version"
726
 
727
- #: includes/admin/class-wpglobus-plugin-install.php:307
728
  msgid "Get it now!"
729
  msgstr "Get it now!"
730
 
731
- #: includes/admin/class-wpglobus-plugin-install.php:308
732
  msgid "Premium add-on"
733
  msgstr "Premium add-on"
734
 
735
- #: includes/admin/class-wpglobus-plugin-install.php:309,
736
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
737
  msgid "Installed"
738
  msgstr "Installed"
@@ -858,7 +858,7 @@ msgid "To translate permalinks, please activate the module Slug."
858
  msgstr ""
859
 
860
  #: includes/builders/class-wpglobus-builder.php:358,
861
- #: includes/class-wpglobus.php:3572
862
  msgid "Save draft before using extra language."
863
  msgstr ""
864
 
@@ -958,11 +958,11 @@ msgstr "*) Available after the menu is saved."
958
  msgid "Need a multilingual slug?"
959
  msgstr "Need a multilingual slug?"
960
 
961
- #: includes/class-wpglobus.php:4011
962
  msgid "You must enable Pretty Permalinks to use WPGlobus."
963
  msgstr "You must enable Pretty Permalinks to use WPGlobus."
964
 
965
- #: includes/class-wpglobus.php:4013
966
  msgid ""
967
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
968
  "default option."
@@ -970,7 +970,7 @@ msgstr ""
970
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
971
  "default option."
972
 
973
- #: includes/class-wpglobus.php:4165
974
  msgid "Add"
975
  msgstr "Add"
976
 
720
  msgid "Back to the WPGlobus Settings"
721
  msgstr "Back to the WPGlobus Settings"
722
 
723
+ #: includes/admin/class-wpglobus-plugin-install.php:302
724
  msgid "Current Version"
725
  msgstr "Current Version"
726
 
727
+ #: includes/admin/class-wpglobus-plugin-install.php:303
728
  msgid "Get it now!"
729
  msgstr "Get it now!"
730
 
731
+ #: includes/admin/class-wpglobus-plugin-install.php:304
732
  msgid "Premium add-on"
733
  msgstr "Premium add-on"
734
 
735
+ #: includes/admin/class-wpglobus-plugin-install.php:305,
736
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
737
  msgid "Installed"
738
  msgstr "Installed"
858
  msgstr ""
859
 
860
  #: includes/builders/class-wpglobus-builder.php:358,
861
+ #: includes/class-wpglobus.php:3581
862
  msgid "Save draft before using extra language."
863
  msgstr ""
864
 
958
  msgid "Need a multilingual slug?"
959
  msgstr "Need a multilingual slug?"
960
 
961
+ #: includes/class-wpglobus.php:4020
962
  msgid "You must enable Pretty Permalinks to use WPGlobus."
963
  msgstr "You must enable Pretty Permalinks to use WPGlobus."
964
 
965
+ #: includes/class-wpglobus.php:4022
966
  msgid ""
967
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
968
  "default option."
970
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
971
  "default option."
972
 
973
+ #: includes/class-wpglobus.php:4174
974
  msgid "Add"
975
  msgstr "Add"
976
 
languages/wpglobus-en_US.po CHANGED
@@ -721,19 +721,19 @@ msgstr "Are you sure you want to delete?"
721
  msgid "Back to the WPGlobus Settings"
722
  msgstr "Back to the WPGlobus Settings"
723
 
724
- #: includes/admin/class-wpglobus-plugin-install.php:306
725
  msgid "Current Version"
726
  msgstr "Current Version"
727
 
728
- #: includes/admin/class-wpglobus-plugin-install.php:307
729
  msgid "Get it now!"
730
  msgstr "Get it now!"
731
 
732
- #: includes/admin/class-wpglobus-plugin-install.php:308
733
  msgid "Premium add-on"
734
  msgstr "Premium add-on"
735
 
736
- #: includes/admin/class-wpglobus-plugin-install.php:309,
737
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
738
  msgid "Installed"
739
  msgstr "Installed"
@@ -862,7 +862,7 @@ msgid "To translate permalinks, please activate the module Slug."
862
  msgstr "To translate permalinks, please activate the module Slug."
863
 
864
  #: includes/builders/class-wpglobus-builder.php:358,
865
- #: includes/class-wpglobus.php:3572
866
  msgid "Save draft before using extra language."
867
  msgstr "Save draft before using extra language."
868
 
@@ -962,11 +962,11 @@ msgstr "*) Available after the menu is saved."
962
  msgid "Need a multilingual slug?"
963
  msgstr "Need a multilingual slug?"
964
 
965
- #: includes/class-wpglobus.php:4011
966
  msgid "You must enable Pretty Permalinks to use WPGlobus."
967
  msgstr "You must enable Pretty Permalinks to use WPGlobus."
968
 
969
- #: includes/class-wpglobus.php:4013
970
  msgid ""
971
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
972
  "default option."
@@ -974,7 +974,7 @@ msgstr ""
974
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
975
  "default option."
976
 
977
- #: includes/class-wpglobus.php:4165
978
  msgid "Add"
979
  msgstr "Add"
980
 
721
  msgid "Back to the WPGlobus Settings"
722
  msgstr "Back to the WPGlobus Settings"
723
 
724
+ #: includes/admin/class-wpglobus-plugin-install.php:302
725
  msgid "Current Version"
726
  msgstr "Current Version"
727
 
728
+ #: includes/admin/class-wpglobus-plugin-install.php:303
729
  msgid "Get it now!"
730
  msgstr "Get it now!"
731
 
732
+ #: includes/admin/class-wpglobus-plugin-install.php:304
733
  msgid "Premium add-on"
734
  msgstr "Premium add-on"
735
 
736
+ #: includes/admin/class-wpglobus-plugin-install.php:305,
737
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
738
  msgid "Installed"
739
  msgstr "Installed"
862
  msgstr "To translate permalinks, please activate the module Slug."
863
 
864
  #: includes/builders/class-wpglobus-builder.php:358,
865
+ #: includes/class-wpglobus.php:3581
866
  msgid "Save draft before using extra language."
867
  msgstr "Save draft before using extra language."
868
 
962
  msgid "Need a multilingual slug?"
963
  msgstr "Need a multilingual slug?"
964
 
965
+ #: includes/class-wpglobus.php:4020
966
  msgid "You must enable Pretty Permalinks to use WPGlobus."
967
  msgstr "You must enable Pretty Permalinks to use WPGlobus."
968
 
969
+ #: includes/class-wpglobus.php:4022
970
  msgid ""
971
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
972
  "default option."
974
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
975
  "default option."
976
 
977
+ #: includes/class-wpglobus.php:4174
978
  msgid "Add"
979
  msgstr "Add"
980
 
languages/wpglobus-en_ZA.po CHANGED
@@ -720,19 +720,19 @@ msgstr "Are you sure you want to delete?"
720
  msgid "Back to the WPGlobus Settings"
721
  msgstr "Back to the WPGlobus Settings"
722
 
723
- #: includes/admin/class-wpglobus-plugin-install.php:306
724
  msgid "Current Version"
725
  msgstr "Current Version"
726
 
727
- #: includes/admin/class-wpglobus-plugin-install.php:307
728
  msgid "Get it now!"
729
  msgstr "Get it now!"
730
 
731
- #: includes/admin/class-wpglobus-plugin-install.php:308
732
  msgid "Premium add-on"
733
  msgstr "Premium add-on"
734
 
735
- #: includes/admin/class-wpglobus-plugin-install.php:309,
736
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
737
  msgid "Installed"
738
  msgstr "Installed"
@@ -858,7 +858,7 @@ msgid "To translate permalinks, please activate the module Slug."
858
  msgstr ""
859
 
860
  #: includes/builders/class-wpglobus-builder.php:358,
861
- #: includes/class-wpglobus.php:3572
862
  msgid "Save draft before using extra language."
863
  msgstr ""
864
 
@@ -958,11 +958,11 @@ msgstr "*) Available after the menu is saved."
958
  msgid "Need a multilingual slug?"
959
  msgstr "Need a multilingual slug?"
960
 
961
- #: includes/class-wpglobus.php:4011
962
  msgid "You must enable Pretty Permalinks to use WPGlobus."
963
  msgstr "You must enable Pretty Permalinks to use WPGlobus."
964
 
965
- #: includes/class-wpglobus.php:4013
966
  msgid ""
967
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
968
  "default option."
@@ -970,7 +970,7 @@ msgstr ""
970
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
971
  "default option."
972
 
973
- #: includes/class-wpglobus.php:4165
974
  msgid "Add"
975
  msgstr "Add"
976
 
720
  msgid "Back to the WPGlobus Settings"
721
  msgstr "Back to the WPGlobus Settings"
722
 
723
+ #: includes/admin/class-wpglobus-plugin-install.php:302
724
  msgid "Current Version"
725
  msgstr "Current Version"
726
 
727
+ #: includes/admin/class-wpglobus-plugin-install.php:303
728
  msgid "Get it now!"
729
  msgstr "Get it now!"
730
 
731
+ #: includes/admin/class-wpglobus-plugin-install.php:304
732
  msgid "Premium add-on"
733
  msgstr "Premium add-on"
734
 
735
+ #: includes/admin/class-wpglobus-plugin-install.php:305,
736
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
737
  msgid "Installed"
738
  msgstr "Installed"
858
  msgstr ""
859
 
860
  #: includes/builders/class-wpglobus-builder.php:358,
861
+ #: includes/class-wpglobus.php:3581
862
  msgid "Save draft before using extra language."
863
  msgstr ""
864
 
958
  msgid "Need a multilingual slug?"
959
  msgstr "Need a multilingual slug?"
960
 
961
+ #: includes/class-wpglobus.php:4020
962
  msgid "You must enable Pretty Permalinks to use WPGlobus."
963
  msgstr "You must enable Pretty Permalinks to use WPGlobus."
964
 
965
+ #: includes/class-wpglobus.php:4022
966
  msgid ""
967
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
968
  "default option."
970
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
971
  "default option."
972
 
973
+ #: includes/class-wpglobus.php:4174
974
  msgid "Add"
975
  msgstr "Add"
976
 
languages/wpglobus-es_AR.po CHANGED
@@ -686,19 +686,19 @@ msgstr "Estás seguro de que quieres borrarlo?"
686
  msgid "Back to the WPGlobus Settings"
687
  msgstr "Volver a Ajustes WPGlobus"
688
 
689
- #: includes/admin/class-wpglobus-plugin-install.php:306
690
  msgid "Current Version"
691
  msgstr "Versión Actual"
692
 
693
- #: includes/admin/class-wpglobus-plugin-install.php:307
694
  msgid "Get it now!"
695
  msgstr ""
696
 
697
- #: includes/admin/class-wpglobus-plugin-install.php:308
698
  msgid "Premium add-on"
699
  msgstr ""
700
 
701
- #: includes/admin/class-wpglobus-plugin-install.php:309,
702
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
703
  msgid "Installed"
704
  msgstr "Instalado"
@@ -819,7 +819,7 @@ msgid "To translate permalinks, please activate the module Slug."
819
  msgstr ""
820
 
821
  #: includes/builders/class-wpglobus-builder.php:358,
822
- #: includes/class-wpglobus.php:3572
823
  msgid "Save draft before using extra language."
824
  msgstr ""
825
 
@@ -919,12 +919,12 @@ msgstr "No Se Puede Desactivar el director idioma."
919
  msgid "Need a multilingual slug?"
920
  msgstr ""
921
 
922
- #: includes/class-wpglobus.php:4011
923
  msgid "You must enable Pretty Permalinks to use WPGlobus."
924
  msgstr ""
925
  "Debes habilitar los Enlaces permanentes Pretty para utilizar WPGlobus ."
926
 
927
- #: includes/class-wpglobus.php:4013
928
  msgid ""
929
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
930
  "default option."
@@ -932,7 +932,7 @@ msgstr ""
932
  "Por favor, ve a Configuración > Enlaces permanentes > Ajustes comunes y "
933
  "selecciona una opción no predeterminada ."
934
 
935
- #: includes/class-wpglobus.php:4165
936
  msgid "Add"
937
  msgstr "Añadir"
938
 
686
  msgid "Back to the WPGlobus Settings"
687
  msgstr "Volver a Ajustes WPGlobus"
688
 
689
+ #: includes/admin/class-wpglobus-plugin-install.php:302
690
  msgid "Current Version"
691
  msgstr "Versión Actual"
692
 
693
+ #: includes/admin/class-wpglobus-plugin-install.php:303
694
  msgid "Get it now!"
695
  msgstr ""
696
 
697
+ #: includes/admin/class-wpglobus-plugin-install.php:304
698
  msgid "Premium add-on"
699
  msgstr ""
700
 
701
+ #: includes/admin/class-wpglobus-plugin-install.php:305,
702
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
703
  msgid "Installed"
704
  msgstr "Instalado"
819
  msgstr ""
820
 
821
  #: includes/builders/class-wpglobus-builder.php:358,
822
+ #: includes/class-wpglobus.php:3581
823
  msgid "Save draft before using extra language."
824
  msgstr ""
825
 
919
  msgid "Need a multilingual slug?"
920
  msgstr ""
921
 
922
+ #: includes/class-wpglobus.php:4020
923
  msgid "You must enable Pretty Permalinks to use WPGlobus."
924
  msgstr ""
925
  "Debes habilitar los Enlaces permanentes Pretty para utilizar WPGlobus ."
926
 
927
+ #: includes/class-wpglobus.php:4022
928
  msgid ""
929
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
930
  "default option."
932
  "Por favor, ve a Configuración > Enlaces permanentes > Ajustes comunes y "
933
  "selecciona una opción no predeterminada ."
934
 
935
+ #: includes/class-wpglobus.php:4174
936
  msgid "Add"
937
  msgstr "Añadir"
938
 
languages/wpglobus-es_CL.po CHANGED
@@ -686,19 +686,19 @@ msgstr "Estás seguro de que quieres borrarlo?"
686
  msgid "Back to the WPGlobus Settings"
687
  msgstr "Volver a Ajustes WPGlobus"
688
 
689
- #: includes/admin/class-wpglobus-plugin-install.php:306
690
  msgid "Current Version"
691
  msgstr "Versión Actual"
692
 
693
- #: includes/admin/class-wpglobus-plugin-install.php:307
694
  msgid "Get it now!"
695
  msgstr ""
696
 
697
- #: includes/admin/class-wpglobus-plugin-install.php:308
698
  msgid "Premium add-on"
699
  msgstr ""
700
 
701
- #: includes/admin/class-wpglobus-plugin-install.php:309,
702
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
703
  msgid "Installed"
704
  msgstr "Instalado"
@@ -819,7 +819,7 @@ msgid "To translate permalinks, please activate the module Slug."
819
  msgstr ""
820
 
821
  #: includes/builders/class-wpglobus-builder.php:358,
822
- #: includes/class-wpglobus.php:3572
823
  msgid "Save draft before using extra language."
824
  msgstr ""
825
 
@@ -919,12 +919,12 @@ msgstr "No Se Puede Desactivar el director idioma."
919
  msgid "Need a multilingual slug?"
920
  msgstr ""
921
 
922
- #: includes/class-wpglobus.php:4011
923
  msgid "You must enable Pretty Permalinks to use WPGlobus."
924
  msgstr ""
925
  "Debes habilitar los Enlaces permanentes Pretty para utilizar WPGlobus ."
926
 
927
- #: includes/class-wpglobus.php:4013
928
  msgid ""
929
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
930
  "default option."
@@ -932,7 +932,7 @@ msgstr ""
932
  "Por favor, ve a Configuración > Enlaces permanentes > Ajustes comunes y "
933
  "selecciona una opción no predeterminada ."
934
 
935
- #: includes/class-wpglobus.php:4165
936
  msgid "Add"
937
  msgstr "Añadir"
938
 
686
  msgid "Back to the WPGlobus Settings"
687
  msgstr "Volver a Ajustes WPGlobus"
688
 
689
+ #: includes/admin/class-wpglobus-plugin-install.php:302
690
  msgid "Current Version"
691
  msgstr "Versión Actual"
692
 
693
+ #: includes/admin/class-wpglobus-plugin-install.php:303
694
  msgid "Get it now!"
695
  msgstr ""
696
 
697
+ #: includes/admin/class-wpglobus-plugin-install.php:304
698
  msgid "Premium add-on"
699
  msgstr ""
700
 
701
+ #: includes/admin/class-wpglobus-plugin-install.php:305,
702
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
703
  msgid "Installed"
704
  msgstr "Instalado"
819
  msgstr ""
820
 
821
  #: includes/builders/class-wpglobus-builder.php:358,
822
+ #: includes/class-wpglobus.php:3581
823
  msgid "Save draft before using extra language."
824
  msgstr ""
825
 
919
  msgid "Need a multilingual slug?"
920
  msgstr ""
921
 
922
+ #: includes/class-wpglobus.php:4020
923
  msgid "You must enable Pretty Permalinks to use WPGlobus."
924
  msgstr ""
925
  "Debes habilitar los Enlaces permanentes Pretty para utilizar WPGlobus ."
926
 
927
+ #: includes/class-wpglobus.php:4022
928
  msgid ""
929
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
930
  "default option."
932
  "Por favor, ve a Configuración > Enlaces permanentes > Ajustes comunes y "
933
  "selecciona una opción no predeterminada ."
934
 
935
+ #: includes/class-wpglobus.php:4174
936
  msgid "Add"
937
  msgstr "Añadir"
938
 
languages/wpglobus-es_CO.po CHANGED
@@ -686,19 +686,19 @@ msgstr "Estás seguro de que quieres borrarlo?"
686
  msgid "Back to the WPGlobus Settings"
687
  msgstr "Volver a Ajustes WPGlobus"
688
 
689
- #: includes/admin/class-wpglobus-plugin-install.php:306
690
  msgid "Current Version"
691
  msgstr "Versión Actual"
692
 
693
- #: includes/admin/class-wpglobus-plugin-install.php:307
694
  msgid "Get it now!"
695
  msgstr ""
696
 
697
- #: includes/admin/class-wpglobus-plugin-install.php:308
698
  msgid "Premium add-on"
699
  msgstr ""
700
 
701
- #: includes/admin/class-wpglobus-plugin-install.php:309,
702
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
703
  msgid "Installed"
704
  msgstr "Instalado"
@@ -819,7 +819,7 @@ msgid "To translate permalinks, please activate the module Slug."
819
  msgstr ""
820
 
821
  #: includes/builders/class-wpglobus-builder.php:358,
822
- #: includes/class-wpglobus.php:3572
823
  msgid "Save draft before using extra language."
824
  msgstr ""
825
 
@@ -919,12 +919,12 @@ msgstr "No Se Puede Desactivar el director idioma."
919
  msgid "Need a multilingual slug?"
920
  msgstr ""
921
 
922
- #: includes/class-wpglobus.php:4011
923
  msgid "You must enable Pretty Permalinks to use WPGlobus."
924
  msgstr ""
925
  "Debes habilitar los Enlaces permanentes Pretty para utilizar WPGlobus ."
926
 
927
- #: includes/class-wpglobus.php:4013
928
  msgid ""
929
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
930
  "default option."
@@ -932,7 +932,7 @@ msgstr ""
932
  "Por favor, ve a Configuración > Enlaces permanentes > Ajustes comunes y "
933
  "selecciona una opción no predeterminada ."
934
 
935
- #: includes/class-wpglobus.php:4165
936
  msgid "Add"
937
  msgstr "Añadir"
938
 
686
  msgid "Back to the WPGlobus Settings"
687
  msgstr "Volver a Ajustes WPGlobus"
688
 
689
+ #: includes/admin/class-wpglobus-plugin-install.php:302
690
  msgid "Current Version"
691
  msgstr "Versión Actual"
692
 
693
+ #: includes/admin/class-wpglobus-plugin-install.php:303
694
  msgid "Get it now!"
695
  msgstr ""
696
 
697
+ #: includes/admin/class-wpglobus-plugin-install.php:304
698
  msgid "Premium add-on"
699
  msgstr ""
700
 
701
+ #: includes/admin/class-wpglobus-plugin-install.php:305,
702
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
703
  msgid "Installed"
704
  msgstr "Instalado"
819
  msgstr ""
820
 
821
  #: includes/builders/class-wpglobus-builder.php:358,
822
+ #: includes/class-wpglobus.php:3581
823
  msgid "Save draft before using extra language."
824
  msgstr ""
825
 
919
  msgid "Need a multilingual slug?"
920
  msgstr ""
921
 
922
+ #: includes/class-wpglobus.php:4020
923
  msgid "You must enable Pretty Permalinks to use WPGlobus."
924
  msgstr ""
925
  "Debes habilitar los Enlaces permanentes Pretty para utilizar WPGlobus ."
926
 
927
+ #: includes/class-wpglobus.php:4022
928
  msgid ""
929
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
930
  "default option."
932
  "Por favor, ve a Configuración > Enlaces permanentes > Ajustes comunes y "
933
  "selecciona una opción no predeterminada ."
934
 
935
+ #: includes/class-wpglobus.php:4174
936
  msgid "Add"
937
  msgstr "Añadir"
938
 
languages/wpglobus-es_CR.po CHANGED
@@ -686,19 +686,19 @@ msgstr "Estás seguro de que quieres borrarlo?"
686
  msgid "Back to the WPGlobus Settings"
687
  msgstr "Volver a Ajustes WPGlobus"
688
 
689
- #: includes/admin/class-wpglobus-plugin-install.php:306
690
  msgid "Current Version"
691
  msgstr "Versión Actual"
692
 
693
- #: includes/admin/class-wpglobus-plugin-install.php:307
694
  msgid "Get it now!"
695
  msgstr ""
696
 
697
- #: includes/admin/class-wpglobus-plugin-install.php:308
698
  msgid "Premium add-on"
699
  msgstr ""
700
 
701
- #: includes/admin/class-wpglobus-plugin-install.php:309,
702
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
703
  msgid "Installed"
704
  msgstr "Instalado"
@@ -819,7 +819,7 @@ msgid "To translate permalinks, please activate the module Slug."
819
  msgstr ""
820
 
821
  #: includes/builders/class-wpglobus-builder.php:358,
822
- #: includes/class-wpglobus.php:3572
823
  msgid "Save draft before using extra language."
824
  msgstr ""
825
 
@@ -919,12 +919,12 @@ msgstr "No Se Puede Desactivar el director idioma."
919
  msgid "Need a multilingual slug?"
920
  msgstr ""
921
 
922
- #: includes/class-wpglobus.php:4011
923
  msgid "You must enable Pretty Permalinks to use WPGlobus."
924
  msgstr ""
925
  "Debes habilitar los Enlaces permanentes Pretty para utilizar WPGlobus ."
926
 
927
- #: includes/class-wpglobus.php:4013
928
  msgid ""
929
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
930
  "default option."
@@ -932,7 +932,7 @@ msgstr ""
932
  "Por favor, ve a Configuración > Enlaces permanentes > Ajustes comunes y "
933
  "selecciona una opción no predeterminada ."
934
 
935
- #: includes/class-wpglobus.php:4165
936
  msgid "Add"
937
  msgstr "Añadir"
938
 
686
  msgid "Back to the WPGlobus Settings"
687
  msgstr "Volver a Ajustes WPGlobus"
688
 
689
+ #: includes/admin/class-wpglobus-plugin-install.php:302
690
  msgid "Current Version"
691
  msgstr "Versión Actual"
692
 
693
+ #: includes/admin/class-wpglobus-plugin-install.php:303
694
  msgid "Get it now!"
695
  msgstr ""
696
 
697
+ #: includes/admin/class-wpglobus-plugin-install.php:304
698
  msgid "Premium add-on"
699
  msgstr ""
700
 
701
+ #: includes/admin/class-wpglobus-plugin-install.php:305,
702
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
703
  msgid "Installed"
704
  msgstr "Instalado"
819
  msgstr ""
820
 
821
  #: includes/builders/class-wpglobus-builder.php:358,
822
+ #: includes/class-wpglobus.php:3581
823
  msgid "Save draft before using extra language."
824
  msgstr ""
825
 
919
  msgid "Need a multilingual slug?"
920
  msgstr ""
921
 
922
+ #: includes/class-wpglobus.php:4020
923
  msgid "You must enable Pretty Permalinks to use WPGlobus."
924
  msgstr ""
925
  "Debes habilitar los Enlaces permanentes Pretty para utilizar WPGlobus ."
926
 
927
+ #: includes/class-wpglobus.php:4022
928
  msgid ""
929
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
930
  "default option."
932
  "Por favor, ve a Configuración > Enlaces permanentes > Ajustes comunes y "
933
  "selecciona una opción no predeterminada ."
934
 
935
+ #: includes/class-wpglobus.php:4174
936
  msgid "Add"
937
  msgstr "Añadir"
938
 
languages/wpglobus-es_ES.po CHANGED
@@ -686,19 +686,19 @@ msgstr "Estás seguro de que quieres borrarlo?"
686
  msgid "Back to the WPGlobus Settings"
687
  msgstr "Volver a Ajustes WPGlobus"
688
 
689
- #: includes/admin/class-wpglobus-plugin-install.php:306
690
  msgid "Current Version"
691
  msgstr "Versión Actual"
692
 
693
- #: includes/admin/class-wpglobus-plugin-install.php:307
694
  msgid "Get it now!"
695
  msgstr ""
696
 
697
- #: includes/admin/class-wpglobus-plugin-install.php:308
698
  msgid "Premium add-on"
699
  msgstr ""
700
 
701
- #: includes/admin/class-wpglobus-plugin-install.php:309,
702
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
703
  msgid "Installed"
704
  msgstr "Instalado"
@@ -819,7 +819,7 @@ msgid "To translate permalinks, please activate the module Slug."
819
  msgstr ""
820
 
821
  #: includes/builders/class-wpglobus-builder.php:358,
822
- #: includes/class-wpglobus.php:3572
823
  msgid "Save draft before using extra language."
824
  msgstr ""
825
 
@@ -919,12 +919,12 @@ msgstr "No Se Puede Desactivar el director idioma."
919
  msgid "Need a multilingual slug?"
920
  msgstr ""
921
 
922
- #: includes/class-wpglobus.php:4011
923
  msgid "You must enable Pretty Permalinks to use WPGlobus."
924
  msgstr ""
925
  "Debes habilitar los Enlaces permanentes Pretty para utilizar WPGlobus ."
926
 
927
- #: includes/class-wpglobus.php:4013
928
  msgid ""
929
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
930
  "default option."
@@ -932,7 +932,7 @@ msgstr ""
932
  "Por favor, ve a Configuración > Enlaces permanentes > Ajustes comunes y "
933
  "selecciona una opción no predeterminada ."
934
 
935
- #: includes/class-wpglobus.php:4165
936
  msgid "Add"
937
  msgstr "Añadir"
938
 
686
  msgid "Back to the WPGlobus Settings"
687
  msgstr "Volver a Ajustes WPGlobus"
688
 
689
+ #: includes/admin/class-wpglobus-plugin-install.php:302
690
  msgid "Current Version"
691
  msgstr "Versión Actual"
692
 
693
+ #: includes/admin/class-wpglobus-plugin-install.php:303
694
  msgid "Get it now!"
695
  msgstr ""
696
 
697
+ #: includes/admin/class-wpglobus-plugin-install.php:304
698
  msgid "Premium add-on"
699
  msgstr ""
700
 
701
+ #: includes/admin/class-wpglobus-plugin-install.php:305,
702
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
703
  msgid "Installed"
704
  msgstr "Instalado"
819
  msgstr ""
820
 
821
  #: includes/builders/class-wpglobus-builder.php:358,
822
+ #: includes/class-wpglobus.php:3581
823
  msgid "Save draft before using extra language."
824
  msgstr ""
825
 
919
  msgid "Need a multilingual slug?"
920
  msgstr ""
921
 
922
+ #: includes/class-wpglobus.php:4020
923
  msgid "You must enable Pretty Permalinks to use WPGlobus."
924
  msgstr ""
925
  "Debes habilitar los Enlaces permanentes Pretty para utilizar WPGlobus ."
926
 
927
+ #: includes/class-wpglobus.php:4022
928
  msgid ""
929
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
930
  "default option."
932
  "Por favor, ve a Configuración > Enlaces permanentes > Ajustes comunes y "
933
  "selecciona una opción no predeterminada ."
934
 
935
+ #: includes/class-wpglobus.php:4174
936
  msgid "Add"
937
  msgstr "Añadir"
938
 
languages/wpglobus-es_GT.po CHANGED
@@ -686,19 +686,19 @@ msgstr "Estás seguro de que quieres borrarlo?"
686
  msgid "Back to the WPGlobus Settings"
687
  msgstr "Volver a Ajustes WPGlobus"
688
 
689
- #: includes/admin/class-wpglobus-plugin-install.php:306
690
  msgid "Current Version"
691
  msgstr "Versión Actual"
692
 
693
- #: includes/admin/class-wpglobus-plugin-install.php:307
694
  msgid "Get it now!"
695
  msgstr ""
696
 
697
- #: includes/admin/class-wpglobus-plugin-install.php:308
698
  msgid "Premium add-on"
699
  msgstr ""
700
 
701
- #: includes/admin/class-wpglobus-plugin-install.php:309,
702
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
703
  msgid "Installed"
704
  msgstr "Instalado"
@@ -819,7 +819,7 @@ msgid "To translate permalinks, please activate the module Slug."
819
  msgstr ""
820
 
821
  #: includes/builders/class-wpglobus-builder.php:358,
822
- #: includes/class-wpglobus.php:3572
823
  msgid "Save draft before using extra language."
824
  msgstr ""
825
 
@@ -919,12 +919,12 @@ msgstr "No Se Puede Desactivar el director idioma."
919
  msgid "Need a multilingual slug?"
920
  msgstr ""
921
 
922
- #: includes/class-wpglobus.php:4011
923
  msgid "You must enable Pretty Permalinks to use WPGlobus."
924
  msgstr ""
925
  "Debes habilitar los Enlaces permanentes Pretty para utilizar WPGlobus ."
926
 
927
- #: includes/class-wpglobus.php:4013
928
  msgid ""
929
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
930
  "default option."
@@ -932,7 +932,7 @@ msgstr ""
932
  "Por favor, ve a Configuración > Enlaces permanentes > Ajustes comunes y "
933
  "selecciona una opción no predeterminada ."
934
 
935
- #: includes/class-wpglobus.php:4165
936
  msgid "Add"
937
  msgstr "Añadir"
938
 
686
  msgid "Back to the WPGlobus Settings"
687
  msgstr "Volver a Ajustes WPGlobus"
688
 
689
+ #: includes/admin/class-wpglobus-plugin-install.php:302
690
  msgid "Current Version"
691
  msgstr "Versión Actual"
692
 
693
+ #: includes/admin/class-wpglobus-plugin-install.php:303
694
  msgid "Get it now!"
695
  msgstr ""
696
 
697
+ #: includes/admin/class-wpglobus-plugin-install.php:304
698
  msgid "Premium add-on"
699
  msgstr ""
700
 
701
+ #: includes/admin/class-wpglobus-plugin-install.php:305,
702
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
703
  msgid "Installed"
704
  msgstr "Instalado"
819
  msgstr ""
820
 
821
  #: includes/builders/class-wpglobus-builder.php:358,
822
+ #: includes/class-wpglobus.php:3581
823
  msgid "Save draft before using extra language."
824
  msgstr ""
825
 
919
  msgid "Need a multilingual slug?"
920
  msgstr ""
921
 
922
+ #: includes/class-wpglobus.php:4020
923
  msgid "You must enable Pretty Permalinks to use WPGlobus."
924
  msgstr ""
925
  "Debes habilitar los Enlaces permanentes Pretty para utilizar WPGlobus ."
926
 
927
+ #: includes/class-wpglobus.php:4022
928
  msgid ""
929
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
930
  "default option."
932
  "Por favor, ve a Configuración > Enlaces permanentes > Ajustes comunes y "
933
  "selecciona una opción no predeterminada ."
934
 
935
+ #: includes/class-wpglobus.php:4174
936
  msgid "Add"
937
  msgstr "Añadir"
938
 
languages/wpglobus-es_MX.po CHANGED
@@ -686,19 +686,19 @@ msgstr "Estás seguro de que quieres borrarlo?"
686
  msgid "Back to the WPGlobus Settings"
687
  msgstr "Volver a Ajustes WPGlobus"
688
 
689
- #: includes/admin/class-wpglobus-plugin-install.php:306
690
  msgid "Current Version"
691
  msgstr "Versión Actual"
692
 
693
- #: includes/admin/class-wpglobus-plugin-install.php:307
694
  msgid "Get it now!"
695
  msgstr ""
696
 
697
- #: includes/admin/class-wpglobus-plugin-install.php:308
698
  msgid "Premium add-on"
699
  msgstr ""
700
 
701
- #: includes/admin/class-wpglobus-plugin-install.php:309,
702
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
703
  msgid "Installed"
704
  msgstr "Instalado"
@@ -819,7 +819,7 @@ msgid "To translate permalinks, please activate the module Slug."
819
  msgstr ""
820
 
821
  #: includes/builders/class-wpglobus-builder.php:358,
822
- #: includes/class-wpglobus.php:3572
823
  msgid "Save draft before using extra language."
824
  msgstr ""
825
 
@@ -919,12 +919,12 @@ msgstr "No Se Puede Desactivar el director idioma."
919
  msgid "Need a multilingual slug?"
920
  msgstr ""
921
 
922
- #: includes/class-wpglobus.php:4011
923
  msgid "You must enable Pretty Permalinks to use WPGlobus."
924
  msgstr ""
925
  "Debes habilitar los Enlaces permanentes Pretty para utilizar WPGlobus ."
926
 
927
- #: includes/class-wpglobus.php:4013
928
  msgid ""
929
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
930
  "default option."
@@ -932,7 +932,7 @@ msgstr ""
932
  "Por favor, ve a Configuración > Enlaces permanentes > Ajustes comunes y "
933
  "selecciona una opción no predeterminada ."
934
 
935
- #: includes/class-wpglobus.php:4165
936
  msgid "Add"
937
  msgstr "Añadir"
938
 
686
  msgid "Back to the WPGlobus Settings"
687
  msgstr "Volver a Ajustes WPGlobus"
688
 
689
+ #: includes/admin/class-wpglobus-plugin-install.php:302
690
  msgid "Current Version"
691
  msgstr "Versión Actual"
692
 
693
+ #: includes/admin/class-wpglobus-plugin-install.php:303
694
  msgid "Get it now!"
695
  msgstr ""
696
 
697
+ #: includes/admin/class-wpglobus-plugin-install.php:304
698
  msgid "Premium add-on"
699
  msgstr ""
700
 
701
+ #: includes/admin/class-wpglobus-plugin-install.php:305,
702
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
703
  msgid "Installed"
704
  msgstr "Instalado"
819
  msgstr ""
820
 
821
  #: includes/builders/class-wpglobus-builder.php:358,
822
+ #: includes/class-wpglobus.php:3581
823
  msgid "Save draft before using extra language."
824
  msgstr ""
825
 
919
  msgid "Need a multilingual slug?"
920
  msgstr ""
921
 
922
+ #: includes/class-wpglobus.php:4020
923
  msgid "You must enable Pretty Permalinks to use WPGlobus."
924
  msgstr ""
925
  "Debes habilitar los Enlaces permanentes Pretty para utilizar WPGlobus ."
926
 
927
+ #: includes/class-wpglobus.php:4022
928
  msgid ""
929
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
930
  "default option."
932
  "Por favor, ve a Configuración > Enlaces permanentes > Ajustes comunes y "
933
  "selecciona una opción no predeterminada ."
934
 
935
+ #: includes/class-wpglobus.php:4174
936
  msgid "Add"
937
  msgstr "Añadir"
938
 
languages/wpglobus-es_PE.po CHANGED
@@ -686,19 +686,19 @@ msgstr "Estás seguro de que quieres borrarlo?"
686
  msgid "Back to the WPGlobus Settings"
687
  msgstr "Volver a Ajustes WPGlobus"
688
 
689
- #: includes/admin/class-wpglobus-plugin-install.php:306
690
  msgid "Current Version"
691
  msgstr "Versión Actual"
692
 
693
- #: includes/admin/class-wpglobus-plugin-install.php:307
694
  msgid "Get it now!"
695
  msgstr ""
696
 
697
- #: includes/admin/class-wpglobus-plugin-install.php:308
698
  msgid "Premium add-on"
699
  msgstr ""
700
 
701
- #: includes/admin/class-wpglobus-plugin-install.php:309,
702
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
703
  msgid "Installed"
704
  msgstr "Instalado"
@@ -819,7 +819,7 @@ msgid "To translate permalinks, please activate the module Slug."
819
  msgstr ""
820
 
821
  #: includes/builders/class-wpglobus-builder.php:358,
822
- #: includes/class-wpglobus.php:3572
823
  msgid "Save draft before using extra language."
824
  msgstr ""
825
 
@@ -919,12 +919,12 @@ msgstr "No Se Puede Desactivar el director idioma."
919
  msgid "Need a multilingual slug?"
920
  msgstr ""
921
 
922
- #: includes/class-wpglobus.php:4011
923
  msgid "You must enable Pretty Permalinks to use WPGlobus."
924
  msgstr ""
925
  "Debes habilitar los Enlaces permanentes Pretty para utilizar WPGlobus ."
926
 
927
- #: includes/class-wpglobus.php:4013
928
  msgid ""
929
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
930
  "default option."
@@ -932,7 +932,7 @@ msgstr ""
932
  "Por favor, ve a Configuración > Enlaces permanentes > Ajustes comunes y "
933
  "selecciona una opción no predeterminada ."
934
 
935
- #: includes/class-wpglobus.php:4165
936
  msgid "Add"
937
  msgstr "Añadir"
938
 
686
  msgid "Back to the WPGlobus Settings"
687
  msgstr "Volver a Ajustes WPGlobus"
688
 
689
+ #: includes/admin/class-wpglobus-plugin-install.php:302
690
  msgid "Current Version"
691
  msgstr "Versión Actual"
692
 
693
+ #: includes/admin/class-wpglobus-plugin-install.php:303
694
  msgid "Get it now!"
695
  msgstr ""
696
 
697
+ #: includes/admin/class-wpglobus-plugin-install.php:304
698
  msgid "Premium add-on"
699
  msgstr ""
700
 
701
+ #: includes/admin/class-wpglobus-plugin-install.php:305,
702
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
703
  msgid "Installed"
704
  msgstr "Instalado"
819
  msgstr ""
820
 
821
  #: includes/builders/class-wpglobus-builder.php:358,
822
+ #: includes/class-wpglobus.php:3581
823
  msgid "Save draft before using extra language."
824
  msgstr ""
825
 
919
  msgid "Need a multilingual slug?"
920
  msgstr ""
921
 
922
+ #: includes/class-wpglobus.php:4020
923
  msgid "You must enable Pretty Permalinks to use WPGlobus."
924
  msgstr ""
925
  "Debes habilitar los Enlaces permanentes Pretty para utilizar WPGlobus ."
926
 
927
+ #: includes/class-wpglobus.php:4022
928
  msgid ""
929
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
930
  "default option."
932
  "Por favor, ve a Configuración > Enlaces permanentes > Ajustes comunes y "
933
  "selecciona una opción no predeterminada ."
934
 
935
+ #: includes/class-wpglobus.php:4174
936
  msgid "Add"
937
  msgstr "Añadir"
938
 
languages/wpglobus-es_PR.po CHANGED
@@ -686,19 +686,19 @@ msgstr "Estás seguro de que quieres borrarlo?"
686
  msgid "Back to the WPGlobus Settings"
687
  msgstr "Volver a Ajustes WPGlobus"
688
 
689
- #: includes/admin/class-wpglobus-plugin-install.php:306
690
  msgid "Current Version"
691
  msgstr "Versión Actual"
692
 
693
- #: includes/admin/class-wpglobus-plugin-install.php:307
694
  msgid "Get it now!"
695
  msgstr ""
696
 
697
- #: includes/admin/class-wpglobus-plugin-install.php:308
698
  msgid "Premium add-on"
699
  msgstr ""
700
 
701
- #: includes/admin/class-wpglobus-plugin-install.php:309,
702
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
703
  msgid "Installed"
704
  msgstr "Instalado"
@@ -819,7 +819,7 @@ msgid "To translate permalinks, please activate the module Slug."
819
  msgstr ""
820
 
821
  #: includes/builders/class-wpglobus-builder.php:358,
822
- #: includes/class-wpglobus.php:3572
823
  msgid "Save draft before using extra language."
824
  msgstr ""
825
 
@@ -919,12 +919,12 @@ msgstr "No Se Puede Desactivar el director idioma."
919
  msgid "Need a multilingual slug?"
920
  msgstr ""
921
 
922
- #: includes/class-wpglobus.php:4011
923
  msgid "You must enable Pretty Permalinks to use WPGlobus."
924
  msgstr ""
925
  "Debes habilitar los Enlaces permanentes Pretty para utilizar WPGlobus ."
926
 
927
- #: includes/class-wpglobus.php:4013
928
  msgid ""
929
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
930
  "default option."
@@ -932,7 +932,7 @@ msgstr ""
932
  "Por favor, ve a Configuración > Enlaces permanentes > Ajustes comunes y "
933
  "selecciona una opción no predeterminada ."
934
 
935
- #: includes/class-wpglobus.php:4165
936
  msgid "Add"
937
  msgstr "Añadir"
938
 
686
  msgid "Back to the WPGlobus Settings"
687
  msgstr "Volver a Ajustes WPGlobus"
688
 
689
+ #: includes/admin/class-wpglobus-plugin-install.php:302
690
  msgid "Current Version"
691
  msgstr "Versión Actual"
692
 
693
+ #: includes/admin/class-wpglobus-plugin-install.php:303
694
  msgid "Get it now!"
695
  msgstr ""
696
 
697
+ #: includes/admin/class-wpglobus-plugin-install.php:304
698
  msgid "Premium add-on"
699
  msgstr ""
700
 
701
+ #: includes/admin/class-wpglobus-plugin-install.php:305,
702
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
703
  msgid "Installed"
704
  msgstr "Instalado"
819
  msgstr ""
820
 
821
  #: includes/builders/class-wpglobus-builder.php:358,
822
+ #: includes/class-wpglobus.php:3581
823
  msgid "Save draft before using extra language."
824
  msgstr ""
825
 
919
  msgid "Need a multilingual slug?"
920
  msgstr ""
921
 
922
+ #: includes/class-wpglobus.php:4020
923
  msgid "You must enable Pretty Permalinks to use WPGlobus."
924
  msgstr ""
925
  "Debes habilitar los Enlaces permanentes Pretty para utilizar WPGlobus ."
926
 
927
+ #: includes/class-wpglobus.php:4022
928
  msgid ""
929
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
930
  "default option."
932
  "Por favor, ve a Configuración > Enlaces permanentes > Ajustes comunes y "
933
  "selecciona una opción no predeterminada ."
934
 
935
+ #: includes/class-wpglobus.php:4174
936
  msgid "Add"
937
  msgstr "Añadir"
938
 
languages/wpglobus-es_VE.po CHANGED
@@ -686,19 +686,19 @@ msgstr "Estás seguro de que quieres borrarlo?"
686
  msgid "Back to the WPGlobus Settings"
687
  msgstr "Volver a Ajustes WPGlobus"
688
 
689
- #: includes/admin/class-wpglobus-plugin-install.php:306
690
  msgid "Current Version"
691
  msgstr "Versión Actual"
692
 
693
- #: includes/admin/class-wpglobus-plugin-install.php:307
694
  msgid "Get it now!"
695
  msgstr ""
696
 
697
- #: includes/admin/class-wpglobus-plugin-install.php:308
698
  msgid "Premium add-on"
699
  msgstr ""
700
 
701
- #: includes/admin/class-wpglobus-plugin-install.php:309,
702
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
703
  msgid "Installed"
704
  msgstr "Instalado"
@@ -819,7 +819,7 @@ msgid "To translate permalinks, please activate the module Slug."
819
  msgstr ""
820
 
821
  #: includes/builders/class-wpglobus-builder.php:358,
822
- #: includes/class-wpglobus.php:3572
823
  msgid "Save draft before using extra language."
824
  msgstr ""
825
 
@@ -919,12 +919,12 @@ msgstr "No Se Puede Desactivar el director idioma."
919
  msgid "Need a multilingual slug?"
920
  msgstr ""
921
 
922
- #: includes/class-wpglobus.php:4011
923
  msgid "You must enable Pretty Permalinks to use WPGlobus."
924
  msgstr ""
925
  "Debes habilitar los Enlaces permanentes Pretty para utilizar WPGlobus ."
926
 
927
- #: includes/class-wpglobus.php:4013
928
  msgid ""
929
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
930
  "default option."
@@ -932,7 +932,7 @@ msgstr ""
932
  "Por favor, ve a Configuración > Enlaces permanentes > Ajustes comunes y "
933
  "selecciona una opción no predeterminada ."
934
 
935
- #: includes/class-wpglobus.php:4165
936
  msgid "Add"
937
  msgstr "Añadir"
938
 
686
  msgid "Back to the WPGlobus Settings"
687
  msgstr "Volver a Ajustes WPGlobus"
688
 
689
+ #: includes/admin/class-wpglobus-plugin-install.php:302
690
  msgid "Current Version"
691
  msgstr "Versión Actual"
692
 
693
+ #: includes/admin/class-wpglobus-plugin-install.php:303
694
  msgid "Get it now!"
695
  msgstr ""
696
 
697
+ #: includes/admin/class-wpglobus-plugin-install.php:304
698
  msgid "Premium add-on"
699
  msgstr ""
700
 
701
+ #: includes/admin/class-wpglobus-plugin-install.php:305,
702
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
703
  msgid "Installed"
704
  msgstr "Instalado"
819
  msgstr ""
820
 
821
  #: includes/builders/class-wpglobus-builder.php:358,
822
+ #: includes/class-wpglobus.php:3581
823
  msgid "Save draft before using extra language."
824
  msgstr ""
825
 
919
  msgid "Need a multilingual slug?"
920
  msgstr ""
921
 
922
+ #: includes/class-wpglobus.php:4020
923
  msgid "You must enable Pretty Permalinks to use WPGlobus."
924
  msgstr ""
925
  "Debes habilitar los Enlaces permanentes Pretty para utilizar WPGlobus ."
926
 
927
+ #: includes/class-wpglobus.php:4022
928
  msgid ""
929
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
930
  "default option."
932
  "Por favor, ve a Configuración > Enlaces permanentes > Ajustes comunes y "
933
  "selecciona una opción no predeterminada ."
934
 
935
+ #: includes/class-wpglobus.php:4174
936
  msgid "Add"
937
  msgstr "Añadir"
938
 
languages/wpglobus-et.po CHANGED
@@ -652,19 +652,19 @@ msgstr "Oled sa kindel, et soovid seda kustutada?"
652
  msgid "Back to the WPGlobus Settings"
653
  msgstr ""
654
 
655
- #: includes/admin/class-wpglobus-plugin-install.php:306
656
  msgid "Current Version"
657
  msgstr "Praegune versioon"
658
 
659
- #: includes/admin/class-wpglobus-plugin-install.php:307
660
  msgid "Get it now!"
661
  msgstr "Hangi kohe!"
662
 
663
- #: includes/admin/class-wpglobus-plugin-install.php:308
664
  msgid "Premium add-on"
665
  msgstr ""
666
 
667
- #: includes/admin/class-wpglobus-plugin-install.php:309,
668
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
669
  msgid "Installed"
670
  msgstr "Paigaldatud"
@@ -785,7 +785,7 @@ msgid "To translate permalinks, please activate the module Slug."
785
  msgstr ""
786
 
787
  #: includes/builders/class-wpglobus-builder.php:358,
788
- #: includes/class-wpglobus.php:3572
789
  msgid "Save draft before using extra language."
790
  msgstr ""
791
 
@@ -885,17 +885,17 @@ msgstr ""
885
  msgid "Need a multilingual slug?"
886
  msgstr ""
887
 
888
- #: includes/class-wpglobus.php:4011
889
  msgid "You must enable Pretty Permalinks to use WPGlobus."
890
  msgstr ""
891
 
892
- #: includes/class-wpglobus.php:4013
893
  msgid ""
894
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
895
  "default option."
896
  msgstr ""
897
 
898
- #: includes/class-wpglobus.php:4165
899
  msgid "Add"
900
  msgstr "Lisa"
901
 
652
  msgid "Back to the WPGlobus Settings"
653
  msgstr ""
654
 
655
+ #: includes/admin/class-wpglobus-plugin-install.php:302
656
  msgid "Current Version"
657
  msgstr "Praegune versioon"
658
 
659
+ #: includes/admin/class-wpglobus-plugin-install.php:303
660
  msgid "Get it now!"
661
  msgstr "Hangi kohe!"
662
 
663
+ #: includes/admin/class-wpglobus-plugin-install.php:304
664
  msgid "Premium add-on"
665
  msgstr ""
666
 
667
+ #: includes/admin/class-wpglobus-plugin-install.php:305,
668
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
669
  msgid "Installed"
670
  msgstr "Paigaldatud"
785
  msgstr ""
786
 
787
  #: includes/builders/class-wpglobus-builder.php:358,
788
+ #: includes/class-wpglobus.php:3581
789
  msgid "Save draft before using extra language."
790
  msgstr ""
791
 
885
  msgid "Need a multilingual slug?"
886
  msgstr ""
887
 
888
+ #: includes/class-wpglobus.php:4020
889
  msgid "You must enable Pretty Permalinks to use WPGlobus."
890
  msgstr ""
891
 
892
+ #: includes/class-wpglobus.php:4022
893
  msgid ""
894
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
895
  "default option."
896
  msgstr ""
897
 
898
+ #: includes/class-wpglobus.php:4174
899
  msgid "Add"
900
  msgstr "Lisa"
901
 
languages/wpglobus-fr_BE.po CHANGED
@@ -743,19 +743,19 @@ msgstr "Êtes-vous certain(e) de vouloir la supprimer&nbsp;?"
743
  msgid "Back to the WPGlobus Settings"
744
  msgstr "Retour aux réglages de WPGlobus"
745
 
746
- #: includes/admin/class-wpglobus-plugin-install.php:306
747
  msgid "Current Version"
748
  msgstr "Version actuelle"
749
 
750
- #: includes/admin/class-wpglobus-plugin-install.php:307
751
  msgid "Get it now!"
752
  msgstr "Obtenez-le maintenant&nbsp;!"
753
 
754
- #: includes/admin/class-wpglobus-plugin-install.php:308
755
  msgid "Premium add-on"
756
  msgstr "Module premium"
757
 
758
- #: includes/admin/class-wpglobus-plugin-install.php:309,
759
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
760
  msgid "Installed"
761
  msgstr "Installée"
@@ -882,7 +882,7 @@ msgid "To translate permalinks, please activate the module Slug."
882
  msgstr ""
883
 
884
  #: includes/builders/class-wpglobus-builder.php:358,
885
- #: includes/class-wpglobus.php:3572
886
  msgid "Save draft before using extra language."
887
  msgstr ""
888
 
@@ -982,13 +982,13 @@ msgstr "*) Disponible après que le menu ait été enregistré."
982
  msgid "Need a multilingual slug?"
983
  msgstr "Vous avez besoin d’un identifiant multilingue ?"
984
 
985
- #: includes/class-wpglobus.php:4011
986
  msgid "You must enable Pretty Permalinks to use WPGlobus."
987
  msgstr ""
988
  "Vous devez activer les jolis permaliens pour pouvoir utiliser WPGlobus "
989
  "correctement."
990
 
991
- #: includes/class-wpglobus.php:4013
992
  msgid ""
993
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
994
  "default option."
@@ -996,7 +996,7 @@ msgstr ""
996
  "Veuillez vous rendre dans Réglages > Permaliens et choisissez autre chose "
997
  "que la valeur par défaut."
998
 
999
- #: includes/class-wpglobus.php:4165
1000
  msgid "Add"
1001
  msgstr "Ajouter"
1002
 
743
  msgid "Back to the WPGlobus Settings"
744
  msgstr "Retour aux réglages de WPGlobus"
745
 
746
+ #: includes/admin/class-wpglobus-plugin-install.php:302
747
  msgid "Current Version"
748
  msgstr "Version actuelle"
749
 
750
+ #: includes/admin/class-wpglobus-plugin-install.php:303
751
  msgid "Get it now!"
752
  msgstr "Obtenez-le maintenant&nbsp;!"
753
 
754
+ #: includes/admin/class-wpglobus-plugin-install.php:304
755
  msgid "Premium add-on"
756
  msgstr "Module premium"
757
 
758
+ #: includes/admin/class-wpglobus-plugin-install.php:305,
759
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
760
  msgid "Installed"
761
  msgstr "Installée"
882
  msgstr ""
883
 
884
  #: includes/builders/class-wpglobus-builder.php:358,
885
+ #: includes/class-wpglobus.php:3581
886
  msgid "Save draft before using extra language."
887
  msgstr ""
888
 
982
  msgid "Need a multilingual slug?"
983
  msgstr "Vous avez besoin d’un identifiant multilingue ?"
984
 
985
+ #: includes/class-wpglobus.php:4020
986
  msgid "You must enable Pretty Permalinks to use WPGlobus."
987
  msgstr ""
988
  "Vous devez activer les jolis permaliens pour pouvoir utiliser WPGlobus "
989
  "correctement."
990
 
991
+ #: includes/class-wpglobus.php:4022
992
  msgid ""
993
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
994
  "default option."
996
  "Veuillez vous rendre dans Réglages > Permaliens et choisissez autre chose "
997
  "que la valeur par défaut."
998
 
999
+ #: includes/class-wpglobus.php:4174
1000
  msgid "Add"
1001
  msgstr "Ajouter"
1002
 
languages/wpglobus-fr_CA.po CHANGED
@@ -745,19 +745,19 @@ msgstr "Êtes-vous certain(e) de vouloir la supprimer&nbsp;?"
745
  msgid "Back to the WPGlobus Settings"
746
  msgstr "Retour aux réglages de WPGlobus"
747
 
748
- #: includes/admin/class-wpglobus-plugin-install.php:306
749
  msgid "Current Version"
750
  msgstr "Version actuelle"
751
 
752
- #: includes/admin/class-wpglobus-plugin-install.php:307
753
  msgid "Get it now!"
754
  msgstr "Obtenez-le maintenant&nbsp;!"
755
 
756
- #: includes/admin/class-wpglobus-plugin-install.php:308
757
  msgid "Premium add-on"
758
  msgstr "Module premium"
759
 
760
- #: includes/admin/class-wpglobus-plugin-install.php:309,
761
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
762
  msgid "Installed"
763
  msgstr "Installée"
@@ -884,7 +884,7 @@ msgid "To translate permalinks, please activate the module Slug."
884
  msgstr ""
885
 
886
  #: includes/builders/class-wpglobus-builder.php:358,
887
- #: includes/class-wpglobus.php:3572
888
  msgid "Save draft before using extra language."
889
  msgstr ""
890
 
@@ -984,13 +984,13 @@ msgstr "*) Disponible après que le menu ait été enregistré."
984
  msgid "Need a multilingual slug?"
985
  msgstr "Vous avez besoin d’un identifiant multilingue ?"
986
 
987
- #: includes/class-wpglobus.php:4011
988
  msgid "You must enable Pretty Permalinks to use WPGlobus."
989
  msgstr ""
990
  "Vous devez activer les jolis permaliens pour pouvoir utiliser WPGlobus "
991
  "correctement."
992
 
993
- #: includes/class-wpglobus.php:4013
994
  msgid ""
995
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
996
  "default option."
@@ -998,7 +998,7 @@ msgstr ""
998
  "Veuillez vous rendre dans Réglages > Permaliens et choisissez autre chose "
999
  "que la valeur par défaut."
1000
 
1001
- #: includes/class-wpglobus.php:4165
1002
  msgid "Add"
1003
  msgstr "Ajouter"
1004
 
745
  msgid "Back to the WPGlobus Settings"
746
  msgstr "Retour aux réglages de WPGlobus"
747
 
748
+ #: includes/admin/class-wpglobus-plugin-install.php:302
749
  msgid "Current Version"
750
  msgstr "Version actuelle"
751
 
752
+ #: includes/admin/class-wpglobus-plugin-install.php:303
753
  msgid "Get it now!"
754
  msgstr "Obtenez-le maintenant&nbsp;!"
755
 
756
+ #: includes/admin/class-wpglobus-plugin-install.php:304
757
  msgid "Premium add-on"
758
  msgstr "Module premium"
759
 
760
+ #: includes/admin/class-wpglobus-plugin-install.php:305,
761
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
762
  msgid "Installed"
763
  msgstr "Installée"
884
  msgstr ""
885
 
886
  #: includes/builders/class-wpglobus-builder.php:358,
887
+ #: includes/class-wpglobus.php:3581
888
  msgid "Save draft before using extra language."
889
  msgstr ""
890
 
984
  msgid "Need a multilingual slug?"
985
  msgstr "Vous avez besoin d’un identifiant multilingue ?"
986
 
987
+ #: includes/class-wpglobus.php:4020
988
  msgid "You must enable Pretty Permalinks to use WPGlobus."
989
  msgstr ""
990
  "Vous devez activer les jolis permaliens pour pouvoir utiliser WPGlobus "
991
  "correctement."
992
 
993
+ #: includes/class-wpglobus.php:4022
994
  msgid ""
995
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
996
  "default option."
998
  "Veuillez vous rendre dans Réglages > Permaliens et choisissez autre chose "
999
  "que la valeur par défaut."
1000
 
1001
+ #: includes/class-wpglobus.php:4174
1002
  msgid "Add"
1003
  msgstr "Ajouter"
1004
 
languages/wpglobus-fr_FR.po CHANGED
@@ -745,19 +745,19 @@ msgstr "Êtes-vous certain(e) de vouloir la supprimer&nbsp;?"
745
  msgid "Back to the WPGlobus Settings"
746
  msgstr "Retour aux réglages de WPGlobus"
747
 
748
- #: includes/admin/class-wpglobus-plugin-install.php:306
749
  msgid "Current Version"
750
  msgstr "Version actuelle"
751
 
752
- #: includes/admin/class-wpglobus-plugin-install.php:307
753
  msgid "Get it now!"
754
  msgstr "Obtenez-le maintenant&nbsp;!"
755
 
756
- #: includes/admin/class-wpglobus-plugin-install.php:308
757
  msgid "Premium add-on"
758
  msgstr "Module premium"
759
 
760
- #: includes/admin/class-wpglobus-plugin-install.php:309,
761
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
762
  msgid "Installed"
763
  msgstr "Installée"
@@ -884,7 +884,7 @@ msgid "To translate permalinks, please activate the module Slug."
884
  msgstr ""
885
 
886
  #: includes/builders/class-wpglobus-builder.php:358,
887
- #: includes/class-wpglobus.php:3572
888
  msgid "Save draft before using extra language."
889
  msgstr ""
890
 
@@ -984,13 +984,13 @@ msgstr "*) Disponible après que le menu ait été enregistré."
984
  msgid "Need a multilingual slug?"
985
  msgstr "Vous avez besoin d’un identifiant multilingue ?"
986
 
987
- #: includes/class-wpglobus.php:4011
988
  msgid "You must enable Pretty Permalinks to use WPGlobus."
989
  msgstr ""
990
  "Vous devez activer les jolis permaliens pour pouvoir utiliser WPGlobus "
991
  "correctement."
992
 
993
- #: includes/class-wpglobus.php:4013
994
  msgid ""
995
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
996
  "default option."
@@ -998,7 +998,7 @@ msgstr ""
998
  "Veuillez vous rendre dans Réglages > Permaliens et choisissez autre chose "
999
  "que la valeur par défaut."
1000
 
1001
- #: includes/class-wpglobus.php:4165
1002
  msgid "Add"
1003
  msgstr "Ajouter"
1004
 
745
  msgid "Back to the WPGlobus Settings"
746
  msgstr "Retour aux réglages de WPGlobus"
747
 
748
+ #: includes/admin/class-wpglobus-plugin-install.php:302
749
  msgid "Current Version"
750
  msgstr "Version actuelle"
751
 
752
+ #: includes/admin/class-wpglobus-plugin-install.php:303
753
  msgid "Get it now!"
754
  msgstr "Obtenez-le maintenant&nbsp;!"
755
 
756
+ #: includes/admin/class-wpglobus-plugin-install.php:304
757
  msgid "Premium add-on"
758
  msgstr "Module premium"
759
 
760
+ #: includes/admin/class-wpglobus-plugin-install.php:305,
761
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
762
  msgid "Installed"
763
  msgstr "Installée"
884
  msgstr ""
885
 
886
  #: includes/builders/class-wpglobus-builder.php:358,
887
+ #: includes/class-wpglobus.php:3581
888
  msgid "Save draft before using extra language."
889
  msgstr ""
890
 
984
  msgid "Need a multilingual slug?"
985
  msgstr "Vous avez besoin d’un identifiant multilingue ?"
986
 
987
+ #: includes/class-wpglobus.php:4020
988
  msgid "You must enable Pretty Permalinks to use WPGlobus."
989
  msgstr ""
990
  "Vous devez activer les jolis permaliens pour pouvoir utiliser WPGlobus "
991
  "correctement."
992
 
993
+ #: includes/class-wpglobus.php:4022
994
  msgid ""
995
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
996
  "default option."
998
  "Veuillez vous rendre dans Réglages > Permaliens et choisissez autre chose "
999
  "que la valeur par défaut."
1000
 
1001
+ #: includes/class-wpglobus.php:4174
1002
  msgid "Add"
1003
  msgstr "Ajouter"
1004
 
languages/wpglobus-id_ID.po CHANGED
@@ -722,19 +722,19 @@ msgstr "Apakah Anda yakin ingin menghapus?"
722
  msgid "Back to the WPGlobus Settings"
723
  msgstr "Kembali ke Pengaturan WPGlobus"
724
 
725
- #: includes/admin/class-wpglobus-plugin-install.php:306
726
  msgid "Current Version"
727
  msgstr "Versi sekarang"
728
 
729
- #: includes/admin/class-wpglobus-plugin-install.php:307
730
  msgid "Get it now!"
731
  msgstr "Dapatkan itu sekarang!"
732
 
733
- #: includes/admin/class-wpglobus-plugin-install.php:308
734
  msgid "Premium add-on"
735
  msgstr "Premium add-on"
736
 
737
- #: includes/admin/class-wpglobus-plugin-install.php:309,
738
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
739
  msgid "Installed"
740
  msgstr "Dipasang"
@@ -859,7 +859,7 @@ msgid "To translate permalinks, please activate the module Slug."
859
  msgstr ""
860
 
861
  #: includes/builders/class-wpglobus-builder.php:358,
862
- #: includes/class-wpglobus.php:3572
863
  msgid "Save draft before using extra language."
864
  msgstr ""
865
 
@@ -959,11 +959,11 @@ msgstr "*) Tersedia setelah menu tersebut disimpan."
959
  msgid "Need a multilingual slug?"
960
  msgstr ""
961
 
962
- #: includes/class-wpglobus.php:4011
963
  msgid "You must enable Pretty Permalinks to use WPGlobus."
964
  msgstr "Anda harus mengaktifkan Permalinks Cukup menggunakan WPGlobus."
965
 
966
- #: includes/class-wpglobus.php:4013
967
  msgid ""
968
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
969
  "default option."
@@ -971,7 +971,7 @@ msgstr ""
971
  "Silakan pergi ke Settings > Permalinks > Umum Pengaturan dan memilih pilihan "
972
  "non-default."
973
 
974
- #: includes/class-wpglobus.php:4165
975
  msgid "Add"
976
  msgstr "Menambahkan"
977
 
722
  msgid "Back to the WPGlobus Settings"
723
  msgstr "Kembali ke Pengaturan WPGlobus"
724
 
725
+ #: includes/admin/class-wpglobus-plugin-install.php:302
726
  msgid "Current Version"
727
  msgstr "Versi sekarang"
728
 
729
+ #: includes/admin/class-wpglobus-plugin-install.php:303
730
  msgid "Get it now!"
731
  msgstr "Dapatkan itu sekarang!"
732
 
733
+ #: includes/admin/class-wpglobus-plugin-install.php:304
734
  msgid "Premium add-on"
735
  msgstr "Premium add-on"
736
 
737
+ #: includes/admin/class-wpglobus-plugin-install.php:305,
738
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
739
  msgid "Installed"
740
  msgstr "Dipasang"
859
  msgstr ""
860
 
861
  #: includes/builders/class-wpglobus-builder.php:358,
862
+ #: includes/class-wpglobus.php:3581
863
  msgid "Save draft before using extra language."
864
  msgstr ""
865
 
959
  msgid "Need a multilingual slug?"
960
  msgstr ""
961
 
962
+ #: includes/class-wpglobus.php:4020
963
  msgid "You must enable Pretty Permalinks to use WPGlobus."
964
  msgstr "Anda harus mengaktifkan Permalinks Cukup menggunakan WPGlobus."
965
 
966
+ #: includes/class-wpglobus.php:4022
967
  msgid ""
968
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
969
  "default option."
971
  "Silakan pergi ke Settings > Permalinks > Umum Pengaturan dan memilih pilihan "
972
  "non-default."
973
 
974
+ #: includes/class-wpglobus.php:4174
975
  msgid "Add"
976
  msgstr "Menambahkan"
977
 
languages/wpglobus-ko_KR.po CHANGED
@@ -651,19 +651,19 @@ msgstr ""
651
  msgid "Back to the WPGlobus Settings"
652
  msgstr ""
653
 
654
- #: includes/admin/class-wpglobus-plugin-install.php:306
655
  msgid "Current Version"
656
  msgstr ""
657
 
658
- #: includes/admin/class-wpglobus-plugin-install.php:307
659
  msgid "Get it now!"
660
  msgstr ""
661
 
662
- #: includes/admin/class-wpglobus-plugin-install.php:308
663
  msgid "Premium add-on"
664
  msgstr ""
665
 
666
- #: includes/admin/class-wpglobus-plugin-install.php:309,
667
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
668
  msgid "Installed"
669
  msgstr ""
@@ -784,7 +784,7 @@ msgid "To translate permalinks, please activate the module Slug."
784
  msgstr ""
785
 
786
  #: includes/builders/class-wpglobus-builder.php:358,
787
- #: includes/class-wpglobus.php:3572
788
  msgid "Save draft before using extra language."
789
  msgstr ""
790
 
@@ -884,17 +884,17 @@ msgstr ""
884
  msgid "Need a multilingual slug?"
885
  msgstr ""
886
 
887
- #: includes/class-wpglobus.php:4011
888
  msgid "You must enable Pretty Permalinks to use WPGlobus."
889
  msgstr ""
890
 
891
- #: includes/class-wpglobus.php:4013
892
  msgid ""
893
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
894
  "default option."
895
  msgstr ""
896
 
897
- #: includes/class-wpglobus.php:4165
898
  msgid "Add"
899
  msgstr "추가하기"
900
 
651
  msgid "Back to the WPGlobus Settings"
652
  msgstr ""
653
 
654
+ #: includes/admin/class-wpglobus-plugin-install.php:302
655
  msgid "Current Version"
656
  msgstr ""
657
 
658
+ #: includes/admin/class-wpglobus-plugin-install.php:303
659
  msgid "Get it now!"
660
  msgstr ""
661
 
662
+ #: includes/admin/class-wpglobus-plugin-install.php:304
663
  msgid "Premium add-on"
664
  msgstr ""
665
 
666
+ #: includes/admin/class-wpglobus-plugin-install.php:305,
667
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
668
  msgid "Installed"
669
  msgstr ""
784
  msgstr ""
785
 
786
  #: includes/builders/class-wpglobus-builder.php:358,
787
+ #: includes/class-wpglobus.php:3581
788
  msgid "Save draft before using extra language."
789
  msgstr ""
790
 
884
  msgid "Need a multilingual slug?"
885
  msgstr ""
886
 
887
+ #: includes/class-wpglobus.php:4020
888
  msgid "You must enable Pretty Permalinks to use WPGlobus."
889
  msgstr ""
890
 
891
+ #: includes/class-wpglobus.php:4022
892
  msgid ""
893
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
894
  "default option."
895
  msgstr ""
896
 
897
+ #: includes/class-wpglobus.php:4174
898
  msgid "Add"
899
  msgstr "추가하기"
900
 
languages/wpglobus-pl_PL.po CHANGED
@@ -678,19 +678,19 @@ msgstr "Na pewno chcesz to usunąć?"
678
  msgid "Back to the WPGlobus Settings"
679
  msgstr "Wróć do ustawień WPGlobus'a"
680
 
681
- #: includes/admin/class-wpglobus-plugin-install.php:306
682
  msgid "Current Version"
683
  msgstr "Obecna wersja"
684
 
685
- #: includes/admin/class-wpglobus-plugin-install.php:307
686
  msgid "Get it now!"
687
  msgstr ""
688
 
689
- #: includes/admin/class-wpglobus-plugin-install.php:308
690
  msgid "Premium add-on"
691
  msgstr ""
692
 
693
- #: includes/admin/class-wpglobus-plugin-install.php:309,
694
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
695
  msgid "Installed"
696
  msgstr "Zainstalowano"
@@ -811,7 +811,7 @@ msgid "To translate permalinks, please activate the module Slug."
811
  msgstr ""
812
 
813
  #: includes/builders/class-wpglobus-builder.php:358,
814
- #: includes/class-wpglobus.php:3572
815
  msgid "Save draft before using extra language."
816
  msgstr ""
817
 
@@ -911,12 +911,12 @@ msgstr "*) Dostępne po zapisaniu menu."
911
  msgid "Need a multilingual slug?"
912
  msgstr ""
913
 
914
- #: includes/class-wpglobus.php:4011
915
  msgid "You must enable Pretty Permalinks to use WPGlobus."
916
  msgstr ""
917
  "Aby korzystać z WPGlobus'a, musisz ustawić przyjazne bezpośrednie odnośniki."
918
 
919
- #: includes/class-wpglobus.php:4013
920
  msgid ""
921
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
922
  "default option."
@@ -924,7 +924,7 @@ msgstr ""
924
  "Proszę przejść do Ustawienia > Bezpośrednie odnośniki > Popularne ustawienia "
925
  "i wybrać opcję Nazwa wpisu."
926
 
927
- #: includes/class-wpglobus.php:4165
928
  msgid "Add"
929
  msgstr "Dodaj"
930
 
678
  msgid "Back to the WPGlobus Settings"
679
  msgstr "Wróć do ustawień WPGlobus'a"
680
 
681
+ #: includes/admin/class-wpglobus-plugin-install.php:302
682
  msgid "Current Version"
683
  msgstr "Obecna wersja"
684
 
685
+ #: includes/admin/class-wpglobus-plugin-install.php:303
686
  msgid "Get it now!"
687
  msgstr ""
688
 
689
+ #: includes/admin/class-wpglobus-plugin-install.php:304
690
  msgid "Premium add-on"
691
  msgstr ""
692
 
693
+ #: includes/admin/class-wpglobus-plugin-install.php:305,
694
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
695
  msgid "Installed"
696
  msgstr "Zainstalowano"
811
  msgstr ""
812
 
813
  #: includes/builders/class-wpglobus-builder.php:358,
814
+ #: includes/class-wpglobus.php:3581
815
  msgid "Save draft before using extra language."
816
  msgstr ""
817
 
911
  msgid "Need a multilingual slug?"
912
  msgstr ""
913
 
914
+ #: includes/class-wpglobus.php:4020
915
  msgid "You must enable Pretty Permalinks to use WPGlobus."
916
  msgstr ""
917
  "Aby korzystać z WPGlobus'a, musisz ustawić przyjazne bezpośrednie odnośniki."
918
 
919
+ #: includes/class-wpglobus.php:4022
920
  msgid ""
921
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
922
  "default option."
924
  "Proszę przejść do Ustawienia > Bezpośrednie odnośniki > Popularne ustawienia "
925
  "i wybrać opcję Nazwa wpisu."
926
 
927
+ #: includes/class-wpglobus.php:4174
928
  msgid "Add"
929
  msgstr "Dodaj"
930
 
languages/wpglobus-pt_BR.po CHANGED
@@ -651,19 +651,19 @@ msgstr ""
651
  msgid "Back to the WPGlobus Settings"
652
  msgstr ""
653
 
654
- #: includes/admin/class-wpglobus-plugin-install.php:306
655
  msgid "Current Version"
656
  msgstr ""
657
 
658
- #: includes/admin/class-wpglobus-plugin-install.php:307
659
  msgid "Get it now!"
660
  msgstr ""
661
 
662
- #: includes/admin/class-wpglobus-plugin-install.php:308
663
  msgid "Premium add-on"
664
  msgstr ""
665
 
666
- #: includes/admin/class-wpglobus-plugin-install.php:309,
667
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
668
  msgid "Installed"
669
  msgstr "Instalado"
@@ -784,7 +784,7 @@ msgid "To translate permalinks, please activate the module Slug."
784
  msgstr ""
785
 
786
  #: includes/builders/class-wpglobus-builder.php:358,
787
- #: includes/class-wpglobus.php:3572
788
  msgid "Save draft before using extra language."
789
  msgstr ""
790
 
@@ -884,17 +884,17 @@ msgstr ""
884
  msgid "Need a multilingual slug?"
885
  msgstr ""
886
 
887
- #: includes/class-wpglobus.php:4011
888
  msgid "You must enable Pretty Permalinks to use WPGlobus."
889
  msgstr ""
890
 
891
- #: includes/class-wpglobus.php:4013
892
  msgid ""
893
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
894
  "default option."
895
  msgstr ""
896
 
897
- #: includes/class-wpglobus.php:4165
898
  msgid "Add"
899
  msgstr ""
900
 
651
  msgid "Back to the WPGlobus Settings"
652
  msgstr ""
653
 
654
+ #: includes/admin/class-wpglobus-plugin-install.php:302
655
  msgid "Current Version"
656
  msgstr ""
657
 
658
+ #: includes/admin/class-wpglobus-plugin-install.php:303
659
  msgid "Get it now!"
660
  msgstr ""
661
 
662
+ #: includes/admin/class-wpglobus-plugin-install.php:304
663
  msgid "Premium add-on"
664
  msgstr ""
665
 
666
+ #: includes/admin/class-wpglobus-plugin-install.php:305,
667
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
668
  msgid "Installed"
669
  msgstr "Instalado"
784
  msgstr ""
785
 
786
  #: includes/builders/class-wpglobus-builder.php:358,
787
+ #: includes/class-wpglobus.php:3581
788
  msgid "Save draft before using extra language."
789
  msgstr ""
790
 
884
  msgid "Need a multilingual slug?"
885
  msgstr ""
886
 
887
+ #: includes/class-wpglobus.php:4020
888
  msgid "You must enable Pretty Permalinks to use WPGlobus."
889
  msgstr ""
890
 
891
+ #: includes/class-wpglobus.php:4022
892
  msgid ""
893
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
894
  "default option."
895
  msgstr ""
896
 
897
+ #: includes/class-wpglobus.php:4174
898
  msgid "Add"
899
  msgstr ""
900
 
languages/wpglobus-pt_PT.po CHANGED
@@ -651,19 +651,19 @@ msgstr ""
651
  msgid "Back to the WPGlobus Settings"
652
  msgstr ""
653
 
654
- #: includes/admin/class-wpglobus-plugin-install.php:306
655
  msgid "Current Version"
656
  msgstr ""
657
 
658
- #: includes/admin/class-wpglobus-plugin-install.php:307
659
  msgid "Get it now!"
660
  msgstr ""
661
 
662
- #: includes/admin/class-wpglobus-plugin-install.php:308
663
  msgid "Premium add-on"
664
  msgstr ""
665
 
666
- #: includes/admin/class-wpglobus-plugin-install.php:309,
667
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
668
  msgid "Installed"
669
  msgstr "Instalado"
@@ -784,7 +784,7 @@ msgid "To translate permalinks, please activate the module Slug."
784
  msgstr ""
785
 
786
  #: includes/builders/class-wpglobus-builder.php:358,
787
- #: includes/class-wpglobus.php:3572
788
  msgid "Save draft before using extra language."
789
  msgstr ""
790
 
@@ -884,17 +884,17 @@ msgstr ""
884
  msgid "Need a multilingual slug?"
885
  msgstr ""
886
 
887
- #: includes/class-wpglobus.php:4011
888
  msgid "You must enable Pretty Permalinks to use WPGlobus."
889
  msgstr ""
890
 
891
- #: includes/class-wpglobus.php:4013
892
  msgid ""
893
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
894
  "default option."
895
  msgstr ""
896
 
897
- #: includes/class-wpglobus.php:4165
898
  msgid "Add"
899
  msgstr ""
900
 
651
  msgid "Back to the WPGlobus Settings"
652
  msgstr ""
653
 
654
+ #: includes/admin/class-wpglobus-plugin-install.php:302
655
  msgid "Current Version"
656
  msgstr ""
657
 
658
+ #: includes/admin/class-wpglobus-plugin-install.php:303
659
  msgid "Get it now!"
660
  msgstr ""
661
 
662
+ #: includes/admin/class-wpglobus-plugin-install.php:304
663
  msgid "Premium add-on"
664
  msgstr ""
665
 
666
+ #: includes/admin/class-wpglobus-plugin-install.php:305,
667
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
668
  msgid "Installed"
669
  msgstr "Instalado"
784
  msgstr ""
785
 
786
  #: includes/builders/class-wpglobus-builder.php:358,
787
+ #: includes/class-wpglobus.php:3581
788
  msgid "Save draft before using extra language."
789
  msgstr ""
790
 
884
  msgid "Need a multilingual slug?"
885
  msgstr ""
886
 
887
+ #: includes/class-wpglobus.php:4020
888
  msgid "You must enable Pretty Permalinks to use WPGlobus."
889
  msgstr ""
890
 
891
+ #: includes/class-wpglobus.php:4022
892
  msgid ""
893
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
894
  "default option."
895
  msgstr ""
896
 
897
+ #: includes/class-wpglobus.php:4174
898
  msgid "Add"
899
  msgstr ""
900
 
languages/wpglobus-ro_RO.po CHANGED
@@ -681,19 +681,19 @@ msgstr "Ești sigur că vrei să ștergi?"
681
  msgid "Back to the WPGlobus Settings"
682
  msgstr "Înapoi la setările WPGlobus"
683
 
684
- #: includes/admin/class-wpglobus-plugin-install.php:306
685
  msgid "Current Version"
686
  msgstr "Versiune curentă"
687
 
688
- #: includes/admin/class-wpglobus-plugin-install.php:307
689
  msgid "Get it now!"
690
  msgstr ""
691
 
692
- #: includes/admin/class-wpglobus-plugin-install.php:308
693
  msgid "Premium add-on"
694
  msgstr ""
695
 
696
- #: includes/admin/class-wpglobus-plugin-install.php:309,
697
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
698
  msgid "Installed"
699
  msgstr "Instalat"
@@ -814,7 +814,7 @@ msgid "To translate permalinks, please activate the module Slug."
814
  msgstr ""
815
 
816
  #: includes/builders/class-wpglobus-builder.php:358,
817
- #: includes/class-wpglobus.php:3572
818
  msgid "Save draft before using extra language."
819
  msgstr ""
820
 
@@ -914,11 +914,11 @@ msgstr "*) Disponibil după ce meniul este salvat."
914
  msgid "Need a multilingual slug?"
915
  msgstr ""
916
 
917
- #: includes/class-wpglobus.php:4011
918
  msgid "You must enable Pretty Permalinks to use WPGlobus."
919
  msgstr "Trebuie să activezi Pretty Permalinks pentru a folosi WPGlobus."
920
 
921
- #: includes/class-wpglobus.php:4013
922
  msgid ""
923
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
924
  "default option."
@@ -926,7 +926,7 @@ msgstr ""
926
  "Vă rugăm să mergeți la Setări> Permalinks> Setări comune și alegeți o "
927
  "opțiune non-default."
928
 
929
- #: includes/class-wpglobus.php:4165
930
  msgid "Add"
931
  msgstr "Adaugă"
932
 
681
  msgid "Back to the WPGlobus Settings"
682
  msgstr "Înapoi la setările WPGlobus"
683
 
684
+ #: includes/admin/class-wpglobus-plugin-install.php:302
685
  msgid "Current Version"
686
  msgstr "Versiune curentă"
687
 
688
+ #: includes/admin/class-wpglobus-plugin-install.php:303
689
  msgid "Get it now!"
690
  msgstr ""
691
 
692
+ #: includes/admin/class-wpglobus-plugin-install.php:304
693
  msgid "Premium add-on"
694
  msgstr ""
695
 
696
+ #: includes/admin/class-wpglobus-plugin-install.php:305,
697
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
698
  msgid "Installed"
699
  msgstr "Instalat"
814
  msgstr ""
815
 
816
  #: includes/builders/class-wpglobus-builder.php:358,
817
+ #: includes/class-wpglobus.php:3581
818
  msgid "Save draft before using extra language."
819
  msgstr ""
820
 
914
  msgid "Need a multilingual slug?"
915
  msgstr ""
916
 
917
+ #: includes/class-wpglobus.php:4020
918
  msgid "You must enable Pretty Permalinks to use WPGlobus."
919
  msgstr "Trebuie să activezi Pretty Permalinks pentru a folosi WPGlobus."
920
 
921
+ #: includes/class-wpglobus.php:4022
922
  msgid ""
923
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
924
  "default option."
926
  "Vă rugăm să mergeți la Setări> Permalinks> Setări comune și alegeți o "
927
  "opțiune non-default."
928
 
929
+ #: includes/class-wpglobus.php:4174
930
  msgid "Add"
931
  msgstr "Adaugă"
932
 
languages/wpglobus-ru_RU.po CHANGED
@@ -724,19 +724,19 @@ msgstr "Удалить? Вы уверены?"
724
  msgid "Back to the WPGlobus Settings"
725
  msgstr "Вернуться к настройкам WPGlobus"
726
 
727
- #: includes/admin/class-wpglobus-plugin-install.php:306
728
  msgid "Current Version"
729
  msgstr "Текущая версия"
730
 
731
- #: includes/admin/class-wpglobus-plugin-install.php:307
732
  msgid "Get it now!"
733
  msgstr "Установить!"
734
 
735
- #: includes/admin/class-wpglobus-plugin-install.php:308
736
  msgid "Premium add-on"
737
  msgstr "Платное расширение"
738
 
739
- #: includes/admin/class-wpglobus-plugin-install.php:309,
740
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
741
  msgid "Installed"
742
  msgstr "Установлен"
@@ -865,7 +865,7 @@ msgid "To translate permalinks, please activate the module Slug."
865
  msgstr "Для перевода ссылок необходимо активировать модуль УРЛ."
866
 
867
  #: includes/builders/class-wpglobus-builder.php:358,
868
- #: includes/class-wpglobus.php:3572
869
  msgid "Save draft before using extra language."
870
  msgstr "Сохраните черновик перед переключением на другой язык."
871
 
@@ -966,13 +966,13 @@ msgstr "*) Доступно после сохранения меню."
966
  msgid "Need a multilingual slug?"
967
  msgstr "Нужен мультиязычный ярлык?"
968
 
969
- #: includes/class-wpglobus.php:4011
970
  msgid "You must enable Pretty Permalinks to use WPGlobus."
971
  msgstr ""
972
  "Чтобы использовать плагин WPGlobus, необходимо включить ЧПУ - постоянные "
973
  "ссылки."
974
 
975
- #: includes/class-wpglobus.php:4013
976
  msgid ""
977
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
978
  "default option."
@@ -980,7 +980,7 @@ msgstr ""
980
  "Пожалуйста, перейдите в меню Настройки > Постоянные ссылки и поменяйте "
981
  "структуру ссылок в разделе \"Общие настройки\"."
982
 
983
- #: includes/class-wpglobus.php:4165
984
  msgid "Add"
985
  msgstr "Добавить"
986
 
724
  msgid "Back to the WPGlobus Settings"
725
  msgstr "Вернуться к настройкам WPGlobus"
726
 
727
+ #: includes/admin/class-wpglobus-plugin-install.php:302
728
  msgid "Current Version"
729
  msgstr "Текущая версия"
730
 
731
+ #: includes/admin/class-wpglobus-plugin-install.php:303
732
  msgid "Get it now!"
733
  msgstr "Установить!"
734
 
735
+ #: includes/admin/class-wpglobus-plugin-install.php:304
736
  msgid "Premium add-on"
737
  msgstr "Платное расширение"
738
 
739
+ #: includes/admin/class-wpglobus-plugin-install.php:305,
740
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
741
  msgid "Installed"
742
  msgstr "Установлен"
865
  msgstr "Для перевода ссылок необходимо активировать модуль УРЛ."
866
 
867
  #: includes/builders/class-wpglobus-builder.php:358,
868
+ #: includes/class-wpglobus.php:3581
869
  msgid "Save draft before using extra language."
870
  msgstr "Сохраните черновик перед переключением на другой язык."
871
 
966
  msgid "Need a multilingual slug?"
967
  msgstr "Нужен мультиязычный ярлык?"
968
 
969
+ #: includes/class-wpglobus.php:4020
970
  msgid "You must enable Pretty Permalinks to use WPGlobus."
971
  msgstr ""
972
  "Чтобы использовать плагин WPGlobus, необходимо включить ЧПУ - постоянные "
973
  "ссылки."
974
 
975
+ #: includes/class-wpglobus.php:4022
976
  msgid ""
977
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
978
  "default option."
980
  "Пожалуйста, перейдите в меню Настройки > Постоянные ссылки и поменяйте "
981
  "структуру ссылок в разделе \"Общие настройки\"."
982
 
983
+ #: includes/class-wpglobus.php:4174
984
  msgid "Add"
985
  msgstr "Добавить"
986
 
languages/wpglobus-sv_SE.po CHANGED
@@ -674,19 +674,19 @@ msgstr "Är du säker på att du vill radera?"
674
  msgid "Back to the WPGlobus Settings"
675
  msgstr "Tillbaka till WPGlobus Inställningar"
676
 
677
- #: includes/admin/class-wpglobus-plugin-install.php:306
678
  msgid "Current Version"
679
  msgstr "Nuvarande version"
680
 
681
- #: includes/admin/class-wpglobus-plugin-install.php:307
682
  msgid "Get it now!"
683
  msgstr ""
684
 
685
- #: includes/admin/class-wpglobus-plugin-install.php:308
686
  msgid "Premium add-on"
687
  msgstr ""
688
 
689
- #: includes/admin/class-wpglobus-plugin-install.php:309,
690
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
691
  msgid "Installed"
692
  msgstr "Installerad"
@@ -807,7 +807,7 @@ msgid "To translate permalinks, please activate the module Slug."
807
  msgstr ""
808
 
809
  #: includes/builders/class-wpglobus-builder.php:358,
810
- #: includes/class-wpglobus.php:3572
811
  msgid "Save draft before using extra language."
812
  msgstr ""
813
 
@@ -907,11 +907,11 @@ msgstr "*) Tillgängligt när menyn sparats."
907
  msgid "Need a multilingual slug?"
908
  msgstr ""
909
 
910
- #: includes/class-wpglobus.php:4011
911
  msgid "You must enable Pretty Permalinks to use WPGlobus."
912
  msgstr "Du måste aktivera Vackra Permalänkar för att använda WPGlobus."
913
 
914
- #: includes/class-wpglobus.php:4013
915
  msgid ""
916
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
917
  "default option."
@@ -919,7 +919,7 @@ msgstr ""
919
  "Gå till Inställningar> Permalänkar> Vanliga inställningar och välj ett icke-"
920
  "standardalternativet."
921
 
922
- #: includes/class-wpglobus.php:4165
923
  msgid "Add"
924
  msgstr "Lägg till"
925
 
674
  msgid "Back to the WPGlobus Settings"
675
  msgstr "Tillbaka till WPGlobus Inställningar"
676
 
677
+ #: includes/admin/class-wpglobus-plugin-install.php:302
678
  msgid "Current Version"
679
  msgstr "Nuvarande version"
680
 
681
+ #: includes/admin/class-wpglobus-plugin-install.php:303
682
  msgid "Get it now!"
683
  msgstr ""
684
 
685
+ #: includes/admin/class-wpglobus-plugin-install.php:304
686
  msgid "Premium add-on"
687
  msgstr ""
688
 
689
+ #: includes/admin/class-wpglobus-plugin-install.php:305,
690
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
691
  msgid "Installed"
692
  msgstr "Installerad"
807
  msgstr ""
808
 
809
  #: includes/builders/class-wpglobus-builder.php:358,
810
+ #: includes/class-wpglobus.php:3581
811
  msgid "Save draft before using extra language."
812
  msgstr ""
813
 
907
  msgid "Need a multilingual slug?"
908
  msgstr ""
909
 
910
+ #: includes/class-wpglobus.php:4020
911
  msgid "You must enable Pretty Permalinks to use WPGlobus."
912
  msgstr "Du måste aktivera Vackra Permalänkar för att använda WPGlobus."
913
 
914
+ #: includes/class-wpglobus.php:4022
915
  msgid ""
916
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
917
  "default option."
919
  "Gå till Inställningar> Permalänkar> Vanliga inställningar och välj ett icke-"
920
  "standardalternativet."
921
 
922
+ #: includes/class-wpglobus.php:4174
923
  msgid "Add"
924
  msgstr "Lägg till"
925
 
languages/wpglobus-tr_TR.po CHANGED
@@ -677,19 +677,19 @@ msgstr "Silmek istediğinize emin misiniz?"
677
  msgid "Back to the WPGlobus Settings"
678
  msgstr "WPGlobus Ayarları' na Geri Dön"
679
 
680
- #: includes/admin/class-wpglobus-plugin-install.php:306
681
  msgid "Current Version"
682
  msgstr "Geçerli Sürüm"
683
 
684
- #: includes/admin/class-wpglobus-plugin-install.php:307
685
  msgid "Get it now!"
686
  msgstr ""
687
 
688
- #: includes/admin/class-wpglobus-plugin-install.php:308
689
  msgid "Premium add-on"
690
  msgstr ""
691
 
692
- #: includes/admin/class-wpglobus-plugin-install.php:309,
693
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
694
  msgid "Installed"
695
  msgstr "Yüklü"
@@ -810,7 +810,7 @@ msgid "To translate permalinks, please activate the module Slug."
810
  msgstr ""
811
 
812
  #: includes/builders/class-wpglobus-builder.php:358,
813
- #: includes/class-wpglobus.php:3572
814
  msgid "Save draft before using extra language."
815
  msgstr ""
816
 
@@ -910,12 +910,12 @@ msgstr "*) Menü kaydedildikten sonra kullanılabilir."
910
  msgid "Need a multilingual slug?"
911
  msgstr ""
912
 
913
- #: includes/class-wpglobus.php:4011
914
  msgid "You must enable Pretty Permalinks to use WPGlobus."
915
  msgstr ""
916
  "WPGlobus' u kullanabilmek için Pretty Permalinks' i etkinleştirmelisiniz."
917
 
918
- #: includes/class-wpglobus.php:4013
919
  msgid ""
920
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
921
  "default option."
@@ -923,7 +923,7 @@ msgstr ""
923
  "Varsayılan olmayan bir seçeneği seçmek için lütfen Ayarlar>Kalıcı "
924
  "Bağlantılar>Genel Ayarlar' a gidin."
925
 
926
- #: includes/class-wpglobus.php:4165
927
  msgid "Add"
928
  msgstr "Ekle"
929
 
677
  msgid "Back to the WPGlobus Settings"
678
  msgstr "WPGlobus Ayarları' na Geri Dön"
679
 
680
+ #: includes/admin/class-wpglobus-plugin-install.php:302
681
  msgid "Current Version"
682
  msgstr "Geçerli Sürüm"
683
 
684
+ #: includes/admin/class-wpglobus-plugin-install.php:303
685
  msgid "Get it now!"
686
  msgstr ""
687
 
688
+ #: includes/admin/class-wpglobus-plugin-install.php:304
689
  msgid "Premium add-on"
690
  msgstr ""
691
 
692
+ #: includes/admin/class-wpglobus-plugin-install.php:305,
693
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
694
  msgid "Installed"
695
  msgstr "Yüklü"
810
  msgstr ""
811
 
812
  #: includes/builders/class-wpglobus-builder.php:358,
813
+ #: includes/class-wpglobus.php:3581
814
  msgid "Save draft before using extra language."
815
  msgstr ""
816
 
910
  msgid "Need a multilingual slug?"
911
  msgstr ""
912
 
913
+ #: includes/class-wpglobus.php:4020
914
  msgid "You must enable Pretty Permalinks to use WPGlobus."
915
  msgstr ""
916
  "WPGlobus' u kullanabilmek için Pretty Permalinks' i etkinleştirmelisiniz."
917
 
918
+ #: includes/class-wpglobus.php:4022
919
  msgid ""
920
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
921
  "default option."
923
  "Varsayılan olmayan bir seçeneği seçmek için lütfen Ayarlar>Kalıcı "
924
  "Bağlantılar>Genel Ayarlar' a gidin."
925
 
926
+ #: includes/class-wpglobus.php:4174
927
  msgid "Add"
928
  msgstr "Ekle"
929
 
languages/wpglobus-uk.po CHANGED
@@ -709,19 +709,19 @@ msgstr "Видалити? Ви впевнені?"
709
  msgid "Back to the WPGlobus Settings"
710
  msgstr "Повернутися до налаштувань WPGlobus"
711
 
712
- #: includes/admin/class-wpglobus-plugin-install.php:306
713
  msgid "Current Version"
714
  msgstr "Поточна версія"
715
 
716
- #: includes/admin/class-wpglobus-plugin-install.php:307
717
  msgid "Get it now!"
718
  msgstr "Завантажити зараз!"
719
 
720
- #: includes/admin/class-wpglobus-plugin-install.php:308
721
  msgid "Premium add-on"
722
  msgstr ""
723
 
724
- #: includes/admin/class-wpglobus-plugin-install.php:309,
725
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
726
  msgid "Installed"
727
  msgstr "Встановлено"
@@ -842,7 +842,7 @@ msgid "To translate permalinks, please activate the module Slug."
842
  msgstr ""
843
 
844
  #: includes/builders/class-wpglobus-builder.php:358,
845
- #: includes/class-wpglobus.php:3572
846
  msgid "Save draft before using extra language."
847
  msgstr ""
848
 
@@ -942,13 +942,13 @@ msgstr "*) Доступно після збереження меню."
942
  msgid "Need a multilingual slug?"
943
  msgstr ""
944
 
945
- #: includes/class-wpglobus.php:4011
946
  msgid "You must enable Pretty Permalinks to use WPGlobus."
947
  msgstr ""
948
  "Щоб використовувати плагін WPGlobus, необхідно увімкнути SEF URLs - постійні "
949
  "посилання."
950
 
951
- #: includes/class-wpglobus.php:4013
952
  msgid ""
953
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
954
  "default option."
@@ -956,7 +956,7 @@ msgstr ""
956
  "Будь-ласка, перейдіть в меню налаштування > Постійні посилання і змініть "
957
  "структуру посилань в розділі \"Загальні налаштування\"."
958
 
959
- #: includes/class-wpglobus.php:4165
960
  msgid "Add"
961
  msgstr "Додати"
962
 
709
  msgid "Back to the WPGlobus Settings"
710
  msgstr "Повернутися до налаштувань WPGlobus"
711
 
712
+ #: includes/admin/class-wpglobus-plugin-install.php:302
713
  msgid "Current Version"
714
  msgstr "Поточна версія"
715
 
716
+ #: includes/admin/class-wpglobus-plugin-install.php:303
717
  msgid "Get it now!"
718
  msgstr "Завантажити зараз!"
719
 
720
+ #: includes/admin/class-wpglobus-plugin-install.php:304
721
  msgid "Premium add-on"
722
  msgstr ""
723
 
724
+ #: includes/admin/class-wpglobus-plugin-install.php:305,
725
  #: includes/options/fields/table/class-wpglobus-languages-table.php:472
726
  msgid "Installed"
727
  msgstr "Встановлено"
842
  msgstr ""
843
 
844
  #: includes/builders/class-wpglobus-builder.php:358,
845
+ #: includes/class-wpglobus.php:3581
846
  msgid "Save draft before using extra language."
847
  msgstr ""
848
 
942
  msgid "Need a multilingual slug?"
943
  msgstr ""
944
 
945
+ #: includes/class-wpglobus.php:4020
946
  msgid "You must enable Pretty Permalinks to use WPGlobus."
947
  msgstr ""
948
  "Щоб використовувати плагін WPGlobus, необхідно увімкнути SEF URLs - постійні "
949
  "посилання."
950
 
951
+ #: includes/class-wpglobus.php:4022
952
  msgid ""
953
  "Please go to Settings > Permalinks > Common Settings and choose a non-"
954
  "default option."
956
  "Будь-ласка, перейдіть в меню налаштування > Постійні посилання і змініть "
957
  "структуру посилань в розділі \"Загальні налаштування\"."
958
 
959
+ #: includes/class-wpglobus.php:4174
960
  msgid "Add"
961
  msgstr "Додати"
962
 
languages/wpglobus.pot CHANGED
@@ -515,19 +515,19 @@ msgstr ""
515
  msgid "Back to the WPGlobus Settings"
516
  msgstr ""
517
 
518
- #: includes/admin/class-wpglobus-plugin-install.php:306
519
  msgid "Current Version"
520
  msgstr ""
521
 
522
- #: includes/admin/class-wpglobus-plugin-install.php:307
523
  msgid "Get it now!"
524
  msgstr ""
525
 
526
- #: includes/admin/class-wpglobus-plugin-install.php:308
527
  msgid "Premium add-on"
528
  msgstr ""
529
 
530
- #: includes/admin/class-wpglobus-plugin-install.php:309, includes/options/fields/table/class-wpglobus-languages-table.php:472
531
  msgid "Installed"
532
  msgstr ""
533
 
@@ -635,7 +635,7 @@ msgstr ""
635
  msgid "To translate permalinks, please activate the module Slug."
636
  msgstr ""
637
 
638
- #: includes/builders/class-wpglobus-builder.php:358, includes/class-wpglobus.php:3572
639
  msgid "Save draft before using extra language."
640
  msgstr ""
641
 
@@ -735,15 +735,15 @@ msgstr ""
735
  msgid "Need a multilingual slug?"
736
  msgstr ""
737
 
738
- #: includes/class-wpglobus.php:4011
739
  msgid "You must enable Pretty Permalinks to use WPGlobus."
740
  msgstr ""
741
 
742
- #: includes/class-wpglobus.php:4013
743
  msgid "Please go to Settings > Permalinks > Common Settings and choose a non-default option."
744
  msgstr ""
745
 
746
- #: includes/class-wpglobus.php:4165
747
  msgid "Add"
748
  msgstr ""
749
 
515
  msgid "Back to the WPGlobus Settings"
516
  msgstr ""
517
 
518
+ #: includes/admin/class-wpglobus-plugin-install.php:302
519
  msgid "Current Version"
520
  msgstr ""
521
 
522
+ #: includes/admin/class-wpglobus-plugin-install.php:303
523
  msgid "Get it now!"
524
  msgstr ""
525
 
526
+ #: includes/admin/class-wpglobus-plugin-install.php:304
527
  msgid "Premium add-on"
528
  msgstr ""
529
 
530
+ #: includes/admin/class-wpglobus-plugin-install.php:305, includes/options/fields/table/class-wpglobus-languages-table.php:472
531
  msgid "Installed"
532
  msgstr ""
533
 
635
  msgid "To translate permalinks, please activate the module Slug."
636
  msgstr ""
637
 
638
+ #: includes/builders/class-wpglobus-builder.php:358, includes/class-wpglobus.php:3581
639
  msgid "Save draft before using extra language."
640
  msgstr ""
641
 
735
  msgid "Need a multilingual slug?"
736
  msgstr ""
737
 
738
+ #: includes/class-wpglobus.php:4020
739
  msgid "You must enable Pretty Permalinks to use WPGlobus."
740
  msgstr ""
741
 
742
+ #: includes/class-wpglobus.php:4022
743
  msgid "Please go to Settings > Permalinks > Common Settings and choose a non-default option."
744
  msgstr ""
745
 
746
+ #: includes/class-wpglobus.php:4174
747
  msgid "Add"
748
  msgstr ""
749
 
readme.txt CHANGED
@@ -216,6 +216,10 @@ WPGlobus Version 2 supports WordPress 5.x, with Gutenberg.
216
 
217
  == Changelog ==
218
 
 
 
 
 
219
  = 2.1.9 =
220
 
221
  * COMPATIBILITY:
@@ -235,15 +239,6 @@ WPGlobus Version 2 supports WordPress 5.x, with Gutenberg.
235
  * INTERNAL:
236
  * Core/Meta: Serialize meta value if it is an array.
237
 
238
- = 2.1.6 =
239
-
240
- * FIXED:
241
- * Builders/Gutenberg: don't show our metabox when editing post types where WPGlobus is disabled.
242
- * INTERNAL:
243
- * Core/Builders: use the `$_POST['post_type']` value to define post type on the `post.php` page (WordPress 5).
244
- * Core/Builders: added the `$post_type` parameter to the `get_3rd_party_status_for_gutenberg()` function.
245
- * Builders/WooCommerce: revised `get_3rd_party_status_for_gutenberg()` algorithm when WooCommerce is active.
246
-
247
  == Demo Sites ==
248
 
249
  * [WPGlobus.com](https://wpglobus.com/):
216
 
217
  == Changelog ==
218
 
219
+ = 2.1.10 =
220
+
221
+ * Compatibility: new JS for Admin and Builders support, to work with WordPress 5.1.x
222
+
223
  = 2.1.9 =
224
 
225
  * COMPATIBILITY:
239
  * INTERNAL:
240
  * Core/Meta: Serialize meta value if it is an array.
241
 
 
 
 
 
 
 
 
 
 
242
  == Demo Sites ==
243
 
244
  * [WPGlobus.com](https://wpglobus.com/):
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.1.9
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.1.9' );
46
  define( 'WPGLOBUS_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
47
 
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.1.10
19
  * Author: WPGlobus
20
  * Author URI: https://wpglobus.com/
21
  * Network: false
42
  exit;
43
  }
44
 
45
+ define( 'WPGLOBUS_VERSION', '2.1.10' );
46
  define( 'WPGLOBUS_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
47
 
48
  /**