T(-) Countdown - Version 2.2.7

Version Description

  • Added I18n localization support
  • Added German translation
  • Added source to Github: http://github.com/baden03/t-minus-countdown
Download this release

Release Info

Developer baden03
Plugin Icon 128x128 T(-) Countdown
Version 2.2.7
Comparing to
See all releases

Code changes from version 2.2.6 to 2.2.7

countdown-timer.php CHANGED
@@ -1,9 +1,11 @@
1
  <?php
2
  /*
3
  Plugin Name: T(-) Countdown
 
 
4
  Plugin URI: http://plugins.twinpictures.de/plugins/t-minus-countdown/
5
  Description: Display and configure multiple T(-) Countdown timers using a shortcode or sidebar widget.
6
- Version: 2.2.6
7
  Author: twinpictures, baden03
8
  Author URI: http://www.twinpictures.de/
9
  License: GPL2
@@ -32,9 +34,8 @@ function countdown_scripts(){
32
  //delete the old style system
33
  delete_option( 't-minus_styles' );
34
  //add version check
35
- add_option('t-minus_version', '2.2.6');
36
  }
37
-
38
  $styles_arr = array("TIE-fighter","c-3po","c-3po-mini","carbonite","carbonlite","darth","jedi");
39
  add_option('t-minus_styles', $styles_arr);
40
  $plugin_url = plugins_url() .'/'. dirname( plugin_basename(__FILE__) );
@@ -70,7 +71,7 @@ function countdown_scripts(){
70
  }
71
  add_action( 'init', 'countdown_scripts' );
72
 
73
- //set the locaiton to throbber in a var
74
  /*
75
  function throbber_location() {
76
  echo '<script type="text/javascript"> var throbber_url = "'.plugins_url() .'/'. dirname( plugin_basename(__FILE__) ).'/js/throbber.js"; </script>';
@@ -102,8 +103,8 @@ add_option('rockstar', '');
102
  class CountDownTimer extends WP_Widget {
103
  /** constructor */
104
  function CountDownTimer() {
105
- //parent::WP_Widget(false, $name = 'CountDownTimer');
106
- $widget_ops = array('classname' => 'CountDownTimer', 'description' => __('A highly customizable jQuery countdown timer by Twinpictures') );
107
  $this->WP_Widget('CountDownTimer', 'T(-) Countdown', $widget_ops);
108
  }
109
 
@@ -116,8 +117,8 @@ class CountDownTimer extends WP_Widget {
116
  wp_enqueue_style( 'countdown-'.$style.'-css' );
117
 
118
  $title = empty($instance['title']) ? ' ' : apply_filters('widget_title', $instance['title']);
119
- $tophtml = empty($instance['tophtml']) ? ' ' : apply_filters('widget_tophtml', $instance['tophtml']);
120
- $bothtml = empty($instance['bothtml']) ? ' ' : apply_filters('widget_bothtml', $instance['bothtml']);
121
  $launchhtml = empty($instance['launchhtml']) ? ' ' : apply_filters('widget_launchhtml', $instance['launchhtml']);
122
  $launchtarget = empty($instance['launchtarget']) ? 'After Countdown' : apply_filters('widget_launchtarget', $instance['launchtarget']);
123
 
@@ -130,29 +131,19 @@ class CountDownTimer extends WP_Widget {
130
  $min = empty($instance['min']) ? 12 : apply_filters('widget_min', $instance['min']);
131
  $sec = empty($instance['sec']) ? 20 : apply_filters('widget_sec', $instance['sec']);
132
 
133
- $weektitle = empty($instance['weektitle']) ? 'weeks' : apply_filters('widget_weektitle', $instance['weektitle']);
134
- $daytitle = empty($instance['daytitle']) ? 'days' : apply_filters('widget_daytitle', $instance['daytitle']);
135
- $hourtitle = empty($instance['hourtitle']) ? 'hours' : apply_filters('widget_hourtitle', $instance['hourtitle']);
136
- $mintitle = empty($instance['mintitle']) ? 'minutes' : apply_filters('widget_mintitle', $instance['mintitle']);
137
- $sectitle = empty($instance['sectitle']) ? 'seconds' : apply_filters('widget_sectitle', $instance['sectitle']);
 
138
  $omitweeks = empty($instance['omitweeks']) ? 'false' : apply_filters('widget_omitweeks', $instance['omitweeks']);
139
  $jsplacement = empty($instance['jsplacement']) ? 'footer' : apply_filters('widget_jsplacement', $instance['jsplacement']);
140
 
141
  //now
142
  $now = time() + ( get_option( 'gmt_offset' ) * 3600);
143
-
144
- //target
145
- /*
146
- $target = mktime(
147
- $hour,
148
- $min,
149
- $sec,
150
- $month,
151
- $day,
152
- $year
153
- );
154
- */
155
-
156
  $target = strtotime( $date.' '.$hour.':'.$min.':'.$sec );
157
 
158
  //difference in seconds
@@ -382,11 +373,11 @@ class CountDownTimer extends WP_Widget {
382
  $style = empty($instance['style']) ? 'jedi' : apply_filters('widget_style', $instance['style']);
383
  $jsplacement = empty($instance['jsplacement']) ? 'footer' : apply_filters('widget_jsplacement', $instance['jsplacement']);
384
 
385
- $weektitle = empty($instance['weektitle']) ? 'weeks' : apply_filters('widget_weektitle', stripslashes($instance['weektitle']));
386
- $daytitle = empty($instance['daytitle']) ? 'days' : apply_filters('widget_daytitle', stripslashes($instance['daytitle']));
387
- $hourtitle = empty($instance['hourtitle']) ? 'hours' : apply_filters('widget_hourtitle', stripslashes($instance['hourtitle']));
388
- $mintitle = empty($instance['mintitle']) ? 'minutes' : apply_filters('widget_mintitle', stripslashes($instance['mintitle']));
389
- $sectitle = empty($instance['sectitle']) ? 'seconds' : apply_filters('widget_sectitle', stripslashes($instance['sectitle']));
390
 
391
  $isrockstar = get_option('rockstar');
392
 
@@ -398,11 +389,11 @@ class CountDownTimer extends WP_Widget {
398
  $launchtarget = empty($instance['launchtarget']) ? 'After Counter' : apply_filters('widget_launchtarget', $instance['launchtarget']);
399
  }
400
  ?>
401
- <p><label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title:'); ?> <input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo $title; ?>" /></label></p>
402
- <p><label for="<?php echo $this->get_field_id('date'); ?>"><?php _e('Target Date:'); ?></label><br/><input style="width: 90px;" id="<?php echo $this->get_field_id('date'); ?>" name="<?php echo $this->get_field_name('date'); ?>" type="text" value="<?php echo $date; ?>" class="t-datepicker"/></p>
403
- <p><label for="<?php echo $this->get_field_id('hour'); ?>"><?php _e('Target Time (HH:MM:SS):'); ?></label><br/><input style="width: 30px;" id="<?php echo $this->get_field_id('hour'); ?>" name="<?php echo $this->get_field_name('hour'); ?>" type="text" value="<?php echo $hour; ?>" />:<input style="width: 30px;" id="<?php echo $this->get_field_id('min'); ?>" name="<?php echo $this->get_field_name('min'); ?>" type="text" value="<?php echo $min; ?>" />:<input style="width: 30px;" id="<?php echo $this->get_field_id('sec'); ?>" name="<?php echo $this->get_field_name('sec'); ?>" type="text" value="<?php echo $sec; ?>" /></p>
404
  <?php
405
- //Omit Week Slector
406
  $negative = '';
407
  $positive = '';
408
  if($omitweeks == 'false'){
@@ -411,7 +402,7 @@ class CountDownTimer extends WP_Widget {
411
  $positive = 'CHECKED';
412
  }
413
 
414
- //JS Placement Slector
415
  $foot = '';
416
  $inline = '';
417
  if($jsplacement == 'footer'){
@@ -420,8 +411,8 @@ class CountDownTimer extends WP_Widget {
420
  $inline = 'CHECKED';
421
  }
422
  ?>
423
- <p><?php _e('Omit Weeks:'); ?> <input id="<?php echo $this->get_field_id('omitweeks'); ?>-no" name="<?php echo $this->get_field_name('omitweeks'); ?>" type="radio" <?php echo $negative; ?> value="false" /><label for="<?php echo $this->get_field_id('omitweeks'); ?>-no"> <?php _e('No'); ?> </label> <input id="<?php echo $this->get_field_id('omitweeks'); ?>-yes" name="<?php echo $this->get_field_name('omitweeks'); ?>" type="radio" <?php echo $positive; ?> value="true" /> <label for="<?php echo $this->get_field_id('omitweeks'); ?>-yes"> <?php _e('Yes'); ?></label></p>
424
- <p><?php _e('Style:'); ?> <select name="<?php echo $this->get_field_name('style'); ?>" id="<?php echo $this->get_field_name('style'); ?>">
425
  <?php
426
 
427
  $styles_arr = folder_array(WP_PLUGIN_DIR.'/'. dirname( plugin_basename(__FILE__) ).'/css');
@@ -435,36 +426,36 @@ class CountDownTimer extends WP_Widget {
435
  }
436
  ?>
437
  </select></p>
438
- <p><?php _e('Inject Script:'); ?> <input id="<?php echo $this->get_field_id('jsplacement'); ?>-foot" name="<?php echo $this->get_field_name('jsplacement'); ?>" type="radio" <?php echo $foot; ?> value="footer" /><label for="<?php echo $this->get_field_id('jsplacement'); ?>-foot"> <?php _e('Footer'); ?> </label> <input id="<?php echo $this->get_field_id('jsplacement'); ?>-inline" name="<?php echo $this->get_field_name('jsplacement'); ?>" type="radio" <?php echo $inline; ?> value="inline" /> <label for="<?php echo $this->get_field_id('jsplacement'); ?>-inline"> <?php _e('Inline'); ?></label></p>
439
 
440
  <input class="isrockstar" id="<?php echo $this->get_field_id('isrockstar'); ?>" name="<?php echo $this->get_field_name('isrockstar'); ?>" type="hidden" value="<?php echo $isrockstar; ?>" />
441
  <?php
442
  if($isrockstar){
443
- echo __($isrockstar).'<br/>';
444
  }
445
  else{
446
  ?>
447
- <p id="header-<?php echo $this->get_field_id('unlock'); ?>"><input class="rockstar" id="<?php echo $this->get_field_id('unlock'); ?>" name="<?php echo $this->get_field_name('unlock'); ?>" type="checkbox" value="" /> <label for="<?php echo $this->get_field_id('unlock'); ?>"><?php _e('This is totally worth 3 bucks.'); ?></label></p>
448
  <div id="target-<?php echo $this->get_field_id('unlock'); ?>" class="collapseomatic_content">
449
  <?php
450
  }
451
 
452
  if($isrockstar){
453
  ?>
454
- <a class="collapseomatic" id="tophtml<?php echo $this->get_field_id('tophtml'); ?>"><?php _e('Above Countdown'); ?></a>
455
  <div id="target-tophtml<?php echo $this->get_field_id('tophtml'); ?>" class="collapseomatic_content">
456
- <p><label for="<?php echo $this->get_field_id('tophtml'); ?>"><?php _e('Top HTML:'); ?></label> <textarea id="<?php echo $this->get_field_id('tophtml'); ?>" name="<?php echo $this->get_field_name('tophtml'); ?>"><?php echo $tophtml; ?></textarea></p>
457
  </div>
458
  <br/>
459
- <a class="collapseomatic" id="bothtml<?php echo $this->get_field_id('bothtml'); ?>"><?php _e('Below Countdown'); ?></a>
460
  <div id="target-bothtml<?php echo $this->get_field_id('bothtml'); ?>" class="collapseomatic_content">
461
- <p><label for="<?php echo $this->get_field_id('bothtml'); ?>"><?php _e('Bottom HTML:'); ?></label> <textarea id="<?php echo $this->get_field_id('bothtml'); ?>" name="<?php echo $this->get_field_name('bothtml'); ?>"><?php echo $bothtml; ?></textarea></p>
462
  </div>
463
  <br/>
464
- <a class="collapseomatic" id="launchhtml<?php echo $this->get_field_id('launchhtml'); ?>"><?php _e('When Countdown Reaches Zero'); ?></a>
465
  <div id="target-launchhtml<?php echo $this->get_field_id('launchhtml'); ?>" class="collapseomatic_content">
466
- <p><label for="<?php echo $this->get_field_id('launchhtml'); ?>"><?php _e('Launch Event HTML:'); ?></label> <textarea id="<?php echo $this->get_field_id('launchhtml'); ?>" name="<?php echo $this->get_field_name('launchhtml'); ?>"><?php echo $launchhtml; ?></textarea></p>
467
- <p><?php _e('Launch Target:'); ?> <select name="<?php echo $this->get_field_name('launchtarget'); ?>" id="<?php echo $this->get_field_name('launchtarget'); ?>">
468
  <?php
469
  $target_arr = array('Above Countdown', 'Below Countdown', 'Entire Widget', 'Count Up');
470
  foreach($target_arr as $target_name){
@@ -472,19 +463,19 @@ class CountDownTimer extends WP_Widget {
472
  if($launchtarget == $target_name){
473
  $selected = 'SELECTED';
474
  }
475
- echo '<option value="'.$target_name.'" '.$selected.'>'.__($target_name).'</option>';
476
  }
477
  ?>
478
  </select></p>
479
  </div>
480
  <br/>
481
- <a class="collapseomatic" id="titles<?php echo $this->get_field_id('weektitle'); ?>"><?php _e('Digit Titles'); ?></a>
482
  <div id="target-titles<?php echo $this->get_field_id('weektitle'); ?>" class="collapseomatic_content">
483
- <p><label for="<?php echo $this->get_field_id('weektitle'); ?>"><?php _e('How do you spell "weeks"?:'); ?> <input class="widefat" id="<?php echo $this->get_field_id('weektitle'); ?>" name="<?php echo $this->get_field_name('weektitle'); ?>" type="text" value="<?php echo $weektitle; ?>" /></label></p>
484
- <p><label for="<?php echo $this->get_field_id('daytitle'); ?>"><?php _e('How do you spell "days"?:'); ?> <input class="widefat" id="<?php echo $this->get_field_id('daytitle'); ?>" name="<?php echo $this->get_field_name('daytitle'); ?>" type="text" value="<?php echo $daytitle; ?>" /></label></p>
485
- <p><label for="<?php echo $this->get_field_id('hourtitle'); ?>"><?php _e('How do you spell "hours"?:'); ?> <input class="widefat" id="<?php echo $this->get_field_id('hourtitle'); ?>" name="<?php echo $this->get_field_name('hourtitle'); ?>" type="text" value="<?php echo $hourtitle; ?>" /></label></p>
486
- <p><label for="<?php echo $this->get_field_id('mintitle'); ?>"><?php _e('How do you spell "minutes"?:'); ?> <input class="widefat" id="<?php echo $this->get_field_id('mintitle'); ?>" name="<?php echo $this->get_field_name('mintitle'); ?>" type="text" value="<?php echo $mintitle; ?>" /></label></p>
487
- <p><label for="<?php echo $this->get_field_id('sectitle'); ?>"><?php _e('And "seconds" are spelled:'); ?> <input class="widefat" id="<?php echo $this->get_field_id('sectitle'); ?>" name="<?php echo $this->get_field_name('sectitle'); ?>" type="text" value="<?php echo $sectitle; ?>" /></label></p>
488
  </div>
489
 
490
  <?php
@@ -495,9 +486,9 @@ class CountDownTimer extends WP_Widget {
495
 
496
  ?>
497
  <br/>
498
- <a class="collapseomatic" id="tccc<?php echo $this->get_field_id('isrockstar'); ?>"><?php _e('Schedule Recurring Countdown'); ?></a>
499
  <div id="target-tccc<?php echo $this->get_field_id('isrockstar'); ?>" class="collapseomatic_content">
500
- <p><a href="http://plugins.twinpictures.de/premium-plugins/t-minus-countdown-control/" target="_blank" title="T(-) Countdown Control">T(-) Countdown Control</a> is a premium countdown plugin that includes the ability to schedule and manage mulitple recurring T(-) Countdowns... the Jedi way.</p>
501
  </div>
502
  <?php
503
  }
@@ -560,11 +551,11 @@ function tminuscountdown($atts, $content=null) {
560
  extract(shortcode_atts(array(
561
  'id' => $ran,
562
  't' => '20-12-2012 20:12:20',
563
- 'weeks' => 'weeks',
564
- 'days' => 'days',
565
- 'hours' => 'hours',
566
- 'minutes' => 'minutes',
567
- 'seconds' => 'seconds',
568
  'omitweeks' => 'false',
569
  'style' => 'jedi',
570
  'before' => '',
@@ -672,7 +663,7 @@ function tminuscountdown($atts, $content=null) {
672
  }
673
 
674
  $tminus .= '<div class="'.$dclass.'"><span class="'.$style.'-dash_title">'.$days.'</span>';
675
- //show thrid day digit if there are NO weeks and the number of days is greater that 99
676
  if($omitweeks == 'true' && $date_arr['days'][3] > 99){
677
  $tminus .= '<div class="'.$style.'-digit">'.$date_arr['days'][0].'</div>';
678
  }
1
  <?php
2
  /*
3
  Plugin Name: T(-) Countdown
4
+ Text Domain: tminus
5
+ Domain Path: /languages
6
  Plugin URI: http://plugins.twinpictures.de/plugins/t-minus-countdown/
7
  Description: Display and configure multiple T(-) Countdown timers using a shortcode or sidebar widget.
8
+ Version: 2.2.7
9
  Author: twinpictures, baden03
10
  Author URI: http://www.twinpictures.de/
11
  License: GPL2
34
  //delete the old style system
35
  delete_option( 't-minus_styles' );
36
  //add version check
37
+ add_option('t-minus_version', '2.2.7');
38
  }
 
39
  $styles_arr = array("TIE-fighter","c-3po","c-3po-mini","carbonite","carbonlite","darth","jedi");
40
  add_option('t-minus_styles', $styles_arr);
41
  $plugin_url = plugins_url() .'/'. dirname( plugin_basename(__FILE__) );
71
  }
72
  add_action( 'init', 'countdown_scripts' );
73
 
74
+ //set the location to throbber in a var
75
  /*
76
  function throbber_location() {
77
  echo '<script type="text/javascript"> var throbber_url = "'.plugins_url() .'/'. dirname( plugin_basename(__FILE__) ).'/js/throbber.js"; </script>';
103
  class CountDownTimer extends WP_Widget {
104
  /** constructor */
105
  function CountDownTimer() {
106
+ load_plugin_textdomain( 'tminus', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
107
+ $widget_ops = array('classname' => 'CountDownTimer', 'description' => __('A highly customizable jQuery countdown timer by Twinpictures', 'tminus') );
108
  $this->WP_Widget('CountDownTimer', 'T(-) Countdown', $widget_ops);
109
  }
110
 
117
  wp_enqueue_style( 'countdown-'.$style.'-css' );
118
 
119
  $title = empty($instance['title']) ? ' ' : apply_filters('widget_title', $instance['title']);
120
+ $tophtml = empty($instance['tophtml']) ? ' ' : apply_filters('widget_tophtml', stripslashes($instance['tophtml']));
121
+ $bothtml = empty($instance['bothtml']) ? ' ' : apply_filters('widget_bothtml', stripslashes($instance['bothtml']));
122
  $launchhtml = empty($instance['launchhtml']) ? ' ' : apply_filters('widget_launchhtml', $instance['launchhtml']);
123
  $launchtarget = empty($instance['launchtarget']) ? 'After Countdown' : apply_filters('widget_launchtarget', $instance['launchtarget']);
124
 
131
  $min = empty($instance['min']) ? 12 : apply_filters('widget_min', $instance['min']);
132
  $sec = empty($instance['sec']) ? 20 : apply_filters('widget_sec', $instance['sec']);
133
 
134
+ $weektitle = empty($instance['weektitle']) ? __('weeks', 'tminus') : apply_filters('widget_weektitle', stripslashes($instance['weektitle']));
135
+ $daytitle = empty($instance['daytitle']) ? __('days', 'tminus') : apply_filters('widget_daytitle', stripslashes($instance['daytitle']));
136
+ $hourtitle = empty($instance['hourtitle']) ? __('hours', 'tminus') : apply_filters('widget_hourtitle', stripslashes($instance['hourtitle']));
137
+ $mintitle = empty($instance['mintitle']) ? __('minutes', 'tminus') : apply_filters('widget_mintitle', stripslashes($instance['mintitle']));
138
+ $sectitle = empty($instance['sectitle']) ? __('seconds', 'tminus') : apply_filters('widget_sectitle', stripslashes($instance['sectitle']));
139
+
140
  $omitweeks = empty($instance['omitweeks']) ? 'false' : apply_filters('widget_omitweeks', $instance['omitweeks']);
141
  $jsplacement = empty($instance['jsplacement']) ? 'footer' : apply_filters('widget_jsplacement', $instance['jsplacement']);
142
 
143
  //now
144
  $now = time() + ( get_option( 'gmt_offset' ) * 3600);
145
+
146
+ //target
 
 
 
 
 
 
 
 
 
 
 
147
  $target = strtotime( $date.' '.$hour.':'.$min.':'.$sec );
148
 
149
  //difference in seconds
373
  $style = empty($instance['style']) ? 'jedi' : apply_filters('widget_style', $instance['style']);
374
  $jsplacement = empty($instance['jsplacement']) ? 'footer' : apply_filters('widget_jsplacement', $instance['jsplacement']);
375
 
376
+ $weektitle = empty($instance['weektitle']) ? __('weeks', 'tminus') : apply_filters('widget_weektitle', stripslashes($instance['weektitle']));
377
+ $daytitle = empty($instance['daytitle']) ? __('days', 'tminus') : apply_filters('widget_daytitle', stripslashes($instance['daytitle']));
378
+ $hourtitle = empty($instance['hourtitle']) ? __('hours', 'tminus') : apply_filters('widget_hourtitle', stripslashes($instance['hourtitle']));
379
+ $mintitle = empty($instance['mintitle']) ? __('minutes', 'tminus') : apply_filters('widget_mintitle', stripslashes($instance['mintitle']));
380
+ $sectitle = empty($instance['sectitle']) ? __('seconds', 'tminus') : apply_filters('widget_sectitle', stripslashes($instance['sectitle']));
381
 
382
  $isrockstar = get_option('rockstar');
383
 
389
  $launchtarget = empty($instance['launchtarget']) ? 'After Counter' : apply_filters('widget_launchtarget', $instance['launchtarget']);
390
  }
391
  ?>
392
+ <p><label for="<?php echo $this->get_field_id('title'); ?>"><?php _e('Title:', 'tminus'); ?> <input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo $title; ?>" /></label></p>
393
+ <p><label for="<?php echo $this->get_field_id('date'); ?>"><?php _e('Target Date:', 'tminus'); ?></label><br/><input style="width: 90px;" id="<?php echo $this->get_field_id('date'); ?>" name="<?php echo $this->get_field_name('date'); ?>" type="text" value="<?php echo $date; ?>" class="t-datepicker"/></p>
394
+ <p><label for="<?php echo $this->get_field_id('hour'); ?>"><?php _e('Target Time (HH:MM:SS):', 'tminus'); ?></label><br/><input style="width: 30px;" id="<?php echo $this->get_field_id('hour'); ?>" name="<?php echo $this->get_field_name('hour'); ?>" type="text" value="<?php echo $hour; ?>" />:<input style="width: 30px;" id="<?php echo $this->get_field_id('min'); ?>" name="<?php echo $this->get_field_name('min'); ?>" type="text" value="<?php echo $min; ?>" />:<input style="width: 30px;" id="<?php echo $this->get_field_id('sec'); ?>" name="<?php echo $this->get_field_name('sec'); ?>" type="text" value="<?php echo $sec; ?>" /></p>
395
  <?php
396
+ //Omit Week Selector
397
  $negative = '';
398
  $positive = '';
399
  if($omitweeks == 'false'){
402
  $positive = 'CHECKED';
403
  }
404
 
405
+ //JS Placement Selector
406
  $foot = '';
407
  $inline = '';
408
  if($jsplacement == 'footer'){
411
  $inline = 'CHECKED';
412
  }
413
  ?>
414
+ <p><?php _e('Omit Weeks:', 'tminus'); ?> <input id="<?php echo $this->get_field_id('omitweeks'); ?>-no" name="<?php echo $this->get_field_name('omitweeks'); ?>" type="radio" <?php echo $negative; ?> value="false" /><label for="<?php echo $this->get_field_id('omitweeks'); ?>-no"> <?php _e('No', 'tminus'); ?> </label> <input id="<?php echo $this->get_field_id('omitweeks'); ?>-yes" name="<?php echo $this->get_field_name('omitweeks'); ?>" type="radio" <?php echo $positive; ?> value="true" /> <label for="<?php echo $this->get_field_id('omitweeks'); ?>-yes"> <?php _e('Yes', 'tminus'); ?></label></p>
415
+ <p><?php _e('Style:', 'tminus'); ?> <select name="<?php echo $this->get_field_name('style'); ?>" id="<?php echo $this->get_field_name('style'); ?>">
416
  <?php
417
 
418
  $styles_arr = folder_array(WP_PLUGIN_DIR.'/'. dirname( plugin_basename(__FILE__) ).'/css');
426
  }
427
  ?>
428
  </select></p>
429
+ <p><?php _e('Inject Script:', 'tminus'); ?> <input id="<?php echo $this->get_field_id('jsplacement'); ?>-foot" name="<?php echo $this->get_field_name('jsplacement'); ?>" type="radio" <?php echo $foot; ?> value="footer" /><label for="<?php echo $this->get_field_id('jsplacement'); ?>-foot"> <?php _e('Footer', 'tminus'); ?> </label> <input id="<?php echo $this->get_field_id('jsplacement'); ?>-inline" name="<?php echo $this->get_field_name('jsplacement'); ?>" type="radio" <?php echo $inline; ?> value="inline" /> <label for="<?php echo $this->get_field_id('jsplacement'); ?>-inline"> <?php _e('Inline', 'tminus'); ?></label></p>
430
 
431
  <input class="isrockstar" id="<?php echo $this->get_field_id('isrockstar'); ?>" name="<?php echo $this->get_field_name('isrockstar'); ?>" type="hidden" value="<?php echo $isrockstar; ?>" />
432
  <?php
433
  if($isrockstar){
434
+ echo __('Rockstar Features', 'tminus').'<br/>';
435
  }
436
  else{
437
  ?>
438
+ <p id="header-<?php echo $this->get_field_id('unlock'); ?>"><input class="rockstar" id="<?php echo $this->get_field_id('unlock'); ?>" name="<?php echo $this->get_field_name('unlock'); ?>" type="checkbox" value="" /> <label for="<?php echo $this->get_field_id('unlock'); ?>"><?php _e('This is totally worth 3 bucks.', 'tminus'); ?></label></p>
439
  <div id="target-<?php echo $this->get_field_id('unlock'); ?>" class="collapseomatic_content">
440
  <?php
441
  }
442
 
443
  if($isrockstar){
444
  ?>
445
+ <a class="collapseomatic" id="tophtml<?php echo $this->get_field_id('tophtml'); ?>"><?php _e('Above Countdown', 'tminus'); ?></a>
446
  <div id="target-tophtml<?php echo $this->get_field_id('tophtml'); ?>" class="collapseomatic_content">
447
+ <p><label for="<?php echo $this->get_field_id('tophtml'); ?>"><?php _e('Top HTML:', 'tminus'); ?></label> <textarea id="<?php echo $this->get_field_id('tophtml'); ?>" name="<?php echo $this->get_field_name('tophtml'); ?>"><?php echo $tophtml; ?></textarea></p>
448
  </div>
449
  <br/>
450
+ <a class="collapseomatic" id="bothtml<?php echo $this->get_field_id('bothtml'); ?>"><?php _e('Below Countdown', 'tminus'); ?></a>
451
  <div id="target-bothtml<?php echo $this->get_field_id('bothtml'); ?>" class="collapseomatic_content">
452
+ <p><label for="<?php echo $this->get_field_id('bothtml'); ?>"><?php _e('Bottom HTML:', 'tminus'); ?></label> <textarea id="<?php echo $this->get_field_id('bothtml'); ?>" name="<?php echo $this->get_field_name('bothtml'); ?>"><?php echo $bothtml; ?></textarea></p>
453
  </div>
454
  <br/>
455
+ <a class="collapseomatic" id="launchhtml<?php echo $this->get_field_id('launchhtml'); ?>"><?php _e('When Countdown Reaches Zero', 'tminus'); ?></a>
456
  <div id="target-launchhtml<?php echo $this->get_field_id('launchhtml'); ?>" class="collapseomatic_content">
457
+ <p><label for="<?php echo $this->get_field_id('launchhtml'); ?>"><?php _e('Launch Event HTML:', 'tminus'); ?></label> <textarea id="<?php echo $this->get_field_id('launchhtml'); ?>" name="<?php echo $this->get_field_name('launchhtml'); ?>"><?php echo $launchhtml; ?></textarea></p>
458
+ <p><?php _e('Launch Target:', 'tminus'); ?> <select name="<?php echo $this->get_field_name('launchtarget'); ?>" id="<?php echo $this->get_field_name('launchtarget'); ?>">
459
  <?php
460
  $target_arr = array('Above Countdown', 'Below Countdown', 'Entire Widget', 'Count Up');
461
  foreach($target_arr as $target_name){
463
  if($launchtarget == $target_name){
464
  $selected = 'SELECTED';
465
  }
466
+ echo '<option value="'.$target_name.'" '.$selected.'>'.__($target_name, "tminus").'</option>';
467
  }
468
  ?>
469
  </select></p>
470
  </div>
471
  <br/>
472
+ <a class="collapseomatic" id="titles<?php echo $this->get_field_id('weektitle'); ?>"><?php _e('Digit Titles', 'tminus'); ?></a>
473
  <div id="target-titles<?php echo $this->get_field_id('weektitle'); ?>" class="collapseomatic_content">
474
+ <p><label for="<?php echo $this->get_field_id('weektitle'); ?>"><?php _e('How do you spell "weeks"?:', 'tminus'); ?> <input class="widefat" id="<?php echo $this->get_field_id('weektitle'); ?>" name="<?php echo $this->get_field_name('weektitle'); ?>" type="text" value="<?php echo $weektitle; ?>" /></label></p>
475
+ <p><label for="<?php echo $this->get_field_id('daytitle'); ?>"><?php _e('How do you spell "days"?:', 'tminus'); ?> <input class="widefat" id="<?php echo $this->get_field_id('daytitle'); ?>" name="<?php echo $this->get_field_name('daytitle'); ?>" type="text" value="<?php echo $daytitle; ?>" /></label></p>
476
+ <p><label for="<?php echo $this->get_field_id('hourtitle'); ?>"><?php _e('How do you spell "hours"?:', 'tminus'); ?> <input class="widefat" id="<?php echo $this->get_field_id('hourtitle'); ?>" name="<?php echo $this->get_field_name('hourtitle'); ?>" type="text" value="<?php echo $hourtitle; ?>" /></label></p>
477
+ <p><label for="<?php echo $this->get_field_id('mintitle'); ?>"><?php _e('How do you spell "minutes"?:', 'tminus'); ?> <input class="widefat" id="<?php echo $this->get_field_id('mintitle'); ?>" name="<?php echo $this->get_field_name('mintitle'); ?>" type="text" value="<?php echo $mintitle; ?>" /></label></p>
478
+ <p><label for="<?php echo $this->get_field_id('sectitle'); ?>"><?php _e('And "seconds" are spelled:', 'tminus'); ?> <input class="widefat" id="<?php echo $this->get_field_id('sectitle'); ?>" name="<?php echo $this->get_field_name('sectitle'); ?>" type="text" value="<?php echo $sectitle; ?>" /></label></p>
479
  </div>
480
 
481
  <?php
486
 
487
  ?>
488
  <br/>
489
+ <a class="collapseomatic" id="tccc<?php echo $this->get_field_id('isrockstar'); ?>"><?php _e('Schedule Recurring Countdown', 'tminus'); ?></a>
490
  <div id="target-tccc<?php echo $this->get_field_id('isrockstar'); ?>" class="collapseomatic_content">
491
+ <p><?php printf(__('%sT(-) Countdown Control%s is a premium countdown plugin that includes the ability to schedule and manage multiple recurring T(-) Countdowns... the Jedi way.', 'tminus'), '<a href="http://plugins.twinpictures.de/premium-plugins/t-minus-countdown-control/" target="blank" title="(-) Countdown Control">', '</a>'); ?></p>
492
  </div>
493
  <?php
494
  }
551
  extract(shortcode_atts(array(
552
  'id' => $ran,
553
  't' => '20-12-2012 20:12:20',
554
+ 'weeks' => __('weeks', 'tminus'),
555
+ 'days' => __('days', 'tminus'),
556
+ 'hours' => __('hours', 'tminus'),
557
+ 'minutes' => __('minutes', 'tminus'),
558
+ 'seconds' => __('seconds', 'tminus'),
559
  'omitweeks' => 'false',
560
  'style' => 'jedi',
561
  'before' => '',
663
  }
664
 
665
  $tminus .= '<div class="'.$dclass.'"><span class="'.$style.'-dash_title">'.$days.'</span>';
666
+ //show third day digit if there are NO weeks and the number of days is greater that 99
667
  if($omitweeks == 'true' && $date_arr['days'][3] > 99){
668
  $tminus .= '<div class="'.$style.'-digit">'.$date_arr['days'][0].'</div>';
669
  }
languages/tminus-de_DE.mo ADDED
Binary file
languages/tminus-de_DE.po ADDED
@@ -0,0 +1,166 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Translation of T(-) Countdown in German
2
+ # This file is distributed under the same license as the T(-) Countdown package.
3
+ msgid ""
4
+ msgstr ""
5
+ "PO-Revision-Date: 2012-09-27 15:16:13+0000\n"
6
+ "MIME-Version: 1.0\n"
7
+ "Content-Type: text/plain; charset=UTF-8\n"
8
+ "Content-Transfer-Encoding: 8bit\n"
9
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
10
+ "X-Generator: GlotPress/0.1\n"
11
+ "Project-Id-Version: T(-) Countdown\n"
12
+
13
+ #: tminus.php:134 tminus.php:376 tminus.php:554
14
+ msgid "weeks"
15
+ msgstr "Wochen"
16
+
17
+ #: tminus.php:135 tminus.php:377 tminus.php:555
18
+ msgid "days"
19
+ msgstr "Tage"
20
+
21
+ #: tminus.php:136 tminus.php:378 tminus.php:556
22
+ msgid "hours"
23
+ msgstr "Stunden"
24
+
25
+ #: tminus.php:137 tminus.php:379 tminus.php:557
26
+ msgid "minutes"
27
+ msgstr "Minuten"
28
+
29
+ #: tminus.php:138 tminus.php:380 tminus.php:558
30
+ msgid "seconds"
31
+ msgstr "Sekunden"
32
+
33
+ #: tminus.php:434
34
+ msgid "Rockstar Features"
35
+ msgstr "Rockstar Features"
36
+
37
+ #: countdown-timer.php:462
38
+ msgid "Entire Widget"
39
+ msgstr "Komplettes Widget"
40
+
41
+ #: countdown-timer.php:462
42
+ msgid "Count Up"
43
+ msgstr "Hochzählen"
44
+
45
+ #: tminus.php:491
46
+ msgid "%sT(-) Countdown Control%s is a premium countdown plugin that includes the ability to schedule and manage multiple recurring T(-) Countdowns... the Jedi way."
47
+ msgstr "%sT(-) Countdown Control%s ist ein Premium Countdown Plugin, das mehrere wiederholende Countdowns erstellen und managen kann ... the Jedi way. "
48
+
49
+ msgid "T(-) Countdown"
50
+ msgstr "T(-) Countdown"
51
+
52
+ msgid "http://plugins.twinpictures.de/plugins/t-minus-countdown/"
53
+ msgstr "http://plugins.twinpictures.de/plugins/t-minus-countdown/"
54
+
55
+ msgid "twinpictures, baden03"
56
+ msgstr "twinpictures, baden03"
57
+
58
+ msgid "http://www.twinpictures.de/"
59
+ msgstr "http://www.twinpictures.de/"
60
+
61
+ #: tminus.php:107
62
+ msgid "A highly customizable jQuery countdown timer by Twinpictures"
63
+ msgstr "Ein flexibel anpassbarer JQuery Countdown Timer von Twinpictures"
64
+
65
+ #: tminus.php:392
66
+ msgid "Title:"
67
+ msgstr "Titel:"
68
+
69
+ #: tminus.php:393
70
+ msgid "Target Date:"
71
+ msgstr "Stichtag: "
72
+
73
+ #: tminus.php:394
74
+ msgid "Target Time (HH:MM:SS):"
75
+ msgstr "Zielzeit (HH:MM:SS):"
76
+
77
+ #: tminus.php:414
78
+ msgid "Omit Weeks:"
79
+ msgstr "Wochen weglassen: "
80
+
81
+ #: tminus.php:414
82
+ msgid "No"
83
+ msgstr "Nein"
84
+
85
+ #: tminus.php:414
86
+ msgid "Yes"
87
+ msgstr "Ja"
88
+
89
+ #: tminus.php:415
90
+ msgid "Style:"
91
+ msgstr "Style: "
92
+
93
+ #: tminus.php:429
94
+ msgid "Inject Script:"
95
+ msgstr "Skript einfügen:"
96
+
97
+ #: tminus.php:429
98
+ msgid "Footer"
99
+ msgstr "Fußzeile"
100
+
101
+ #: tminus.php:429
102
+ msgid "Inline"
103
+ msgstr "Inline"
104
+
105
+ #: tminus.php:438
106
+ msgid "This is totally worth 3 bucks."
107
+ msgstr "Das Plugin ist mir 3 Dollar wert. "
108
+
109
+ #: tminus.php:445
110
+ msgid "Above Countdown"
111
+ msgstr "Überhalb des Countdowns"
112
+
113
+ #: tminus.php:447
114
+ msgid "Top HTML:"
115
+ msgstr "HTML oben: "
116
+
117
+ #: tminus.php:450
118
+ msgid "Below Countdown"
119
+ msgstr "Unterhalb des Countdowns"
120
+
121
+ #: tminus.php:452
122
+ msgid "Bottom HTML:"
123
+ msgstr "HTML unten:"
124
+
125
+ #: tminus.php:455
126
+ msgid "When Countdown Reaches Zero"
127
+ msgstr "Wenn der Countdown Null erreicht"
128
+
129
+ #: tminus.php:457
130
+ msgid "Launch Event HTML:"
131
+ msgstr "Launch Event HTML: "
132
+
133
+ #: tminus.php:458
134
+ msgid "Launch Target:"
135
+ msgstr "Launch Ziel: "
136
+
137
+ #: tminus.php:472
138
+ msgid "Digit Titles"
139
+ msgstr "Ziffer-Überschriften"
140
+
141
+ #: tminus.php:474
142
+ msgid "How do you spell \"weeks\"?:"
143
+ msgstr "Wie willst Du \"Wochen\" schreiben?"
144
+
145
+ #: tminus.php:475
146
+ msgid "How do you spell \"days\"?:"
147
+ msgstr "Wie willst Du \"Tage\" schreiben?"
148
+
149
+ #: tminus.php:476
150
+ msgid "How do you spell \"hours\"?:"
151
+ msgstr "Wie willst Du \"Stunden\" schreiben?"
152
+
153
+ #: tminus.php:477
154
+ msgid "How do you spell \"minutes\"?:"
155
+ msgstr "Wie willst Du \"Minuten\" schreiben?"
156
+
157
+ #: tminus.php:478
158
+ msgid "And \"seconds\" are spelled:"
159
+ msgstr "Und wie willst Du \"Sekunden\" schreiben?"
160
+
161
+ #: tminus.php:489
162
+ msgid "Schedule Recurring Countdown"
163
+ msgstr "Wiederholende Countdowns erstellen"
164
+
165
+ msgid "Display and configure multiple T(-) Countdown timers using a shortcode or sidebar widget."
166
+ msgstr "Mehrere T(-) Countdown Timer mit Shortcodes oder Sidebar Widgets anzeigen und konfigurieren. "
languages/tminus-en_EN.mo ADDED
Binary file
languages/tminus-en_EN.po ADDED
@@ -0,0 +1,181 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2012 T(-) Countdown
2
+ # This file is distributed under the same license as the T(-) Countdown package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: T(-) Countdown 2.2.7\n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/tminus\n"
7
+ "POT-Creation-Date: 2012-09-27 14:27:24+00:00\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "PO-Revision-Date: 2012-09-27 17:48+0100\n"
12
+ "Last-Translator: Baden Coleman <baden@twinpictures.de>\n"
13
+ "Language-Team: Twinpictures <info@twinpictures.de>\n"
14
+ "X-Generator: Poedit 1.5.3\n"
15
+ "Language: English\n"
16
+ "X-Poedit-SourceCharset: UTF-8\n"
17
+
18
+ #: tminus.php:107
19
+ msgid "A highly customizable jQuery countdown timer by Twinpictures"
20
+ msgstr ""
21
+
22
+ #: tminus.php:134 tminus.php:376 tminus.php:554
23
+ msgid "weeks"
24
+ msgstr ""
25
+
26
+ #: tminus.php:135 tminus.php:377 tminus.php:555
27
+ msgid "days"
28
+ msgstr ""
29
+
30
+ #: tminus.php:136 tminus.php:378 tminus.php:556
31
+ msgid "hours"
32
+ msgstr ""
33
+
34
+ #: tminus.php:137 tminus.php:379 tminus.php:557
35
+ msgid "minutes"
36
+ msgstr ""
37
+
38
+ #: tminus.php:138 tminus.php:380 tminus.php:558
39
+ msgid "seconds"
40
+ msgstr ""
41
+
42
+ #: tminus.php:392
43
+ msgid "Title:"
44
+ msgstr ""
45
+
46
+ #: tminus.php:393
47
+ msgid "Target Date:"
48
+ msgstr ""
49
+
50
+ #: tminus.php:394
51
+ msgid "Target Time (HH:MM:SS):"
52
+ msgstr ""
53
+
54
+ #: tminus.php:414
55
+ msgid "Omit Weeks:"
56
+ msgstr ""
57
+
58
+ #: tminus.php:414
59
+ msgid "No"
60
+ msgstr ""
61
+
62
+ #: tminus.php:414
63
+ msgid "Yes"
64
+ msgstr ""
65
+
66
+ #: tminus.php:415
67
+ msgid "Style:"
68
+ msgstr ""
69
+
70
+ #: tminus.php:429
71
+ msgid "Inject Script:"
72
+ msgstr ""
73
+
74
+ #: tminus.php:429
75
+ msgid "Footer"
76
+ msgstr ""
77
+
78
+ #: tminus.php:429
79
+ msgid "Inline"
80
+ msgstr ""
81
+
82
+ #: tminus.php:434
83
+ msgid "Rockstar Features"
84
+ msgstr ""
85
+
86
+ #: tminus.php:438
87
+ msgid "This is totally worth 3 bucks."
88
+ msgstr ""
89
+
90
+ #: tminus.php:445
91
+ msgid "Above Countdown"
92
+ msgstr ""
93
+
94
+ #: tminus.php:447
95
+ msgid "Top HTML:"
96
+ msgstr ""
97
+
98
+ #: tminus.php:450
99
+ msgid "Below Countdown"
100
+ msgstr ""
101
+
102
+ #: tminus.php:452
103
+ msgid "Bottom HTML:"
104
+ msgstr ""
105
+
106
+ #: tminus.php:455
107
+ msgid "When Countdown Reaches Zero"
108
+ msgstr ""
109
+
110
+ #: tminus.php:457
111
+ msgid "Launch Event HTML:"
112
+ msgstr ""
113
+
114
+ #: tminus.php:458
115
+ msgid "Launch Target:"
116
+ msgstr ""
117
+
118
+ #: countdown-timer.php:462
119
+ msgid "Entire Widget"
120
+ msgstr ""
121
+
122
+ #: countdown-timer.php:462
123
+ msgid "Count Up"
124
+ msgstr ""
125
+
126
+ #: tminus.php:472
127
+ msgid "Digit Titles"
128
+ msgstr ""
129
+
130
+ #: tminus.php:474
131
+ msgid "How do you spell \"weeks\"?:"
132
+ msgstr ""
133
+
134
+ #: tminus.php:475
135
+ msgid "How do you spell \"days\"?:"
136
+ msgstr ""
137
+
138
+ #: tminus.php:476
139
+ msgid "How do you spell \"hours\"?:"
140
+ msgstr ""
141
+
142
+ #: tminus.php:477
143
+ msgid "How do you spell \"minutes\"?:"
144
+ msgstr ""
145
+
146
+ #: tminus.php:478
147
+ msgid "And \"seconds\" are spelled:"
148
+ msgstr ""
149
+
150
+ #: tminus.php:489
151
+ msgid "Schedule Recurring Countdown"
152
+ msgstr ""
153
+
154
+ #: tminus.php:491
155
+ msgid ""
156
+ "%sT(-) Countdown Control%s is a premium countdown plugin that includes the "
157
+ "ability to schedule and manage mulitple recurring T(-) Countdowns... the "
158
+ "Jedi way."
159
+ msgstr ""
160
+
161
+ #. Plugin Name of the plugin/theme
162
+ msgid "T(-) Countdown"
163
+ msgstr ""
164
+
165
+ #. Plugin URI of the plugin/theme
166
+ msgid "http://plugins.twinpictures.de/plugins/t-minus-countdown/"
167
+ msgstr ""
168
+
169
+ #. Description of the plugin/theme
170
+ msgid ""
171
+ "Display and configure multiple T(-) Countdown timers using a shortcode or "
172
+ "sidebar widget."
173
+ msgstr ""
174
+
175
+ #. Author of the plugin/theme
176
+ msgid "twinpictures, baden03"
177
+ msgstr ""
178
+
179
+ #. Author URI of the plugin/theme
180
+ msgid "http://www.twinpictures.de/"
181
+ msgstr ""
languages/tminus.pot ADDED
@@ -0,0 +1,178 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2012 T(-) Countdown
2
+ # This file is distributed under the same license as the T(-) Countdown package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: T(-) Countdown 2.2.7\n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/tminus\n"
7
+ "POT-Creation-Date: 2012-09-27 14:27:24+00:00\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "PO-Revision-Date: 2012-MO-DA HO:MI+ZONE\n"
12
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
+ "Language-Team: LANGUAGE <LL@li.org>\n"
14
+
15
+ #: tminus.php:107
16
+ msgid "A highly customizable jQuery countdown timer by Twinpictures"
17
+ msgstr ""
18
+
19
+ #: tminus.php:134 tminus.php:376 tminus.php:554
20
+ msgid "weeks"
21
+ msgstr ""
22
+
23
+ #: tminus.php:135 tminus.php:377 tminus.php:555
24
+ msgid "days"
25
+ msgstr ""
26
+
27
+ #: tminus.php:136 tminus.php:378 tminus.php:556
28
+ msgid "hours"
29
+ msgstr ""
30
+
31
+ #: tminus.php:137 tminus.php:379 tminus.php:557
32
+ msgid "minutes"
33
+ msgstr ""
34
+
35
+ #: tminus.php:138 tminus.php:380 tminus.php:558
36
+ msgid "seconds"
37
+ msgstr ""
38
+
39
+ #: tminus.php:392
40
+ msgid "Title:"
41
+ msgstr ""
42
+
43
+ #: tminus.php:393
44
+ msgid "Target Date:"
45
+ msgstr ""
46
+
47
+ #: tminus.php:394
48
+ msgid "Target Time (HH:MM:SS):"
49
+ msgstr ""
50
+
51
+ #: tminus.php:414
52
+ msgid "Omit Weeks:"
53
+ msgstr ""
54
+
55
+ #: tminus.php:414
56
+ msgid "No"
57
+ msgstr ""
58
+
59
+ #: tminus.php:414
60
+ msgid "Yes"
61
+ msgstr ""
62
+
63
+ #: tminus.php:415
64
+ msgid "Style:"
65
+ msgstr ""
66
+
67
+ #: tminus.php:429
68
+ msgid "Inject Script:"
69
+ msgstr ""
70
+
71
+ #: tminus.php:429
72
+ msgid "Footer"
73
+ msgstr ""
74
+
75
+ #: tminus.php:429
76
+ msgid "Inline"
77
+ msgstr ""
78
+
79
+ #: tminus.php:434
80
+ msgid "Rockstar Features"
81
+ msgstr ""
82
+
83
+ #: tminus.php:438
84
+ msgid "This is totally worth 3 bucks."
85
+ msgstr ""
86
+
87
+ #: tminus.php:445
88
+ msgid "Above Countdown"
89
+ msgstr ""
90
+
91
+ #: tminus.php:447
92
+ msgid "Top HTML:"
93
+ msgstr ""
94
+
95
+ #: tminus.php:450
96
+ msgid "Below Countdown"
97
+ msgstr ""
98
+
99
+ #: tminus.php:452
100
+ msgid "Bottom HTML:"
101
+ msgstr ""
102
+
103
+ #: tminus.php:455
104
+ msgid "When Countdown Reaches Zero"
105
+ msgstr ""
106
+
107
+ #: tminus.php:457
108
+ msgid "Launch Event HTML:"
109
+ msgstr ""
110
+
111
+ #: tminus.php:458
112
+ msgid "Launch Target:"
113
+ msgstr ""
114
+
115
+ #: countdown-timer.php:462
116
+ msgid "Entire Widget"
117
+ msgstr ""
118
+
119
+ #: countdown-timer.php:462
120
+ msgid "Count Up"
121
+ msgstr ""
122
+
123
+ #: tminus.php:472
124
+ msgid "Digit Titles"
125
+ msgstr ""
126
+
127
+ #: tminus.php:474
128
+ msgid "How do you spell \"weeks\"?:"
129
+ msgstr ""
130
+
131
+ #: tminus.php:475
132
+ msgid "How do you spell \"days\"?:"
133
+ msgstr ""
134
+
135
+ #: tminus.php:476
136
+ msgid "How do you spell \"hours\"?:"
137
+ msgstr ""
138
+
139
+ #: tminus.php:477
140
+ msgid "How do you spell \"minutes\"?:"
141
+ msgstr ""
142
+
143
+ #: tminus.php:478
144
+ msgid "And \"seconds\" are spelled:"
145
+ msgstr ""
146
+
147
+ #: tminus.php:489
148
+ msgid "Schedule Recurring Countdown"
149
+ msgstr ""
150
+
151
+ #: tminus.php:491
152
+ msgid ""
153
+ "%sT(-) Countdown Control%s is a premium countdown plugin that includes the "
154
+ "ability to schedule and manage mulitple recurring T(-) Countdowns... the "
155
+ "Jedi way."
156
+ msgstr ""
157
+
158
+ #. Plugin Name of the plugin/theme
159
+ msgid "T(-) Countdown"
160
+ msgstr ""
161
+
162
+ #. Plugin URI of the plugin/theme
163
+ msgid "http://plugins.twinpictures.de/plugins/t-minus-countdown/"
164
+ msgstr ""
165
+
166
+ #. Description of the plugin/theme
167
+ msgid ""
168
+ "Display and configure multiple T(-) Countdown timers using a shortcode or "
169
+ "sidebar widget."
170
+ msgstr ""
171
+
172
+ #. Author of the plugin/theme
173
+ msgid "twinpictures, baden03"
174
+ msgstr ""
175
+
176
+ #. Author URI of the plugin/theme
177
+ msgid "http://www.twinpictures.de/"
178
+ msgstr ""
readme.txt CHANGED
@@ -5,9 +5,9 @@ Donate link: http://plugins.twinpictures.de/plugins/t-minus-countdown/
5
  Tags: countdown, timer, clock, ticker, widget, event, counter, count down, t minus, t-minus, twinpictures, plguin-oven, pluginoven, G2, spaceBros, littlewebtings, jQuery, javascript
6
  Requires at least: 3.3
7
  Tested up to: 3.4.2
8
- Stable tag: 2.2.6
9
 
10
- T(-) Countdown will display a highly customizable, sweet-n-sexy flash-free countdown timer in a sidebar, page or post.
11
 
12
  == Description ==
13
 
@@ -31,6 +31,12 @@ T(-) Countdown will display a highly customizable jQuery countdown timer as a si
31
  = How does one use the shortcode, exactly? =
32
  A <a href='http://plugins.twinpictures.de/plugins/t-minus-countdown/documentation/'>complete list of shortcode options</a> has been provided to answer this exact question.
33
 
 
 
 
 
 
 
34
  = How does one pronounce T Minus? =
35
  * Tee&mdash;As in Tea for Two, or Tee off time
36
  * Minus&mdash;As in the opposite of plus (+)
@@ -51,9 +57,15 @@ Ah yes! <a href='http://twitter.com/#!/twinpictures'>@Twinpictures</a> is on the
51
  1. Styles: C-3PO, TIE-Fighter and Carbonlite.
52
  1. The basic T(-) Countdown widget options.
53
  1. An expansive view of the available Countdown widget options, provided for your viewing pleasure.
 
54
 
55
  == Changelog ==
56
 
 
 
 
 
 
57
  = 2.2.6 =
58
  * Fixed issue with flashing animations on inactive tabs (again)
59
 
@@ -149,6 +161,10 @@ Ah yes! <a href='http://twitter.com/#!/twinpictures'>@Twinpictures</a> is on the
149
 
150
  == Upgrade Notice ==
151
 
 
 
 
 
152
  = 2.2.6 =
153
  * Animations remain smooth for inactive tabs.
154
 
5
  Tags: countdown, timer, clock, ticker, widget, event, counter, count down, t minus, t-minus, twinpictures, plguin-oven, pluginoven, G2, spaceBros, littlewebtings, jQuery, javascript
6
  Requires at least: 3.3
7
  Tested up to: 3.4.2
8
+ Stable tag: 2.2.7
9
 
10
+ T(-) Countdown will display a highly customizable, flash-free countdown timer as a sidebar widget or in a post or page using a shortcode.
11
 
12
  == Description ==
13
 
31
  = How does one use the shortcode, exactly? =
32
  A <a href='http://plugins.twinpictures.de/plugins/t-minus-countdown/documentation/'>complete list of shortcode options</a> has been provided to answer this exact question.
33
 
34
+ = Where can I fork this plugn and contribute changes? =
35
+ <a href='http://github.com/baden03/t-minus-countdown'>github</a>
36
+
37
+ = Where can I translate this plugin into my favorite langauge? =
38
+ <a href='http://translate.twinpictures.de/projects/t-countdown'>Community translation for T(-) Countdown</a> has been set up. You are <a href='http://translate.twinpictures.de/wordpress/wp-login.php?action=register'>welcome to join</a>.
39
+
40
  = How does one pronounce T Minus? =
41
  * Tee&mdash;As in Tea for Two, or Tee off time
42
  * Minus&mdash;As in the opposite of plus (+)
57
  1. Styles: C-3PO, TIE-Fighter and Carbonlite.
58
  1. The basic T(-) Countdown widget options.
59
  1. An expansive view of the available Countdown widget options, provided for your viewing pleasure.
60
+ 1. The _magical_ jQuery Datepicker.
61
 
62
  == Changelog ==
63
 
64
+ = 2.2.7 =
65
+ * Added I18n localization support
66
+ * Added German translation
67
+ * Added source to Github: http://github.com/baden03/t-minus-countdown
68
+
69
  = 2.2.6 =
70
  * Fixed issue with flashing animations on inactive tabs (again)
71
 
161
 
162
  == Upgrade Notice ==
163
 
164
+ = 2.2.7 =
165
+ * Language support added
166
+ * German translation added
167
+
168
  = 2.2.6 =
169
  * Animations remain smooth for inactive tabs.
170
 
screenshot-4.png CHANGED
Binary file
screenshot-5.png ADDED
Binary file