T(-) Countdown - Version 2.2.10

Version Description

  • only load jQuery datepicker and related css on widgets admin page
  • countup will switch to triple digits for numbers above 100
  • added carbonite-responsive style
  • added hoth style
Download this release

Release Info

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

Code changes from version 2.2.9 to 2.2.10

countdown-timer.php CHANGED
@@ -5,13 +5,13 @@ 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.9
9
  Author: twinpictures, baden03
10
  Author URI: http://www.twinpictures.de/
11
  License: GPL2
12
  */
13
 
14
- /* Copyright 2012 Twinpictures (www.twinpictures.de)
15
 
16
  This program is free software; you can redistribute it and/or modify
17
  it under the terms of the GNU General Public License, version 2, as
@@ -29,18 +29,24 @@ License: GPL2
29
 
30
  //widget scripts
31
  function countdown_scripts(){
32
- $current_version = get_option('t-minus_version');
33
- if(!$current_version){
 
 
34
  //delete the old style system
35
  delete_option( 't-minus_styles' );
36
  //add version check
37
- add_option('t-minus_version', '2.2.9');
 
 
 
 
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__) );
42
  wp_enqueue_script('jquery');
43
- if (is_admin()){
44
  //jquery admin stuff
45
  wp_register_script('tminus-admin-script', $plugin_url.'/js/jquery.collapse.min.js', array ('jquery'), '1.1' );
46
  wp_enqueue_script('tminus-admin-script');
@@ -53,12 +59,12 @@ function countdown_scripts(){
53
 
54
  wp_enqueue_script( 'jquery-ui-datepicker' );
55
  wp_register_style('jquery-ui-css', 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css', array (), '1.8.23' );
56
- wp_enqueue_style('jquery-ui-css');
57
  }
58
  else{
59
  //lwtCountdown script
60
- //wp_register_script('countdown-script', $plugin_url.'/js/jquery.t-countdown.js', array ('jquery'), '1.3' );
61
- wp_register_script('countdown-script', $plugin_url.'/js/jquery.t-countdown.min.js', array ('jquery'), '1.3' );
62
  wp_enqueue_script('countdown-script');
63
 
64
  //register all countdown styles for enqueue-as-needed
@@ -86,8 +92,6 @@ function folder_array($path, $exclude = ".|..") {
86
  }
87
  }
88
 
89
- add_option('rockstar', '');
90
-
91
  /**
92
  * CountDownTimer Class
93
  */
@@ -115,7 +119,7 @@ class CountDownTimer extends WP_Widget {
115
 
116
  $day = empty($instance['day']) ? 20 : apply_filters('widget_day', $instance['day']);
117
  $month = empty($instance['month']) ? 12 : apply_filters('widget_month', $instance['month']);
118
- $year = empty($instance['year']) ? 2012 : apply_filters('widget_year', $instance['year']);
119
 
120
  $date = empty($instance['date']) ? $year.'-'.$month.'-'.$day : apply_filters('widget_date', $instance['date']);
121
  $hour = empty($instance['hour']) ? 20 : apply_filters('widget_hour', $instance['hour']);
@@ -159,7 +163,6 @@ class CountDownTimer extends WP_Widget {
159
  $d1 = $d%10;
160
  //53 = 3
161
  //153 = 3
162
-
163
  if($d < 100){
164
  $d2 = ($d-$d1) / 10;
165
  //53 = 50 / 10 = 5
@@ -177,7 +180,7 @@ class CountDownTimer extends WP_Widget {
177
  //345 = 40 / 10 = 4
178
  $d3 = $dm / 100;
179
  }
180
- /* here is where the 1000's support will go... someday. */
181
 
182
  //now assign all the digits to the array
183
  $date[$i] = array(
@@ -206,14 +209,14 @@ class CountDownTimer extends WP_Widget {
206
  if($omitweeks == 'false'){
207
  //set up correct style class for double or triple digit love
208
  $wclass = $style.'-dash '.$style.'-weeks_dash';
209
- if($date['weeks'][0] > 0){
210
  $wclass = $style.'-tripdash '.$style.'-weeks_trip_dash';
211
  }
212
 
213
  echo '<div class="'.$wclass.'">
214
  <span class="'.$style.'-dash_title">'.$weektitle.'</span>';
215
  //show third week digit if the number of weeks is greater than 99
216
- if($date['weeks'][0] > 0){
217
  echo '<div class="'.$style.'-digit">'.$date['weeks'][0].'</div>';
218
  }
219
  echo '<div class="'.$style.'-digit">'.$date['weeks'][1].'</div>
@@ -223,14 +226,14 @@ class CountDownTimer extends WP_Widget {
223
 
224
  //set up correct style class for double or triple digit love
225
  $dclass = $style.'-dash '.$style.'-days_dash';
226
- if($omitweeks == 'true' && $date['days'][3] > 99){
227
  $dclass = $style.'-tripdash '.$style.'-days_trip_dash';
228
  }
229
 
230
  echo '<div class="'.$dclass.'">
231
  <span class="'.$style.'-dash_title">'.$daytitle.'</span>';
232
  //show third day digit if there are NO weeks and the number of days is greater that 99
233
- if($omitweeks == 'true' && $date['days'][3] > 99){
234
  echo '<div class="'.$style.'-digit">'.$date['days'][0].'</div>';
235
  }
236
  echo '<div class="'.$style.'-digit">'.$date['days'][1].'</div>
@@ -331,11 +334,9 @@ class CountDownTimer extends WP_Widget {
331
  /** Update */
332
  function update($new_instance, $old_instance) {
333
  $instance = array_merge($old_instance, $new_instance);
334
- //return array_map('strip_tags', $instance);
335
- if(isset($instance['isrockstar']) && $instance['isrockstar']){
336
- update_option('rockstar', $instance['isrockstar']);
337
  }
338
-
339
  return array_map('mysql_real_escape_string', $instance);
340
  }
341
 
@@ -350,7 +351,7 @@ class CountDownTimer extends WP_Widget {
350
  if($month > 12){
351
  $month = 12;
352
  }
353
- $year = empty($instance['year']) ? 2012 : apply_filters('widget_year', $instance['year']);
354
  $date = empty($instance['date']) ? $year.'-'.$month.'-'.$day : apply_filters('widget_date', $instance['date']);
355
  $hour = empty($instance['hour']) ? 12 : apply_filters('widget_hour', $instance['hour']);
356
  if($hour > 23){
@@ -373,7 +374,7 @@ class CountDownTimer extends WP_Widget {
373
  $hourtitle = empty($instance['hourtitle']) ? __('hours', 'tminus') : apply_filters('widget_hourtitle', stripslashes($instance['hourtitle']));
374
  $mintitle = empty($instance['mintitle']) ? __('minutes', 'tminus') : apply_filters('widget_mintitle', stripslashes($instance['mintitle']));
375
  $sectitle = empty($instance['sectitle']) ? __('seconds', 'tminus') : apply_filters('widget_sectitle', stripslashes($instance['sectitle']));
376
-
377
  $isrockstar = get_option('rockstar');
378
 
379
  if($isrockstar){
@@ -429,9 +430,12 @@ class CountDownTimer extends WP_Widget {
429
  echo __('Rockstar Features', 'tminus').'<br/>';
430
  }
431
  else{
 
 
 
432
  ?>
433
- <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>
434
- <div id="target-<?php echo $this->get_field_id('unlock'); ?>" class="collapseomatic_content">
435
  <?php
436
  }
437
 
@@ -546,7 +550,7 @@ function tminuscountdown($atts, $content=null) {
546
 
547
  extract(shortcode_atts(array(
548
  'id' => $ran,
549
- 't' => '20-12-2012 20:12:20',
550
  'weeks' => __('weeks', 'tminus'),
551
  'days' => __('days', 'tminus'),
552
  'hours' => __('hours', 'tminus'),
@@ -563,12 +567,6 @@ function tminuscountdown($atts, $content=null) {
563
  'launchtarget' => 'countdown',
564
  'jsplacement' => 'footer',
565
  ), $atts));
566
-
567
-
568
- //update the styles
569
- //$style_arr = get_option('t-minus_styles');
570
- //$style_arr[$style] = $style;
571
- //update_option('t-minus_styles', $style_arr);
572
 
573
  //enqueue style that was already registerd
574
  wp_enqueue_style( 'countdown-'.$style.'-css' );
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.10
9
  Author: twinpictures, baden03
10
  Author URI: http://www.twinpictures.de/
11
  License: GPL2
12
  */
13
 
14
+ /* Copyright 2013 Twinpictures (www.twinpictures.de)
15
 
16
  This program is free software; you can redistribute it and/or modify
17
  it under the terms of the GNU General Public License, version 2, as
29
 
30
  //widget scripts
31
  function countdown_scripts(){
32
+ $current_version = '2.2.10';
33
+ $installed_version = get_option('t-minus_version');
34
+
35
+ if($current_version != $installed_version){
36
  //delete the old style system
37
  delete_option( 't-minus_styles' );
38
  //add version check
39
+ update_option('t-minus_version', '2.2.10');
40
+
41
+ //reset rockstar option
42
+ delete_option( 'rockstar' );
43
+ add_option('rockstar', '');
44
  }
45
+ $styles_arr = array("hoth","TIE-fighter","c-3po","c-3po-mini","carbonite","carbonite-responsive","carbonlite","darth","jedi");
46
  add_option('t-minus_styles', $styles_arr);
47
  $plugin_url = plugins_url() .'/'. dirname( plugin_basename(__FILE__) );
48
  wp_enqueue_script('jquery');
49
+ if (is_admin() && $_SERVER["REQUEST_URI"] == '/wp-admin/widgets.php'){
50
  //jquery admin stuff
51
  wp_register_script('tminus-admin-script', $plugin_url.'/js/jquery.collapse.min.js', array ('jquery'), '1.1' );
52
  wp_enqueue_script('tminus-admin-script');
59
 
60
  wp_enqueue_script( 'jquery-ui-datepicker' );
61
  wp_register_style('jquery-ui-css', 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css', array (), '1.8.23' );
62
+ wp_enqueue_style('jquery-ui-css');
63
  }
64
  else{
65
  //lwtCountdown script
66
+ //wp_register_script('countdown-script', $plugin_url.'/js/jquery.t-countdown.js', array ('jquery'), '1.4' );
67
+ wp_register_script('countdown-script', $plugin_url.'/js/jquery.t-countdown.min.js', array ('jquery'), '1.4' );
68
  wp_enqueue_script('countdown-script');
69
 
70
  //register all countdown styles for enqueue-as-needed
92
  }
93
  }
94
 
 
 
95
  /**
96
  * CountDownTimer Class
97
  */
119
 
120
  $day = empty($instance['day']) ? 20 : apply_filters('widget_day', $instance['day']);
121
  $month = empty($instance['month']) ? 12 : apply_filters('widget_month', $instance['month']);
122
+ $year = empty($instance['year']) ? 2013 : apply_filters('widget_year', $instance['year']);
123
 
124
  $date = empty($instance['date']) ? $year.'-'.$month.'-'.$day : apply_filters('widget_date', $instance['date']);
125
  $hour = empty($instance['hour']) ? 20 : apply_filters('widget_hour', $instance['hour']);
163
  $d1 = $d%10;
164
  //53 = 3
165
  //153 = 3
 
166
  if($d < 100){
167
  $d2 = ($d-$d1) / 10;
168
  //53 = 50 / 10 = 5
180
  //345 = 40 / 10 = 4
181
  $d3 = $dm / 100;
182
  }
183
+ /* here is where the 1000's support might go... someday. */
184
 
185
  //now assign all the digits to the array
186
  $date[$i] = array(
209
  if($omitweeks == 'false'){
210
  //set up correct style class for double or triple digit love
211
  $wclass = $style.'-dash '.$style.'-weeks_dash';
212
+ if( abs($date['weeks'][0]) > 0 ){
213
  $wclass = $style.'-tripdash '.$style.'-weeks_trip_dash';
214
  }
215
 
216
  echo '<div class="'.$wclass.'">
217
  <span class="'.$style.'-dash_title">'.$weektitle.'</span>';
218
  //show third week digit if the number of weeks is greater than 99
219
+ if( abs($date['weeks'][0]) > 0 ){
220
  echo '<div class="'.$style.'-digit">'.$date['weeks'][0].'</div>';
221
  }
222
  echo '<div class="'.$style.'-digit">'.$date['weeks'][1].'</div>
226
 
227
  //set up correct style class for double or triple digit love
228
  $dclass = $style.'-dash '.$style.'-days_dash';
229
+ if($omitweeks == 'true' && abs($date['days'][3]) > 99){
230
  $dclass = $style.'-tripdash '.$style.'-days_trip_dash';
231
  }
232
 
233
  echo '<div class="'.$dclass.'">
234
  <span class="'.$style.'-dash_title">'.$daytitle.'</span>';
235
  //show third day digit if there are NO weeks and the number of days is greater that 99
236
+ if($omitweeks == 'true' && abs($date['days'][3]) > 99){
237
  echo '<div class="'.$style.'-digit">'.$date['days'][0].'</div>';
238
  }
239
  echo '<div class="'.$style.'-digit">'.$date['days'][1].'</div>
334
  /** Update */
335
  function update($new_instance, $old_instance) {
336
  $instance = array_merge($old_instance, $new_instance);
337
+ if($instance['isrockstar'] == 'rockstar'){
338
+ update_option('rockstar', 'rockstar');
 
339
  }
 
340
  return array_map('mysql_real_escape_string', $instance);
341
  }
342
 
351
  if($month > 12){
352
  $month = 12;
353
  }
354
+ $year = empty($instance['year']) ? 2013 : apply_filters('widget_year', $instance['year']);
355
  $date = empty($instance['date']) ? $year.'-'.$month.'-'.$day : apply_filters('widget_date', $instance['date']);
356
  $hour = empty($instance['hour']) ? 12 : apply_filters('widget_hour', $instance['hour']);
357
  if($hour > 23){
374
  $hourtitle = empty($instance['hourtitle']) ? __('hours', 'tminus') : apply_filters('widget_hourtitle', stripslashes($instance['hourtitle']));
375
  $mintitle = empty($instance['mintitle']) ? __('minutes', 'tminus') : apply_filters('widget_mintitle', stripslashes($instance['mintitle']));
376
  $sectitle = empty($instance['sectitle']) ? __('seconds', 'tminus') : apply_filters('widget_sectitle', stripslashes($instance['sectitle']));
377
+
378
  $isrockstar = get_option('rockstar');
379
 
380
  if($isrockstar){
430
  echo __('Rockstar Features', 'tminus').'<br/>';
431
  }
432
  else{
433
+ $like_it_arr = array('makes me feel warm and fuzzy inside... in a good way', 'restores my faith in humanity... if only for a fleating second', 'rocked my world and is totally worth 3 bucks', 'offered me a positive vision of future living', 'inspires me to commit random acts of kindness', 'helped organize my life in one of the small ways that matter', 'saved me minutes if not tens of minutes writing your own solution', 'brightened my day... or darkened it since I wanted to sleep in anyway', 'is totally worth 3 bucks');
434
+ $rand_key = array_rand($like_it_arr);
435
+ $like_it = $like_it_arr[$rand_key];
436
  ?>
437
+ <p id="header-<?php echo $this->get_field_id('isrockstar'); ?>"><input class="rockstar" id="<?php echo $this->get_field_id('isrockstar'); ?>" name="<?php echo $this->get_field_name('isrockstar'); ?>" type="checkbox" value="rockstar" /> <label for="<?php echo $this->get_field_id('isrockstar'); ?>"><span title="<?php _e('check the box and save to unlock rockstar features.', 'tminus'); ?>"><?php printf( __('T(-) Countdown %s!', 'tminus'), $like_it); ?></span></label></p>
438
+ <div id="target-<?php echo $this->get_field_id('isrockstar'); ?>" class="collapseomatic_content">
439
  <?php
440
  }
441
 
550
 
551
  extract(shortcode_atts(array(
552
  'id' => $ran,
553
+ 't' => '20-12-2013 20:12:20',
554
  'weeks' => __('weeks', 'tminus'),
555
  'days' => __('days', 'tminus'),
556
  'hours' => __('hours', 'tminus'),
567
  'launchtarget' => 'countdown',
568
  'jsplacement' => 'footer',
569
  ), $atts));
 
 
 
 
 
 
570
 
571
  //enqueue style that was already registerd
572
  wp_enqueue_style( 'countdown-'.$style.'-css' );
css/carbonite-responsive/images/bg_carbon.png ADDED
Binary file
css/carbonite-responsive/style.css ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*above the dashboard*/
2
+ .carbonite-responsive-tophtml, .carbonite-responsive-bothtml {
3
+ margin: 0 auto;
4
+ padding: 0;
5
+ text-align: center;
6
+ font-size: 12px;
7
+ clear: both;
8
+ }
9
+
10
+ .carbonite-responsive-dashboard {
11
+ width: 100%;
12
+ max-width: 300px;
13
+ margin: 0 auto;
14
+ padding-top: 2px;
15
+ text-align: center;
16
+ background: url('images/bg_carbon.png');
17
+ background-repeat: repeat-x repeat-y;
18
+ -moz-border-radius: 15px;
19
+ border-radius: 15px;
20
+ border: 4px groove #CCC;
21
+ }
22
+
23
+ .carbonite-responsive-dash {
24
+ width: 17%;
25
+ min-width: 23px;
26
+ max-width: 70px;
27
+ height: 48px;
28
+ display: inline-block;
29
+ vertical-align: top;
30
+ margin-left: 1%;
31
+ margin-right: auto;
32
+ position: relative;
33
+ color: #FFF;
34
+ text-align: center;
35
+ white-space: nowrap;
36
+ }
37
+
38
+ .carbonite-responsive-tripdash {
39
+ width: 18%;
40
+ min-width: 40px;
41
+ max-width: 90px;
42
+ height: 48px;
43
+ display: inline-block;
44
+ vertical-align: top;
45
+ margin-left: 1%;
46
+ margin-right: auto;
47
+ position: relative;
48
+ color: #FFF;
49
+ text-align: center;
50
+ white-space: nowrap;
51
+ }
52
+
53
+ .carbonite-responsive-weeks_trip_dash{
54
+ clear: both;
55
+ margin-left: 13%;
56
+ display: block !important;
57
+ }
58
+
59
+ .carbonite-responsive-digit {
60
+ font-family: Sans-Serif;
61
+ font-size: 1.7em;
62
+ font-weight: 600;
63
+ line-height: 1.1em;
64
+ display: inline-block;
65
+ vertical-align: top;
66
+ width: auto;
67
+ height: .7em;
68
+ position: relative;
69
+ margin-top: 4px;
70
+ margin-left: 0;
71
+ margin-right: -2px;
72
+ }
73
+
74
+ .carbonite-responsive-tripdash .carbonite-responsive-digit {
75
+ margin-right: 0 !important;
76
+ }
77
+
78
+ .carbonite-responsive-dash_title {
79
+ display: block;
80
+ position: absolute;
81
+ width: 100%;
82
+ color: #999;
83
+ text-align: center;
84
+ font-size: 10px;
85
+ margin: 0px;
86
+ top: 31px;
87
+ white-space: nowrap;
88
+ overflow: hidden;
89
+ }
css/hoth/style.css ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*above the dashboard*/
2
+ .hoth-tophtml, .hoth-bothtml {
3
+ margin: 0 auto;
4
+ padding: 0;
5
+ text-align: center;
6
+ font-size: 12px;
7
+ clear: both;
8
+ }
9
+
10
+ .hoth-dashboard {
11
+ height: 48px;
12
+ width: 100%;
13
+ margin: 0 auto;
14
+ text-align: center;
15
+ }
16
+
17
+ .hoth-dash {
18
+ width: 21%;
19
+ min-width: 32px;
20
+ max-width: 80px;
21
+ height: 48px;
22
+ display: inline-block;
23
+ vertical-align: top;
24
+ margin-left: 1%;
25
+ margin-right: auto;
26
+ position: relative;
27
+ color: #000;
28
+ background: #f1f1f1;
29
+ text-align: center;
30
+ }
31
+
32
+ .hoth-tripdash {
33
+ width: 21%;
34
+ min-width: 40px;
35
+ max-width: 80px;
36
+ height: 48px;
37
+ display: inline-block;
38
+ vertical-align: top;
39
+ margin-left: 1%;
40
+ margin-right: auto;
41
+ position: relative;
42
+ color: #000;
43
+ background: #f1f1f1;
44
+ text-align: center;
45
+ }
46
+
47
+ .hoth-digit {
48
+ font-family: Arial, Helvetica, sans-serif;
49
+ font-size: 1.9em;
50
+ font-weight: 600;
51
+ line-height: 1.2em;
52
+ display: inline-block;
53
+ vertical-align: top;
54
+ width: auto;
55
+ height: .8em;
56
+ position: relative;
57
+ margin-top:4px;
58
+ }
59
+
60
+ .hoth-dash_title {
61
+ display: block;
62
+ position: absolute;
63
+ width: 100%;
64
+ color: #000;
65
+ text-align: center;
66
+ font-size: 10px;
67
+ margin: 0px;
68
+ top: 23px;
69
+ white-space: nowrap;
70
+ overflow: hidden;
71
+ }
js/jquery.t-countdown.js CHANGED
@@ -1,5 +1,5 @@
1
  /*!
2
- * T- Countdown v1.3
3
  * http://plugins.twinpictures.de/plugins/t-minus-countdown/
4
  *
5
  * Copyright 2012, Twinpictures
1
  /*!
2
+ * T- Countdown v1.4
3
  * http://plugins.twinpictures.de/plugins/t-minus-countdown/
4
  *
5
  * Copyright 2012, Twinpictures
languages/tminus-it_IT.mo ADDED
Binary file
languages/tminus-it_IT.po ADDED
@@ -0,0 +1,174 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Translation of T(-) Countdown in Italian
2
+ # This file is distributed under the same license as the T(-) Countdown package.
3
+ msgid ""
4
+ msgstr ""
5
+ "PO-Revision-Date: 2013-03-11 10:18+0100\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: Poedit 1.5.5\n"
11
+ "Project-Id-Version: T(-) Countdown\n"
12
+ "POT-Creation-Date: \n"
13
+ "Last-Translator: Baden Coleman <baden@twinpictures.de>\n"
14
+ "Language-Team: \n"
15
+
16
+ #: countdown-timer.php:491
17
+ msgid ""
18
+ "%sT(-) Countdown Control%s is a premium countdown plugin that includes the "
19
+ "ability to schedule and manage mulitple recurring T(-) Countdowns... the "
20
+ "Jedi way."
21
+ msgstr ""
22
+
23
+ #: countdown-timer.php:134 countdown-timer.php:376 countdown-timer.php:554
24
+ msgid "weeks"
25
+ msgstr "Settimane"
26
+
27
+ #: countdown-timer.php:135 countdown-timer.php:377 countdown-timer.php:555
28
+ msgid "days"
29
+ msgstr "Giorni"
30
+
31
+ #: countdown-timer.php:136 countdown-timer.php:378 countdown-timer.php:556
32
+ msgid "hours"
33
+ msgstr "Ore"
34
+
35
+ #: countdown-timer.php:137 countdown-timer.php:379 countdown-timer.php:557
36
+ msgid "minutes"
37
+ msgstr "Minuti"
38
+
39
+ #: countdown-timer.php:138 countdown-timer.php:380 countdown-timer.php:558
40
+ msgid "seconds"
41
+ msgstr "Secondi"
42
+
43
+ #: countdown-timer.php:434
44
+ msgid "Rockstar Features"
45
+ msgstr "Funzioni Rockstar"
46
+
47
+ #: countdown-timer.php:462
48
+ msgid "Entire Widget"
49
+ msgstr ""
50
+
51
+ #: countdown-timer.php:462
52
+ msgid "Count Up"
53
+ msgstr ""
54
+
55
+ msgid "T(-) Countdown"
56
+ msgstr ""
57
+
58
+ msgid "http://plugins.twinpictures.de/plugins/t-minus-countdown/"
59
+ msgstr ""
60
+
61
+ msgid "twinpictures, baden03"
62
+ msgstr ""
63
+
64
+ msgid "http://www.twinpictures.de/"
65
+ msgstr ""
66
+
67
+ #: countdown-timer.php:107
68
+ msgid "A highly customizable jQuery countdown timer by Twinpictures"
69
+ msgstr ""
70
+
71
+ #: countdown-timer.php:392
72
+ msgid "Title:"
73
+ msgstr "Titolo:"
74
+
75
+ #: countdown-timer.php:393
76
+ msgid "Target Date:"
77
+ msgstr "Data di fine Count Down:"
78
+
79
+ #: countdown-timer.php:394
80
+ msgid "Target Time (HH:MM:SS):"
81
+ msgstr "Orario fine Cound Down (HH:MM:SS):"
82
+
83
+ #: countdown-timer.php:414
84
+ msgid "Omit Weeks:"
85
+ msgstr "Nascondi Settimane:"
86
+
87
+ #: countdown-timer.php:414
88
+ msgid "No"
89
+ msgstr "No"
90
+
91
+ #: countdown-timer.php:414
92
+ msgid "Yes"
93
+ msgstr "Si"
94
+
95
+ #: countdown-timer.php:415
96
+ msgid "Style:"
97
+ msgstr ""
98
+
99
+ #: countdown-timer.php:429
100
+ msgid "Inject Script:"
101
+ msgstr ""
102
+
103
+ #: countdown-timer.php:429
104
+ msgid "Footer"
105
+ msgstr ""
106
+
107
+ #: countdown-timer.php:429
108
+ msgid "Inline"
109
+ msgstr ""
110
+
111
+ #: countdown-timer.php:438
112
+ msgid "This is totally worth 3 bucks."
113
+ msgstr ""
114
+
115
+ #: countdown-timer.php:445
116
+ msgid "Above Countdown"
117
+ msgstr ""
118
+
119
+ #: countdown-timer.php:447
120
+ msgid "Top HTML:"
121
+ msgstr ""
122
+
123
+ #: countdown-timer.php:450
124
+ msgid "Below Countdown"
125
+ msgstr ""
126
+
127
+ #: countdown-timer.php:452
128
+ msgid "Bottom HTML:"
129
+ msgstr ""
130
+
131
+ #: countdown-timer.php:455
132
+ msgid "When Countdown Reaches Zero"
133
+ msgstr ""
134
+
135
+ #: countdown-timer.php:457
136
+ msgid "Launch Event HTML:"
137
+ msgstr ""
138
+
139
+ #: countdown-timer.php:458
140
+ msgid "Launch Target:"
141
+ msgstr ""
142
+
143
+ #: countdown-timer.php:472
144
+ msgid "Digit Titles"
145
+ msgstr ""
146
+
147
+ #: countdown-timer.php:474
148
+ msgid "How do you spell \"weeks\"?:"
149
+ msgstr ""
150
+
151
+ #: countdown-timer.php:475
152
+ msgid "How do you spell \"days\"?:"
153
+ msgstr ""
154
+
155
+ #: countdown-timer.php:476
156
+ msgid "How do you spell \"hours\"?:"
157
+ msgstr ""
158
+
159
+ #: countdown-timer.php:477
160
+ msgid "How do you spell \"minutes\"?:"
161
+ msgstr ""
162
+
163
+ #: countdown-timer.php:478
164
+ msgid "And \"seconds\" are spelled:"
165
+ msgstr ""
166
+
167
+ #: countdown-timer.php:489
168
+ msgid "Schedule Recurring Countdown"
169
+ msgstr ""
170
+
171
+ msgid ""
172
+ "Display and configure multiple T(-) Countdown timers using a shortcode or "
173
+ "sidebar widget."
174
+ msgstr ""
languages/tminus-nl_NL.mo ADDED
Binary file
languages/tminus-nl_NL.po ADDED
@@ -0,0 +1,181 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Translation of T(-) Countdown in Dutch
2
+ # This file is distributed under the same license as the T(-) Countdown package.
3
+ msgid ""
4
+ msgstr ""
5
+ "PO-Revision-Date: 2013-01-04 00:30+0100\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: Poedit 1.5.4\n"
11
+ "Project-Id-Version: T(-) Countdown\n"
12
+ "POT-Creation-Date: \n"
13
+ "Last-Translator: Baden Coleman <baden@twinpictures.de>\n"
14
+ "Language-Team: Twinpictures <tommyblockx@telenet.be>\n"
15
+ "Language: Dutch\n"
16
+ "X-Poedit-SourceCharset: UTF-8\n"
17
+
18
+ #: countdown-timer.php:491
19
+ msgid ""
20
+ "%sT(-) Countdown Control%s is a premium countdown plugin that includes the "
21
+ "ability to schedule and manage mulitple recurring T(-) Countdowns... the "
22
+ "Jedi way."
23
+ msgstr ""
24
+ "%sT(-) Countdown Control%s is een premium aftel plugin waarbij de "
25
+ "mogelijkheid om meerdere terugkomende T(-) Countdowns in te stellen en te "
26
+ "plannen is inbegrepen... The Jedi way"
27
+
28
+ #: countdown-timer.php:134 countdown-timer.php:376 countdown-timer.php:554
29
+ msgid "weeks"
30
+ msgstr "weken"
31
+
32
+ #: countdown-timer.php:135 countdown-timer.php:377 countdown-timer.php:555
33
+ msgid "days"
34
+ msgstr "Dagen"
35
+
36
+ #: countdown-timer.php:136 countdown-timer.php:378 countdown-timer.php:556
37
+ msgid "hours"
38
+ msgstr "uren"
39
+
40
+ #: countdown-timer.php:137 countdown-timer.php:379 countdown-timer.php:557
41
+ msgid "minutes"
42
+ msgstr "minuten"
43
+
44
+ #: countdown-timer.php:138 countdown-timer.php:380 countdown-timer.php:558
45
+ msgid "seconds"
46
+ msgstr "seconde"
47
+
48
+ #: countdown-timer.php:434
49
+ msgid "Rockstar Features"
50
+ msgstr "Rockstar eigenshappen"
51
+
52
+ #: countdown-timer.php:462
53
+ msgid "Entire Widget"
54
+ msgstr "Volledige widget"
55
+
56
+ #: countdown-timer.php:462
57
+ msgid "Count Up"
58
+ msgstr "optelling"
59
+
60
+ msgid "T(-) Countdown"
61
+ msgstr "T(-) Countdown"
62
+
63
+ msgid "http://plugins.twinpictures.de/plugins/t-minus-countdown/"
64
+ msgstr "http://plugins.twinpictures.de/plugins/t-minus-countdown/"
65
+
66
+ msgid "twinpictures, baden03"
67
+ msgstr "twinpictures, baden03"
68
+
69
+ msgid "http://www.twinpictures.de/"
70
+ msgstr "http://www.twinpictures.de/"
71
+
72
+ #: countdown-timer.php:107
73
+ msgid "A highly customizable jQuery countdown timer by Twinpictures"
74
+ msgstr "een hoog instelbare jQuert aftelklok door Twinpictures"
75
+
76
+ #: countdown-timer.php:392
77
+ msgid "Title:"
78
+ msgstr "Titel"
79
+
80
+ #: countdown-timer.php:393
81
+ msgid "Target Date:"
82
+ msgstr "Doel Datum"
83
+
84
+ #: countdown-timer.php:394
85
+ msgid "Target Time (HH:MM:SS):"
86
+ msgstr "Doel Tijd (uu:mm:ss)"
87
+
88
+ #: countdown-timer.php:414
89
+ msgid "Omit Weeks:"
90
+ msgstr "weglaten Weken"
91
+
92
+ #: countdown-timer.php:414
93
+ msgid "No"
94
+ msgstr "Nee"
95
+
96
+ #: countdown-timer.php:414
97
+ msgid "Yes"
98
+ msgstr "Ja"
99
+
100
+ #: countdown-timer.php:415
101
+ msgid "Style:"
102
+ msgstr "Stijl"
103
+
104
+ #: countdown-timer.php:429
105
+ msgid "Inject Script:"
106
+ msgstr "Invoeg Script"
107
+
108
+ #: countdown-timer.php:429
109
+ msgid "Footer"
110
+ msgstr "voet"
111
+
112
+ #: countdown-timer.php:429
113
+ msgid "Inline"
114
+ msgstr "Inline"
115
+
116
+ #: countdown-timer.php:438
117
+ msgid "This is totally worth 3 bucks."
118
+ msgstr "Dit is zeker 3 dollar waard"
119
+
120
+ #: countdown-timer.php:445
121
+ msgid "Above Countdown"
122
+ msgstr "boven aftelklok"
123
+
124
+ #: countdown-timer.php:447
125
+ msgid "Top HTML:"
126
+ msgstr "Top HTML"
127
+
128
+ #: countdown-timer.php:450
129
+ msgid "Below Countdown"
130
+ msgstr "onder aftelklok"
131
+
132
+ #: countdown-timer.php:452
133
+ msgid "Bottom HTML:"
134
+ msgstr "Onderste HTML"
135
+
136
+ #: countdown-timer.php:455
137
+ msgid "When Countdown Reaches Zero"
138
+ msgstr "Wanneer aftelling Nul bereikt"
139
+
140
+ #: countdown-timer.php:457
141
+ msgid "Launch Event HTML:"
142
+ msgstr "Lanceer event HTML"
143
+
144
+ #: countdown-timer.php:458
145
+ msgid "Launch Target:"
146
+ msgstr "Lanceer doel"
147
+
148
+ #: countdown-timer.php:472
149
+ msgid "Digit Titles"
150
+ msgstr "Digit Titel"
151
+
152
+ #: countdown-timer.php:474
153
+ msgid "How do you spell \"weeks\"?:"
154
+ msgstr "Hoe spel jij \"weken\"?"
155
+
156
+ #: countdown-timer.php:475
157
+ msgid "How do you spell \"days\"?:"
158
+ msgstr "Hoe spel jij \"dagen\"?"
159
+
160
+ #: countdown-timer.php:476
161
+ msgid "How do you spell \"hours\"?:"
162
+ msgstr "Hoe spel jij \"uren\"?"
163
+
164
+ #: countdown-timer.php:477
165
+ msgid "How do you spell \"minutes\"?:"
166
+ msgstr "Hoe spel jij \"minuten\"?"
167
+
168
+ #: countdown-timer.php:478
169
+ msgid "And \"seconds\" are spelled:"
170
+ msgstr "En \"seconden\" worden gespeld:"
171
+
172
+ #: countdown-timer.php:489
173
+ msgid "Schedule Recurring Countdown"
174
+ msgstr "Plan een terugkomende aftelling"
175
+
176
+ msgid ""
177
+ "Display and configure multiple T(-) Countdown timers using a shortcode or "
178
+ "sidebar widget."
179
+ msgstr ""
180
+ "Vertoon en stel meerder T(-) Countdown klokken in via een shortcode of "
181
+ "sidebar widget"
readme.txt CHANGED
@@ -2,10 +2,10 @@
2
 
3
  Contributors: twinpictures, baden03
4
  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.5
8
- Stable tag: 2.2.9
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -44,25 +44,31 @@ A <a href='http://plugins.twinpictures.de/plugins/t-minus-countdown/documentatio
44
  * Minus&mdash;As in the opposite of plus (+)
45
  * T Minus&mdash;As in "This is Apollo Saturn Launch Control. We've passed the 11-minute mark. Now T minus 10 minutes 54 seconds on our countdown for Apollo 11."
46
 
47
- = Where may one view political news that gives giggle? =
48
- The Daily Show with John Stewart
49
-
50
- = I am a Social Netwookiee, do you have a Facebook page? =
51
  Yes, yes... <a href='http://www.facebook.com/twinpictures'>Twinpictures is on Facebook</a>.
52
 
53
  = Does Twinpictures do the Twitter? =
54
  Ah yes! <a href='http://twitter.com/#!/twinpictures'>@Twinpictures</a> is on the Twitter.
55
 
 
 
 
56
  == Screenshots ==
57
 
58
  1. T(-) Countdown in action with styles: Darth, Jedi and Carbonite.
59
  1. Styles: C-3PO, TIE-Fighter and Carbonlite.
60
  1. The basic T(-) Countdown widget options.
61
  1. An expansive view of the available Countdown widget options, provided for your viewing pleasure.
62
- 1. The _magical_ jQuery Datepicker.
63
 
64
  == Changelog ==
65
 
 
 
 
 
 
 
66
  = 2.2.9 =
67
  * calculate local time using WordPress current_time() function
68
  * fixed bug for iOS devices using Chrome
@@ -170,6 +176,11 @@ Ah yes! <a href='http://twitter.com/#!/twinpictures'>@Twinpictures</a> is on the
170
 
171
  == Upgrade Notice ==
172
 
 
 
 
 
 
173
  = 2.2.9 =
174
  * current time calculation now uses WordPress current_time() function
175
  * bug fix for iOS devices using Chrome
2
 
3
  Contributors: twinpictures, baden03
4
  Donate link: http://plugins.twinpictures.de/plugins/t-minus-countdown/
5
+ Tags: countdown, timer, clock, ticker, widget, event, counter, count down, twinpictures, t minus, t-minus, plugin-oven, pluginoven, G2, spaceBros, littlewebtings, jQuery, javascript
6
  Requires at least: 3.3
7
+ Tested up to: 3.6-beta
8
+ Stable tag: 2.2.10
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
44
  * Minus&mdash;As in the opposite of plus (+)
45
  * T Minus&mdash;As in "This is Apollo Saturn Launch Control. We've passed the 11-minute mark. Now T minus 10 minutes 54 seconds on our countdown for Apollo 11."
46
 
47
+ = I am a Social Netwookiee, does Twinpictures have a Facebook page? =
 
 
 
48
  Yes, yes... <a href='http://www.facebook.com/twinpictures'>Twinpictures is on Facebook</a>.
49
 
50
  = Does Twinpictures do the Twitter? =
51
  Ah yes! <a href='http://twitter.com/#!/twinpictures'>@Twinpictures</a> is on the Twitter.
52
 
53
+ = Where may one view political news that gives giggle? =
54
+ The Daily Show with John Stewart
55
+
56
  == Screenshots ==
57
 
58
  1. T(-) Countdown in action with styles: Darth, Jedi and Carbonite.
59
  1. Styles: C-3PO, TIE-Fighter and Carbonlite.
60
  1. The basic T(-) Countdown widget options.
61
  1. An expansive view of the available Countdown widget options, provided for your viewing pleasure.
62
+ 1. The magical jQuery Datepicker.
63
 
64
  == Changelog ==
65
 
66
+ = 2.2.10 =
67
+ * only load jQuery datepicker and related css on widgets admin page
68
+ * countup will switch to triple digits for numbers above 100
69
+ * added carbonite-responsive style
70
+ * added hoth style
71
+
72
  = 2.2.9 =
73
  * calculate local time using WordPress current_time() function
74
  * fixed bug for iOS devices using Chrome
176
 
177
  == Upgrade Notice ==
178
 
179
+ = 2.2.10 =
180
+ * jQuery datepicker and related css will only load when needed
181
+ * countup will use triple digit class for numbers above 100
182
+ * new carbonite-responsive style
183
+
184
  = 2.2.9 =
185
  * current time calculation now uses WordPress current_time() function
186
  * bug fix for iOS devices using Chrome
screenshot-1.png DELETED
Binary file
screenshot-2.png DELETED
Binary file
screenshot-3.png DELETED
Binary file
screenshot-4.png DELETED
Binary file
screenshot-5.png DELETED
Binary file