Spacer - Version 2.0.3

Version Description

  • Added dividers on settings page to group the config options logically.
  • Text internationalized so the plugin can easily by translated into other languages.
  • Added translations for Spanish and Chinese.
Download this release

Release Info

Developer clevelandwebdeveloper
Plugin Icon 128x128 Spacer
Version 2.0.3
Comparing to
See all releases

Code changes from version 2.0.2 to 2.0.3

index.php CHANGED
@@ -3,7 +3,7 @@
3
  /*
4
  Plugin Name: Spacer
5
  Description: Adds a spacer button to the WYSIWYG visual editor which allows you to add precise custom spacing between lines in your posts and pages.
6
- Version: 2.0.2
7
  Author: Justin Saad
8
  Author URI: http://www.clevelandwebdeveloper.com
9
  License: GPL2
@@ -51,6 +51,9 @@ class motech_spacer {
51
  add_action('admin_notices', array($this,'admin_show_message'));
52
  add_action('admin_init', array($this,'adminmessage_init'));
53
  }
 
 
 
54
  }
55
 
56
  function motech_spacer_callback() {
@@ -69,9 +72,9 @@ class motech_spacer {
69
  $checkdefault = get_option($this->plugin_slug . '_default_height_mobile','');
70
  if ( ( ! get_user_meta($user_id, 'spacer3001_nag_ignore') ) && ($checkdefault=='') && (current_user_can( 'manage_options' )) ) {
71
  echo '<div id="message" class="updated fade notice"><p>';
72
- echo ("<b>You can now <a href=\"".get_bloginfo( 'wpurl' ) . "/wp-admin/options-general.php?page=".$this->plugin_slug."-setting-admin\">hide spacer on mobile screens</a>, or set a custom spacer height for mobile screens.</b>");
73
  echo "</p>";
74
- echo "<p><strong><a href=\"".get_bloginfo( 'wpurl' ) . "/wp-admin/options-general.php?page=".$this->plugin_slug."-setting-admin\" target=\"_parent\">Set spacer height for mobile devices</a> | <a class=\"dismiss-notice\" style=\"color:red;\" href=\"".get_bloginfo( 'wpurl' ) . "/wp-admin/options-general.php?page=".$this->plugin_slug."-setting-admin&spacer3001_nag_ignore=0\" target=\"_parent\">Dismiss this notice [X]</a></strong></p></div>";
75
  }
76
  }
77
 
@@ -246,8 +249,8 @@ class motech_spacer {
246
  $plugin = plugin_basename(__FILE__);
247
  if ($file == $plugin) // only for this plugin
248
  return array_merge( $links,
249
- array( '<a target="_blank" href="http://www.linkedin.com/in/ClevelandWebDeveloper/">' . __('Find me on LinkedIn' ) . '</a>' ),
250
- array( '<a target="_blank" href="http://twitter.com/ClevelandWebDev">' . __('Follow me on Twitter') . '</a>' )
251
  );
252
  return $links;
253
  }
@@ -265,8 +268,8 @@ class motech_spacer {
265
  <div id="green_ribbon_left">
266
  </div>
267
  <div id="green_ribbon_base">
268
- <span id="hms_get_premium">NEW! Get Premium &raquo;</span>
269
- <span class="hms_get_premium_meta">Spacer Premium is now available for as low as $20!</span>
270
  </div>
271
  <div id="green_ribbon_right">
272
  </div>
@@ -274,19 +277,19 @@ class motech_spacer {
274
 
275
  <div class="motech_premium_box">
276
  <div class="motech_premium_box_wrap">
277
- <h2>Get Premium</h2>
278
- <div class="updated below-h2" style="margin-bottom: -20px !important;"><p><strong>Purchase will be processed via PayPal.</strong></p></div>
279
- <div class="updated below-h2"><p><strong>Every license is valid for the lifetime of the website where it's installed.</strong></p></div>
280
 
281
  <div class="motech_purchase_buttons">
282
 
283
  <div class="motech_purchase_button one_use">
284
  <form action="https://www.paypal.com/cgi-bin/webscr" method="post"><input name="cmd" value="_s-xclick" type="hidden"><input name="hosted_button_id" value="W5UNGBADQSZ9A" type="hidden"><input type="hidden" name="page_style" value="motech_spacer_premium">
285
  <button name="submit">
286
- <div class="purchase_graphic">Buy 1 Use</div>
287
  <div class="purchase_bubble">
288
  <div class="purchase_price">$20</div>
289
- <div class="purchase_meta">1 site license</div>
290
  </div>
291
  </button>
292
  <img src="https://www.paypal.com/en_US/i/scr/pixel.gif" alt="" border="0" height="1" width="1">
@@ -297,10 +300,10 @@ class motech_spacer {
297
  <div class="motech_purchase_button unlimited_use">
298
  <form action="https://www.paypal.com/cgi-bin/webscr" method="post"><input name="cmd" value="_s-xclick" type="hidden"><input name="hosted_button_id" value="P7E4QQM6Q25MN" type="hidden"><input type="hidden" name="page_style" value="motech_spacer_premium">
299
  <button name="submit">
300
- <div class="purchase_graphic">Buy <span>Unlimited</span></div>
301
  <div class="purchase_bubble">
302
  <div class="purchase_price">$50</div>
303
- <div class="purchase_meta">Unlimited sites forever!</div>
304
  </div>
305
  </button>
306
  <img src="https://www.paypal.com/en_US/i/scr/pixel.gif" alt="" border="0" height="1" width="1">
@@ -309,7 +312,7 @@ class motech_spacer {
309
 
310
  </div>
311
 
312
- <div class="motech_premium_cancel"><span>Cancel</span></div>
313
 
314
  </div>
315
  </div>
@@ -319,46 +322,53 @@ class motech_spacer {
319
  <form method="post" action="options.php" class="<?php echo $this->plugin_slug ?>_form">
320
  <?php
321
  // This prints out all hidden setting fields
322
- settings_fields($this->plugin_slug.'_option_group');
323
- do_settings_sections($this->plugin_slug.'-setting-admin');
324
- ?>
 
 
 
 
 
 
 
 
325
  <?php submit_button(); ?>
326
  </form>
327
  </div>
328
  <?php
329
  }
330
 
331
- public function page_init(){
332
-
333
  add_settings_section(
334
  $this->plugin_slug.'_setting_section',
335
- 'Configuration',
336
- array($this, 'print_section_info'),
337
- $this->plugin_slug.'-setting-admin'
338
  );
339
 
340
  //add text input field
341
- $field_slug = "default_height";
342
- $field_label = "Default Spacer Height" . $this->get_premium_warning();
343
  $field_id = $this->plugin_slug.'_'.$field_slug;
344
- register_setting($this->plugin_slug.'_option_group', $field_id, array($this, 'po_20'));
345
  add_settings_field(
346
  $field_id,
347
  $field_label,
348
  array($this, 'create_a_text_input'), //callback function for text input
349
- $this->plugin_slug.'-setting-admin',
350
  $this->plugin_slug.'_setting_section',
351
  array( // The array of arguments to pass to the callback.
352
  "id" => $field_id, //sends field id to callback
353
- "desc" => 'Speed up your workflow by setting a default height to apply to your spacers. Note that you can also enter negative spacing to shift the following content upwards.', //description of the field (optional)
354
- "placeholder" => 'eg: 20',
355
- "default" => '20' //sets the default field value (optional), when grabbing this option value later on remember to use get_option(option_name, default_value) so it will return default value if no value exists yet
356
  )
357
  );
358
 
359
  //add a select input field
360
- $field_slug = "default_height_unit";
361
- $field_label = "Spacer Height Unit" . $this->get_premium_warning();
362
  $field_id = $this->plugin_slug.'_'.$field_slug;
363
  $this->unit_options = array(
364
  array("label" => "px", "value" => "px"),
@@ -366,72 +376,86 @@ class motech_spacer {
366
  array("label" => "rem", "value" => "rem"),
367
  array("label" => "%", "value" => "%"),
368
  );
369
- register_setting($this->plugin_slug.'_option_group', $field_id, array($this, 'po_px'));
370
  add_settings_field(
371
  $field_id,
372
  $field_label,
373
  array($this, 'create_a_select_input'), //callback function for select input
374
- $this->plugin_slug.'-setting-admin',
375
  $this->plugin_slug.'_setting_section',
376
  array( // The array of arguments to pass to the callback.
377
  "id" => $field_id, //sends select field id to callback
378
  "default" => 'px', //sets the default field value (optional), when grabbing this field value later on remember to use get_option(option_name, default_value) so it will return default value if no value exists yet
379
- "desc" => 'Select a unit of measurement to use with your default spacer height.', //description of the field (optional)
380
  "meta" => 'style="max-width:450px;"',
381
  "select_options" => $this->unit_options //sets select option data
382
  )
383
  );
 
 
 
 
 
 
 
 
 
384
 
385
  //add text input field
386
- $field_slug = "default_height_mobile";
387
- $field_label = "Default Spacer Height On Mobile (Optional)";
388
  $field_id = $this->plugin_slug.'_'.$field_slug;
389
- register_setting($this->plugin_slug.'_option_group', $field_id);
390
  add_settings_field(
391
  $field_id,
392
  $field_label,
393
  array($this, 'create_a_text_input'), //callback function for text input
394
- $this->plugin_slug.'-setting-admin',
395
  $this->plugin_slug.'_setting_section',
396
  array( // The array of arguments to pass to the callback.
397
  "id" => $field_id, //sends field id to callback
398
- "desc" => 'Set the default spacer height on mobile devices. If left empty, the spacer mobile height will be the same as the spacer desktop height. If set to 0, the spacer will be hidden on mobile.', //description of the field (optional)
399
- "placeholder" => 'eg: 10',
400
- "default" => '' //sets the default field value (optional), when grabbing this option value later on remember to use get_option(option_name, default_value) so it will return default value if no value exists yet
401
  )
402
- );
403
 
404
- //add a select input field
405
- $field_slug = "default_height_mobile_unit";
406
- $field_label = "Spacer Height Unit On Mobile";
407
  $field_id = $this->plugin_slug.'_'.$field_slug;
408
- $this->unit_options = array(
409
- array("label" => "px", "value" => "px"),
410
- array("label" => "em", "value" => "em"),
411
- array("label" => "rem", "value" => "rem"),
412
- array("label" => "%", "value" => "%"),
413
- );
414
- register_setting($this->plugin_slug.'_option_group', $field_id);
415
  add_settings_field(
416
  $field_id,
417
  $field_label,
418
- array($this, 'create_a_select_input'), //callback function for select input
419
- $this->plugin_slug.'-setting-admin',
420
  $this->plugin_slug.'_setting_section',
421
  array( // The array of arguments to pass to the callback.
422
- "id" => $field_id, //sends select field id to callback
423
- "default" => 'px', //sets the default field value (optional), when grabbing this field value later on remember to use get_option(option_name, default_value) so it will return default value if no value exists yet
424
- "desc" => 'Select a unit of measurement to use with your default spacer height on mobile devices. This only applies if you have a default spacer height set for mobile.', //description of the field (optional)
425
- "meta" => 'style="max-width:450px;"',
426
- "select_options" => $this->unit_options //sets select option data
427
  )
428
  );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
429
 
430
  //add text input field
431
- $field_slug = "spacer_class";
432
- $field_label = "Default Spacer Class (Optional)" . $this->get_premium_warning();
433
  $field_id = $this->plugin_slug.'_'.$field_slug;
434
- register_setting($this->plugin_slug.'_option_group', $field_id, array($this, 'po'));
435
  add_settings_field(
436
  $field_id,
437
  $field_label,
@@ -440,29 +464,37 @@ class motech_spacer {
440
  $this->plugin_slug.'_setting_section',
441
  array( // The array of arguments to pass to the callback.
442
  "id" => $field_id, //sends field id to callback
443
- "desc" => 'Enter a custom css class to apply to all of your spacer elements. Multiple classes can be added by putting a blank space between each class name', //description of the field (optional)
444
- "placeholder" => 'eg: MyClass1 Class2'
 
445
  )
446
- );
447
 
448
- //add textarea input field
449
- $field_slug = "spacer_style";
450
- $field_label = "Spacer Style (Optional)" . $this->get_premium_warning();
451
  $field_id = $this->plugin_slug.'_'.$field_slug;
452
- register_setting($this->plugin_slug.'_option_group', $field_id, array($this, 'po'));
 
 
 
 
 
 
453
  add_settings_field(
454
  $field_id,
455
  $field_label,
456
- array($this, 'create_a_textarea_input'), //callback function for textarea input
457
  $this->plugin_slug.'-setting-admin',
458
  $this->plugin_slug.'_setting_section',
459
  array( // The array of arguments to pass to the callback.
460
- "id" => $field_id, //sends field id to callback
461
- "desc" => 'Enter custom css to apply to all of your spacer elements. This is for advanced users. Just leave this empty if you\'re not sure what this means or if you don\'t have a use for it.', //description of the field (optional)
462
- "placeholder" => '(for example) border-top: solid 2px black; border-bottom: solid 2px black; margin-bottom: 25px;' //sets the field placeholder which appears when the field is empty (optional)
 
 
463
  )
464
- );
465
-
466
 
467
 
468
  //add radio option
@@ -487,19 +519,19 @@ class motech_spacer {
487
  }
488
  ?>
489
  <input class="motech_upload_image" type="text" size="36" name="<?php echo $args["id"] ?>" value="<?php echo get_option($args["id"], $default) ?>" />
490
- <input class="motech_upload_image_button" class="button" type="button" value="Upload Image" />
491
  <br />
492
  <?php
493
  if(isset($args["desc"])) {
494
  echo "<span class='description'>".$args["desc"]."</span>";
495
  } else {
496
- echo "<span class='description'>Enter a URL or upload an image.</span>";
497
  }
498
  ?>
499
  <?php
500
  $current_image = get_option($args["id"],$default);
501
  if(!empty($current_image)) {
502
- echo "<br><strong>Preview</strong><br><img style='padding-left:20px; max-width: 50%; max-height: 400px;' src='".$current_image."'>";
503
  }
504
  ?>
505
  <?php
@@ -626,9 +658,10 @@ class motech_spacer {
626
  //add plugin action links logic
627
  function add_plugin_action_links( $links ) {
628
 
 
629
  return array_merge(
630
  array(
631
- 'settings' => '<a href="' . get_bloginfo( 'wpurl' ) . '/wp-admin/options-general.php?page='.$this->plugin_slug.'-setting-admin">Settings</a>'
632
  ),
633
  $links
634
  );
@@ -742,7 +775,7 @@ class motech_spacer {
742
  return $input;
743
  }
744
  if (!empty($input)) {
745
- add_settings_error('plk_error_id81',esc_attr('settings_updated_81'),__('A premium option was not saved. You must first enter your license key to unlock this premium feature.'),'error');
746
  }
747
  }
748
 
@@ -751,7 +784,7 @@ class motech_spacer {
751
  return $input;
752
  }
753
  if ($input != "px") {
754
- add_settings_error('plk_error_id82',esc_attr('settings_updated_82'),__('A premium option was not saved. You must first enter your license key to unlock this premium feature.'),'error');
755
  }
756
  }
757
 
@@ -760,7 +793,7 @@ class motech_spacer {
760
  return $input;
761
  }
762
  if ($input != "20") {
763
- add_settings_error('plk_error_id83',esc_attr('settings_updated_83'),__('A premium option was not saved. You must first enter your license key to unlock this premium feature.'),'error');
764
  }
765
  return "20";
766
  }
@@ -769,7 +802,7 @@ class motech_spacer {
769
  if (get_option($this->plugin_slug . '_ihmsa','') == 'hmsia') {
770
  return '';
771
  } else {
772
- return '<span class="motech_premium_only"> (Premium Only)</span>';
773
  }
774
  }
775
 
3
  /*
4
  Plugin Name: Spacer
5
  Description: Adds a spacer button to the WYSIWYG visual editor which allows you to add precise custom spacing between lines in your posts and pages.
6
+ Version: 2.0.3
7
  Author: Justin Saad
8
  Author URI: http://www.clevelandwebdeveloper.com
9
  License: GPL2
51
  add_action('admin_notices', array($this,'admin_show_message'));
52
  add_action('admin_init', array($this,'adminmessage_init'));
53
  }
54
+
55
+ //prepare plugin for localization
56
+ load_plugin_textdomain('motech-spacer', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
57
  }
58
 
59
  function motech_spacer_callback() {
72
  $checkdefault = get_option($this->plugin_slug . '_default_height_mobile','');
73
  if ( ( ! get_user_meta($user_id, 'spacer3001_nag_ignore') ) && ($checkdefault=='') && (current_user_can( 'manage_options' )) ) {
74
  echo '<div id="message" class="updated fade notice"><p>';
75
+ echo "<b>".__('You can now', 'motech-spacer')." <a href=\"".get_bloginfo( 'wpurl' ) . "/wp-admin/options-general.php?page=".$this->plugin_slug."-setting-admin\">".__('hide spacer on mobile screens', 'motech-spacer')."</a>, ".__('or set a custom spacer height for mobile screens.', 'motech-spacer')."</b>";
76
  echo "</p>";
77
+ echo "<p><strong><a href=\"".get_bloginfo( 'wpurl' ) . "/wp-admin/options-general.php?page=".$this->plugin_slug."-setting-admin\" target=\"_parent\">".__('Set spacer height for mobile devices', 'motech-spacer')."</a> | <a class=\"dismiss-notice\" style=\"color:red;\" href=\"".get_bloginfo( 'wpurl' ) . "/wp-admin/options-general.php?page=".$this->plugin_slug."-setting-admin&spacer3001_nag_ignore=0\" target=\"_parent\">".__('Dismiss this notice', 'motech-spacer')." [X]</a></strong></p></div>";
78
  }
79
  }
80
 
249
  $plugin = plugin_basename(__FILE__);
250
  if ($file == $plugin) // only for this plugin
251
  return array_merge( $links,
252
+ array( '<a target="_blank" href="http://www.linkedin.com/in/ClevelandWebDeveloper/">' . __('Find me on LinkedIn', 'motech-spacer' ) . '</a>' ),
253
+ array( '<a target="_blank" href="http://twitter.com/ClevelandWebDev">' . __('Follow me on Twitter', 'motech-spacer') . '</a>' )
254
  );
255
  return $links;
256
  }
268
  <div id="green_ribbon_left">
269
  </div>
270
  <div id="green_ribbon_base">
271
+ <span id="hms_get_premium"><?php _e('NEW! Get Premium &raquo;', 'motech-spacer')?></span>
272
+ <span class="hms_get_premium_meta"><?php _e('Spacer Premium is now available for as low as $20!', 'motech-spacer')?></span>
273
  </div>
274
  <div id="green_ribbon_right">
275
  </div>
277
 
278
  <div class="motech_premium_box">
279
  <div class="motech_premium_box_wrap">
280
+ <h2><?php _e('Get Premium', 'motech-spacer')?></h2>
281
+ <div class="updated below-h2" style="margin-bottom: -20px !important;"><p><strong><?php _e('Purchase will be processed via PayPal.', 'motech-spacer')?></strong></p></div>
282
+ <div class="updated below-h2"><p><strong><?php _e('Every license is valid for the lifetime of the website where it\'s installed.', 'motech-spacer')?></strong></p></div>
283
 
284
  <div class="motech_purchase_buttons">
285
 
286
  <div class="motech_purchase_button one_use">
287
  <form action="https://www.paypal.com/cgi-bin/webscr" method="post"><input name="cmd" value="_s-xclick" type="hidden"><input name="hosted_button_id" value="W5UNGBADQSZ9A" type="hidden"><input type="hidden" name="page_style" value="motech_spacer_premium">
288
  <button name="submit">
289
+ <div class="purchase_graphic"><?php _e('Buy 1 Use', 'motech-spacer')?></div>
290
  <div class="purchase_bubble">
291
  <div class="purchase_price">$20</div>
292
+ <div class="purchase_meta"><?php _e('1 site license', 'motech-spacer')?></div>
293
  </div>
294
  </button>
295
  <img src="https://www.paypal.com/en_US/i/scr/pixel.gif" alt="" border="0" height="1" width="1">
300
  <div class="motech_purchase_button unlimited_use">
301
  <form action="https://www.paypal.com/cgi-bin/webscr" method="post"><input name="cmd" value="_s-xclick" type="hidden"><input name="hosted_button_id" value="P7E4QQM6Q25MN" type="hidden"><input type="hidden" name="page_style" value="motech_spacer_premium">
302
  <button name="submit">
303
+ <div class="purchase_graphic"><?php _e('Buy', 'motech-spacer')?> <span><?php _e('Unlimited', 'motech-spacer')?></span></div>
304
  <div class="purchase_bubble">
305
  <div class="purchase_price">$50</div>
306
+ <div class="purchase_meta"><?php _e('Unlimited sites forever!', 'motech-spacer')?></div>
307
  </div>
308
  </button>
309
  <img src="https://www.paypal.com/en_US/i/scr/pixel.gif" alt="" border="0" height="1" width="1">
312
 
313
  </div>
314
 
315
+ <div class="motech_premium_cancel"><span><?php _e('Cancel', 'motech-spacer')?></span></div>
316
 
317
  </div>
318
  </div>
322
  <form method="post" action="options.php" class="<?php echo $this->plugin_slug ?>_form">
323
  <?php
324
  // This prints out all hidden setting fields
325
+ settings_fields($this->plugin_slug.'_option_group');
326
+ ?>
327
+ <div class="motech-spacer-options section general" style="border-bottom: solid 1px #BFBFBF;padding-bottom: 3px;">
328
+ <?php do_settings_sections($this->plugin_slug.'-setting-admin'); ?>
329
+ </div>
330
+ <div class="motech-spacer-options section mobileoptions" style="border-bottom: solid 1px #BFBFBF;padding-bottom: 3px;">
331
+ <?php do_settings_sections($this->plugin_slug.'-setting-admin_mobileoptions'); ?>
332
+ </div>
333
+ <div class="motech-spacer-options section styleoptions">
334
+ <?php do_settings_sections($this->plugin_slug.'-setting-admin_styleoptions'); ?>
335
+ </div>
336
  <?php submit_button(); ?>
337
  </form>
338
  </div>
339
  <?php
340
  }
341
 
342
+ public function DisplayMobileOptions(){
 
343
  add_settings_section(
344
  $this->plugin_slug.'_setting_section',
345
+ __('', 'motech-spacer'),
346
+ false,
347
+ $this->plugin_slug.'-setting-admin_mobileoptions'
348
  );
349
 
350
  //add text input field
351
+ $field_slug = "default_height_mobile";
352
+ $field_label = __('Default Spacer Height On Mobile (Optional)', 'motech-spacer');
353
  $field_id = $this->plugin_slug.'_'.$field_slug;
354
+ register_setting($this->plugin_slug.'_option_group', $field_id);
355
  add_settings_field(
356
  $field_id,
357
  $field_label,
358
  array($this, 'create_a_text_input'), //callback function for text input
359
+ $this->plugin_slug.'-setting-admin_mobileoptions',
360
  $this->plugin_slug.'_setting_section',
361
  array( // The array of arguments to pass to the callback.
362
  "id" => $field_id, //sends field id to callback
363
+ "desc" => __('Set the default spacer height on mobile devices. If left empty, the spacer mobile height will be the same as the spacer desktop height. If set to 0, the spacer will be hidden on mobile.', 'motech-spacer'), //description of the field (optional)
364
+ "placeholder" => __('eg: 10', 'motech-spacer'),
365
+ "default" => '' //sets the default field value (optional), when grabbing this option value later on remember to use get_option(option_name, default_value) so it will return default value if no value exists yet
366
  )
367
  );
368
 
369
  //add a select input field
370
+ $field_slug = "default_height_mobile_unit";
371
+ $field_label = __('Spacer Height Unit On Mobile', 'motech-spacer');
372
  $field_id = $this->plugin_slug.'_'.$field_slug;
373
  $this->unit_options = array(
374
  array("label" => "px", "value" => "px"),
376
  array("label" => "rem", "value" => "rem"),
377
  array("label" => "%", "value" => "%"),
378
  );
379
+ register_setting($this->plugin_slug.'_option_group', $field_id);
380
  add_settings_field(
381
  $field_id,
382
  $field_label,
383
  array($this, 'create_a_select_input'), //callback function for select input
384
+ $this->plugin_slug.'-setting-admin_mobileoptions',
385
  $this->plugin_slug.'_setting_section',
386
  array( // The array of arguments to pass to the callback.
387
  "id" => $field_id, //sends select field id to callback
388
  "default" => 'px', //sets the default field value (optional), when grabbing this field value later on remember to use get_option(option_name, default_value) so it will return default value if no value exists yet
389
+ "desc" => __('Select a unit of measurement to use with your default spacer height on mobile devices. This only applies if you have a default spacer height set for mobile.', 'motech-spacer'), //description of the field (optional)
390
  "meta" => 'style="max-width:450px;"',
391
  "select_options" => $this->unit_options //sets select option data
392
  )
393
  );
394
+ }
395
+
396
+ public function DisplayStyleOptions(){
397
+ add_settings_section(
398
+ $this->plugin_slug.'_setting_section',
399
+ __('', 'motech-spacer'),
400
+ false,
401
+ $this->plugin_slug.'-setting-admin_styleoptions'
402
+ );
403
 
404
  //add text input field
405
+ $field_slug = "spacer_class";
406
+ $field_label = __('Default Spacer Class (Optional)', 'motech-spacer') . $this->get_premium_warning();
407
  $field_id = $this->plugin_slug.'_'.$field_slug;
408
+ register_setting($this->plugin_slug.'_option_group', $field_id, array($this, 'po'));
409
  add_settings_field(
410
  $field_id,
411
  $field_label,
412
  array($this, 'create_a_text_input'), //callback function for text input
413
+ $this->plugin_slug.'-setting-admin_styleoptions',
414
  $this->plugin_slug.'_setting_section',
415
  array( // The array of arguments to pass to the callback.
416
  "id" => $field_id, //sends field id to callback
417
+ "desc" => __('Enter a custom css class to apply to all of your spacer elements. Multiple classes can be added by putting a blank space between each class name', 'motech-spacer'), //description of the field (optional)
418
+ "placeholder" => __('eg: MyClass1 Class2', 'motech-spacer')
 
419
  )
420
+ );
421
 
422
+ //add textarea input field
423
+ $field_slug = "spacer_style";
424
+ $field_label = __('Spacer Style (Optional)', 'motech-spacer') . $this->get_premium_warning();
425
  $field_id = $this->plugin_slug.'_'.$field_slug;
426
+ register_setting($this->plugin_slug.'_option_group', $field_id, array($this, 'po'));
 
 
 
 
 
 
427
  add_settings_field(
428
  $field_id,
429
  $field_label,
430
+ array($this, 'create_a_textarea_input'), //callback function for textarea input
431
+ $this->plugin_slug.'-setting-admin_styleoptions',
432
  $this->plugin_slug.'_setting_section',
433
  array( // The array of arguments to pass to the callback.
434
+ "id" => $field_id, //sends field id to callback
435
+ "desc" => __('Enter custom css to apply to all of your spacer elements. This is for advanced users. Just leave this empty if you\'re not sure what this means or if you don\'t have a use for it.', 'motech-spacer'), //description of the field (optional)
436
+ "placeholder" => __('(for example)', 'motech-spacer').' border-top: solid 2px black; border-bottom: solid 2px black; margin-bottom: 25px;' //sets the field placeholder which appears when the field is empty (optional)
 
 
437
  )
438
  );
439
+ }
440
+
441
+ public function page_init(){
442
+
443
+ //register other settings sections
444
+ $this->DisplayMobileOptions();
445
+ $this->DisplayStyleOptions();
446
+
447
+ add_settings_section(
448
+ $this->plugin_slug.'_setting_section',
449
+ __('Configuration', 'motech-spacer'),
450
+ array($this, 'print_section_info'),
451
+ $this->plugin_slug.'-setting-admin'
452
+ );
453
 
454
  //add text input field
455
+ $field_slug = "default_height";
456
+ $field_label = __('Default Spacer Height', 'motech-spacer') . $this->get_premium_warning();
457
  $field_id = $this->plugin_slug.'_'.$field_slug;
458
+ register_setting($this->plugin_slug.'_option_group', $field_id, array($this, 'po_20'));
459
  add_settings_field(
460
  $field_id,
461
  $field_label,
464
  $this->plugin_slug.'_setting_section',
465
  array( // The array of arguments to pass to the callback.
466
  "id" => $field_id, //sends field id to callback
467
+ "desc" => __('Speed up your workflow by setting a default height to apply to your spacers. Note that you can also enter negative spacing to shift the following content upwards.', 'motech-spacer'), //description of the field (optional)
468
+ "placeholder" => __('eg: 20', 'motech-spacer'),
469
+ "default" => '20' //sets the default field value (optional), when grabbing this option value later on remember to use get_option(option_name, default_value) so it will return default value if no value exists yet
470
  )
471
+ );
472
 
473
+ //add a select input field
474
+ $field_slug = "default_height_unit";
475
+ $field_label = __('Spacer Height Unit', 'motech-spacer') . $this->get_premium_warning();
476
  $field_id = $this->plugin_slug.'_'.$field_slug;
477
+ $this->unit_options = array(
478
+ array("label" => "px", "value" => "px"),
479
+ array("label" => "em", "value" => "em"),
480
+ array("label" => "rem", "value" => "rem"),
481
+ array("label" => "%", "value" => "%"),
482
+ );
483
+ register_setting($this->plugin_slug.'_option_group', $field_id, array($this, 'po_px'));
484
  add_settings_field(
485
  $field_id,
486
  $field_label,
487
+ array($this, 'create_a_select_input'), //callback function for select input
488
  $this->plugin_slug.'-setting-admin',
489
  $this->plugin_slug.'_setting_section',
490
  array( // The array of arguments to pass to the callback.
491
+ "id" => $field_id, //sends select field id to callback
492
+ "default" => 'px', //sets the default field value (optional), when grabbing this field value later on remember to use get_option(option_name, default_value) so it will return default value if no value exists yet
493
+ "desc" => __('Select a unit of measurement to use with your default spacer height.', 'motech-spacer'), //description of the field (optional)
494
+ "meta" => 'style="max-width:450px;"',
495
+ "select_options" => $this->unit_options //sets select option data
496
  )
497
+ );
 
498
 
499
 
500
  //add radio option
519
  }
520
  ?>
521
  <input class="motech_upload_image" type="text" size="36" name="<?php echo $args["id"] ?>" value="<?php echo get_option($args["id"], $default) ?>" />
522
+ <input class="motech_upload_image_button" class="button" type="button" value="<?php _e('Upload Image', 'motech-spacer')?>" />
523
  <br />
524
  <?php
525
  if(isset($args["desc"])) {
526
  echo "<span class='description'>".$args["desc"]."</span>";
527
  } else {
528
+ echo "<span class='description'>".__('Enter a URL or upload an image.', 'motech-spacer')."</span>";
529
  }
530
  ?>
531
  <?php
532
  $current_image = get_option($args["id"],$default);
533
  if(!empty($current_image)) {
534
+ echo "<br><strong>".__('Preview', 'motech-spacer')."</strong><br><img style='padding-left:20px; max-width: 50%; max-height: 400px;' src='".$current_image."'>";
535
  }
536
  ?>
537
  <?php
658
  //add plugin action links logic
659
  function add_plugin_action_links( $links ) {
660
 
661
+
662
  return array_merge(
663
  array(
664
+ 'settings' => '<a href="' . get_bloginfo( 'wpurl' ) . '/wp-admin/options-general.php?page='.$this->plugin_slug.'-setting-admin">'.__('Settings', 'motech-spacer').'</a>'
665
  ),
666
  $links
667
  );
775
  return $input;
776
  }
777
  if (!empty($input)) {
778
+ add_settings_error('plk_error_id81',esc_attr('settings_updated_81'),__('A premium option was not saved. You must first enter your license key to unlock this premium feature.', 'motech-spacer'),'error');
779
  }
780
  }
781
 
784
  return $input;
785
  }
786
  if ($input != "px") {
787
+ add_settings_error('plk_error_id82',esc_attr('settings_updated_82'),__('A premium option was not saved. You must first enter your license key to unlock this premium feature.', 'motech-spacer'),'error');
788
  }
789
  }
790
 
793
  return $input;
794
  }
795
  if ($input != "20") {
796
+ add_settings_error('plk_error_id83',esc_attr('settings_updated_83'),__('A premium option was not saved. You must first enter your license key to unlock this premium feature.', 'motech-spacer'),'error');
797
  }
798
  return "20";
799
  }
802
  if (get_option($this->plugin_slug . '_ihmsa','') == 'hmsia') {
803
  return '';
804
  } else {
805
+ return '<span class="motech_premium_only"> ('.__('Premium Only', 'motech-spacer').')</span>';
806
  }
807
  }
808
 
languages/default.mo ADDED
Binary file
languages/default.po ADDED
@@ -0,0 +1,197 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: motech-spacer\n"
4
+ "POT-Creation-Date: 2016-01-28 16:33-0500\n"
5
+ "PO-Revision-Date: 2016-01-28 16:38-0500\n"
6
+ "Last-Translator: \n"
7
+ "Language-Team: \n"
8
+ "Language: en\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.8.6\n"
13
+ "X-Poedit-Basepath: ..\n"
14
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
+ "X-Poedit-KeywordsList: __;_e\n"
16
+ "X-Poedit-SearchPath-0: .\n"
17
+
18
+ #: index.php:75
19
+ msgid "You can now"
20
+ msgstr ""
21
+
22
+ #: index.php:75
23
+ msgid "hide spacer on mobile screens"
24
+ msgstr ""
25
+
26
+ #: index.php:75
27
+ msgid "or set a custom spacer height for mobile screens."
28
+ msgstr ""
29
+
30
+ #: index.php:77
31
+ msgid "Set spacer height for mobile devices"
32
+ msgstr ""
33
+
34
+ #: index.php:77
35
+ msgid "Dismiss this notice"
36
+ msgstr ""
37
+
38
+ #: index.php:252
39
+ msgid "Find me on LinkedIn"
40
+ msgstr ""
41
+
42
+ #: index.php:253
43
+ msgid "Follow me on Twitter"
44
+ msgstr ""
45
+
46
+ #: index.php:271
47
+ msgid "NEW! Get Premium &raquo;"
48
+ msgstr ""
49
+
50
+ #: index.php:272
51
+ msgid "Spacer Premium is now available for as low as $20!"
52
+ msgstr ""
53
+
54
+ #: index.php:280
55
+ msgid "Get Premium"
56
+ msgstr ""
57
+
58
+ #: index.php:281
59
+ msgid "Purchase will be processed via PayPal."
60
+ msgstr ""
61
+
62
+ #: index.php:282
63
+ msgid ""
64
+ "Every license is valid for the lifetime of the website where it's installed."
65
+ msgstr ""
66
+
67
+ #: index.php:289
68
+ msgid "Buy 1 Use"
69
+ msgstr ""
70
+
71
+ #: index.php:292
72
+ msgid "1 site license"
73
+ msgstr ""
74
+
75
+ #: index.php:303
76
+ msgid "Buy"
77
+ msgstr ""
78
+
79
+ #: index.php:303
80
+ msgid "Unlimited"
81
+ msgstr ""
82
+
83
+ #: index.php:306
84
+ msgid "Unlimited sites forever!"
85
+ msgstr ""
86
+
87
+ #: index.php:315
88
+ msgid "Cancel"
89
+ msgstr ""
90
+
91
+ #: index.php:338
92
+ msgid "Configuration"
93
+ msgstr ""
94
+
95
+ #: index.php:345
96
+ msgid "Default Spacer Height"
97
+ msgstr ""
98
+
99
+ #: index.php:356
100
+ msgid ""
101
+ "Speed up your workflow by setting a default height to apply to your spacers. "
102
+ "Note that you can also enter negative spacing to shift the following content "
103
+ "upwards."
104
+ msgstr ""
105
+
106
+ #: index.php:357
107
+ msgid "eg: 20"
108
+ msgstr ""
109
+
110
+ #: index.php:364
111
+ msgid "Spacer Height Unit"
112
+ msgstr ""
113
+
114
+ #: index.php:382
115
+ msgid "Select a unit of measurement to use with your default spacer height."
116
+ msgstr ""
117
+
118
+ #: index.php:390
119
+ msgid "Default Spacer Height On Mobile (Optional)"
120
+ msgstr ""
121
+
122
+ #: index.php:401
123
+ msgid ""
124
+ "Set the default spacer height on mobile devices. If left empty, the spacer "
125
+ "mobile height will be the same as the spacer desktop height. If set to 0, "
126
+ "the spacer will be hidden on mobile."
127
+ msgstr ""
128
+
129
+ #: index.php:402
130
+ msgid "eg: 10"
131
+ msgstr ""
132
+
133
+ #: index.php:409
134
+ msgid "Spacer Height Unit On Mobile"
135
+ msgstr ""
136
+
137
+ #: index.php:427
138
+ msgid ""
139
+ "Select a unit of measurement to use with your default spacer height on "
140
+ "mobile devices. This only applies if you have a default spacer height set "
141
+ "for mobile."
142
+ msgstr ""
143
+
144
+ #: index.php:435
145
+ msgid "Default Spacer Class (Optional)"
146
+ msgstr ""
147
+
148
+ #: index.php:446
149
+ msgid ""
150
+ "Enter a custom css class to apply to all of your spacer elements. Multiple "
151
+ "classes can be added by putting a blank space between each class name"
152
+ msgstr ""
153
+
154
+ #: index.php:447
155
+ msgid "eg: MyClass1 Class2"
156
+ msgstr ""
157
+
158
+ #: index.php:453
159
+ msgid "Spacer Style (Optional)"
160
+ msgstr ""
161
+
162
+ #: index.php:464
163
+ msgid ""
164
+ "Enter custom css to apply to all of your spacer elements. This is for "
165
+ "advanced users. Just leave this empty if you're not sure what this means or "
166
+ "if you don't have a use for it."
167
+ msgstr ""
168
+
169
+ #: index.php:465
170
+ msgid "(for example)"
171
+ msgstr ""
172
+
173
+ #: index.php:493
174
+ msgid "Upload Image"
175
+ msgstr ""
176
+
177
+ #: index.php:499
178
+ msgid "Enter a URL or upload an image."
179
+ msgstr ""
180
+
181
+ #: index.php:505
182
+ msgid "Preview"
183
+ msgstr ""
184
+
185
+ #: index.php:634
186
+ msgid "Settings"
187
+ msgstr ""
188
+
189
+ #: index.php:748 index.php:757 index.php:766
190
+ msgid ""
191
+ "A premium option was not saved. You must first enter your license key to "
192
+ "unlock this premium feature."
193
+ msgstr ""
194
+
195
+ #: index.php:775
196
+ msgid "Premium Only"
197
+ msgstr ""
languages/motech-spacer-es_ES.mo ADDED
Binary file
languages/motech-spacer-es_ES.po ADDED
@@ -0,0 +1,215 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: motech-spacer\n"
4
+ "POT-Creation-Date: 2016-01-28 16:33-0500\n"
5
+ "PO-Revision-Date: 2016-02-01 12:04-0500\n"
6
+ "Last-Translator: \n"
7
+ "Language-Team: \n"
8
+ "Language: es\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.8.6\n"
13
+ "X-Poedit-Basepath: ..\n"
14
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
+ "X-Poedit-KeywordsList: __;_e\n"
16
+ "X-Poedit-SearchPath-0: .\n"
17
+
18
+ #: index.php:75
19
+ msgid "You can now"
20
+ msgstr "Puedes ahora"
21
+
22
+ #: index.php:75
23
+ msgid "hide spacer on mobile screens"
24
+ msgstr "esconder Spacer en pantallas móviles"
25
+
26
+ #: index.php:75
27
+ msgid "or set a custom spacer height for mobile screens."
28
+ msgstr "o ajusta una altura de Spacer personalizada para pantallas móviles "
29
+
30
+ #: index.php:77
31
+ msgid "Set spacer height for mobile devices"
32
+ msgstr "Ajustar la altura de spacer en dispositivos móviles"
33
+
34
+ #: index.php:77
35
+ msgid "Dismiss this notice"
36
+ msgstr "Descartar este aviso"
37
+
38
+ #: index.php:252
39
+ msgid "Find me on LinkedIn"
40
+ msgstr "Encontrarme en LinkedIn"
41
+
42
+ #: index.php:253
43
+ msgid "Follow me on Twitter"
44
+ msgstr "Sígueme en Twitter"
45
+
46
+ #: index.php:271
47
+ msgid "NEW! Get Premium &raquo;"
48
+ msgstr "¡NUEVO! Obtén el Premium &raquo;"
49
+
50
+ #: index.php:272
51
+ msgid "Spacer Premium is now available for as low as $20!"
52
+ msgstr "Spacer Premium está ahora disponible por tan solo $20"
53
+
54
+ #: index.php:280
55
+ msgid "Get Premium"
56
+ msgstr "Obtén el Premium"
57
+
58
+ #: index.php:281
59
+ msgid "Purchase will be processed via PayPal."
60
+ msgstr "La compra será procesada por PayPal"
61
+
62
+ #: index.php:282
63
+ msgid ""
64
+ "Every license is valid for the lifetime of the website where it's installed."
65
+ msgstr "Cada licencia es válida de por vida para sitio donde sea instalada"
66
+
67
+ #: index.php:289
68
+ msgid "Buy 1 Use"
69
+ msgstr "Compra un uso"
70
+
71
+ #: index.php:292
72
+ msgid "1 site license"
73
+ msgstr "Licencia para 1 sitio"
74
+
75
+ #: index.php:303
76
+ msgid "Buy"
77
+ msgstr "Comprar"
78
+
79
+ #: index.php:303
80
+ msgid "Unlimited"
81
+ msgstr "Ilimitado"
82
+
83
+ #: index.php:306
84
+ msgid "Unlimited sites forever!"
85
+ msgstr "¡Sitios ilimitados por siempre!"
86
+
87
+ #: index.php:315
88
+ msgid "Cancel"
89
+ msgstr "Cancelar"
90
+
91
+ #: index.php:338
92
+ msgid "Configuration"
93
+ msgstr "Configuración"
94
+
95
+ #: index.php:345
96
+ msgid "Default Spacer Height"
97
+ msgstr "Altura de Spacer predeterminada"
98
+
99
+ #: index.php:356
100
+ msgid ""
101
+ "Speed up your workflow by setting a default height to apply to your spacers. "
102
+ "Note that you can also enter negative spacing to shift the following content "
103
+ "upwards."
104
+ msgstr ""
105
+ "¡Ahorra tiempo! Ajusta la altura predeterminada para tus Spacers. Tambien "
106
+ "puedes ingresar espacios negativos para reducir el tamaño."
107
+
108
+ #: index.php:357
109
+ msgid "eg: 20"
110
+ msgstr "Ej. 20"
111
+
112
+ #: index.php:364
113
+ msgid "Spacer Height Unit"
114
+ msgstr "Unidad de Altura de Spacer"
115
+
116
+ #: index.php:382
117
+ msgid "Select a unit of measurement to use with your default spacer height."
118
+ msgstr ""
119
+ "Selecciona una unidad de medida para usar con tu altura predeterminada de "
120
+ "Spacer"
121
+
122
+ #: index.php:390
123
+ msgid "Default Spacer Height On Mobile (Optional)"
124
+ msgstr "Altura Predeterminada de Spacer En Móvil (Opcional)"
125
+
126
+ #: index.php:401
127
+ msgid ""
128
+ "Set the default spacer height on mobile devices. If left empty, the spacer "
129
+ "mobile height will be the same as the spacer desktop height. If set to 0, "
130
+ "the spacer will be hidden on mobile."
131
+ msgstr ""
132
+ "Ajusta la altura predeterminada de Spacer en dispositivos Móviles. Si se "
133
+ "deja vacío, la altura móvil de Spacer será la misma altura del escritorio. "
134
+ "Si ingresas 0, el Spacer se esconderá en móvil. "
135
+
136
+ #: index.php:402
137
+ msgid "eg: 10"
138
+ msgstr "Ej. 10"
139
+
140
+ #: index.php:409
141
+ msgid "Spacer Height Unit On Mobile"
142
+ msgstr "Unidad de Altura de Spacer En Móvil"
143
+
144
+ #: index.php:427
145
+ msgid ""
146
+ "Select a unit of measurement to use with your default spacer height on "
147
+ "mobile devices. This only applies if you have a default spacer height set "
148
+ "for mobile."
149
+ msgstr ""
150
+ "Selecciona una unidad de medida para usar con tu altura predeterminada de "
151
+ "Spacer en dispositivos móviles. Esto solo aplica si tienes una altura "
152
+ "predeterminada de spacer colocada para móvil."
153
+
154
+ #: index.php:435
155
+ msgid "Default Spacer Class (Optional)"
156
+ msgstr "Clase Predeterminada de Spacer (Opcional)"
157
+
158
+ #: index.php:446
159
+ msgid ""
160
+ "Enter a custom css class to apply to all of your spacer elements. Multiple "
161
+ "classes can be added by putting a blank space between each class name"
162
+ msgstr ""
163
+ "Ingresa una clase de CSS personalizada para aplicar a todos lo elementos de "
164
+ "spacer. Se pueden agregar múltiples clases colocando un espacio en blanco "
165
+ "entre cada nombre."
166
+
167
+ #: index.php:447
168
+ msgid "eg: MyClass1 Class2"
169
+ msgstr "Ej. MiClase1 Clase2"
170
+
171
+ #: index.php:453
172
+ msgid "Spacer Style (Optional)"
173
+ msgstr "Estilo de Spacer (Opcional)"
174
+
175
+ #: index.php:464
176
+ msgid ""
177
+ "Enter custom css to apply to all of your spacer elements. This is for "
178
+ "advanced users. Just leave this empty if you're not sure what this means or "
179
+ "if you don't have a use for it."
180
+ msgstr ""
181
+ "Ingresa una CSS personalizada para aplicar a todos los elementos de Spacer. "
182
+ "Esto es para usuarios avanzados. Sólo deja esto vacío si no estás seguro de "
183
+ "lo que significa o si no tienes un uso específico. "
184
+
185
+ #: index.php:465
186
+ msgid "(for example)"
187
+ msgstr "(Por ejemplo)"
188
+
189
+ #: index.php:493
190
+ msgid "Upload Image"
191
+ msgstr "Subir Imagen"
192
+
193
+ #: index.php:499
194
+ msgid "Enter a URL or upload an image."
195
+ msgstr "Ingresar la URL o subir una imagen"
196
+
197
+ #: index.php:505
198
+ msgid "Preview"
199
+ msgstr "Prevista"
200
+
201
+ #: index.php:634
202
+ msgid "Settings"
203
+ msgstr "Ajustes"
204
+
205
+ #: index.php:748 index.php:757 index.php:766
206
+ msgid ""
207
+ "A premium option was not saved. You must first enter your license key to "
208
+ "unlock this premium feature."
209
+ msgstr ""
210
+ "Una Opción Premium no se guardó. Debe primero ingresar su llave de licencia "
211
+ "para abrir esta característica premium"
212
+
213
+ #: index.php:775
214
+ msgid "Premium Only"
215
+ msgstr "Sólo Premium"
languages/motech-spacer-es_MX.mo ADDED
Binary file
languages/motech-spacer-es_MX.po ADDED
@@ -0,0 +1,215 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: motech-spacer\n"
4
+ "POT-Creation-Date: 2016-01-28 16:33-0500\n"
5
+ "PO-Revision-Date: 2016-02-01 12:04-0500\n"
6
+ "Last-Translator: \n"
7
+ "Language-Team: \n"
8
+ "Language: es\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.8.6\n"
13
+ "X-Poedit-Basepath: ..\n"
14
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
+ "X-Poedit-KeywordsList: __;_e\n"
16
+ "X-Poedit-SearchPath-0: .\n"
17
+
18
+ #: index.php:75
19
+ msgid "You can now"
20
+ msgstr "Puedes ahora"
21
+
22
+ #: index.php:75
23
+ msgid "hide spacer on mobile screens"
24
+ msgstr "esconder Spacer en pantallas móviles"
25
+
26
+ #: index.php:75
27
+ msgid "or set a custom spacer height for mobile screens."
28
+ msgstr "o ajusta una altura de Spacer personalizada para pantallas móviles "
29
+
30
+ #: index.php:77
31
+ msgid "Set spacer height for mobile devices"
32
+ msgstr "Ajustar la altura de spacer en dispositivos móviles"
33
+
34
+ #: index.php:77
35
+ msgid "Dismiss this notice"
36
+ msgstr "Descartar este aviso"
37
+
38
+ #: index.php:252
39
+ msgid "Find me on LinkedIn"
40
+ msgstr "Encontrarme en LinkedIn"
41
+
42
+ #: index.php:253
43
+ msgid "Follow me on Twitter"
44
+ msgstr "Sígueme en Twitter"
45
+
46
+ #: index.php:271
47
+ msgid "NEW! Get Premium &raquo;"
48
+ msgstr "¡NUEVO! Obtén el Premium &raquo;"
49
+
50
+ #: index.php:272
51
+ msgid "Spacer Premium is now available for as low as $20!"
52
+ msgstr "Spacer Premium está ahora disponible por tan solo $20"
53
+
54
+ #: index.php:280
55
+ msgid "Get Premium"
56
+ msgstr "Obtén el Premium"
57
+
58
+ #: index.php:281
59
+ msgid "Purchase will be processed via PayPal."
60
+ msgstr "La compra será procesada por PayPal"
61
+
62
+ #: index.php:282
63
+ msgid ""
64
+ "Every license is valid for the lifetime of the website where it's installed."
65
+ msgstr "Cada licencia es válida de por vida para sitio donde sea instalada"
66
+
67
+ #: index.php:289
68
+ msgid "Buy 1 Use"
69
+ msgstr "Compra un uso"
70
+
71
+ #: index.php:292
72
+ msgid "1 site license"
73
+ msgstr "Licencia para 1 sitio"
74
+
75
+ #: index.php:303
76
+ msgid "Buy"
77
+ msgstr "Comprar"
78
+
79
+ #: index.php:303
80
+ msgid "Unlimited"
81
+ msgstr "Ilimitado"
82
+
83
+ #: index.php:306
84
+ msgid "Unlimited sites forever!"
85
+ msgstr "¡Sitios ilimitados por siempre!"
86
+
87
+ #: index.php:315
88
+ msgid "Cancel"
89
+ msgstr "Cancelar"
90
+
91
+ #: index.php:338
92
+ msgid "Configuration"
93
+ msgstr "Configuración"
94
+
95
+ #: index.php:345
96
+ msgid "Default Spacer Height"
97
+ msgstr "Altura de Spacer predeterminada"
98
+
99
+ #: index.php:356
100
+ msgid ""
101
+ "Speed up your workflow by setting a default height to apply to your spacers. "
102
+ "Note that you can also enter negative spacing to shift the following content "
103
+ "upwards."
104
+ msgstr ""
105
+ "¡Ahorra tiempo! Ajusta la altura predeterminada para tus Spacers. Tambien "
106
+ "puedes ingresar espacios negativos para reducir el tamaño."
107
+
108
+ #: index.php:357
109
+ msgid "eg: 20"
110
+ msgstr "Ej. 20"
111
+
112
+ #: index.php:364
113
+ msgid "Spacer Height Unit"
114
+ msgstr "Unidad de Altura de Spacer"
115
+
116
+ #: index.php:382
117
+ msgid "Select a unit of measurement to use with your default spacer height."
118
+ msgstr ""
119
+ "Selecciona una unidad de medida para usar con tu altura predeterminada de "
120
+ "Spacer"
121
+
122
+ #: index.php:390
123
+ msgid "Default Spacer Height On Mobile (Optional)"
124
+ msgstr "Altura Predeterminada de Spacer En Móvil (Opcional)"
125
+
126
+ #: index.php:401
127
+ msgid ""
128
+ "Set the default spacer height on mobile devices. If left empty, the spacer "
129
+ "mobile height will be the same as the spacer desktop height. If set to 0, "
130
+ "the spacer will be hidden on mobile."
131
+ msgstr ""
132
+ "Ajusta la altura predeterminada de Spacer en dispositivos Móviles. Si se "
133
+ "deja vacío, la altura móvil de Spacer será la misma altura del escritorio. "
134
+ "Si ingresas 0, el Spacer se esconderá en móvil. "
135
+
136
+ #: index.php:402
137
+ msgid "eg: 10"
138
+ msgstr "Ej. 10"
139
+
140
+ #: index.php:409
141
+ msgid "Spacer Height Unit On Mobile"
142
+ msgstr "Unidad de Altura de Spacer En Móvil"
143
+
144
+ #: index.php:427
145
+ msgid ""
146
+ "Select a unit of measurement to use with your default spacer height on "
147
+ "mobile devices. This only applies if you have a default spacer height set "
148
+ "for mobile."
149
+ msgstr ""
150
+ "Selecciona una unidad de medida para usar con tu altura predeterminada de "
151
+ "Spacer en dispositivos móviles. Esto solo aplica si tienes una altura "
152
+ "predeterminada de spacer colocada para móvil."
153
+
154
+ #: index.php:435
155
+ msgid "Default Spacer Class (Optional)"
156
+ msgstr "Clase Predeterminada de Spacer (Opcional)"
157
+
158
+ #: index.php:446
159
+ msgid ""
160
+ "Enter a custom css class to apply to all of your spacer elements. Multiple "
161
+ "classes can be added by putting a blank space between each class name"
162
+ msgstr ""
163
+ "Ingresa una clase de CSS personalizada para aplicar a todos lo elementos de "
164
+ "spacer. Se pueden agregar múltiples clases colocando un espacio en blanco "
165
+ "entre cada nombre."
166
+
167
+ #: index.php:447
168
+ msgid "eg: MyClass1 Class2"
169
+ msgstr "Ej. MiClase1 Clase2"
170
+
171
+ #: index.php:453
172
+ msgid "Spacer Style (Optional)"
173
+ msgstr "Estilo de Spacer (Opcional)"
174
+
175
+ #: index.php:464
176
+ msgid ""
177
+ "Enter custom css to apply to all of your spacer elements. This is for "
178
+ "advanced users. Just leave this empty if you're not sure what this means or "
179
+ "if you don't have a use for it."
180
+ msgstr ""
181
+ "Ingresa una CSS personalizada para aplicar a todos los elementos de Spacer. "
182
+ "Esto es para usuarios avanzados. Sólo deja esto vacío si no estás seguro de "
183
+ "lo que significa o si no tienes un uso específico. "
184
+
185
+ #: index.php:465
186
+ msgid "(for example)"
187
+ msgstr "(Por ejemplo)"
188
+
189
+ #: index.php:493
190
+ msgid "Upload Image"
191
+ msgstr "Subir Imagen"
192
+
193
+ #: index.php:499
194
+ msgid "Enter a URL or upload an image."
195
+ msgstr "Ingresar la URL o subir una imagen"
196
+
197
+ #: index.php:505
198
+ msgid "Preview"
199
+ msgstr "Prevista"
200
+
201
+ #: index.php:634
202
+ msgid "Settings"
203
+ msgstr "Ajustes"
204
+
205
+ #: index.php:748 index.php:757 index.php:766
206
+ msgid ""
207
+ "A premium option was not saved. You must first enter your license key to "
208
+ "unlock this premium feature."
209
+ msgstr ""
210
+ "Una Opción Premium no se guardó. Debe primero ingresar su llave de licencia "
211
+ "para abrir esta característica premium"
212
+
213
+ #: index.php:775
214
+ msgid "Premium Only"
215
+ msgstr "Sólo Premium"
languages/motech-spacer-zh_CN.mo ADDED
Binary file
languages/motech-spacer-zh_CN.po ADDED
@@ -0,0 +1,207 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: motech-spacer\n"
4
+ "POT-Creation-Date: 2016-01-28 16:33-0500\n"
5
+ "PO-Revision-Date: 2016-01-31 16:40-0500\n"
6
+ "Last-Translator: \n"
7
+ "Language-Team: \n"
8
+ "Language: en\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.8.6\n"
13
+ "X-Poedit-Basepath: ..\n"
14
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
+ "X-Poedit-KeywordsList: __;_e\n"
16
+ "X-Poedit-SearchPath-0: .\n"
17
+
18
+ #: index.php:75
19
+ msgid "You can now"
20
+ msgstr "您現在可以"
21
+
22
+ #: index.php:75
23
+ msgid "hide spacer on mobile screens"
24
+ msgstr "手機屏幕隱藏 spacer"
25
+
26
+ #: index.php:75
27
+ msgid "or set a custom spacer height for mobile screens."
28
+ msgstr "或者給手機屏幕自定義spacer高度"
29
+
30
+ #: index.php:77
31
+ msgid "Set spacer height for mobile devices"
32
+ msgstr "給手機屏幕自定義spacer間隔高度"
33
+
34
+ #: index.php:77
35
+ msgid "Dismiss this notice"
36
+ msgstr "關閉該通知"
37
+
38
+ #: index.php:252
39
+ msgid "Find me on LinkedIn"
40
+ msgstr "在LinkedIn找我"
41
+
42
+ #: index.php:253
43
+ msgid "Follow me on Twitter"
44
+ msgstr "在 Twitter 跟著我"
45
+
46
+ #: index.php:271
47
+ msgid "NEW! Get Premium &raquo;"
48
+ msgstr "新!增至高級 &raquo;"
49
+
50
+ #: index.php:272
51
+ msgid "Spacer Premium is now available for as low as $20!"
52
+ msgstr "Spacer高級現已低至$ 20!"
53
+
54
+ #: index.php:280
55
+ msgid "Get Premium"
56
+ msgstr "增至高級"
57
+
58
+ #: index.php:281
59
+ msgid "Purchase will be processed via PayPal."
60
+ msgstr "通過Paypal進行購買"
61
+
62
+ #: index.php:282
63
+ msgid ""
64
+ "Every license is valid for the lifetime of the website where it's installed."
65
+ msgstr "每個牌照的有效期在它安裝網站的生命週期。"
66
+
67
+ #: index.php:289
68
+ msgid "Buy 1 Use"
69
+ msgstr "購買一個使用"
70
+
71
+ #: index.php:292
72
+ msgid "1 site license"
73
+ msgstr "1 網站許可證"
74
+
75
+ #: index.php:303
76
+ msgid "Buy"
77
+ msgstr "購買"
78
+
79
+ #: index.php:303
80
+ msgid "Unlimited"
81
+ msgstr "無限"
82
+
83
+ #: index.php:306
84
+ msgid "Unlimited sites forever!"
85
+ msgstr "永遠無限網站"
86
+
87
+ #: index.php:315
88
+ msgid "Cancel"
89
+ msgstr "取消"
90
+
91
+ #: index.php:338
92
+ msgid "Configuration"
93
+ msgstr "配置"
94
+
95
+ #: index.php:345
96
+ msgid "Default Spacer Height"
97
+ msgstr "默认spacer高度"
98
+
99
+ #: index.php:356
100
+ msgid ""
101
+ "Speed up your workflow by setting a default height to apply to your spacers. "
102
+ "Note that you can also enter negative spacing to shift the following content "
103
+ "upwards."
104
+ msgstr ""
105
+ "通過給 spacer 設置默認高度去加快工作流程。請注意,您也可以給 spacer輸入負間距"
106
+ "來上移以下內容。"
107
+
108
+ #: index.php:357
109
+ msgid "eg: 20"
110
+ msgstr "例如:20"
111
+
112
+ #: index.php:364
113
+ msgid "Spacer Height Unit"
114
+ msgstr "spacer高度單元"
115
+
116
+ #: index.php:382
117
+ msgid "Select a unit of measurement to use with your default spacer height."
118
+ msgstr "選擇一個計量單位來使用您的默認 spacer 高度。"
119
+
120
+ #: index.php:390
121
+ msgid "Default Spacer Height On Mobile (Optional)"
122
+ msgstr "手機的默認 spacer 高度"
123
+
124
+ #: index.php:401
125
+ msgid ""
126
+ "Set the default spacer height on mobile devices. If left empty, the spacer "
127
+ "mobile height will be the same as the spacer desktop height. If set to 0, "
128
+ "the spacer will be hidden on mobile."
129
+ msgstr ""
130
+ "在手機設置默認spacer 高度。如果留空,手機的spacer高度將和 Desktop高度相同。如"
131
+ "果設置為零,spacer 將消失。"
132
+
133
+ #: index.php:402
134
+ msgid "eg: 10"
135
+ msgstr "例如:10"
136
+
137
+ #: index.php:409
138
+ msgid "Spacer Height Unit On Mobile"
139
+ msgstr "手機的Spacer高度"
140
+
141
+ #: index.php:427
142
+ msgid ""
143
+ "Select a unit of measurement to use with your default spacer height on "
144
+ "mobile devices. This only applies if you have a default spacer height set "
145
+ "for mobile."
146
+ msgstr ""
147
+ "在手機設備跟默認的 Spacer高度 選擇一個計量單位。這僅適用在已經設置默認 spacer"
148
+ "高度的手機。"
149
+
150
+ #: index.php:435
151
+ msgid "Default Spacer Class (Optional)"
152
+ msgstr "默認 Spacer Class (可選)"
153
+
154
+ #: index.php:446
155
+ msgid ""
156
+ "Enter a custom css class to apply to all of your spacer elements. Multiple "
157
+ "classes can be added by putting a blank space between each class name"
158
+ msgstr ""
159
+ "請輸入自定義的CSS Class至所有spacer元素。多個 classes 可以通過將每個 Class之"
160
+ "間輸入空格而被添加。"
161
+
162
+ #: index.php:447
163
+ msgid "eg: MyClass1 Class2"
164
+ msgstr "例如 MyClass1 Class2"
165
+
166
+ #: index.php:453
167
+ msgid "Spacer Style (Optional)"
168
+ msgstr "Spacer style (可選)"
169
+
170
+ #: index.php:464
171
+ msgid ""
172
+ "Enter custom css to apply to all of your spacer elements. This is for "
173
+ "advanced users. Just leave this empty if you're not sure what this means or "
174
+ "if you don't have a use for it."
175
+ msgstr ""
176
+ "請輸入自定義的CSS Class至所有spacer元素。這是高級用戶。如果你不知道這是什麼意"
177
+ "思,或者如果你不使用它, 請不要填寫它"
178
+
179
+ #: index.php:465
180
+ msgid "(for example)"
181
+ msgstr "(例如)"
182
+
183
+ #: index.php:493
184
+ msgid "Upload Image"
185
+ msgstr "上傳圖片"
186
+
187
+ #: index.php:499
188
+ msgid "Enter a URL or upload an image."
189
+ msgstr "輸入網址或上傳圖片。"
190
+
191
+ #: index.php:505
192
+ msgid "Preview"
193
+ msgstr "預覽"
194
+
195
+ #: index.php:634
196
+ msgid "Settings"
197
+ msgstr "設置"
198
+
199
+ #: index.php:748 index.php:757 index.php:766
200
+ msgid ""
201
+ "A premium option was not saved. You must first enter your license key to "
202
+ "unlock this premium feature."
203
+ msgstr "那高級選項未曾保存。您必須先輸入許可證密鑰來解鎖該高級功能。"
204
+
205
+ #: index.php:775
206
+ msgid "Premium Only"
207
+ msgstr "只供高級"
languages/motech-spacer-zh_TW.mo ADDED
Binary file
languages/motech-spacer-zh_TW.po ADDED
@@ -0,0 +1,207 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: motech-spacer\n"
4
+ "POT-Creation-Date: 2016-01-28 16:33-0500\n"
5
+ "PO-Revision-Date: 2016-01-31 16:40-0500\n"
6
+ "Last-Translator: \n"
7
+ "Language-Team: \n"
8
+ "Language: en\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.8.6\n"
13
+ "X-Poedit-Basepath: ..\n"
14
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
+ "X-Poedit-KeywordsList: __;_e\n"
16
+ "X-Poedit-SearchPath-0: .\n"
17
+
18
+ #: index.php:75
19
+ msgid "You can now"
20
+ msgstr "您現在可以"
21
+
22
+ #: index.php:75
23
+ msgid "hide spacer on mobile screens"
24
+ msgstr "手機屏幕隱藏 spacer"
25
+
26
+ #: index.php:75
27
+ msgid "or set a custom spacer height for mobile screens."
28
+ msgstr "或者給手機屏幕自定義spacer高度"
29
+
30
+ #: index.php:77
31
+ msgid "Set spacer height for mobile devices"
32
+ msgstr "給手機屏幕自定義spacer間隔高度"
33
+
34
+ #: index.php:77
35
+ msgid "Dismiss this notice"
36
+ msgstr "關閉該通知"
37
+
38
+ #: index.php:252
39
+ msgid "Find me on LinkedIn"
40
+ msgstr "在LinkedIn找我"
41
+
42
+ #: index.php:253
43
+ msgid "Follow me on Twitter"
44
+ msgstr "在 Twitter 跟著我"
45
+
46
+ #: index.php:271
47
+ msgid "NEW! Get Premium &raquo;"
48
+ msgstr "新!增至高級 &raquo;"
49
+
50
+ #: index.php:272
51
+ msgid "Spacer Premium is now available for as low as $20!"
52
+ msgstr "Spacer高級現已低至$ 20!"
53
+
54
+ #: index.php:280
55
+ msgid "Get Premium"
56
+ msgstr "增至高級"
57
+
58
+ #: index.php:281
59
+ msgid "Purchase will be processed via PayPal."
60
+ msgstr "通過Paypal進行購買"
61
+
62
+ #: index.php:282
63
+ msgid ""
64
+ "Every license is valid for the lifetime of the website where it's installed."
65
+ msgstr "每個牌照的有效期在它安裝網站的生命週期。"
66
+
67
+ #: index.php:289
68
+ msgid "Buy 1 Use"
69
+ msgstr "購買一個使用"
70
+
71
+ #: index.php:292
72
+ msgid "1 site license"
73
+ msgstr "1 網站許可證"
74
+
75
+ #: index.php:303
76
+ msgid "Buy"
77
+ msgstr "購買"
78
+
79
+ #: index.php:303
80
+ msgid "Unlimited"
81
+ msgstr "無限"
82
+
83
+ #: index.php:306
84
+ msgid "Unlimited sites forever!"
85
+ msgstr "永遠無限網站"
86
+
87
+ #: index.php:315
88
+ msgid "Cancel"
89
+ msgstr "取消"
90
+
91
+ #: index.php:338
92
+ msgid "Configuration"
93
+ msgstr "配置"
94
+
95
+ #: index.php:345
96
+ msgid "Default Spacer Height"
97
+ msgstr "默认spacer高度"
98
+
99
+ #: index.php:356
100
+ msgid ""
101
+ "Speed up your workflow by setting a default height to apply to your spacers. "
102
+ "Note that you can also enter negative spacing to shift the following content "
103
+ "upwards."
104
+ msgstr ""
105
+ "通過給 spacer 設置默認高度去加快工作流程。請注意,您也可以給 spacer輸入負間距"
106
+ "來上移以下內容。"
107
+
108
+ #: index.php:357
109
+ msgid "eg: 20"
110
+ msgstr "例如:20"
111
+
112
+ #: index.php:364
113
+ msgid "Spacer Height Unit"
114
+ msgstr "spacer高度單元"
115
+
116
+ #: index.php:382
117
+ msgid "Select a unit of measurement to use with your default spacer height."
118
+ msgstr "選擇一個計量單位來使用您的默認 spacer 高度。"
119
+
120
+ #: index.php:390
121
+ msgid "Default Spacer Height On Mobile (Optional)"
122
+ msgstr "手機的默認 spacer 高度"
123
+
124
+ #: index.php:401
125
+ msgid ""
126
+ "Set the default spacer height on mobile devices. If left empty, the spacer "
127
+ "mobile height will be the same as the spacer desktop height. If set to 0, "
128
+ "the spacer will be hidden on mobile."
129
+ msgstr ""
130
+ "在手機設置默認spacer 高度。如果留空,手機的spacer高度將和 Desktop高度相同。如"
131
+ "果設置為零,spacer 將消失。"
132
+
133
+ #: index.php:402
134
+ msgid "eg: 10"
135
+ msgstr "例如:10"
136
+
137
+ #: index.php:409
138
+ msgid "Spacer Height Unit On Mobile"
139
+ msgstr "手機的Spacer高度"
140
+
141
+ #: index.php:427
142
+ msgid ""
143
+ "Select a unit of measurement to use with your default spacer height on "
144
+ "mobile devices. This only applies if you have a default spacer height set "
145
+ "for mobile."
146
+ msgstr ""
147
+ "在手機設備跟默認的 Spacer高度 選擇一個計量單位。這僅適用在已經設置默認 spacer"
148
+ "高度的手機。"
149
+
150
+ #: index.php:435
151
+ msgid "Default Spacer Class (Optional)"
152
+ msgstr "默認 Spacer Class (可選)"
153
+
154
+ #: index.php:446
155
+ msgid ""
156
+ "Enter a custom css class to apply to all of your spacer elements. Multiple "
157
+ "classes can be added by putting a blank space between each class name"
158
+ msgstr ""
159
+ "請輸入自定義的CSS Class至所有spacer元素。多個 classes 可以通過將每個 Class之"
160
+ "間輸入空格而被添加。"
161
+
162
+ #: index.php:447
163
+ msgid "eg: MyClass1 Class2"
164
+ msgstr "例如 MyClass1 Class2"
165
+
166
+ #: index.php:453
167
+ msgid "Spacer Style (Optional)"
168
+ msgstr "Spacer style (可選)"
169
+
170
+ #: index.php:464
171
+ msgid ""
172
+ "Enter custom css to apply to all of your spacer elements. This is for "
173
+ "advanced users. Just leave this empty if you're not sure what this means or "
174
+ "if you don't have a use for it."
175
+ msgstr ""
176
+ "請輸入自定義的CSS Class至所有spacer元素。這是高級用戶。如果你不知道這是什麼意"
177
+ "思,或者如果你不使用它, 請不要填寫它"
178
+
179
+ #: index.php:465
180
+ msgid "(for example)"
181
+ msgstr "(例如)"
182
+
183
+ #: index.php:493
184
+ msgid "Upload Image"
185
+ msgstr "上傳圖片"
186
+
187
+ #: index.php:499
188
+ msgid "Enter a URL or upload an image."
189
+ msgstr "輸入網址或上傳圖片。"
190
+
191
+ #: index.php:505
192
+ msgid "Preview"
193
+ msgstr "預覽"
194
+
195
+ #: index.php:634
196
+ msgid "Settings"
197
+ msgstr "設置"
198
+
199
+ #: index.php:748 index.php:757 index.php:766
200
+ msgid ""
201
+ "A premium option was not saved. You must first enter your license key to "
202
+ "unlock this premium feature."
203
+ msgstr "那高級選項未曾保存。您必須先輸入許可證密鑰來解鎖該高級功能。"
204
+
205
+ #: index.php:775
206
+ msgid "Premium Only"
207
+ msgstr "只供高級"
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.clevelandwebdeveloper.com/wordpress-plugins/donate.php
4
  Tags: spacer, spacing, line space
5
  Requires at least: 2.9
6
  Tested up to: 4.4
7
- Stable tag: 2.0.2
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -63,6 +63,11 @@ Here's an example of how you could apply this:
63
 
64
  == Changelog ==
65
 
 
 
 
 
 
66
  = 2.0.2 =
67
  * Resolved 'dismiss notice' bug for users without access
68
 
@@ -81,5 +86,5 @@ Here's an example of how you could apply this:
81
 
82
  == Upgrade Notice ==
83
 
84
- = 2.0.2 =
85
- New: Resolved 'dismiss notice' bug for users without access
4
  Tags: spacer, spacing, line space
5
  Requires at least: 2.9
6
  Tested up to: 4.4
7
+ Stable tag: 2.0.3
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
63
 
64
  == Changelog ==
65
 
66
+ = 2.0.3 =
67
+ * Added dividers on settings page to group the config options logically.
68
+ * Text internationalized so the plugin can easily by translated into other languages.
69
+ * Added translations for Spanish and Chinese.
70
+
71
  = 2.0.2 =
72
  * Resolved 'dismiss notice' bug for users without access
73
 
86
 
87
  == Upgrade Notice ==
88
 
89
+ = 2.0.3 =
90
+ New: Dividers on the settings page group the config options logically. Plugin internationalized and added translations in Spanish and Chinese.