Simple Calendar – Google Calendar Plugin - Version 2.2.9

Version Description

  • August 14, 2015 =
  • Fix: Event links pointing to Google Calendar have a timezone argument from feed setting.
  • Fix: Improved assets loading, only load scripts on posts and pages that have a calendar.
  • Localization: Updated Norwegian translations.
Download this release

Release Info

Developer nekojira
Plugin Icon 128x128 Simple Calendar – Google Calendar Plugin
Version 2.2.9
Comparing to
See all releases

Code changes from version 2.2.8 to 2.2.9

class-google-calendar-events.php CHANGED
@@ -18,7 +18,7 @@ class Google_Calendar_Events {
18
  *
19
  * @var string
20
  */
21
- protected $version = '2.2.8';
22
 
23
  /**
24
  * Unique identifier for the plugin.
@@ -38,7 +38,22 @@ class Google_Calendar_Events {
38
  */
39
  protected static $instance = null;
40
 
41
- public $show_scripts = false;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
42
 
43
  /**
44
  * Initialize the plugin by setting localization and loading public scripts
@@ -48,6 +63,7 @@ class Google_Calendar_Events {
48
  */
49
  private function __construct() {
50
 
 
51
  $this->includes();
52
 
53
  $old = get_option( 'gce_version' );
@@ -60,73 +76,91 @@ class Google_Calendar_Events {
60
  $this->upgrade();
61
  }
62
 
 
63
  $this->setup_constants();
 
64
 
 
65
  add_action( 'init', array( $this, 'register_public_scripts' ) );
66
  add_action( 'init', array( $this, 'register_public_styles' ) );
67
 
68
  // Load scripts when posts load so we know if we need to include them or not
69
- add_filter( 'the_posts', array( $this, 'load_scripts' ) );
70
-
71
- // Load plugin text domain
72
- $this->plugin_textdomain();
73
 
74
- add_action( 'wp_footer', array( $this, 'localize_main_script' ) );
 
 
 
 
 
 
 
 
 
 
75
  }
76
 
77
- public function localize_main_script() {
 
 
 
 
 
78
 
79
- if( $this->show_scripts ) {
80
- global $localize;
 
 
 
81
 
82
- wp_localize_script( GCE_PLUGIN_SLUG . '-public', 'gce_grid', $localize );
83
 
84
- wp_localize_script( GCE_PLUGIN_SLUG . '-public', 'gce',
85
- array(
86
- 'script_debug' => ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ),
87
- 'ajaxurl' => admin_url( 'admin-ajax.php' ),
88
- 'loadingText' => __( 'Loading...', 'gce' ),
89
- ) );
90
- }
91
  }
92
 
93
- public function load_scripts( $posts ) {
94
-
95
- global $gce_options;
96
-
97
- // Init enqueue flag.
98
- $do_enqueue = false;
99
-
100
- if ( isset( $gce_options['always_enqueue'] ) ) {
101
 
102
- $do_enqueue = true;
103
 
104
- } elseif ( ! empty( $posts ) ) {
 
 
105
 
106
- foreach ( $posts as $post ) {
 
 
 
107
 
108
- if ( ( strpos( $post->post_content, '[gcal' ) !== false ) || ( $post->post_type == 'gce_feed' ) ) {
 
 
109
 
110
- $do_enqueue = true;
111
- break;
112
- }
113
- }
114
- }
 
115
 
116
- if ( true == $do_enqueue ) {
117
 
118
- // Load CSS after checking to see if it is supposed to be disabled or not (based on settings)
119
- if( ! isset( $gce_options['disable_css'] ) ) {
120
  wp_enqueue_style( $this->plugin_slug . '-public' );
121
  }
122
 
123
- // Load JS
124
  wp_enqueue_script( $this->plugin_slug . '-public' );
125
-
126
- $this->show_scripts = true;
 
 
127
  }
128
-
129
- return $posts;
130
  }
131
 
132
  /**
@@ -159,9 +193,10 @@ class Google_Calendar_Events {
159
  * @since 2.0.0
160
  */
161
  public static function includes() {
 
162
  global $gce_options;
163
 
164
- // First include common files between admin and public
165
  include_once( 'includes/misc-functions.php' );
166
  include_once( 'includes/gce-feed-cpt.php' );
167
  include_once( 'includes/class-gce-display.php' );
@@ -170,50 +205,17 @@ class Google_Calendar_Events {
170
  include_once( 'includes/shortcodes.php' );
171
  include_once( 'views/widgets.php' );
172
 
173
- // Now include files specifically for public or admin
174
- if( is_admin() ) {
175
- // Admin includes
176
  include_once( 'includes/admin/admin-functions.php' );
177
- } else {
178
- // Public includes
179
  }
180
 
181
- // Setup our main settings options
182
  include_once( 'includes/register-settings.php' );
183
 
184
  $gce_options = gce_get_settings();
185
  }
186
 
187
- /**
188
- * Load public facing scripts
189
- *
190
- * @since 2.0.0
191
- */
192
- public function register_public_scripts() {
193
-
194
- // DON'T include ImagesLoaded JS library recommended by qTip2 yet since we don't use "complex content that contains images" (yet).
195
- // http://qtip2.com/guides#gettingstarted.imagesloaded
196
- // We WERE doing this between 2.1.6 & 2.2.5 (taken out as of 2.2.6).
197
- // AND this was probably causing issues with themes including the Isotope jQuery library.
198
- // http://qtip2.com/guides#integration.isotope
199
-
200
- // Use unminified JS if SCRIPT_DEBUG exists and set to true.
201
- $min = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
202
-
203
- wp_register_script( $this->plugin_slug . '-qtip', plugins_url( 'js/jquery.qtip' . $min . '.js', __FILE__ ), array( 'jquery' ), $this->version, true );
204
- wp_register_script( $this->plugin_slug . '-public', plugins_url( 'js/gce-script.js', __FILE__ ), array( 'jquery', $this->plugin_slug . '-qtip' ), $this->version, true );
205
- }
206
-
207
- /*
208
- * Load public facing styles
209
- *
210
- * @since 2.0.0
211
- */
212
- public function register_public_styles() {
213
- wp_register_style( $this->plugin_slug . '-qtip', plugins_url( 'css/jquery.qtip.min.css', __FILE__ ), array(), $this->version );
214
- wp_register_style( $this->plugin_slug . '-public', plugins_url( 'css/gce-style.css', __FILE__ ), array( $this->plugin_slug . '-qtip' ), $this->version );
215
- }
216
-
217
  /**
218
  * Return the plugin slug.
219
  *
@@ -236,33 +238,4 @@ class Google_Calendar_Events {
236
  return $this->version;
237
  }
238
 
239
- /**
240
- * Return an instance of this class.
241
- *
242
- * @since 1.0.0
243
- *
244
- * @return object A single instance of this class.
245
- */
246
- public static function get_instance() {
247
-
248
- // If the single instance hasn't been set, set it now.
249
- if ( null == self::$instance ) {
250
- self::$instance = new self;
251
- }
252
-
253
- return self::$instance;
254
- }
255
-
256
- /**
257
- * Load the plugin text domain for translation.
258
- *
259
- * @since 2.0.0
260
- */
261
- public function plugin_textdomain() {
262
- load_plugin_textdomain(
263
- 'gce',
264
- false,
265
- dirname( plugin_basename( GCE_MAIN_FILE ) ) . '/languages/'
266
- );
267
- }
268
  }
18
  *
19
  * @var string
20
  */
21
+ protected $version = '2.2.9';
22
 
23
  /**
24
  * Unique identifier for the plugin.
38
  */
39
  protected static $instance = null;
40
 
41
+ /**
42
+ * Return an instance of this class.
43
+ *
44
+ * @since 1.0.0
45
+ *
46
+ * @return object A single instance of this class.
47
+ */
48
+ public static function get_instance() {
49
+
50
+ // If the single instance hasn't been set, set it now.
51
+ if ( null == self::$instance ) {
52
+ self::$instance = new self;
53
+ }
54
+
55
+ return self::$instance;
56
+ }
57
 
58
  /**
59
  * Initialize the plugin by setting localization and loading public scripts
63
  */
64
  private function __construct() {
65
 
66
+ // Load files.
67
  $this->includes();
68
 
69
  $old = get_option( 'gce_version' );
76
  $this->upgrade();
77
  }
78
 
79
+ // Init plugin.
80
  $this->setup_constants();
81
+ $this->plugin_textdomain();
82
 
83
+ // Register scripts.
84
  add_action( 'init', array( $this, 'register_public_scripts' ) );
85
  add_action( 'init', array( $this, 'register_public_styles' ) );
86
 
87
  // Load scripts when posts load so we know if we need to include them or not
88
+ add_action( 'wp_enqueue_scripts', array( $this, 'load_scripts' ) );
89
+ }
 
 
90
 
91
+ /**
92
+ * Load the plugin text domain for translation.
93
+ *
94
+ * @since 2.0.0
95
+ */
96
+ public function plugin_textdomain() {
97
+ load_plugin_textdomain(
98
+ 'gce',
99
+ false,
100
+ dirname( plugin_basename( GCE_MAIN_FILE ) ) . '/languages/'
101
+ );
102
  }
103
 
104
+ /**
105
+ * Load public facing scripts
106
+ *
107
+ * @since 2.0.0
108
+ */
109
+ public function register_public_scripts() {
110
 
111
+ // DON'T include ImagesLoaded JS library recommended by qTip2 yet since we don't use "complex content that contains images" (yet).
112
+ // http://qtip2.com/guides#gettingstarted.imagesloaded
113
+ // We WERE doing this between 2.1.6 & 2.2.5 (taken out as of 2.2.6).
114
+ // AND this was probably causing issues with themes including the Isotope jQuery library.
115
+ // http://qtip2.com/guides#integration.isotope
116
 
117
+ $min = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
118
 
119
+ wp_register_script( $this->plugin_slug . '-qtip', plugins_url( 'js/jquery.qtip' . $min . '.js', __FILE__ ), array( 'jquery' ), $this->version, true );
120
+ wp_register_script( $this->plugin_slug . '-public', plugins_url( 'js/gce-script.js', __FILE__ ), array( 'jquery', $this->plugin_slug . '-qtip' ), $this->version, true );
 
 
 
 
 
121
  }
122
 
123
+ /*
124
+ * Load public facing styles
125
+ *
126
+ * @since 2.0.0
127
+ */
128
+ public function register_public_styles() {
 
 
129
 
130
+ $min = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
131
 
132
+ wp_register_style( $this->plugin_slug . '-qtip', plugins_url( 'css/jquery.qtip' . $min . '.css', __FILE__ ), array(), $this->version );
133
+ wp_register_style( $this->plugin_slug . '-public', plugins_url( 'css/gce-style.css', __FILE__ ), array( $this->plugin_slug . '-qtip' ), $this->version );
134
+ }
135
 
136
+ /**
137
+ * Load scripts conditionally.
138
+ */
139
+ public function load_scripts() {
140
 
141
+ global $gce_options, $post;
142
+ $post_type = isset( $post->post_type ) ? $post->post_type : null;
143
+ $content = isset( $post->post_content ) ? $post->post_content : '';
144
 
145
+ $conditions = array(
146
+ has_shortcode( $content, 'gcal' ),
147
+ 'gce_feed' == $post_type,
148
+ isset( $gce_options['always_enqueue'] ),
149
+ is_active_widget( false, false, 'gce_widget', true )
150
+ );
151
 
152
+ if ( in_array( true, $conditions ) ) {
153
 
154
+ if ( ! isset( $gce_options['disable_css'] ) ) {
 
155
  wp_enqueue_style( $this->plugin_slug . '-public' );
156
  }
157
 
 
158
  wp_enqueue_script( $this->plugin_slug . '-public' );
159
+ wp_localize_script( $this->plugin_slug . '-public', 'gce', array(
160
+ 'ajaxurl' => admin_url( 'admin-ajax.php' ),
161
+ 'loadingText' => __( 'Loading...', 'gce' ),
162
+ ) );
163
  }
 
 
164
  }
165
 
166
  /**
193
  * @since 2.0.0
194
  */
195
  public static function includes() {
196
+
197
  global $gce_options;
198
 
199
+ // Front facing side.
200
  include_once( 'includes/misc-functions.php' );
201
  include_once( 'includes/gce-feed-cpt.php' );
202
  include_once( 'includes/class-gce-display.php' );
205
  include_once( 'includes/shortcodes.php' );
206
  include_once( 'views/widgets.php' );
207
 
208
+ // Admin.
209
+ if ( is_admin() ) {
 
210
  include_once( 'includes/admin/admin-functions.php' );
 
 
211
  }
212
 
213
+ // Setup our main settings options.
214
  include_once( 'includes/register-settings.php' );
215
 
216
  $gce_options = gce_get_settings();
217
  }
218
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
219
  /**
220
  * Return the plugin slug.
221
  *
238
  return $this->version;
239
  }
240
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
241
  }
google-calendar-events.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Show off your Google calendar in grid (month) or list view, in a post, page or widget, and in a style that matches your site.
6
  * Author: Moonstone Media
7
  * Author URI: http://moonstonemediagroup.com
8
- * Version: 2.2.8
9
  * Text Domain: gce
10
  * Domain Path: /languages/
11
  *
5
  * Description: Show off your Google calendar in grid (month) or list view, in a post, page or widget, and in a style that matches your site.
6
  * Author: Moonstone Media
7
  * Author URI: http://moonstonemediagroup.com
8
+ * Version: 2.2.9
9
  * Text Domain: gce
10
  * Domain Path: /languages/
11
  *
includes/class-gce-event.php CHANGED
@@ -195,9 +195,17 @@ class GCE_Event {
195
 
196
  //If link should be displayed add to $markup
197
  if ( ! empty( $display_options['display_link'] ) ) {
 
198
  $target = ( ! empty( $display_options['display_link_target'] ) ? 'target="blank"' : '' );
199
 
200
- $ctz = get_option( 'timezone_string' );
 
 
 
 
 
 
 
201
 
202
  // Check if it is a hangouts link first
203
  if( strpos( $this->link, 'plus.google.com/events/' ) !== false ) {
@@ -375,8 +383,17 @@ class GCE_Event {
375
  return $m[1] . $description . $m[6];
376
 
377
  case 'link':
 
378
  $new_window = ( $newwindow ) ? ' target="_blank"' : '';
379
- $ctz = get_option( 'timezone_string' );
 
 
 
 
 
 
 
 
380
 
381
  // Check if it is a hangouts link first
382
  if( strpos( $this->link, 'plus.google.com/events/' ) !== false ) {
195
 
196
  //If link should be displayed add to $markup
197
  if ( ! empty( $display_options['display_link'] ) ) {
198
+
199
  $target = ( ! empty( $display_options['display_link_target'] ) ? 'target="blank"' : '' );
200
 
201
+ $ctz = gce_get_wp_timezone();
202
+
203
+ if ( isset( $this->feed->id ) ) {
204
+ $tz_option = esc_attr( get_post_meta( $this->feed->id, '_feed_timezone_setting', true ) );
205
+ if ( 'use_calendar' == $tz_option ) {
206
+ $ctz = '';
207
+ }
208
+ }
209
 
210
  // Check if it is a hangouts link first
211
  if( strpos( $this->link, 'plus.google.com/events/' ) !== false ) {
383
  return $m[1] . $description . $m[6];
384
 
385
  case 'link':
386
+
387
  $new_window = ( $newwindow ) ? ' target="_blank"' : '';
388
+
389
+ $ctz = gce_get_wp_timezone();
390
+
391
+ if ( isset( $this->feed->id ) ) {
392
+ $tz_option = esc_attr( get_post_meta( $this->feed->id, '_feed_timezone_setting', true ) );
393
+ if ( 'use_calendar' == $tz_option ) {
394
+ $ctz = '';
395
+ }
396
+ }
397
 
398
  // Check if it is a hangouts link first
399
  if( strpos( $this->link, 'plus.google.com/events/' ) !== false ) {
includes/misc-functions.php CHANGED
@@ -12,11 +12,6 @@ function gce_print_calendar( $feed_ids, $display = 'grid', $args = array(), $wid
12
  STATIC $uid = 1;
13
  }
14
 
15
-
16
- // Load scripts
17
- wp_enqueue_script( GCE_PLUGIN_SLUG . '-qtip' );
18
- wp_enqueue_script( GCE_PLUGIN_SLUG . '-public' );
19
-
20
  $defaults = array(
21
  'title_text' => '',
22
  'sort' => 'asc',
@@ -100,10 +95,12 @@ function gce_print_calendar( $feed_ids, $display = 'grid', $args = array(), $wid
100
  'show_tooltips' => ( $show_tooltips == 'true' || $show_tooltips == '1' ? 'true' : 'false' )
101
  );
102
 
 
 
103
  if( $widget == 1 ) {
104
- $markup .= '<div class="gce-widget-grid gce-widget-' . esc_attr( $feed_ids ) . '" id="gce-' . $uid . '">';
105
  } else {
106
- $markup .= '<div class="gce-page-grid gce-page-grid-' . esc_attr( $feed_ids ) . '" id="gce-' . $uid . '">';
107
  }
108
 
109
  $markup .= $d->get_grid( $year, $month, $widget, $paging );
12
  STATIC $uid = 1;
13
  }
14
 
 
 
 
 
 
15
  $defaults = array(
16
  'title_text' => '',
17
  'sort' => 'asc',
95
  'show_tooltips' => ( $show_tooltips == 'true' || $show_tooltips == '1' ? 'true' : 'false' )
96
  );
97
 
98
+ $data_attr = sprintf( 'data-feed="%s"', htmlspecialchars( json_encode( $localize ), ENT_QUOTES, 'UTF-8' ) );
99
+
100
  if( $widget == 1 ) {
101
+ $markup .= '<div class="gce-widget-grid gce-widget-' . esc_attr( $feed_ids ) . '" id="gce-' . $uid . '" ' . $data_attr .'>';
102
  } else {
103
+ $markup .= '<div class="gce-page-grid gce-page-grid-' . esc_attr( $feed_ids ) . '" id="gce-' . $uid . '" ' . $data_attr .'>';
104
  }
105
 
106
  $markup .= $d->get_grid( $year, $month, $widget, $paging );
includes/shortcodes.php CHANGED
@@ -11,10 +11,13 @@
11
 
12
  /**
13
  * Adds support for the new [gcal] shortcode
14
- *
15
  * Supports the old [google-calendar-events] shortcode
16
- *
17
  * @since 2.0.0
 
 
 
18
  */
19
  function gce_gcal_shortcode( $attr ) {
20
 
@@ -31,17 +34,16 @@ function gce_gcal_shortcode( $attr ) {
31
  'offset_direction' => null,
32
  'show_tooltips' => null
33
  ), $attr, 'gce_feed' ) );
34
-
35
- // If no ID is specified then return
36
- if( empty( $id ) ) {
37
- return;
38
  }
39
-
40
  $invalid_id = false;
41
-
42
  $paging_interval = null;
43
  $max_events = null;
44
-
45
  $feed_ids = explode( ',', str_replace( ' ', '', $id ) );
46
 
47
  foreach( $feed_ids as $k => $v ) {
@@ -54,55 +56,55 @@ function gce_gcal_shortcode( $attr ) {
54
  $feed_ids[$k] = get_the_ID();
55
  $v = get_the_ID();
56
  }
57
-
58
  wp_reset_postdata();
59
 
60
  if( empty( $display ) ) {
61
  $display = get_post_meta( $v, 'gce_display_mode', true );
62
  }
63
-
64
  if( $interval == null ) {
65
  $interval = get_post_meta( $v, 'gce_events_per_page', true );
66
  }
67
-
68
  if( $interval_count == null ) {
69
  $interval_count = get_post_meta( $v, 'gce_per_page_num', true );
70
  }
71
-
72
  if( $offset_interval_count == null ) {
73
  $offset_interval_count = get_post_meta( $v, 'gce_list_start_offset_num', true );
74
  }
75
-
76
  if( $offset_direction == null ) {
77
  $offset_direction = get_post_meta( $v, 'gce_list_start_offset_direction', true );
78
  }
79
-
80
  if( $paging == null ) {
81
  $paging = get_post_meta( $v, 'gce_paging', true );
82
  }
83
-
84
  if( $show_tooltips == null ) {
85
  $show_tooltips = get_post_meta( $v, 'gce_show_tooltips', true );
86
  }
87
-
88
  if( ! ( 'publish' == get_post_status( $v ) ) ) {
89
  $invalid_id = true;
90
  }
91
  }
92
-
93
  if( $invalid_id ) {
94
  if( current_user_can( 'manage_options' ) ) {
95
  return '<p>' . __( 'There was a problem with one or more of your feed IDs. Please check your shortcode settings and make sure they are correct.', 'gce' ) . '</p>';
96
  }
97
  }
98
-
99
- if( $paging == 'false' ) {
100
  $paging = 0;
101
- } else if( $paging == 'true' ) {
102
  $paging = 1;
103
  }
104
-
105
-
106
  if( $offset_direction == 'back' ) {
107
  $offset_direction = -1;
108
  } else {
@@ -110,7 +112,7 @@ function gce_gcal_shortcode( $attr ) {
110
  }
111
 
112
  $start_offset = $offset_interval_count * 86400 * $offset_direction;
113
-
114
  if( $interval == 'days' ) {
115
  $paging_interval = $interval_count * 86400;
116
  $paging_type = 'days';
@@ -131,7 +133,7 @@ function gce_gcal_shortcode( $attr ) {
131
  $display = $type;
132
  }
133
  }
134
-
135
  if( $display == 'grouped-list' ) {
136
  $display = 'list-grouped';
137
  }
@@ -148,17 +150,17 @@ function gce_gcal_shortcode( $attr ) {
148
  'paging' => $paging,
149
  'show_tooltips' => $show_tooltips
150
  );
151
-
152
  $args['start_offset'] = $start_offset;
153
-
154
  if( ! empty( $paging_type ) ) {
155
  $args['paging_type'] = $paging_type;
156
  }
157
-
158
  $feed_ids = implode( '-', $feed_ids );
159
 
160
  return gce_print_calendar( $feed_ids, $display, $args );
161
-
162
  }
163
  add_shortcode( 'gcal', 'gce_gcal_shortcode' );
164
  add_shortcode( 'google-calendar-events', 'gce_gcal_shortcode' );
11
 
12
  /**
13
  * Adds support for the new [gcal] shortcode
14
+ *
15
  * Supports the old [google-calendar-events] shortcode
16
+ *
17
  * @since 2.0.0
18
+ *
19
+ * @param array $attr
20
+ * @return string
21
  */
22
  function gce_gcal_shortcode( $attr ) {
23
 
34
  'offset_direction' => null,
35
  'show_tooltips' => null
36
  ), $attr, 'gce_feed' ) );
37
+
38
+ if ( ! $id || is_null( $id ) ) {
39
+ return '';
 
40
  }
41
+
42
  $invalid_id = false;
43
+
44
  $paging_interval = null;
45
  $max_events = null;
46
+
47
  $feed_ids = explode( ',', str_replace( ' ', '', $id ) );
48
 
49
  foreach( $feed_ids as $k => $v ) {
56
  $feed_ids[$k] = get_the_ID();
57
  $v = get_the_ID();
58
  }
59
+
60
  wp_reset_postdata();
61
 
62
  if( empty( $display ) ) {
63
  $display = get_post_meta( $v, 'gce_display_mode', true );
64
  }
65
+
66
  if( $interval == null ) {
67
  $interval = get_post_meta( $v, 'gce_events_per_page', true );
68
  }
69
+
70
  if( $interval_count == null ) {
71
  $interval_count = get_post_meta( $v, 'gce_per_page_num', true );
72
  }
73
+
74
  if( $offset_interval_count == null ) {
75
  $offset_interval_count = get_post_meta( $v, 'gce_list_start_offset_num', true );
76
  }
77
+
78
  if( $offset_direction == null ) {
79
  $offset_direction = get_post_meta( $v, 'gce_list_start_offset_direction', true );
80
  }
81
+
82
  if( $paging == null ) {
83
  $paging = get_post_meta( $v, 'gce_paging', true );
84
  }
85
+
86
  if( $show_tooltips == null ) {
87
  $show_tooltips = get_post_meta( $v, 'gce_show_tooltips', true );
88
  }
89
+
90
  if( ! ( 'publish' == get_post_status( $v ) ) ) {
91
  $invalid_id = true;
92
  }
93
  }
94
+
95
  if( $invalid_id ) {
96
  if( current_user_can( 'manage_options' ) ) {
97
  return '<p>' . __( 'There was a problem with one or more of your feed IDs. Please check your shortcode settings and make sure they are correct.', 'gce' ) . '</p>';
98
  }
99
  }
100
+
101
+ if( $paging == 'false' ) {
102
  $paging = 0;
103
+ } else if( $paging == 'true' ) {
104
  $paging = 1;
105
  }
106
+
107
+
108
  if( $offset_direction == 'back' ) {
109
  $offset_direction = -1;
110
  } else {
112
  }
113
 
114
  $start_offset = $offset_interval_count * 86400 * $offset_direction;
115
+
116
  if( $interval == 'days' ) {
117
  $paging_interval = $interval_count * 86400;
118
  $paging_type = 'days';
133
  $display = $type;
134
  }
135
  }
136
+
137
  if( $display == 'grouped-list' ) {
138
  $display = 'list-grouped';
139
  }
150
  'paging' => $paging,
151
  'show_tooltips' => $show_tooltips
152
  );
153
+
154
  $args['start_offset'] = $start_offset;
155
+
156
  if( ! empty( $paging_type ) ) {
157
  $args['paging_type'] = $paging_type;
158
  }
159
+
160
  $feed_ids = implode( '-', $feed_ids );
161
 
162
  return gce_print_calendar( $feed_ids, $display, $args );
163
+
164
  }
165
  add_shortcode( 'gcal', 'gce_gcal_shortcode' );
166
  add_shortcode( 'google-calendar-events', 'gce_gcal_shortcode' );
js/gce-script.js CHANGED
@@ -12,84 +12,82 @@
12
  (function($) {
13
  'use strict';
14
 
15
- // Set debug flag.
16
- var script_debug = ( (typeof gce != 'undefined') && gce.script_debug == true);
17
-
18
  $(function() {
19
 
20
- var $body = $( 'body' );
21
-
22
- if( typeof gce_grid != 'undefined' ) {
 
 
 
23
 
24
- if (script_debug) {
25
- console.log('gce_grid', gce_grid);
 
 
 
26
  }
27
-
28
- var tooltip_elements = '';
29
 
30
- $body.find('.gce-page-grid, .gce-widget-grid').each( function() {
31
- var id = $(this).attr('id');
32
 
33
- if( gce_grid[id].show_tooltips == 'true' || gce_grid[id].show_tooltips == true ) {
34
- tooltip_elements += '#' + gce_grid[id].target_element + ' .gce-has-events,';
35
- }
36
- });
37
-
38
- tooltip_elements = tooltip_elements.substring( 0, tooltip_elements.length - 1 );
39
-
40
- gce_tooltips(tooltip_elements);
 
 
 
 
 
 
 
 
 
41
 
42
- // Month nav link click for Grid view.
43
- // TODO Unbind other attached clicks here?
44
- $body.on( 'click.gceNavLink', '.gce-change-month', function( event ) {
45
 
46
- event.preventDefault();
 
 
47
 
48
- var navLink = $(this);
 
49
 
50
- var id = navLink.closest('.gce-page-grid').attr('id');
51
-
52
- if( typeof id == 'undefined' ) {
53
- id = navLink.closest('.gce-widget-grid').attr('id');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
54
  }
55
-
56
- //Extract month and year
57
- var month_year = navLink.attr('name').split('-', 2);
58
- var paging = navLink.attr('data-gce-grid-paging');
59
-
60
- //Add loading text to table caption
61
- $body.find('#' + gce_grid[id].target_element + ' caption').html(gce.loadingText);
62
-
63
- //Send AJAX request
64
- $.post(gce.ajaxurl,{
65
- action:'gce_ajax',
66
- gce_uid: id,
67
- gce_type: gce_grid[id].type,
68
- gce_feed_ids: gce_grid[id].feed_ids,
69
- gce_title_text: gce_grid[id].title_text,
70
- gce_widget_id: gce_grid[id].target_element,
71
- gce_month: month_year[0],
72
- gce_year: month_year[1],
73
- gce_paging: paging
74
-
75
- }, function(data) {
76
-
77
- //Replace existing data with returned AJAX data.
78
- var targetEle = $body.find('#' + gce_grid[id].target_element);
79
-
80
- if (gce_grid[id].type == 'widget') {
81
- targetEle.html(data);
82
- } else {
83
- targetEle.replaceWith(data);
84
- }
85
-
86
- gce_tooltips(tooltip_elements);
87
 
88
- }).fail(function(data) {
89
- console.log( data );
90
- });
 
91
  });
92
- }
 
93
 
94
  // Month nav link click for List view.
95
  // TODO Unbind other attached clicks here?
@@ -98,7 +96,7 @@
98
  event.preventDefault();
99
 
100
  var navLink = $(this);
101
-
102
  var list = navLink.closest('.gce-list');
103
 
104
  var start = list.data('gce-start');
@@ -111,7 +109,7 @@
111
  var paging_direction = navLink.data('gce-paging-direction');
112
  var start_offset = list.data('gce-start-offset');
113
  var paging_type = navLink.data('gce-paging-type');
114
-
115
  //Add loading text to table caption
116
  navLink.parents('.gce-navbar').find('.gce-month-title').html(gce.loadingText);
117
 
12
  (function($) {
13
  'use strict';
14
 
 
 
 
15
  $(function() {
16
 
17
+ var $body = $( 'body'),
18
+ grids = $body.find('.gce-page-grid, .gce-widget-grid'),
19
+ gce_grid = [ grids.each( function( e, i ) { return $( i ).data( 'feed' ); } ) ],
20
+ tooltip_elements = '';
21
+
22
+ $body.find('.gce-page-grid, .gce-widget-grid').each( function( e, i ) {
23
 
24
+ var id = $( this ).attr('id'),
25
+ gce_grid = $( this ).data( 'feed' );
26
+
27
+ if( gce_grid[id].show_tooltips == 'true' || gce_grid[id].show_tooltips == true ) {
28
+ tooltip_elements += '#' + gce_grid[id].target_element + ' .gce-has-events,';
29
  }
30
+ });
 
31
 
32
+ tooltip_elements = tooltip_elements.substring( 0, tooltip_elements.length - 1 );
 
33
 
34
+ gce_tooltips(tooltip_elements);
35
+
36
+ // Month nav link click for Grid view.
37
+ // TODO Unbind other attached clicks here?
38
+ $body.on( 'click.gceNavLink', '.gce-change-month', function( event ) {
39
+
40
+ event.preventDefault();
41
+
42
+ var navLink = $(this);
43
+
44
+ var grid = navLink.closest('.gce-page-grid'),
45
+ id = grid.attr('id');
46
+
47
+ if( typeof id == 'undefined' ) {
48
+ grid = navLink.closest('.gce-widget-grid'),
49
+ id = grid.attr('id');
50
+ }
51
 
52
+ var gce_grid = grid.data( 'feed' );
 
 
53
 
54
+ //Extract month and year
55
+ var month_year = navLink.attr('name').split('-', 2);
56
+ var paging = navLink.attr('data-gce-grid-paging');
57
 
58
+ //Add loading text to table caption
59
+ $body.find('#' + gce_grid[id].target_element + ' caption').html(gce.loadingText);
60
 
61
+ //Send AJAX request
62
+ $.post(gce.ajaxurl,{
63
+ action:'gce_ajax',
64
+ gce_uid: id,
65
+ gce_type: gce_grid[id].type,
66
+ gce_feed_ids: gce_grid[id].feed_ids,
67
+ gce_title_text: gce_grid[id].title_text,
68
+ gce_widget_id: gce_grid[id].target_element,
69
+ gce_month: month_year[0],
70
+ gce_year: month_year[1],
71
+ gce_paging: paging
72
+
73
+ }, function(data) {
74
+
75
+ //Replace existing data with returned AJAX data.
76
+ var targetEle = $body.find('#' + gce_grid[id].target_element);
77
+
78
+ if (gce_grid[id].type == 'widget') {
79
+ targetEle.html(data);
80
+ } else {
81
+ targetEle.replaceWith(data);
82
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
83
 
84
+ gce_tooltips(tooltip_elements);
85
+
86
+ }).fail(function(data) {
87
+ console.log( data );
88
  });
89
+ });
90
+
91
 
92
  // Month nav link click for List view.
93
  // TODO Unbind other attached clicks here?
96
  event.preventDefault();
97
 
98
  var navLink = $(this);
99
+
100
  var list = navLink.closest('.gce-list');
101
 
102
  var start = list.data('gce-start');
109
  var paging_direction = navLink.data('gce-paging-direction');
110
  var start_offset = list.data('gce-start-offset');
111
  var paging_type = navLink.data('gce-paging-type');
112
+
113
  //Add loading text to table caption
114
  navLink.parents('.gce-navbar').find('.gce-month-title').html(gce.loadingText);
115
 
languages/gce-ca.mo CHANGED
Binary file
languages/gce-ca.po CHANGED
@@ -5,7 +5,7 @@ msgstr ""
5
  "Project-Id-Version: Google Calendar Events 0.7.1\n"
6
  "Report-Msgid-Bugs-To: https://github.com/pderksen/WP-Google-Calendar-Events/"
7
  "issues\n"
8
- "POT-Creation-Date: 2015-08-07 18:22:35+00:00\n"
9
  "PO-Revision-Date: 2015-04-02 12:10+0100\n"
10
  "Last-Translator: Toni Ginard <toni.ginard@gmail.com>\n"
11
  "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -54,7 +54,7 @@ msgstr ""
54
  msgid "Please add a new calendar feed first."
55
  msgstr "Assegureu-vos que l'ID del calendari és correcte."
56
 
57
- #: class-google-calendar-events.php:88
58
  msgid "Loading..."
59
  msgstr "S'està carregant..."
60
 
@@ -422,7 +422,7 @@ msgstr ""
422
  "No es pot trobar la funció de retorn utilitzada pel paràmetre <strong>%s</"
423
  "strong>."
424
 
425
- #: includes/shortcodes.php:95
426
  msgid ""
427
  "There was a problem with one or more of your feed IDs. Please check your "
428
  "shortcode settings and make sure they are correct."
@@ -834,13 +834,13 @@ msgid "Get notified of new features"
834
  msgstr "Notificació de noves funcionalitats"
835
 
836
  #: views/admin/gce-feed-sidebar-help.php:21
837
- msgid "Your review helps more folks find our plugin. Thanks so much!"
 
838
  msgstr ""
839
 
840
  #: views/admin/gce-feed-sidebar-help.php:25
841
- #, fuzzy
842
- msgid "Review this Plugin Now"
843
- msgstr "Valora aquesta extensió"
844
 
845
  #: views/widgets.php:28
846
  msgid ""
@@ -975,6 +975,10 @@ msgctxt "separator between custom date range fields"
975
  msgid "to"
976
  msgstr ""
977
 
 
 
 
 
978
  #~ msgid "Helpful Links"
979
  #~ msgstr "Enllaços d'interès"
980
 
5
  "Project-Id-Version: Google Calendar Events 0.7.1\n"
6
  "Report-Msgid-Bugs-To: https://github.com/pderksen/WP-Google-Calendar-Events/"
7
  "issues\n"
8
+ "POT-Creation-Date: 2015-08-14 14:43:32+00:00\n"
9
  "PO-Revision-Date: 2015-04-02 12:10+0100\n"
10
  "Last-Translator: Toni Ginard <toni.ginard@gmail.com>\n"
11
  "Language-Team: LANGUAGE <LL@li.org>\n"
54
  msgid "Please add a new calendar feed first."
55
  msgstr "Assegureu-vos que l'ID del calendari és correcte."
56
 
57
+ #: class-google-calendar-events.php:87
58
  msgid "Loading..."
59
  msgstr "S'està carregant..."
60
 
422
  "No es pot trobar la funció de retorn utilitzada pel paràmetre <strong>%s</"
423
  "strong>."
424
 
425
+ #: includes/shortcodes.php:104
426
  msgid ""
427
  "There was a problem with one or more of your feed IDs. Please check your "
428
  "shortcode settings and make sure they are correct."
834
  msgstr "Notificació de noves funcionalitats"
835
 
836
  #: views/admin/gce-feed-sidebar-help.php:21
837
+ msgid ""
838
+ "Are you finding our GCal plugin helpful? 5-star ratings keep us motivated!"
839
  msgstr ""
840
 
841
  #: views/admin/gce-feed-sidebar-help.php:25
842
+ msgid "Rate our plugin on wordpress.org"
843
+ msgstr ""
 
844
 
845
  #: views/widgets.php:28
846
  msgid ""
975
  msgid "to"
976
  msgstr ""
977
 
978
+ #, fuzzy
979
+ #~ msgid "Review this Plugin Now"
980
+ #~ msgstr "Valora aquesta extensió"
981
+
982
  #~ msgid "Helpful Links"
983
  #~ msgstr "Enllaços d'interès"
984
 
languages/gce-de_DE.mo CHANGED
Binary file
languages/gce-de_DE.po CHANGED
@@ -5,7 +5,7 @@ msgstr ""
5
  "Project-Id-Version: Google Calendar Events en español\n"
6
  "Report-Msgid-Bugs-To: https://github.com/pderksen/WP-Google-Calendar-Events/"
7
  "issues\n"
8
- "POT-Creation-Date: 2015-08-07 18:22:35+00:00\n"
9
  "PO-Revision-Date: \n"
10
  "Last-Translator: David Arndt <dev@david-arndt.de>\n"
11
  "Language-Team: \n"
@@ -64,7 +64,7 @@ msgstr ""
64
  msgid "Please add a new calendar feed first."
65
  msgstr ""
66
 
67
- #: class-google-calendar-events.php:88
68
  msgid "Loading..."
69
  msgstr ""
70
 
@@ -424,7 +424,7 @@ msgstr ""
424
  "Die Callback-Funktion, welche für die <strong>%s</strong> Einstellung "
425
  "benötigt wird, fehlt."
426
 
427
- #: includes/shortcodes.php:95
428
  msgid ""
429
  "There was a problem with one or more of your feed IDs. Please check your "
430
  "shortcode settings and make sure they are correct."
@@ -840,13 +840,13 @@ msgid "Get notified of new features"
840
  msgstr "Lassen Sie sich bei neuen Updates informieren"
841
 
842
  #: views/admin/gce-feed-sidebar-help.php:21
843
- msgid "Your review helps more folks find our plugin. Thanks so much!"
 
844
  msgstr ""
845
 
846
  #: views/admin/gce-feed-sidebar-help.php:25
847
- #, fuzzy
848
- msgid "Review this Plugin Now"
849
- msgstr "Dieses Plugin bewerten."
850
 
851
  #: views/widgets.php:28
852
  msgid ""
@@ -979,6 +979,10 @@ msgctxt "separator between custom date range fields"
979
  msgid "to"
980
  msgstr ""
981
 
 
 
 
 
982
  #~ msgid ""
983
  #~ "The feed could not be found (404). Please ensure your feed URL is correct."
984
  #~ msgstr ""
5
  "Project-Id-Version: Google Calendar Events en español\n"
6
  "Report-Msgid-Bugs-To: https://github.com/pderksen/WP-Google-Calendar-Events/"
7
  "issues\n"
8
+ "POT-Creation-Date: 2015-08-14 14:43:32+00:00\n"
9
  "PO-Revision-Date: \n"
10
  "Last-Translator: David Arndt <dev@david-arndt.de>\n"
11
  "Language-Team: \n"
64
  msgid "Please add a new calendar feed first."
65
  msgstr ""
66
 
67
+ #: class-google-calendar-events.php:87
68
  msgid "Loading..."
69
  msgstr ""
70
 
424
  "Die Callback-Funktion, welche für die <strong>%s</strong> Einstellung "
425
  "benötigt wird, fehlt."
426
 
427
+ #: includes/shortcodes.php:104
428
  msgid ""
429
  "There was a problem with one or more of your feed IDs. Please check your "
430
  "shortcode settings and make sure they are correct."
840
  msgstr "Lassen Sie sich bei neuen Updates informieren"
841
 
842
  #: views/admin/gce-feed-sidebar-help.php:21
843
+ msgid ""
844
+ "Are you finding our GCal plugin helpful? 5-star ratings keep us motivated!"
845
  msgstr ""
846
 
847
  #: views/admin/gce-feed-sidebar-help.php:25
848
+ msgid "Rate our plugin on wordpress.org"
849
+ msgstr ""
 
850
 
851
  #: views/widgets.php:28
852
  msgid ""
979
  msgid "to"
980
  msgstr ""
981
 
982
+ #, fuzzy
983
+ #~ msgid "Review this Plugin Now"
984
+ #~ msgstr "Dieses Plugin bewerten."
985
+
986
  #~ msgid ""
987
  #~ "The feed could not be found (404). Please ensure your feed URL is correct."
988
  #~ msgstr ""
languages/gce-es_ES.mo CHANGED
Binary file
languages/gce-es_ES.po CHANGED
@@ -5,7 +5,7 @@ msgstr ""
5
  "Project-Id-Version: Google Calendar Events en español\n"
6
  "Report-Msgid-Bugs-To: https://github.com/pderksen/WP-Google-Calendar-Events/"
7
  "issues\n"
8
- "POT-Creation-Date: 2015-08-07 18:22:35+00:00\n"
9
  "PO-Revision-Date: \n"
10
  "Last-Translator: PNTE <blogs@educacion.navarra.es>\n"
11
  "Language-Team: PNTE <blogs@educacion.navarra.es>\n"
@@ -58,7 +58,7 @@ msgstr ""
58
  msgid "Please add a new calendar feed first."
59
  msgstr ""
60
 
61
- #: class-google-calendar-events.php:88
62
  msgid "Loading..."
63
  msgstr ""
64
 
@@ -417,7 +417,7 @@ msgstr ""
417
  "Falta la función de callback utilizada para la configuración de <strong>%s</"
418
  "strong>."
419
 
420
- #: includes/shortcodes.php:95
421
  msgid ""
422
  "There was a problem with one or more of your feed IDs. Please check your "
423
  "shortcode settings and make sure they are correct."
@@ -846,13 +846,13 @@ msgid "Get notified of new features"
846
  msgstr "Consigue notificaciones de nuevas funcionalidades"
847
 
848
  #: views/admin/gce-feed-sidebar-help.php:21
849
- msgid "Your review helps more folks find our plugin. Thanks so much!"
 
850
  msgstr ""
851
 
852
  #: views/admin/gce-feed-sidebar-help.php:25
853
- #, fuzzy
854
- msgid "Review this Plugin Now"
855
- msgstr "Valora este plugin"
856
 
857
  #: views/widgets.php:28
858
  msgid ""
@@ -984,6 +984,10 @@ msgctxt "separator between custom date range fields"
984
  msgid "to"
985
  msgstr ""
986
 
 
 
 
 
987
  #~ msgid "Next month"
988
  #~ msgstr "Mes siguiente"
989
 
5
  "Project-Id-Version: Google Calendar Events en español\n"
6
  "Report-Msgid-Bugs-To: https://github.com/pderksen/WP-Google-Calendar-Events/"
7
  "issues\n"
8
+ "POT-Creation-Date: 2015-08-14 14:43:32+00:00\n"
9
  "PO-Revision-Date: \n"
10
  "Last-Translator: PNTE <blogs@educacion.navarra.es>\n"
11
  "Language-Team: PNTE <blogs@educacion.navarra.es>\n"
58
  msgid "Please add a new calendar feed first."
59
  msgstr ""
60
 
61
+ #: class-google-calendar-events.php:87
62
  msgid "Loading..."
63
  msgstr ""
64
 
417
  "Falta la función de callback utilizada para la configuración de <strong>%s</"
418
  "strong>."
419
 
420
+ #: includes/shortcodes.php:104
421
  msgid ""
422
  "There was a problem with one or more of your feed IDs. Please check your "
423
  "shortcode settings and make sure they are correct."
846
  msgstr "Consigue notificaciones de nuevas funcionalidades"
847
 
848
  #: views/admin/gce-feed-sidebar-help.php:21
849
+ msgid ""
850
+ "Are you finding our GCal plugin helpful? 5-star ratings keep us motivated!"
851
  msgstr ""
852
 
853
  #: views/admin/gce-feed-sidebar-help.php:25
854
+ msgid "Rate our plugin on wordpress.org"
855
+ msgstr ""
 
856
 
857
  #: views/widgets.php:28
858
  msgid ""
984
  msgid "to"
985
  msgstr ""
986
 
987
+ #, fuzzy
988
+ #~ msgid "Review this Plugin Now"
989
+ #~ msgstr "Valora este plugin"
990
+
991
  #~ msgid "Next month"
992
  #~ msgstr "Mes siguiente"
993
 
languages/gce-fr_FR.mo CHANGED
Binary file
languages/gce-fr_FR.po CHANGED
@@ -3,7 +3,7 @@ msgstr ""
3
  "Project-Id-Version: Google Calendar Events\n"
4
  "Report-Msgid-Bugs-To: https://github.com/pderksen/WP-Google-Calendar-Events/"
5
  "issues\n"
6
- "POT-Creation-Date: 2015-08-07 18:22:35+00:00\n"
7
  "PO-Revision-Date: 2015-07-27 16:44+0100\n"
8
  "Last-Translator: Vincent B <vincent@yahoo.fr>\n"
9
  "Language-Team: Jojaba <jojaba@gmail.com>\n"
@@ -57,7 +57,7 @@ msgstr ""
57
  msgid "Please add a new calendar feed first."
58
  msgstr "Assurez-vous que l'ID de votre agenda est correcte."
59
 
60
- #: class-google-calendar-events.php:88
61
  msgid "Loading..."
62
  msgstr "Chargement..."
63
 
@@ -429,7 +429,7 @@ msgstr ""
429
  "La fonction de rappel utilisée pour la configuration de <strong>%s</strong> "
430
  "est introuvable."
431
 
432
- #: includes/shortcodes.php:95
433
  msgid ""
434
  "There was a problem with one or more of your feed IDs. Please check your "
435
  "shortcode settings and make sure they are correct."
@@ -850,13 +850,13 @@ msgid "Get notified of new features"
850
  msgstr "Être averti des nouvelles fonctionnalités"
851
 
852
  #: views/admin/gce-feed-sidebar-help.php:21
853
- msgid "Your review helps more folks find our plugin. Thanks so much!"
 
854
  msgstr ""
855
- "Votre revue aide plus de personnes à trouver notre plugin. Merci beaucoup !"
856
 
857
  #: views/admin/gce-feed-sidebar-help.php:25
858
- msgid "Review this Plugin Now"
859
- msgstr "Noter ce plugin."
860
 
861
  #: views/widgets.php:28
862
  msgid ""
@@ -988,6 +988,14 @@ msgctxt "separator between custom date range fields"
988
  msgid "to"
989
  msgstr ""
990
 
 
 
 
 
 
 
 
 
991
  #~ msgid "Helpful Links"
992
  #~ msgstr "Liens utiles"
993
 
3
  "Project-Id-Version: Google Calendar Events\n"
4
  "Report-Msgid-Bugs-To: https://github.com/pderksen/WP-Google-Calendar-Events/"
5
  "issues\n"
6
+ "POT-Creation-Date: 2015-08-14 14:43:32+00:00\n"
7
  "PO-Revision-Date: 2015-07-27 16:44+0100\n"
8
  "Last-Translator: Vincent B <vincent@yahoo.fr>\n"
9
  "Language-Team: Jojaba <jojaba@gmail.com>\n"
57
  msgid "Please add a new calendar feed first."
58
  msgstr "Assurez-vous que l'ID de votre agenda est correcte."
59
 
60
+ #: class-google-calendar-events.php:87
61
  msgid "Loading..."
62
  msgstr "Chargement..."
63
 
429
  "La fonction de rappel utilisée pour la configuration de <strong>%s</strong> "
430
  "est introuvable."
431
 
432
+ #: includes/shortcodes.php:104
433
  msgid ""
434
  "There was a problem with one or more of your feed IDs. Please check your "
435
  "shortcode settings and make sure they are correct."
850
  msgstr "Être averti des nouvelles fonctionnalités"
851
 
852
  #: views/admin/gce-feed-sidebar-help.php:21
853
+ msgid ""
854
+ "Are you finding our GCal plugin helpful? 5-star ratings keep us motivated!"
855
  msgstr ""
 
856
 
857
  #: views/admin/gce-feed-sidebar-help.php:25
858
+ msgid "Rate our plugin on wordpress.org"
859
+ msgstr ""
860
 
861
  #: views/widgets.php:28
862
  msgid ""
988
  msgid "to"
989
  msgstr ""
990
 
991
+ #~ msgid "Your review helps more folks find our plugin. Thanks so much!"
992
+ #~ msgstr ""
993
+ #~ "Votre revue aide plus de personnes à trouver notre plugin. Merci "
994
+ #~ "beaucoup !"
995
+
996
+ #~ msgid "Review this Plugin Now"
997
+ #~ msgstr "Noter ce plugin."
998
+
999
  #~ msgid "Helpful Links"
1000
  #~ msgstr "Liens utiles"
1001
 
languages/gce-it_IT.mo CHANGED
Binary file
languages/gce-it_IT.po CHANGED
@@ -3,7 +3,7 @@ msgstr ""
3
  "Project-Id-Version: Google Calendar Events\n"
4
  "Report-Msgid-Bugs-To: https://github.com/pderksen/WP-Google-Calendar-Events/"
5
  "issues\n"
6
- "POT-Creation-Date: 2015-08-07 18:22:35+00:00\n"
7
  "PO-Revision-Date: 2015-02-26 09:45+0100\n"
8
  "Last-Translator: Francesco Paccagnella <translations@pacca.it>\n"
9
  "Language-Team: \n"
@@ -56,7 +56,7 @@ msgstr ""
56
  msgid "Please add a new calendar feed first."
57
  msgstr "Assicurarsi che l'ID del calendario sia corretto."
58
 
59
- #: class-google-calendar-events.php:88
60
  msgid "Loading..."
61
  msgstr "Caricamento..."
62
 
@@ -423,7 +423,7 @@ msgstr ""
423
  "La funzione richiamata utilizzata per l'impostazione <strong>%s</strong> è "
424
  "assente."
425
 
426
- #: includes/shortcodes.php:95
427
  msgid ""
428
  "There was a problem with one or more of your feed IDs. Please check your "
429
  "shortcode settings and make sure they are correct."
@@ -839,13 +839,13 @@ msgid "Get notified of new features"
839
  msgstr "Ricevi notifiche delle nuove funzionalità"
840
 
841
  #: views/admin/gce-feed-sidebar-help.php:21
842
- msgid "Your review helps more folks find our plugin. Thanks so much!"
 
843
  msgstr ""
844
 
845
  #: views/admin/gce-feed-sidebar-help.php:25
846
- #, fuzzy
847
- msgid "Review this Plugin Now"
848
- msgstr "Vota questo plugin"
849
 
850
  #: views/widgets.php:28
851
  msgid ""
@@ -977,6 +977,10 @@ msgctxt "separator between custom date range fields"
977
  msgid "to"
978
  msgstr ""
979
 
 
 
 
 
980
  #~ msgid "Helpful Links"
981
  #~ msgstr "Link utili"
982
 
3
  "Project-Id-Version: Google Calendar Events\n"
4
  "Report-Msgid-Bugs-To: https://github.com/pderksen/WP-Google-Calendar-Events/"
5
  "issues\n"
6
+ "POT-Creation-Date: 2015-08-14 14:43:32+00:00\n"
7
  "PO-Revision-Date: 2015-02-26 09:45+0100\n"
8
  "Last-Translator: Francesco Paccagnella <translations@pacca.it>\n"
9
  "Language-Team: \n"
56
  msgid "Please add a new calendar feed first."
57
  msgstr "Assicurarsi che l'ID del calendario sia corretto."
58
 
59
+ #: class-google-calendar-events.php:87
60
  msgid "Loading..."
61
  msgstr "Caricamento..."
62
 
423
  "La funzione richiamata utilizzata per l'impostazione <strong>%s</strong> è "
424
  "assente."
425
 
426
+ #: includes/shortcodes.php:104
427
  msgid ""
428
  "There was a problem with one or more of your feed IDs. Please check your "
429
  "shortcode settings and make sure they are correct."
839
  msgstr "Ricevi notifiche delle nuove funzionalità"
840
 
841
  #: views/admin/gce-feed-sidebar-help.php:21
842
+ msgid ""
843
+ "Are you finding our GCal plugin helpful? 5-star ratings keep us motivated!"
844
  msgstr ""
845
 
846
  #: views/admin/gce-feed-sidebar-help.php:25
847
+ msgid "Rate our plugin on wordpress.org"
848
+ msgstr ""
 
849
 
850
  #: views/widgets.php:28
851
  msgid ""
977
  msgid "to"
978
  msgstr ""
979
 
980
+ #, fuzzy
981
+ #~ msgid "Review this Plugin Now"
982
+ #~ msgstr "Vota questo plugin"
983
+
984
  #~ msgid "Helpful Links"
985
  #~ msgstr "Link utili"
986
 
languages/gce-lt_LT.mo CHANGED
Binary file
languages/gce-lt_LT.po CHANGED
@@ -3,7 +3,7 @@ msgstr ""
3
  "Project-Id-Version: Google Calendar Events v2.1.4\n"
4
  "Report-Msgid-Bugs-To: https://github.com/pderksen/WP-Google-Calendar-Events/"
5
  "issues\n"
6
- "POT-Creation-Date: 2015-08-07 18:22:35+00:00\n"
7
  "PO-Revision-Date: 2014-11-26 10:07:04+0000\n"
8
  "Last-Translator: Andrius Mazeika <andrius@mazeika.info>\n"
9
  "Language-Team: \n"
@@ -70,7 +70,7 @@ msgid "Please add a new calendar feed first."
70
  msgstr "Patikrinkite, ar teisingai įvestas kalendoriaus ID."
71
 
72
  # @ gce
73
- #: class-google-calendar-events.php:88
74
  msgid "Loading..."
75
  msgstr "Kraunama..."
76
 
@@ -501,7 +501,7 @@ msgstr ""
501
  "Nerasta atsakymo (callback) funkcija, naudojama <strong>%s</strong> "
502
  "nustatyme."
503
 
504
- #: includes/shortcodes.php:95
505
  msgid ""
506
  "There was a problem with one or more of your feed IDs. Please check your "
507
  "shortcode settings and make sure they are correct."
@@ -992,14 +992,13 @@ msgid "Get notified of new features"
992
  msgstr "Gaukite pranešimus apie naujas įskiepio galimybes"
993
 
994
  #: views/admin/gce-feed-sidebar-help.php:21
995
- msgid "Your review helps more folks find our plugin. Thanks so much!"
 
996
  msgstr ""
997
 
998
- # @ gce
999
  #: views/admin/gce-feed-sidebar-help.php:25
1000
- #, fuzzy
1001
- msgid "Review this Plugin Now"
1002
- msgstr "Įvertinkite šį įskiepį"
1003
 
1004
  # @ gce
1005
  #: views/widgets.php:28
@@ -1142,6 +1141,11 @@ msgctxt "separator between custom date range fields"
1142
  msgid "to"
1143
  msgstr ""
1144
 
 
 
 
 
 
1145
  # @ gce
1146
  #~ msgid "Helpful Links"
1147
  #~ msgstr "Naudingos nuorodos"
3
  "Project-Id-Version: Google Calendar Events v2.1.4\n"
4
  "Report-Msgid-Bugs-To: https://github.com/pderksen/WP-Google-Calendar-Events/"
5
  "issues\n"
6
+ "POT-Creation-Date: 2015-08-14 14:43:32+00:00\n"
7
  "PO-Revision-Date: 2014-11-26 10:07:04+0000\n"
8
  "Last-Translator: Andrius Mazeika <andrius@mazeika.info>\n"
9
  "Language-Team: \n"
70
  msgstr "Patikrinkite, ar teisingai įvestas kalendoriaus ID."
71
 
72
  # @ gce
73
+ #: class-google-calendar-events.php:87
74
  msgid "Loading..."
75
  msgstr "Kraunama..."
76
 
501
  "Nerasta atsakymo (callback) funkcija, naudojama <strong>%s</strong> "
502
  "nustatyme."
503
 
504
+ #: includes/shortcodes.php:104
505
  msgid ""
506
  "There was a problem with one or more of your feed IDs. Please check your "
507
  "shortcode settings and make sure they are correct."
992
  msgstr "Gaukite pranešimus apie naujas įskiepio galimybes"
993
 
994
  #: views/admin/gce-feed-sidebar-help.php:21
995
+ msgid ""
996
+ "Are you finding our GCal plugin helpful? 5-star ratings keep us motivated!"
997
  msgstr ""
998
 
 
999
  #: views/admin/gce-feed-sidebar-help.php:25
1000
+ msgid "Rate our plugin on wordpress.org"
1001
+ msgstr ""
 
1002
 
1003
  # @ gce
1004
  #: views/widgets.php:28
1141
  msgid "to"
1142
  msgstr ""
1143
 
1144
+ # @ gce
1145
+ #, fuzzy
1146
+ #~ msgid "Review this Plugin Now"
1147
+ #~ msgstr "Įvertinkite šį įskiepį"
1148
+
1149
  # @ gce
1150
  #~ msgid "Helpful Links"
1151
  #~ msgstr "Naudingos nuorodos"
languages/gce-nb_NO.mo CHANGED
Binary file
languages/gce-nb_NO.po CHANGED
@@ -3,15 +3,15 @@ msgstr ""
3
  "Project-Id-Version: Google Calendar Events\n"
4
  "Report-Msgid-Bugs-To: https://github.com/pderksen/WP-Google-Calendar-Events/"
5
  "issues\n"
6
- "POT-Creation-Date: 2015-08-07 18:22:35+00:00\n"
7
- "PO-Revision-Date: 2014-10-23 22:50+0100\n"
8
  "Last-Translator: Tore Hjartland <tore.hjartland@biologge.no>\n"
9
  "Language-Team: \n"
10
  "Language: nb_NO\n"
11
  "MIME-Version: 1.0\n"
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
- "X-Generator: Poedit 1.6.10\n"
15
  "X-Poedit-Basepath: .\n"
16
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
  "X-Poedit-KeywordsList: __;_e\n"
@@ -35,25 +35,25 @@ msgstr "Feeds"
35
  #: class-google-calendar-events-admin.php:254
36
  #: class-google-calendar-events-admin.php:289
37
  msgid "Add Calendar"
38
- msgstr ""
39
 
40
  #: class-google-calendar-events-admin.php:290
41
  msgid "Add a calendar feed to your post."
42
- msgstr ""
43
 
44
  #: class-google-calendar-events-admin.php:300
45
  msgid "Insert Calendar"
46
- msgstr ""
47
 
48
  #: class-google-calendar-events-admin.php:302
49
  msgid "Could not find any calendars to add to this post."
50
- msgstr ""
51
 
52
  #: class-google-calendar-events-admin.php:303
53
  msgid "Please add a new calendar feed first."
54
- msgstr ""
55
 
56
- #: class-google-calendar-events.php:88
57
  msgid "Loading..."
58
  msgstr "Laster..."
59
 
@@ -63,6 +63,9 @@ msgid ""
63
  "properly. PHP version found: %3$s. WordPress installed version: %4$s. Please "
64
  "upgrade to meet the minimum requirements."
65
  msgstr ""
 
 
 
66
 
67
  #: includes/admin/admin-functions.php:20
68
  msgid "Cache has been cleared for this feed."
@@ -99,13 +102,15 @@ msgstr "Tøm buffer"
99
 
100
  #: includes/admin/admin-notice.php:26
101
  msgid "GCal API Key Notice"
102
- msgstr ""
103
 
104
  #: includes/admin/admin-notice.php:28
105
  msgid ""
106
  "GCal Events uses the Google Calendar API version 3. By default this plugin "
107
  "uses a public shared key across all plugin users."
108
  msgstr ""
 
 
109
 
110
  #: includes/admin/admin-notice.php:30
111
  msgid ""
@@ -113,19 +118,21 @@ msgid ""
113
  "To avoid running into any potential limits you can use your own Google API "
114
  "key."
115
  msgstr ""
 
 
 
116
 
117
  #: includes/admin/admin-notice.php:33
118
  msgid "Enter your GCal API key"
119
- msgstr ""
120
 
121
  #: includes/admin/admin-notice.php:34
122
- #, fuzzy
123
  msgid "Configure GCal feeds"
124
- msgstr "Hvordan å finne URL til GCal-feed'en din"
125
 
126
  #: includes/admin/admin-notice.php:35
127
  msgid "Hide this"
128
- msgstr ""
129
 
130
  #: includes/class-gce-display.php:193 includes/class-gce-display.php:303
131
  msgid "Back"
@@ -140,7 +147,7 @@ msgstr "Neste"
140
  #: includes/class-gce-display.php:309 includes/php-calendar.php:55
141
  #: includes/php-calendar.php:57
142
  msgid "Previous"
143
- msgstr ""
144
 
145
  #: includes/class-gce-display.php:406
146
  msgid "No events to display."
@@ -195,31 +202,28 @@ msgid "%s mins"
195
  msgstr "%s minutter"
196
 
197
  #: includes/class-gce-feed.php:94
198
- #, fuzzy
199
  msgid ""
200
  "The Google Calendar ID has not been set. Please make sure to set it "
201
  "correctly in the Feed settings."
202
  msgstr ""
203
- "FeedURLen har ikke blitt satt. Vennligst påse å sette den korrekt i "
204
- "feedinnstillingene."
205
 
206
  #: includes/class-gce-feed.php:192
207
- #, fuzzy
208
  msgid ""
209
  "Some data was retrieved, but could not be parsed successfully. Please ensure "
210
  "your feed settings are correct."
211
  msgstr ""
212
- "Noen data ble hentet, men kunne ikke analyseres med hell. Vennligst sikre "
213
- "at feed- URLen er riktig."
214
 
215
  #: includes/class-gce-feed.php:195
216
  msgid "An error has occured."
217
- msgstr ""
218
 
219
  #: includes/class-gce-feed.php:200
220
- #, fuzzy
221
  msgid " Please ensure your calendar ID is correct."
222
- msgstr "Vennligst sikre at feed-URL'en din er korrekt"
223
 
224
  #: includes/gce-feed-cpt.php:21
225
  msgid "Google Calendar Feeds"
@@ -295,18 +299,16 @@ msgid "%4$s draft updated. %1$sView %2$s%3$s"
295
  msgstr "%4$s utkast oppdatert. %1$sVis %2$s%3$s"
296
 
297
  #: includes/gce-feed-cpt.php:95
298
- #, fuzzy
299
  msgid "Feed Settings"
300
- msgstr "Lagre innstillinger"
301
 
302
  #: includes/gce-feed-cpt.php:97
303
  msgid "Resources"
304
- msgstr ""
305
 
306
  #: includes/gce-feed-cpt.php:98
307
- #, fuzzy
308
  msgid "Display Options"
309
- msgstr "Visningstype"
310
 
311
  #: includes/gce-feed-cpt.php:269
312
  msgid "Feed ID"
@@ -322,7 +324,7 @@ msgstr "Visningstype"
322
 
323
  #: includes/gce-feed-cpt.php:306
324
  msgid "Grid"
325
- msgstr "Grid"
326
 
327
  #: includes/gce-feed-cpt.php:308 views/admin/gce-feed-meta-display.php:155
328
  #: views/widgets.php:295
@@ -336,74 +338,78 @@ msgstr "Gruppert list"
336
 
337
  #: includes/gce-feed-cpt.php:312
338
  msgid "Custom Date Range"
339
- msgstr ""
340
 
341
  #: includes/gce-feed-cpt.php:469
342
  msgid "Feed cache cleared."
343
  msgid_plural "Cleared cache for %s feeds."
344
- msgstr[0] ""
345
- msgstr[1] ""
346
 
347
  #: includes/register-settings.php:29
348
  msgid "Google API Key"
349
- msgstr ""
350
 
351
  #: includes/register-settings.php:30
352
  msgid ""
353
  "If left blank all displayed Google calendars will use a public Google API "
354
  "key shared across all plugin users."
355
  msgstr ""
 
 
356
 
357
  #: includes/register-settings.php:31
358
  msgid ""
359
  "Currently the shared key is limited to 500,000 requests per day and 5 "
360
  "requests per second."
361
  msgstr ""
 
 
362
 
363
  #: includes/register-settings.php:32
364
  msgid ""
365
  "To avoid these limits <a href=\"%s\" target=\"_blank\">click here for "
366
  "instructions on how to generate and use your own Google API key.</a>"
367
  msgstr ""
 
 
368
 
369
  #: includes/register-settings.php:39
370
  msgid "Always Enqueue Scripts & Styles"
371
- msgstr ""
372
 
373
  #: includes/register-settings.php:40
374
  msgid "Enqueue this plugin's scripts and styles on every post and page."
375
  msgstr ""
 
376
 
377
  #: includes/register-settings.php:41
378
  msgid "Useful if using shortcodes in widgets or other non-standard locations."
379
  msgstr ""
 
380
 
381
  #: includes/register-settings.php:46
382
  msgid "Disable Plugin CSS"
383
- msgstr ""
384
 
385
  #: includes/register-settings.php:47
386
  msgid ""
387
  "If this option is checked, this plugin's CSS file will not be referenced."
388
  msgstr ""
 
 
389
 
390
  #: includes/register-settings.php:52
391
  msgid "Save Settings"
392
  msgstr "Lagre innstillinger"
393
 
394
  #: includes/register-settings.php:53
395
- #, fuzzy
396
  msgid "Save your settings when uninstalling this plugin."
397
- msgstr ""
398
- "Lagre innstillingene dine når du avinnstallerer denne utvidelsen. Nyttig ved "
399
- "oppgradering eller reinstallasjon."
400
 
401
  #: includes/register-settings.php:54
402
- #, fuzzy
403
  msgid "Useful when upgrading or re-installing."
404
- msgstr ""
405
- "Lagre innstillingene dine når du avinnstallerer denne utvidelsen. Nyttig ved "
406
- "oppgradering eller reinstallasjon."
407
 
408
  #: includes/register-settings.php:182
409
  msgid ""
@@ -412,11 +418,13 @@ msgstr ""
412
  "Tilbakekallingsfunksjonen som brukes til <strong>%s</strong>-innstillingen "
413
  "mangler."
414
 
415
- #: includes/shortcodes.php:95
416
  msgid ""
417
  "There was a problem with one or more of your feed IDs. Please check your "
418
  "shortcode settings and make sure they are correct."
419
  msgstr ""
 
 
420
 
421
  #: views/admin/display-options-meta.php:39
422
  msgid ""
@@ -574,31 +582,28 @@ msgstr ""
574
  "på innleggsredigereren."
575
 
576
  #: views/admin/gce-feed-meta-display.php:96
577
- #, fuzzy
578
  msgid "Google Calendar ID"
579
- msgstr "Google Calendar feeds"
580
 
581
  #: views/admin/gce-feed-meta-display.php:100
582
- #, fuzzy
583
  msgid "The Google Calendar ID."
584
- msgstr "Google Calendar feed-URL."
585
 
586
  #: views/admin/gce-feed-meta-display.php:100
587
  msgid "Example"
588
  msgstr "Eksempel"
589
 
590
  #: views/admin/gce-feed-meta-display.php:102
591
- #, fuzzy
592
  msgid "How to find your Google Calendar ID"
593
- msgstr "Hvordan å finne URL til GCal-feed'en din"
594
 
595
  #: views/admin/gce-feed-meta-display.php:115
596
  msgid "Timezone"
597
- msgstr ""
598
 
599
  #: views/admin/gce-feed-meta-display.php:122
600
  msgid "It is recommended to use the calendar default timezone."
601
- msgstr ""
602
 
603
  #: views/admin/gce-feed-meta-display.php:127
604
  msgid "Search Query"
@@ -617,13 +622,12 @@ msgid "Yes"
617
  msgstr "Ja"
618
 
619
  #: views/admin/gce-feed-meta-display.php:138
620
- #, fuzzy
621
  msgid ""
622
  "Display recurring events each time they occur. If disabled, events will be "
623
  "displayed only the first time they occur."
624
  msgstr ""
625
- "Dette vil vise tilbakevendende arrangement hver gang de oppstår. Ellers vil "
626
- "det bare vise arrangementet første gang det skjer."
627
 
628
  #: views/admin/gce-feed-meta-display.php:143
629
  msgid "Multiple Day Events"
@@ -638,6 +642,8 @@ msgid ""
638
  "Display multiple day events on each day that they span. If disabled, "
639
  "multiple day events will be displayed only on the first day they occur."
640
  msgstr ""
 
 
641
 
642
  #: views/admin/gce-feed-meta-display.php:151
643
  msgid "Display Mode"
@@ -645,44 +651,39 @@ msgstr "Visningsmodus"
645
 
646
  #: views/admin/gce-feed-meta-display.php:154 views/widgets.php:294
647
  msgid "Grid (Month view)"
648
- msgstr ""
649
 
650
  #: views/admin/gce-feed-meta-display.php:157 views/widgets.php:297
651
  msgid "Custom Date Range (List)"
652
- msgstr ""
653
 
654
  #: views/admin/gce-feed-meta-display.php:158 views/widgets.php:298
655
  msgid "Custom Date Range (Grid)"
656
- msgstr ""
657
 
658
  #: views/admin/gce-feed-meta-display.php:160
659
- #, fuzzy
660
  msgid "Select how to display this feed."
661
- msgstr "Velg hvordan å vise startdato / -tid"
662
 
663
  #: views/admin/gce-feed-meta-display.php:165
664
- #, fuzzy
665
  msgid "Events per Page"
666
- msgstr "Antall arrangement å vise per side"
667
 
668
  #: views/admin/gce-feed-meta-display.php:168 views/widgets.php:313
669
  msgid "Number of Days"
670
- msgstr ""
671
 
672
  #: views/admin/gce-feed-meta-display.php:169 views/widgets.php:314
673
- #, fuzzy
674
  msgid "Number of Events"
675
- msgstr "Antall arrangement å vise per side"
676
 
677
  #: views/admin/gce-feed-meta-display.php:170 views/widgets.php:315
678
- #, fuzzy
679
  msgid "One Week"
680
- msgstr "Uker"
681
 
682
  #: views/admin/gce-feed-meta-display.php:171 views/widgets.php:316
683
- #, fuzzy
684
  msgid "One Month"
685
- msgstr "Måneder"
686
 
687
  #: views/admin/gce-feed-meta-display.php:176
688
  msgid "How many events to display per page (List View only)."
@@ -695,99 +696,92 @@ msgstr "Vis Startdatooffsett"
695
  #: views/admin/gce-feed-meta-display.php:184
696
  #: views/admin/gce-feed-meta-display.php:196 views/widgets.php:330
697
  msgid "Number of Days Back"
698
- msgstr ""
699
 
700
  #: views/admin/gce-feed-meta-display.php:185
701
  #: views/admin/gce-feed-meta-display.php:215 views/widgets.php:331
702
  msgid "Number of Days Forward"
703
- msgstr ""
704
 
705
  #: views/admin/gce-feed-meta-display.php:188 views/widgets.php:335
706
- #, fuzzy
707
  msgid ""
708
  "Change to initially display events on a date other than today (List View "
709
  "only)."
710
  msgstr ""
711
- "Endre dersom du først trenger å vise arrangement på en annen dato enn i dag. "
712
- "(kun listevisning)."
713
 
714
  #: views/admin/gce-feed-meta-display.php:193
715
- #, fuzzy
716
  msgid "Earliest Feed Event Date"
717
- msgstr "Maksimum feed sluttdato"
718
 
719
  #: views/admin/gce-feed-meta-display.php:197
720
- #, fuzzy
721
  msgid "Number of Months Back"
722
- msgstr "Antall arrangement å vise per side"
723
 
724
  #: views/admin/gce-feed-meta-display.php:198
725
- #, fuzzy
726
  msgid "Number of Years Back"
727
- msgstr "Antall arrangement å vise per side"
728
 
729
  #: views/admin/gce-feed-meta-display.php:204
730
- #, fuzzy
731
  msgid "Set how far back to retrieve events regardless of initial display."
732
  msgstr ""
733
- "Sett hvor langt tilbake i tid å hente arrangement uavhengig av måned eller "
734
- "side som vises."
735
 
736
  #: views/admin/gce-feed-meta-display.php:206
737
  msgid ""
738
  "<strong>Note:</strong> Total events are currently limited to 2,500 by the "
739
  "Google Calendar API."
740
  msgstr ""
 
 
741
 
742
  #: views/admin/gce-feed-meta-display.php:212
743
- #, fuzzy
744
  msgid "Latest Feed Event Date"
745
- msgstr "Maksimum feed sluttdato"
746
 
747
  #: views/admin/gce-feed-meta-display.php:216
748
- #, fuzzy
749
  msgid "Number of Months Forward"
750
- msgstr "Antall arrangement å vise per side"
751
 
752
  #: views/admin/gce-feed-meta-display.php:217
753
- #, fuzzy
754
  msgid "Number of Years Forward"
755
- msgstr "Antall arrangement å vise per side"
756
 
757
  #: views/admin/gce-feed-meta-display.php:222
758
- #, fuzzy
759
  msgid ""
760
  "Set how far in the future to retrieve events regardless of initial display."
761
  msgstr ""
762
- "Sett hvor langt inn i fremtiden å hente arrangement uavhengig av måned eller "
763
- "side som vises."
764
 
765
  #: views/admin/gce-feed-meta-display.php:227
766
  msgid "Use Custom Date Range"
767
- msgstr ""
768
 
769
  #: views/admin/gce-feed-meta-display.php:233
770
  msgid ""
771
  "Set a specific range of events to retrieve. Leaving either field blank will "
772
  "set the date to the current day."
773
  msgstr ""
 
 
774
 
775
  #: views/admin/gce-feed-meta-display.php:239 views/widgets.php:345
776
  msgid "Show Paging Links"
777
  msgstr "Vis sidelenker"
778
 
779
  #: views/admin/gce-feed-meta-display.php:242
780
- #, fuzzy
781
  msgid "Display Next and Back navigation links."
782
- msgstr "Marker dette valget for å vise Neste og Forrige navigasjonslenker."
783
 
784
  #: views/admin/gce-feed-meta-display.php:247 views/widgets.php:348
785
  msgid "Show Tooltips"
786
- msgstr ""
787
 
788
  #: views/admin/gce-feed-meta-display.php:250
789
  msgid "Display tooltips when hovering over events (Grid View only)."
790
- msgstr ""
791
 
792
  #: views/admin/gce-feed-meta-display.php:255
793
  msgid "Date Format"
@@ -820,9 +814,8 @@ msgstr ""
820
  "feed'en endres regelmessig, kan det være lurt å redusere buffervarighet."
821
 
822
  #: views/admin/gce-feed-sidebar-help.php:6
823
- #, fuzzy
824
  msgid "Documentation"
825
- msgstr "Sted"
826
 
827
  #: views/admin/gce-feed-sidebar-help.php:11
828
  msgid "Community support forums"
@@ -833,13 +826,13 @@ msgid "Get notified of new features"
833
  msgstr "Bli varslet om nye funksjoner"
834
 
835
  #: views/admin/gce-feed-sidebar-help.php:21
836
- msgid "Your review helps more folks find our plugin. Thanks so much!"
 
837
  msgstr ""
838
 
839
  #: views/admin/gce-feed-sidebar-help.php:25
840
- #, fuzzy
841
- msgid "Review this Plugin Now"
842
- msgstr "Ranger denne utvidelsen"
843
 
844
  #: views/widgets.php:28
845
  msgid ""
@@ -864,6 +857,8 @@ msgid ""
864
  "There was a problem with one or more of your feed IDs. Please check your "
865
  "widget settings and make sure they are correct."
866
  msgstr ""
 
 
867
 
868
  #: views/widgets.php:213
869
  msgid "You have not added any feeds yet."
@@ -878,13 +873,12 @@ msgid "Add your first feed!"
878
  msgstr "Legg til din første feed!"
879
 
880
  #: views/widgets.php:267
881
- #, fuzzy
882
  msgid "Events on"
883
- msgstr "Arrangementer"
884
 
885
  #: views/widgets.php:281
886
  msgid "Title:"
887
- msgstr ""
888
 
889
  #: views/widgets.php:286
890
  msgid "Feeds to Display (comma separated list - i.e. 101,102,103):"
@@ -907,15 +901,16 @@ msgid "Descending"
907
  msgstr "Synkende"
908
 
909
  #: views/widgets.php:311
910
- #, fuzzy
911
  msgid "Events per Page (List View only):"
912
- msgstr "Antall arrangement å vise per side (Kun listevisning):"
913
 
914
  #: views/widgets.php:324
915
  msgid ""
916
  "This setting will pull from the custom date range set in the main feed "
917
  "settings and cannot be changed here."
918
  msgstr ""
 
 
919
 
920
  #: views/widgets.php:328
921
  msgid "Display Start Date Offset (List View only):"
@@ -931,41 +926,50 @@ msgstr ""
931
 
932
  #. Plugin URI of the plugin/theme
933
  msgid "https://wordpress.org/plugins/google-calendar-events/"
934
- msgstr ""
935
 
936
  #. Description of the plugin/theme
937
  msgid ""
938
  "Show off your Google calendar in grid (month) or list view, in a post, page "
939
  "or widget, and in a style that matches your site."
940
  msgstr ""
 
 
941
 
942
  #. Author of the plugin/theme
943
  msgid "Moonstone Media"
944
- msgstr ""
945
 
946
  #. Author URI of the plugin/theme
947
  msgid "http://moonstonemediagroup.com"
948
- msgstr ""
949
 
950
  #: includes/class-gce-event.php:562
951
  msgctxt "human_time_diff"
952
  msgid ", "
953
- msgstr ""
954
 
955
  #: views/admin/gce-feed-meta-display.php:118
956
  msgctxt "Use the calendar default setting"
957
  msgid "Calendar default"
958
- msgstr ""
959
 
960
  #: views/admin/gce-feed-meta-display.php:119
961
  msgctxt "Use this site default setting"
962
  msgid "Site default"
963
- msgstr ""
964
 
965
  #: views/admin/gce-feed-meta-display.php:231
966
  msgctxt "separator between custom date range fields"
967
  msgid "to"
968
- msgstr ""
 
 
 
 
 
 
 
969
 
970
  #~ msgid ""
971
  #~ "The feed could not be found (404). Please ensure your feed URL is correct."
3
  "Project-Id-Version: Google Calendar Events\n"
4
  "Report-Msgid-Bugs-To: https://github.com/pderksen/WP-Google-Calendar-Events/"
5
  "issues\n"
6
+ "POT-Creation-Date: 2015-08-14 14:43:32+00:00\n"
7
+ "PO-Revision-Date: 2015-08-09 13:26+0100\n"
8
  "Last-Translator: Tore Hjartland <tore.hjartland@biologge.no>\n"
9
  "Language-Team: \n"
10
  "Language: nb_NO\n"
11
  "MIME-Version: 1.0\n"
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
+ "X-Generator: Poedit 1.7.7\n"
15
  "X-Poedit-Basepath: .\n"
16
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
  "X-Poedit-KeywordsList: __;_e\n"
35
  #: class-google-calendar-events-admin.php:254
36
  #: class-google-calendar-events-admin.php:289
37
  msgid "Add Calendar"
38
+ msgstr "Legg til kalender"
39
 
40
  #: class-google-calendar-events-admin.php:290
41
  msgid "Add a calendar feed to your post."
42
+ msgstr "Legg til en kalender-feed til innlegget ditt."
43
 
44
  #: class-google-calendar-events-admin.php:300
45
  msgid "Insert Calendar"
46
+ msgstr "Legg inn kalender"
47
 
48
  #: class-google-calendar-events-admin.php:302
49
  msgid "Could not find any calendars to add to this post."
50
+ msgstr "Kunne ikke finne noen kaleder å legge til dette innlegget."
51
 
52
  #: class-google-calendar-events-admin.php:303
53
  msgid "Please add a new calendar feed first."
54
+ msgstr "Vennligst legg til en ny kalender-feed først."
55
 
56
+ #: class-google-calendar-events.php:87
57
  msgid "Loading..."
58
  msgstr "Laster..."
59
 
63
  "properly. PHP version found: %3$s. WordPress installed version: %4$s. Please "
64
  "upgrade to meet the minimum requirements."
65
  msgstr ""
66
+ "Google Events Calendarkrever PHP %1$s og WordPress %2$s for å fungere "
67
+ "skikkelig. PHP-versjon funnet: %3$s. WordPress installert versjon: %4$s. "
68
+ "Vennligst oppgrader for å møte minimumskravene."
69
 
70
  #: includes/admin/admin-functions.php:20
71
  msgid "Cache has been cleared for this feed."
102
 
103
  #: includes/admin/admin-notice.php:26
104
  msgid "GCal API Key Notice"
105
+ msgstr "Melding om GCal API-nøkkel"
106
 
107
  #: includes/admin/admin-notice.php:28
108
  msgid ""
109
  "GCal Events uses the Google Calendar API version 3. By default this plugin "
110
  "uses a public shared key across all plugin users."
111
  msgstr ""
112
+ "GCal Events benytter Google Calendar API versjon 3. Som standard benytter "
113
+ "denne utvidelsen en offentlig delt nøkkel for alle brukere av utvidelsen."
114
 
115
  #: includes/admin/admin-notice.php:30
116
  msgid ""
118
  "To avoid running into any potential limits you can use your own Google API "
119
  "key."
120
  msgstr ""
121
+ "Nøkkelen er begrenset til 500 000 forespørsler per dag og 5 forespørsler per "
122
+ "sekund. For å unngå å møte potensielle begrensninger kan du benytte din egen "
123
+ "Google API-nøkkel."
124
 
125
  #: includes/admin/admin-notice.php:33
126
  msgid "Enter your GCal API key"
127
+ msgstr "Skriv inn GCAL API-nøkkelen din"
128
 
129
  #: includes/admin/admin-notice.php:34
 
130
  msgid "Configure GCal feeds"
131
+ msgstr "Konfigurer GCal feeds"
132
 
133
  #: includes/admin/admin-notice.php:35
134
  msgid "Hide this"
135
+ msgstr "Skjul dette"
136
 
137
  #: includes/class-gce-display.php:193 includes/class-gce-display.php:303
138
  msgid "Back"
147
  #: includes/class-gce-display.php:309 includes/php-calendar.php:55
148
  #: includes/php-calendar.php:57
149
  msgid "Previous"
150
+ msgstr "Forrige"
151
 
152
  #: includes/class-gce-display.php:406
153
  msgid "No events to display."
202
  msgstr "%s minutter"
203
 
204
  #: includes/class-gce-feed.php:94
 
205
  msgid ""
206
  "The Google Calendar ID has not been set. Please make sure to set it "
207
  "correctly in the Feed settings."
208
  msgstr ""
209
+ "Google Calendar IDen har ikke blitt satt. Vennligst påse å sette den korrekt "
210
+ "i feedinnstillingene."
211
 
212
  #: includes/class-gce-feed.php:192
 
213
  msgid ""
214
  "Some data was retrieved, but could not be parsed successfully. Please ensure "
215
  "your feed settings are correct."
216
  msgstr ""
217
+ "Noen data ble hentet, men kunne ikke analyseres vellykket. Vennligst sikre "
218
+ "at feedinnstillingene er korrekte."
219
 
220
  #: includes/class-gce-feed.php:195
221
  msgid "An error has occured."
222
+ msgstr "En feil har oppstått."
223
 
224
  #: includes/class-gce-feed.php:200
 
225
  msgid " Please ensure your calendar ID is correct."
226
+ msgstr "Vennligst sikre at kalender-ID'en din er korrekt."
227
 
228
  #: includes/gce-feed-cpt.php:21
229
  msgid "Google Calendar Feeds"
299
  msgstr "%4$s utkast oppdatert. %1$sVis %2$s%3$s"
300
 
301
  #: includes/gce-feed-cpt.php:95
 
302
  msgid "Feed Settings"
303
+ msgstr "Feed-innstillinger"
304
 
305
  #: includes/gce-feed-cpt.php:97
306
  msgid "Resources"
307
+ msgstr "Ressurser"
308
 
309
  #: includes/gce-feed-cpt.php:98
 
310
  msgid "Display Options"
311
+ msgstr "Visningsvalg"
312
 
313
  #: includes/gce-feed-cpt.php:269
314
  msgid "Feed ID"
324
 
325
  #: includes/gce-feed-cpt.php:306
326
  msgid "Grid"
327
+ msgstr "Matrise"
328
 
329
  #: includes/gce-feed-cpt.php:308 views/admin/gce-feed-meta-display.php:155
330
  #: views/widgets.php:295
338
 
339
  #: includes/gce-feed-cpt.php:312
340
  msgid "Custom Date Range"
341
+ msgstr "Tillpasset datointervall"
342
 
343
  #: includes/gce-feed-cpt.php:469
344
  msgid "Feed cache cleared."
345
  msgid_plural "Cleared cache for %s feeds."
346
+ msgstr[0] "Feedbuffer tømt."
347
+ msgstr[1] "Tømt buffer for %s feeds."
348
 
349
  #: includes/register-settings.php:29
350
  msgid "Google API Key"
351
+ msgstr "Google API-nøkkel"
352
 
353
  #: includes/register-settings.php:30
354
  msgid ""
355
  "If left blank all displayed Google calendars will use a public Google API "
356
  "key shared across all plugin users."
357
  msgstr ""
358
+ "Dersom tomt vil alle viste Google-kalendere benytte en offentlig Google API-"
359
+ "nøkkel delt med alle brukere av utvidelsen."
360
 
361
  #: includes/register-settings.php:31
362
  msgid ""
363
  "Currently the shared key is limited to 500,000 requests per day and 5 "
364
  "requests per second."
365
  msgstr ""
366
+ "Per i dag er den delte nøkkelen begrenset til 500 000 forespørsler per dag "
367
+ "og 5 forespørsler per sekund."
368
 
369
  #: includes/register-settings.php:32
370
  msgid ""
371
  "To avoid these limits <a href=\"%s\" target=\"_blank\">click here for "
372
  "instructions on how to generate and use your own Google API key.</a>"
373
  msgstr ""
374
+ "For å unngå disse begrensningene <a href=\"%s\" target=\"_blank\">klikk her "
375
+ "for instrukser for hvordan å generere og bruke din egen Google API-nøkkel</a>"
376
 
377
  #: includes/register-settings.php:39
378
  msgid "Always Enqueue Scripts & Styles"
379
+ msgstr "Alltid legg Skripter & Maler i kø"
380
 
381
  #: includes/register-settings.php:40
382
  msgid "Enqueue this plugin's scripts and styles on every post and page."
383
  msgstr ""
384
+ "Legg denne utvidelsens skripter og maler i kø på hvert innlegg og hver side."
385
 
386
  #: includes/register-settings.php:41
387
  msgid "Useful if using shortcodes in widgets or other non-standard locations."
388
  msgstr ""
389
+ "Nyttig ved bruk av hurtigkoder i widgets eller andre ikke-standard-steder."
390
 
391
  #: includes/register-settings.php:46
392
  msgid "Disable Plugin CSS"
393
+ msgstr "Deaktiver utvidelsens CSS"
394
 
395
  #: includes/register-settings.php:47
396
  msgid ""
397
  "If this option is checked, this plugin's CSS file will not be referenced."
398
  msgstr ""
399
+ "Derson dette valget er huket av, vil det ikke bli referert til denne "
400
+ "utvidelsens CSS."
401
 
402
  #: includes/register-settings.php:52
403
  msgid "Save Settings"
404
  msgstr "Lagre innstillinger"
405
 
406
  #: includes/register-settings.php:53
 
407
  msgid "Save your settings when uninstalling this plugin."
408
+ msgstr "Lagre innstillingene dine når du avinnstallerer denne utvidelsen. "
 
 
409
 
410
  #: includes/register-settings.php:54
 
411
  msgid "Useful when upgrading or re-installing."
412
+ msgstr "Nyttig ved oppgradering eller reinstallasjon."
 
 
413
 
414
  #: includes/register-settings.php:182
415
  msgid ""
418
  "Tilbakekallingsfunksjonen som brukes til <strong>%s</strong>-innstillingen "
419
  "mangler."
420
 
421
+ #: includes/shortcodes.php:104
422
  msgid ""
423
  "There was a problem with one or more of your feed IDs. Please check your "
424
  "shortcode settings and make sure they are correct."
425
  msgstr ""
426
+ "De oppsto et problem med en eller flere feed'ene dines ID'er. Vennligst "
427
+ "sjekke hurtigodeinnstillingene dine og sørg for at det er korrekte."
428
 
429
  #: views/admin/display-options-meta.php:39
430
  msgid ""
582
  "på innleggsredigereren."
583
 
584
  #: views/admin/gce-feed-meta-display.php:96
 
585
  msgid "Google Calendar ID"
586
+ msgstr "Google Calendar ID"
587
 
588
  #: views/admin/gce-feed-meta-display.php:100
 
589
  msgid "The Google Calendar ID."
590
+ msgstr "Google Calendar IDen."
591
 
592
  #: views/admin/gce-feed-meta-display.php:100
593
  msgid "Example"
594
  msgstr "Eksempel"
595
 
596
  #: views/admin/gce-feed-meta-display.php:102
 
597
  msgid "How to find your Google Calendar ID"
598
+ msgstr "Hvordan å finne Google Calendar IDen din"
599
 
600
  #: views/admin/gce-feed-meta-display.php:115
601
  msgid "Timezone"
602
+ msgstr "Tidssone"
603
 
604
  #: views/admin/gce-feed-meta-display.php:122
605
  msgid "It is recommended to use the calendar default timezone."
606
+ msgstr "Det er anbefalt å benytte kalenderens standard tidssone."
607
 
608
  #: views/admin/gce-feed-meta-display.php:127
609
  msgid "Search Query"
622
  msgstr "Ja"
623
 
624
  #: views/admin/gce-feed-meta-display.php:138
 
625
  msgid ""
626
  "Display recurring events each time they occur. If disabled, events will be "
627
  "displayed only the first time they occur."
628
  msgstr ""
629
+ "Vis tilbakevendende arrangement hver gang de oppstår. Dersom deaktivert, vil "
630
+ "det bare vise arrangement første gang de oppstår."
631
 
632
  #: views/admin/gce-feed-meta-display.php:143
633
  msgid "Multiple Day Events"
642
  "Display multiple day events on each day that they span. If disabled, "
643
  "multiple day events will be displayed only on the first day they occur."
644
  msgstr ""
645
+ "Vis flerdagsarrangement på hver dag de omfatter. Dersom deaktivert, vil "
646
+ "flerdagsarrangement bli vist kun på den første dagen de oppstår."
647
 
648
  #: views/admin/gce-feed-meta-display.php:151
649
  msgid "Display Mode"
651
 
652
  #: views/admin/gce-feed-meta-display.php:154 views/widgets.php:294
653
  msgid "Grid (Month view)"
654
+ msgstr "Matrise (månedsvisning)"
655
 
656
  #: views/admin/gce-feed-meta-display.php:157 views/widgets.php:297
657
  msgid "Custom Date Range (List)"
658
+ msgstr "Tilpasset datointervall (liste)"
659
 
660
  #: views/admin/gce-feed-meta-display.php:158 views/widgets.php:298
661
  msgid "Custom Date Range (Grid)"
662
+ msgstr "Tilpasset datointervall (matrise)"
663
 
664
  #: views/admin/gce-feed-meta-display.php:160
 
665
  msgid "Select how to display this feed."
666
+ msgstr "Velg hvordan å vise denne feed'en"
667
 
668
  #: views/admin/gce-feed-meta-display.php:165
 
669
  msgid "Events per Page"
670
+ msgstr "Arrangement per side"
671
 
672
  #: views/admin/gce-feed-meta-display.php:168 views/widgets.php:313
673
  msgid "Number of Days"
674
+ msgstr "Antall dager"
675
 
676
  #: views/admin/gce-feed-meta-display.php:169 views/widgets.php:314
 
677
  msgid "Number of Events"
678
+ msgstr "Antall arrangement"
679
 
680
  #: views/admin/gce-feed-meta-display.php:170 views/widgets.php:315
 
681
  msgid "One Week"
682
+ msgstr "Én uke"
683
 
684
  #: views/admin/gce-feed-meta-display.php:171 views/widgets.php:316
 
685
  msgid "One Month"
686
+ msgstr "Én måned"
687
 
688
  #: views/admin/gce-feed-meta-display.php:176
689
  msgid "How many events to display per page (List View only)."
696
  #: views/admin/gce-feed-meta-display.php:184
697
  #: views/admin/gce-feed-meta-display.php:196 views/widgets.php:330
698
  msgid "Number of Days Back"
699
+ msgstr "Antall dager tilbake"
700
 
701
  #: views/admin/gce-feed-meta-display.php:185
702
  #: views/admin/gce-feed-meta-display.php:215 views/widgets.php:331
703
  msgid "Number of Days Forward"
704
+ msgstr "Antall dager fremover"
705
 
706
  #: views/admin/gce-feed-meta-display.php:188 views/widgets.php:335
 
707
  msgid ""
708
  "Change to initially display events on a date other than today (List View "
709
  "only)."
710
  msgstr ""
711
+ "Endre for å vise arrangement på en annen dato enn i dag. (kun listevisning)."
 
712
 
713
  #: views/admin/gce-feed-meta-display.php:193
 
714
  msgid "Earliest Feed Event Date"
715
+ msgstr "Tidligste arrangementsdato for feed'en"
716
 
717
  #: views/admin/gce-feed-meta-display.php:197
 
718
  msgid "Number of Months Back"
719
+ msgstr "Antall måneder tilbake"
720
 
721
  #: views/admin/gce-feed-meta-display.php:198
 
722
  msgid "Number of Years Back"
723
+ msgstr "Antall år tilbake"
724
 
725
  #: views/admin/gce-feed-meta-display.php:204
 
726
  msgid "Set how far back to retrieve events regardless of initial display."
727
  msgstr ""
728
+ "Sett hvor langt tilbake i tid å hente arrangement uavhengig av "
729
+ "åpningsvisningen."
730
 
731
  #: views/admin/gce-feed-meta-display.php:206
732
  msgid ""
733
  "<strong>Note:</strong> Total events are currently limited to 2,500 by the "
734
  "Google Calendar API."
735
  msgstr ""
736
+ "<strong>Merk:</strong> Antall arrangemet er per i dag begrenset til 2 500 av "
737
+ "Google Calendar API."
738
 
739
  #: views/admin/gce-feed-meta-display.php:212
 
740
  msgid "Latest Feed Event Date"
741
+ msgstr "Seneste arrangementsdato for feed'en"
742
 
743
  #: views/admin/gce-feed-meta-display.php:216
 
744
  msgid "Number of Months Forward"
745
+ msgstr "Antall måneder fremover"
746
 
747
  #: views/admin/gce-feed-meta-display.php:217
 
748
  msgid "Number of Years Forward"
749
+ msgstr "Antall år fremover"
750
 
751
  #: views/admin/gce-feed-meta-display.php:222
 
752
  msgid ""
753
  "Set how far in the future to retrieve events regardless of initial display."
754
  msgstr ""
755
+ "Sett hvor langt inn i fremtiden å hente arrangement uavhengig av "
756
+ "åpningsvisningen."
757
 
758
  #: views/admin/gce-feed-meta-display.php:227
759
  msgid "Use Custom Date Range"
760
+ msgstr "Benytte tilpasset datointervall"
761
 
762
  #: views/admin/gce-feed-meta-display.php:233
763
  msgid ""
764
  "Set a specific range of events to retrieve. Leaving either field blank will "
765
  "set the date to the current day."
766
  msgstr ""
767
+ "Sett et spesifikt intervall av arrangementer å hente. Ved å la et felt stå "
768
+ "tomt vil sette datoen til dagens dato."
769
 
770
  #: views/admin/gce-feed-meta-display.php:239 views/widgets.php:345
771
  msgid "Show Paging Links"
772
  msgstr "Vis sidelenker"
773
 
774
  #: views/admin/gce-feed-meta-display.php:242
 
775
  msgid "Display Next and Back navigation links."
776
+ msgstr "Vis Neste og Forrige navigasjonslenker."
777
 
778
  #: views/admin/gce-feed-meta-display.php:247 views/widgets.php:348
779
  msgid "Show Tooltips"
780
+ msgstr "Vis verktøytips"
781
 
782
  #: views/admin/gce-feed-meta-display.php:250
783
  msgid "Display tooltips when hovering over events (Grid View only)."
784
+ msgstr "Vis verktøytips ved sveving over arrangement (kun matrisevisning)."
785
 
786
  #: views/admin/gce-feed-meta-display.php:255
787
  msgid "Date Format"
814
  "feed'en endres regelmessig, kan det være lurt å redusere buffervarighet."
815
 
816
  #: views/admin/gce-feed-sidebar-help.php:6
 
817
  msgid "Documentation"
818
+ msgstr "Dokumentasjon"
819
 
820
  #: views/admin/gce-feed-sidebar-help.php:11
821
  msgid "Community support forums"
826
  msgstr "Bli varslet om nye funksjoner"
827
 
828
  #: views/admin/gce-feed-sidebar-help.php:21
829
+ msgid ""
830
+ "Are you finding our GCal plugin helpful? 5-star ratings keep us motivated!"
831
  msgstr ""
832
 
833
  #: views/admin/gce-feed-sidebar-help.php:25
834
+ msgid "Rate our plugin on wordpress.org"
835
+ msgstr ""
 
836
 
837
  #: views/widgets.php:28
838
  msgid ""
857
  "There was a problem with one or more of your feed IDs. Please check your "
858
  "widget settings and make sure they are correct."
859
  msgstr ""
860
+ "Det oppsto et problem med en eller flere av dine feeds IDer. Vennligst sjekk "
861
+ "widgetinnstillingene dine og sørg for at de er korrekte."
862
 
863
  #: views/widgets.php:213
864
  msgid "You have not added any feeds yet."
873
  msgstr "Legg til din første feed!"
874
 
875
  #: views/widgets.php:267
 
876
  msgid "Events on"
877
+ msgstr "Arrangementer"
878
 
879
  #: views/widgets.php:281
880
  msgid "Title:"
881
+ msgstr "Tittel:"
882
 
883
  #: views/widgets.php:286
884
  msgid "Feeds to Display (comma separated list - i.e. 101,102,103):"
901
  msgstr "Synkende"
902
 
903
  #: views/widgets.php:311
 
904
  msgid "Events per Page (List View only):"
905
+ msgstr "Antall arrangement per side (kun listevisning):"
906
 
907
  #: views/widgets.php:324
908
  msgid ""
909
  "This setting will pull from the custom date range set in the main feed "
910
  "settings and cannot be changed here."
911
  msgstr ""
912
+ "Denne innstillingen vil hente fra datointervallet satt i hovedinnstillingene "
913
+ "for feed'en og kan ikke endres her."
914
 
915
  #: views/widgets.php:328
916
  msgid "Display Start Date Offset (List View only):"
926
 
927
  #. Plugin URI of the plugin/theme
928
  msgid "https://wordpress.org/plugins/google-calendar-events/"
929
+ msgstr "https://wordpress.org/plugins/google-calendar-events/"
930
 
931
  #. Description of the plugin/theme
932
  msgid ""
933
  "Show off your Google calendar in grid (month) or list view, in a post, page "
934
  "or widget, and in a style that matches your site."
935
  msgstr ""
936
+ "Vis Googlekalenderen din i matrise- (måned) eller listevisning, i et innlegg "
937
+ "eller widget, samt i en stil som matcher websidene dine."
938
 
939
  #. Author of the plugin/theme
940
  msgid "Moonstone Media"
941
+ msgstr "Moonstone Media"
942
 
943
  #. Author URI of the plugin/theme
944
  msgid "http://moonstonemediagroup.com"
945
+ msgstr "http://moonstonemediagroup.com"
946
 
947
  #: includes/class-gce-event.php:562
948
  msgctxt "human_time_diff"
949
  msgid ", "
950
+ msgstr ","
951
 
952
  #: views/admin/gce-feed-meta-display.php:118
953
  msgctxt "Use the calendar default setting"
954
  msgid "Calendar default"
955
+ msgstr "Kalenderstandard"
956
 
957
  #: views/admin/gce-feed-meta-display.php:119
958
  msgctxt "Use this site default setting"
959
  msgid "Site default"
960
+ msgstr "Websidestandard"
961
 
962
  #: views/admin/gce-feed-meta-display.php:231
963
  msgctxt "separator between custom date range fields"
964
  msgid "to"
965
+ msgstr "til"
966
+
967
+ #~ msgid "Your review helps more folks find our plugin. Thanks so much!"
968
+ #~ msgstr ""
969
+ #~ "Tilbakemeldingen din hjelper flere å finne utvidelsen vår. Takk så mye!"
970
+
971
+ #~ msgid "Review this Plugin Now"
972
+ #~ msgstr "Gi denne utvidelsen en anmeldelse nå"
973
 
974
  #~ msgid ""
975
  #~ "The feed could not be found (404). Please ensure your feed URL is correct."
languages/gce-nl_NL.mo CHANGED
Binary file
languages/gce-nl_NL.po CHANGED
@@ -3,7 +3,7 @@ msgstr ""
3
  "Project-Id-Version: Google Calendar Events\n"
4
  "Report-Msgid-Bugs-To: https://github.com/pderksen/WP-Google-Calendar-Events/"
5
  "issues\n"
6
- "POT-Creation-Date: 2015-08-07 18:22:35+00:00\n"
7
  "PO-Revision-Date: 2014-11-21 22:41+0100\n"
8
  "Last-Translator: \n"
9
  "Language-Team: \n"
@@ -55,7 +55,7 @@ msgstr ""
55
  msgid "Please add a new calendar feed first."
56
  msgstr ""
57
 
58
- #: class-google-calendar-events.php:88
59
  msgid "Loading..."
60
  msgstr "Laden..."
61
 
@@ -423,7 +423,7 @@ msgstr ""
423
  "De callback-functie die wordt gebruikt voor de <strong>%s</strong> "
424
  "instelling ontbreekt."
425
 
426
- #: includes/shortcodes.php:95
427
  msgid ""
428
  "There was a problem with one or more of your feed IDs. Please check your "
429
  "shortcode settings and make sure they are correct."
@@ -848,13 +848,13 @@ msgid "Get notified of new features"
848
  msgstr "Blijf op de hoogte van nieuwe functies"
849
 
850
  #: views/admin/gce-feed-sidebar-help.php:21
851
- msgid "Your review helps more folks find our plugin. Thanks so much!"
 
852
  msgstr ""
853
 
854
  #: views/admin/gce-feed-sidebar-help.php:25
855
- #, fuzzy
856
- msgid "Review this Plugin Now"
857
- msgstr "Beoordeel deze plugin"
858
 
859
  #: views/widgets.php:28
860
  msgid ""
@@ -984,6 +984,10 @@ msgctxt "separator between custom date range fields"
984
  msgid "to"
985
  msgstr ""
986
 
 
 
 
 
987
  #~ msgid "Helpful Links"
988
  #~ msgstr "Nuttige links"
989
 
3
  "Project-Id-Version: Google Calendar Events\n"
4
  "Report-Msgid-Bugs-To: https://github.com/pderksen/WP-Google-Calendar-Events/"
5
  "issues\n"
6
+ "POT-Creation-Date: 2015-08-14 14:43:32+00:00\n"
7
  "PO-Revision-Date: 2014-11-21 22:41+0100\n"
8
  "Last-Translator: \n"
9
  "Language-Team: \n"
55
  msgid "Please add a new calendar feed first."
56
  msgstr ""
57
 
58
+ #: class-google-calendar-events.php:87
59
  msgid "Loading..."
60
  msgstr "Laden..."
61
 
423
  "De callback-functie die wordt gebruikt voor de <strong>%s</strong> "
424
  "instelling ontbreekt."
425
 
426
+ #: includes/shortcodes.php:104
427
  msgid ""
428
  "There was a problem with one or more of your feed IDs. Please check your "
429
  "shortcode settings and make sure they are correct."
848
  msgstr "Blijf op de hoogte van nieuwe functies"
849
 
850
  #: views/admin/gce-feed-sidebar-help.php:21
851
+ msgid ""
852
+ "Are you finding our GCal plugin helpful? 5-star ratings keep us motivated!"
853
  msgstr ""
854
 
855
  #: views/admin/gce-feed-sidebar-help.php:25
856
+ msgid "Rate our plugin on wordpress.org"
857
+ msgstr ""
 
858
 
859
  #: views/widgets.php:28
860
  msgid ""
984
  msgid "to"
985
  msgstr ""
986
 
987
+ #, fuzzy
988
+ #~ msgid "Review this Plugin Now"
989
+ #~ msgstr "Beoordeel deze plugin"
990
+
991
  #~ msgid "Helpful Links"
992
  #~ msgstr "Nuttige links"
993
 
languages/gce-pl_PL.mo CHANGED
Binary file
languages/gce-pl_PL.po CHANGED
@@ -3,7 +3,7 @@ msgstr ""
3
  "Project-Id-Version: Google Calendar Events\n"
4
  "Report-Msgid-Bugs-To: https://github.com/pderksen/WP-Google-Calendar-Events/"
5
  "issues\n"
6
- "POT-Creation-Date: 2015-08-07 18:22:35+00:00\n"
7
  "PO-Revision-Date: 2014-10-31 19:32+0100\n"
8
  "Last-Translator: Michał Pasternak <michal.dtz@gmail.com>\n"
9
  "Language-Team: \n"
@@ -53,7 +53,7 @@ msgstr ""
53
  msgid "Please add a new calendar feed first."
54
  msgstr ""
55
 
56
- #: class-google-calendar-events.php:88
57
  msgid "Loading..."
58
  msgstr "Wczytuję..."
59
 
@@ -411,7 +411,7 @@ msgid ""
411
  "The callback function used for the <strong>%s</strong> setting is missing."
412
  msgstr "Brakuje funkcji callback używanej dla ustawienia <strong>%s</strong>. "
413
 
414
- #: includes/shortcodes.php:95
415
  msgid ""
416
  "There was a problem with one or more of your feed IDs. Please check your "
417
  "shortcode settings and make sure they are correct."
@@ -836,13 +836,13 @@ msgid "Get notified of new features"
836
  msgstr "Bądź informowany o nowych możliwościach"
837
 
838
  #: views/admin/gce-feed-sidebar-help.php:21
839
- msgid "Your review helps more folks find our plugin. Thanks so much!"
 
840
  msgstr ""
841
 
842
  #: views/admin/gce-feed-sidebar-help.php:25
843
- #, fuzzy
844
- msgid "Review this Plugin Now"
845
- msgstr "Oceń tą wtyczkę"
846
 
847
  #: views/widgets.php:28
848
  msgid ""
@@ -973,6 +973,10 @@ msgctxt "separator between custom date range fields"
973
  msgid "to"
974
  msgstr ""
975
 
 
 
 
 
976
  #~ msgid ""
977
  #~ "The feed could not be found (404). Please ensure your feed URL is correct."
978
  #~ msgstr ""
3
  "Project-Id-Version: Google Calendar Events\n"
4
  "Report-Msgid-Bugs-To: https://github.com/pderksen/WP-Google-Calendar-Events/"
5
  "issues\n"
6
+ "POT-Creation-Date: 2015-08-14 14:43:32+00:00\n"
7
  "PO-Revision-Date: 2014-10-31 19:32+0100\n"
8
  "Last-Translator: Michał Pasternak <michal.dtz@gmail.com>\n"
9
  "Language-Team: \n"
53
  msgid "Please add a new calendar feed first."
54
  msgstr ""
55
 
56
+ #: class-google-calendar-events.php:87
57
  msgid "Loading..."
58
  msgstr "Wczytuję..."
59
 
411
  "The callback function used for the <strong>%s</strong> setting is missing."
412
  msgstr "Brakuje funkcji callback używanej dla ustawienia <strong>%s</strong>. "
413
 
414
+ #: includes/shortcodes.php:104
415
  msgid ""
416
  "There was a problem with one or more of your feed IDs. Please check your "
417
  "shortcode settings and make sure they are correct."
836
  msgstr "Bądź informowany o nowych możliwościach"
837
 
838
  #: views/admin/gce-feed-sidebar-help.php:21
839
+ msgid ""
840
+ "Are you finding our GCal plugin helpful? 5-star ratings keep us motivated!"
841
  msgstr ""
842
 
843
  #: views/admin/gce-feed-sidebar-help.php:25
844
+ msgid "Rate our plugin on wordpress.org"
845
+ msgstr ""
 
846
 
847
  #: views/widgets.php:28
848
  msgid ""
973
  msgid "to"
974
  msgstr ""
975
 
976
+ #, fuzzy
977
+ #~ msgid "Review this Plugin Now"
978
+ #~ msgstr "Oceń tą wtyczkę"
979
+
980
  #~ msgid ""
981
  #~ "The feed could not be found (404). Please ensure your feed URL is correct."
982
  #~ msgstr ""
languages/gce-pt_BR.mo CHANGED
Binary file
languages/gce-pt_BR.po CHANGED
@@ -5,7 +5,7 @@ msgstr ""
5
  "Project-Id-Version: Google Calendar Events\n"
6
  "Report-Msgid-Bugs-To: https://github.com/pderksen/WP-Google-Calendar-Events/"
7
  "issues\n"
8
- "POT-Creation-Date: 2015-08-07 18:22:35+00:00\n"
9
  "PO-Revision-Date: \n"
10
  "Last-Translator: CodeLayer <codelayer@codelayer.org>\n"
11
  "Language-Team: CodeLayer <info@codelayer.org>\n"
@@ -62,7 +62,7 @@ msgstr ""
62
  msgid "Please add a new calendar feed first."
63
  msgstr "Por favor certifique-se que a ID do calendário está correta"
64
 
65
- #: class-google-calendar-events.php:88
66
  msgid "Loading..."
67
  msgstr "Carregando..."
68
 
@@ -426,7 +426,7 @@ msgstr ""
426
  "A função de callback usada para configuração <strong>%s</strong> está "
427
  "ausente."
428
 
429
- #: includes/shortcodes.php:95
430
  msgid ""
431
  "There was a problem with one or more of your feed IDs. Please check your "
432
  "shortcode settings and make sure they are correct."
@@ -833,13 +833,13 @@ msgid "Get notified of new features"
833
  msgstr "Seja notificado de novos recursos"
834
 
835
  #: views/admin/gce-feed-sidebar-help.php:21
836
- msgid "Your review helps more folks find our plugin. Thanks so much!"
 
837
  msgstr ""
838
 
839
  #: views/admin/gce-feed-sidebar-help.php:25
840
- #, fuzzy
841
- msgid "Review this Plugin Now"
842
- msgstr "Avalie este plugin"
843
 
844
  #: views/widgets.php:28
845
  msgid ""
@@ -969,6 +969,10 @@ msgctxt "separator between custom date range fields"
969
  msgid "to"
970
  msgstr "à"
971
 
 
 
 
 
972
  #~ msgid "Helpful Links"
973
  #~ msgstr "Links úteis"
974
 
5
  "Project-Id-Version: Google Calendar Events\n"
6
  "Report-Msgid-Bugs-To: https://github.com/pderksen/WP-Google-Calendar-Events/"
7
  "issues\n"
8
+ "POT-Creation-Date: 2015-08-14 14:43:32+00:00\n"
9
  "PO-Revision-Date: \n"
10
  "Last-Translator: CodeLayer <codelayer@codelayer.org>\n"
11
  "Language-Team: CodeLayer <info@codelayer.org>\n"
62
  msgid "Please add a new calendar feed first."
63
  msgstr "Por favor certifique-se que a ID do calendário está correta"
64
 
65
+ #: class-google-calendar-events.php:87
66
  msgid "Loading..."
67
  msgstr "Carregando..."
68
 
426
  "A função de callback usada para configuração <strong>%s</strong> está "
427
  "ausente."
428
 
429
+ #: includes/shortcodes.php:104
430
  msgid ""
431
  "There was a problem with one or more of your feed IDs. Please check your "
432
  "shortcode settings and make sure they are correct."
833
  msgstr "Seja notificado de novos recursos"
834
 
835
  #: views/admin/gce-feed-sidebar-help.php:21
836
+ msgid ""
837
+ "Are you finding our GCal plugin helpful? 5-star ratings keep us motivated!"
838
  msgstr ""
839
 
840
  #: views/admin/gce-feed-sidebar-help.php:25
841
+ msgid "Rate our plugin on wordpress.org"
842
+ msgstr ""
 
843
 
844
  #: views/widgets.php:28
845
  msgid ""
969
  msgid "to"
970
  msgstr "à"
971
 
972
+ #, fuzzy
973
+ #~ msgid "Review this Plugin Now"
974
+ #~ msgstr "Avalie este plugin"
975
+
976
  #~ msgid "Helpful Links"
977
  #~ msgstr "Links úteis"
978
 
languages/gce-ru_RU.mo CHANGED
Binary file
languages/gce-ru_RU.po CHANGED
@@ -5,7 +5,7 @@ msgstr ""
5
  "Project-Id-Version: Google Calendar Events\n"
6
  "Report-Msgid-Bugs-To: https://github.com/pderksen/WP-Google-Calendar-Events/"
7
  "issues\n"
8
- "POT-Creation-Date: 2015-08-07 18:22:35+00:00\n"
9
  "PO-Revision-Date: \n"
10
  "Last-Translator: Vadim Rc <0xrcva@gmail.com>\n"
11
  "Language-Team: rcva <0xrcva@gmail.com>\n"
@@ -63,7 +63,7 @@ msgstr ""
63
  msgid "Please add a new calendar feed first."
64
  msgstr "Пожалуйста, убедитесь что идентификатор (ID) календаря корректен"
65
 
66
- #: class-google-calendar-events.php:88
67
  msgid "Loading..."
68
  msgstr "Загрузка..."
69
 
@@ -427,7 +427,7 @@ msgid ""
427
  msgstr ""
428
  "The callback function used for the <strong>%s</strong> setting is missing."
429
 
430
- #: includes/shortcodes.php:95
431
  msgid ""
432
  "There was a problem with one or more of your feed IDs. Please check your "
433
  "shortcode settings and make sure they are correct."
@@ -837,13 +837,13 @@ msgid "Get notified of new features"
837
  msgstr "Получать уведомления о новых функциях"
838
 
839
  #: views/admin/gce-feed-sidebar-help.php:21
840
- msgid "Your review helps more folks find our plugin. Thanks so much!"
 
841
  msgstr ""
842
 
843
  #: views/admin/gce-feed-sidebar-help.php:25
844
- #, fuzzy
845
- msgid "Review this Plugin Now"
846
- msgstr "Оцените этот плагин"
847
 
848
  #: views/widgets.php:28
849
  msgid ""
@@ -975,6 +975,10 @@ msgctxt "separator between custom date range fields"
975
  msgid "to"
976
  msgstr "по"
977
 
 
 
 
 
978
  #~ msgid "Helpful Links"
979
  #~ msgstr "Полезные ссылки"
980
 
5
  "Project-Id-Version: Google Calendar Events\n"
6
  "Report-Msgid-Bugs-To: https://github.com/pderksen/WP-Google-Calendar-Events/"
7
  "issues\n"
8
+ "POT-Creation-Date: 2015-08-14 14:43:32+00:00\n"
9
  "PO-Revision-Date: \n"
10
  "Last-Translator: Vadim Rc <0xrcva@gmail.com>\n"
11
  "Language-Team: rcva <0xrcva@gmail.com>\n"
63
  msgid "Please add a new calendar feed first."
64
  msgstr "Пожалуйста, убедитесь что идентификатор (ID) календаря корректен"
65
 
66
+ #: class-google-calendar-events.php:87
67
  msgid "Loading..."
68
  msgstr "Загрузка..."
69
 
427
  msgstr ""
428
  "The callback function used for the <strong>%s</strong> setting is missing."
429
 
430
+ #: includes/shortcodes.php:104
431
  msgid ""
432
  "There was a problem with one or more of your feed IDs. Please check your "
433
  "shortcode settings and make sure they are correct."
837
  msgstr "Получать уведомления о новых функциях"
838
 
839
  #: views/admin/gce-feed-sidebar-help.php:21
840
+ msgid ""
841
+ "Are you finding our GCal plugin helpful? 5-star ratings keep us motivated!"
842
  msgstr ""
843
 
844
  #: views/admin/gce-feed-sidebar-help.php:25
845
+ msgid "Rate our plugin on wordpress.org"
846
+ msgstr ""
 
847
 
848
  #: views/widgets.php:28
849
  msgid ""
975
  msgid "to"
976
  msgstr "по"
977
 
978
+ #, fuzzy
979
+ #~ msgid "Review this Plugin Now"
980
+ #~ msgstr "Оцените этот плагин"
981
+
982
  #~ msgid "Helpful Links"
983
  #~ msgstr "Полезные ссылки"
984
 
languages/gce-sv_SE.mo CHANGED
Binary file
languages/gce-sv_SE.po CHANGED
@@ -3,7 +3,7 @@ msgstr ""
3
  "Project-Id-Version: Google Calendar Events ver 2.2.5\n"
4
  "Report-Msgid-Bugs-To: https://github.com/pderksen/WP-Google-Calendar-Events/"
5
  "issues\n"
6
- "POT-Creation-Date: 2015-08-07 18:22:35+00:00\n"
7
  "PO-Revision-Date: 2015-05-17 23:25+0100\n"
8
  "Last-Translator: Tommy Wikström <tommy.wikstrom@gmail.com>\n"
9
  "Language-Team: \n"
@@ -56,7 +56,7 @@ msgstr ""
56
  msgid "Please add a new calendar feed first."
57
  msgstr "Kontrollera att din kalender-ID är korrekt."
58
 
59
- #: class-google-calendar-events.php:88
60
  msgid "Loading..."
61
  msgstr "Laddar …"
62
 
@@ -421,7 +421,7 @@ msgid ""
421
  msgstr ""
422
  "Callback-funktionen som används för <strong>%s</strong> inställningen saknas."
423
 
424
- #: includes/shortcodes.php:95
425
  msgid ""
426
  "There was a problem with one or more of your feed IDs. Please check your "
427
  "shortcode settings and make sure they are correct."
@@ -825,13 +825,13 @@ msgid "Get notified of new features"
825
  msgstr "Få meddelande om nya funktioner"
826
 
827
  #: views/admin/gce-feed-sidebar-help.php:21
828
- msgid "Your review helps more folks find our plugin. Thanks so much!"
 
829
  msgstr ""
830
 
831
  #: views/admin/gce-feed-sidebar-help.php:25
832
- #, fuzzy
833
- msgid "Review this Plugin Now"
834
- msgstr "Betygsätt denna plugin"
835
 
836
  #: views/widgets.php:28
837
  msgid ""
@@ -961,6 +961,10 @@ msgctxt "separator between custom date range fields"
961
  msgid "to"
962
  msgstr ""
963
 
 
 
 
 
964
  #~ msgid "Helpful Links"
965
  #~ msgstr "Användbara länkar"
966
 
3
  "Project-Id-Version: Google Calendar Events ver 2.2.5\n"
4
  "Report-Msgid-Bugs-To: https://github.com/pderksen/WP-Google-Calendar-Events/"
5
  "issues\n"
6
+ "POT-Creation-Date: 2015-08-14 14:43:32+00:00\n"
7
  "PO-Revision-Date: 2015-05-17 23:25+0100\n"
8
  "Last-Translator: Tommy Wikström <tommy.wikstrom@gmail.com>\n"
9
  "Language-Team: \n"
56
  msgid "Please add a new calendar feed first."
57
  msgstr "Kontrollera att din kalender-ID är korrekt."
58
 
59
+ #: class-google-calendar-events.php:87
60
  msgid "Loading..."
61
  msgstr "Laddar …"
62
 
421
  msgstr ""
422
  "Callback-funktionen som används för <strong>%s</strong> inställningen saknas."
423
 
424
+ #: includes/shortcodes.php:104
425
  msgid ""
426
  "There was a problem with one or more of your feed IDs. Please check your "
427
  "shortcode settings and make sure they are correct."
825
  msgstr "Få meddelande om nya funktioner"
826
 
827
  #: views/admin/gce-feed-sidebar-help.php:21
828
+ msgid ""
829
+ "Are you finding our GCal plugin helpful? 5-star ratings keep us motivated!"
830
  msgstr ""
831
 
832
  #: views/admin/gce-feed-sidebar-help.php:25
833
+ msgid "Rate our plugin on wordpress.org"
834
+ msgstr ""
 
835
 
836
  #: views/widgets.php:28
837
  msgid ""
961
  msgid "to"
962
  msgstr ""
963
 
964
+ #, fuzzy
965
+ #~ msgid "Review this Plugin Now"
966
+ #~ msgstr "Betygsätt denna plugin"
967
+
968
  #~ msgid "Helpful Links"
969
  #~ msgstr "Användbara länkar"
970
 
languages/gce.pot CHANGED
@@ -5,7 +5,7 @@ msgstr ""
5
  "Project-Id-Version: Google Calendar Events 2.2.8\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://github.com/pderksen/WP-Google-Calendar-Events/issues\n"
8
- "POT-Creation-Date: 2015-08-07 18:40:03+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
@@ -60,7 +60,7 @@ msgstr ""
60
  msgid "Please add a new calendar feed first."
61
  msgstr ""
62
 
63
- #: class-google-calendar-events.php:88
64
  msgid "Loading..."
65
  msgstr ""
66
 
@@ -399,7 +399,7 @@ msgstr ""
399
  msgid "The callback function used for the <strong>%s</strong> setting is missing."
400
  msgstr ""
401
 
402
- #: includes/shortcodes.php:95
403
  msgid ""
404
  "There was a problem with one or more of your feed IDs. Please check your "
405
  "shortcode settings and make sure they are correct."
@@ -778,11 +778,11 @@ msgid "Get notified of new features"
778
  msgstr ""
779
 
780
  #: views/admin/gce-feed-sidebar-help.php:21
781
- msgid "Your review helps more folks find our plugin. Thanks so much!"
782
  msgstr ""
783
 
784
  #: views/admin/gce-feed-sidebar-help.php:25
785
- msgid "Review this Plugin Now"
786
  msgstr ""
787
 
788
  #: views/widgets.php:28
5
  "Project-Id-Version: Google Calendar Events 2.2.8\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://github.com/pderksen/WP-Google-Calendar-Events/issues\n"
8
+ "POT-Creation-Date: 2015-08-14 14:43:32+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
60
  msgid "Please add a new calendar feed first."
61
  msgstr ""
62
 
63
+ #: class-google-calendar-events.php:87
64
  msgid "Loading..."
65
  msgstr ""
66
 
399
  msgid "The callback function used for the <strong>%s</strong> setting is missing."
400
  msgstr ""
401
 
402
+ #: includes/shortcodes.php:104
403
  msgid ""
404
  "There was a problem with one or more of your feed IDs. Please check your "
405
  "shortcode settings and make sure they are correct."
778
  msgstr ""
779
 
780
  #: views/admin/gce-feed-sidebar-help.php:21
781
+ msgid "Are you finding our GCal plugin helpful? 5-star ratings keep us motivated!"
782
  msgstr ""
783
 
784
  #: views/admin/gce-feed-sidebar-help.php:25
785
+ msgid "Rate our plugin on wordpress.org"
786
  msgstr ""
787
 
788
  #: views/widgets.php:28
readme.txt CHANGED
@@ -1,463 +1,468 @@
1
- === Google Calendar Events ===
2
- Contributors: pderksen, nickyoung87, nekojira, rosshanney
3
- Tags: google calendar, google, calendar, events, gcal
4
- Requires at least: 3.9
5
- Tested up to: 4.3
6
- Stable tag: 2.2.8
7
- License: GPLv2 or later
8
-
9
- Parses Google Calendar feeds and displays the events as a calendar grid or list on a page, post or widget.
10
-
11
- == Description ==
12
-
13
- Parses Google Calendar feeds and displays the events as a calendar grid or list on a page, post or widget.
14
-
15
- = Features =
16
-
17
- * Parses Google Calendar feeds to extract events.
18
- * Displays events as a list or within a calendar grid.
19
- * Events from multiple Google Calendar feeds can be shown in a single list / grid.
20
- * Lists and grids can be displayed in posts, pages or within a widget.
21
- * Options to change the number of events retrieved, date / time format, cache duration, etc.
22
- * Complete customisation of the event information displayed.
23
- * Calendar grids can have the ability to change the month displayed.
24
-
25
- [Plugin Documentation & Getting Started](http://wpdocs.philderksen.com/google-calendar-events/?utm_source=wordpress_org&utm_medium=link&utm_campaign=gce_lite)
26
-
27
- ###Updates###
28
-
29
- * [Get notified when new features are released](http://eepurl.com/0_VsT)
30
- * [Follow this project on Github](https://github.com/moonstonemedia/WP-Google-Calendar-Events)
31
-
32
- This plugin was originally created by [Ross Hanney](http://www.rhanney.co.uk), a web developer based in the UK specialising in WordPress and PHP.
33
-
34
- ## Available Translations ##
35
-
36
- * Spanish - Provided by Eduardo Larequi of [educacion.navarra.es/web/pnte/](http://www.educacion.navarra.es/web/pnte/).
37
- * Italian - Provided by Francesco Paccagnella of [pacca.it](http://www.pacca.it/).
38
- * French - Provided by Vincent Bray.
39
- * German - Provided by Stefanie Drucker of [kreativhuhn.at](http://www.kreativhuhn.at/).
40
- * Norwegian - Provided by Tore Hjartland of [aliom.no](http://www.aliom.no/).
41
- * Polish - Provided by Michał Pasternak of [iplweb.pl](http://iplweb.pl/).
42
- * Lithuanian - Provided by Andrius Mazeika of [mazeika.info](http://mazeika.info/).
43
- * Dutch - Provided by Henri van Werkhoven.
44
- * Catalan - Provided by Toni Ginard & Monica Grau of [agora.xtec.cat](http://agora.xtec.cat/).
45
- * Russian - Provided by Vadim Reutskiy.
46
- * Swedish - Provided by Familjedaghemmet Chicos of [chicos.nu](http://www.chicos.nu/).
47
-
48
- == Installation ==
49
-
50
- There are three ways to install this plugin.
51
-
52
- = 1. Admin Search =
53
- 1. In your Admin, go to menu Plugins > Add.
54
- 1. Search for `Google Calendar`.
55
- 1. Find the plugin that's labeled `Google Calendar Events`.
56
- 1. Look for the author name `Moonstone Media` on the plugin.
57
- 1. Click to install.
58
- 1. Activate the plugin.
59
- 1. A new menu item `GCal Events` will appear in the main menu.
60
-
61
- = 2. Download & Upload =
62
- 1. Download the plugin (a zip file) on the right column of this page.
63
- 1. In your Admin, go to menu Plugins > Add.
64
- 1. Select the tab "Upload".
65
- 1. Upload the .zip file you just downloaded.
66
- 1. Activate the plugin.
67
- 1. A new menu item `GCal Events` will appear in the main menu.
68
-
69
- = 3. FTP Upload =
70
- 1. Download the plugin (.zip file) on the right column of this page.
71
- 1. Unzip the zip file contents.
72
- 1. Upload the `google-calendar-events` folder to the `/wp-content/plugins/` directory of your site.
73
- 1. Activate the plugin through the 'Plugins' menu in WordPress.
74
- 1. A new menu item `GCal Events` will appear in the main menu.
75
-
76
- == Frequently Asked Questions ==
77
-
78
- [Plugin Documentation & Getting Started](http://wpdocs.philderksen.com/google-calendar-events/?utm_source=wordpress_org&utm_medium=link&utm_campaign=gce_lite)
79
-
80
- == Screenshots ==
81
-
82
- 1. Grid display in full page with tooltip
83
- 1. Grid display in widget
84
- 1. List display in widget
85
- 1. Simple display options
86
- 1. Calendar feed settings
87
- 1. Calendar widget settings
88
- 1. Event display builder editor
89
-
90
- == Changelog ==
91
-
92
- = 2.2.8 - August 7, 2015 =
93
-
94
- * Fix: Improved security when saving plugin settings.
95
- * Fix: Added URL encoding to fix some issues with API keys containing special characters.
96
- * Tweak: Use calendar feed timezone or website timezone (default calendar).
97
-
98
- = 2.2.7 - July 31, 2015 =
99
-
100
- * Feature: Added an 'Add Calendar' button to quickly add a shortcode in posts.
101
- * Fix: Reverted register scripts hook to init.
102
- * Translations: Updated French translations
103
- * Tweak: Flush permalinks on plugin activation and deactivation.
104
- * Tweak: Added `[if-not-location]` event builder conditional shortcode.
105
- * Tweak: Added a 'gce_no_events_message_text' filter when no events are found.
106
- * Tweak: Added a clear cache bulk action for clearing caches of multiple feeds.
107
-
108
- = 2.2.6 - July 16, 2015 =
109
-
110
- * Plugin performs a requirements check to ensure users are running a recent version of WordPress.
111
- * Added '.gce-has-<n>-events' class to count events in each day in grid display.
112
- * Removed unnecessary imagesLoaded JS library (optional dependency of the qTip2 library).
113
- * Fixed a bug with the start month of the custom date range grid view.
114
- * Fixed a bug with backslashes in date ant time custom format inputs.
115
- * Fixed scripts and styles loading issues.
116
- * Fixed bugs when custom date range values were left blank.
117
- * Added Russian translation provided by Vadim Reutskiy.
118
- * Added Swedish translation provided by Familjedaghemmet Chicos.
119
- * Tested up to WordPress 4.3.
120
-
121
- = 2.2.5 - April 22, 2015 =
122
-
123
- * Updated calls to add_query_arg to prevent any possible XSS attacks.
124
- * Fixed bug with fatal error in rare cases by rearragning order of plugin file includes.
125
- * Fixed bug with navigation links sometimes returning -1.
126
- * Corrected typo with paging links title attributes.
127
-
128
- = 2.2.4 - April 6, 2015 =
129
-
130
- * Updated French translation files.
131
- * Fixed Catalan translation files.
132
- * Fixed encoding bug with [maps-link] new window attribute.
133
-
134
- = 2.2.3 - March 26, 2015 =
135
-
136
- * Fixed bug with the "More details..." link encoding.
137
- * Added note about total event limit of 2,500 now enforced by the Google Calendar API.
138
- * Updated earliest feed event date default to 1 (one) month back.
139
- * 0 (zero) value now allowed for earliest and latest feed event dates (sets them to the current date).
140
- * Minor public script improvements.
141
- * Added Brazilian Portuguese translation files.
142
- * Updated jQuery UI datepicker CSS CDN reference for feed settings pages.
143
- * Tested up to WordPress 4.2.
144
-
145
- = 2.2.2.1 - March 17, 2015 =
146
-
147
- * Option to always enqueue scripts & styles now enabled by default.
148
-
149
- = 2.2.2 - March 15, 2015 =
150
-
151
- * Added option to always enqueue scripts and styles on every post and page.
152
- * Added custom date range grid option to display modes.
153
- * Added option to disable the plugin CSS file.
154
- * Fixed bug with list intervals.
155
- * Fixed bug with event list showing past events.
156
- * Minor public JavaScript performance updates.
157
-
158
- = 2.2.1 - February 28, 2015 =
159
-
160
- * Enqueue scripts & styles on all posts & pages temporarily until better detection can be put in place.
161
- * Fixed GCal ID encoding in feed settings.
162
- * Updated Italian translation.
163
- * Updated French translation.
164
-
165
- = 2.2.0 - February 25, 2015 =
166
-
167
- * Added custom date range options.
168
- * Added option to hide tooltips on grid display.
169
- * Added additional save button at the bottom of the feed settings.
170
- * Performance updates to script enqueues.
171
- * Updated Catalan translation files.
172
- * Updated list output logic.
173
- * Fixed bug with multi-day events sometimes not showing up in list view.
174
- * Fixed bug with calendar ID field not getting encoded.
175
- * Fixed bug with tooltips scrolling on mobile.
176
- * Fixed bug with Google Hangout event links.
177
- * Fixed bug with widget settings not being unique.
178
- * Widget UI enhancements.
179
- * Feed settings UI enhancements.
180
- * Error messaging updates.
181
- * Security improvements.
182
-
183
- = 2.1.7 =
184
-
185
- * Restructured next and back paging navigation script.
186
- * Updated Italian translation files.
187
-
188
- = 2.1.6.1 =
189
-
190
- * More tooltip (qTip2) effects & styling.
191
-
192
- = 2.1.6 =
193
-
194
- * Fixed bug with tooltip (qTip2) in some cases by now including it's imagesLoaded script.
195
- * Tooltip style improvements.
196
- * Tooltip minified JS map file now included.
197
- * Updated French translation.
198
- * Updated Lithuanian translation.
199
- * Fix bug with grouped-list multi-day event title.
200
- * Fix bug when saving a bulk edit.
201
-
202
- = 2.1.5 =
203
-
204
- * Updated jQuery tooltip library to [qTip2](http://qtip2.com/). Previously using unmaintained original qTip library.
205
-
206
- = 2.1.4 =
207
-
208
- * Reverted CSS enqueue change.
209
- * Added Catalan translation - Provided by Toni Ginard & Monica Grau of [agora.xtec.cat](http://agora.xtec.cat/).
210
- * Updated AJAX security code.
211
- * Fixed bug with calendar ID field not trimming extra spaces.
212
- * Updated French translation - Pull Request by @Jojaba
213
- * Tested up to WordPress 4.1.
214
-
215
- = 2.1.3 =
216
-
217
- * Only load plugin scripts and stylesheets when the viewable page is rendering output from this plugin.
218
- * Fixed bugs with simple display options.
219
- * Added better error checking and output options to help in debugging GCal feeds.
220
- * Added Dutch translation - Provided by Henri van Werkhoven.
221
-
222
- = 2.1.2 =
223
-
224
- * Fixed bug with quick edit clearing out feed settings.
225
- * Fix bug with pagination creating extra DOM elements.
226
- * Localization string fixes - Pull Request by @Jojaba
227
- * Added HTML to group events of the same day semantically - Pull Request by @martinburchell
228
- * Fixed bug with [cal-id] event builder code.
229
- * Add in post data resets.
230
-
231
- = 2.1.1 =
232
-
233
- * Fixed bug with all day events not displaying.
234
- * Added missing timezone parameter to internal query.
235
-
236
- = 2.1.0 =
237
-
238
- * Updated to use Google Calendar API version 3. Version 2 deprecated on Nov. 17, 2014.
239
-
240
- = 2.0.7.1 =
241
-
242
- * As of Nov. 17, 2014 the GCal API v2 is deprecated, which breaks all calendar feed displays. This update will temporarily hide the display while we work on a solution that uses GCal API v3.
243
-
244
- = 2.0.7 =
245
-
246
- * Events will now display if it hasn't ended yet for list views.
247
- * Fixed bug with date() call causing a display error in some cases.
248
- * Fixed bug with with widget tooltip text display.
249
- * Added cache clearing on upgrade.
250
- * Added filters for Previous and Next link text.
251
- * Internationalization and language file updates.
252
- * Simplified text domain function.
253
- * Added Lithuanian translation - Provided by Andrius Mazeika of [mazeika.info](http://mazeika.info/).
254
-
255
- = 2.0.6.2 =
256
-
257
- * Reverted previous bug fix that introduced new bugs.
258
-
259
- = 2.0.6.1 =
260
-
261
- * Added Polish translation - Provided by Michał Pasternak of [iplweb.pl](http://iplweb.pl/).
262
- * Updated Italian translation.
263
- * Updated French translation.
264
- * Fixed bug with date() call causing a display error in some cases.
265
- * Minor bug fixes.
266
-
267
- = 2.0.6 =
268
-
269
- * Added minimum and maximum feed date options to fix event display issues and boost performance.
270
- * Fixed a caching issue to increase performance.
271
- * Fixed bug where backslashes kept getting added to event titles that already contained single quotes when navigating through pages in widget.
272
-
273
- = 2.0.5.1 =
274
-
275
- * Fix timezone issue.
276
-
277
- = 2.0.5 =
278
-
279
- * Fixed display bug with event date and grouped lists.
280
- * Fixed broken paging links when feed IDs contain spaces between them.
281
- * Fixed bug with start offset and grouped lists not working properly.
282
- * Fixed bug where clear cache link was showing on any type of CPT.
283
- * Added German translation - Provided by Stefanie Drucker of [kreativhuhn.at](http://www.kreativhuhn.at/).
284
- * Added Norwegian translation - Provided by Tore Hjartland of [aliom.no](http://www.aliom.no/).
285
-
286
- = 2.0.4 =
287
-
288
- * Added option to show/hide paging.
289
- * Added option to limit display to any number of days or events per page.
290
- * Added option to set the start date offset any number of days back or ahead (list view).
291
- * Removed retrieve events from/until options now that display limit options will be used.
292
- * Removed max number of events to retrieve option.
293
- * Added shortcode attribute 'paging'.
294
- * Added shortcode attribute 'interval'.
295
- * Added shortcode attribute 'interval_count'.
296
- * Added shortcode attribute 'offset_interval_count'.
297
- * Added shortcode attribute 'offset_direction'.
298
- * Updated shortcode 'display' attribute to allow a value of 'grouped-list'.
299
- * Date no longer shows up for the title (list view).
300
- * HTML restructured to use div tags instead of an unordered list (list view).
301
- * Nav bar HTML (Back/Next links and month title) restructured to use div tags instead of span and percentages.
302
- * Moved clear cache button and changed style.
303
- * Added Italian translation - Provided by Francesco Paccagnella of [pacca.it](http://www.pacca.it/).
304
- * Added French translation - Provided by Vincent Bray.
305
- * Fixed PHP error during upgrade.
306
- * Fixed cross-site scripting (XSS) vulnerability.
307
- * JavaScript restructured to fit more in line with best practices.
308
- * Remove unused admin script file.
309
-
310
- = 2.0.3.1 =
311
-
312
- * Fixed bug where retrieve from/until dates were accidentally removed.
313
-
314
- = 2.0.3 =
315
-
316
- * Fixed bug where calendar feed caches weren't getting cleared properly.
317
- * Fixed feed settings metabox content wrapping issue.
318
-
319
- = 2.0.2 =
320
-
321
- * Added Spanish translation - Provided by Eduardo Larequi of [educacion.navarra.es/web/pnte/](http://www.educacion.navarra.es/web/pnte/).
322
- * Fixed timezone issues by forcing calendar feeds to use the timezone selected in the site's General Settings. Feed-specific timezone setting removed.
323
- * Fixed a bug with recurring events display.
324
- * Fixed an upgrade bug with multiple day events.
325
-
326
- = 2.0.1 =
327
-
328
- * Fixed display errors with certain event builder shortcodes.
329
- * Added language folder.
330
-
331
- = 2.0.0 =
332
-
333
- * Plugin rewritten from scratch.
334
- * Now using custom post types for storing and customizing Google calendar feeds.
335
- * Introduced the shortcode `[gcal]` (old shortcode still supported).
336
-
337
- = 0.7.3.1 =
338
-
339
- * Include missing file: upgrade-notice.php.
340
-
341
- = 0.7.3 =
342
-
343
- * Added warning about upcoming version 2.0 release.
344
- * Added option to save settings upon uninstall.
345
- * Tested with WordPress 4.0.
346
-
347
- = 0.7.2 =
348
-
349
- * Fixed a bug causing the "More details" Google Calendar information to be displayed in the wrong timezone
350
- * Fixed a bug that prevented setting the cache duration to 0 from working correctly
351
- * Fixed an issue that prevented Ajax from working with FORCE_SSL_ADMIN enabled
352
- * Now uses [wp_enqueue_scripts](http://wpdevel.wordpress.com/2011/12/12/use-wp_enqueue_scripts-not-wp_print_styles-to-enqueue-scripts-and-styles-for-the-frontend/)
353
-
354
- = 0.7.1 =
355
-
356
- * Fixed bug causing AJAX enabled calendar grids to not function correctly
357
- * Fixed bug causing all-day events from outside required date range to be displayed
358
- * Fixed bug causing tooltip date title heading setting to be ignored
359
- * Added further data sanitisation on output
360
- * Feeds with no events will now be cached to prevent HTTP requests on every page load
361
-
362
- = 0.7 =
363
-
364
- * Fixed bug causing event dates / times to be displayed in the wrong timezone
365
- * Changed the [link-path] Event Display Builder shortcode to [url]
366
- * Fixed an Opera specific CSS issue causing page lists to be hidden
367
- * Lists can now be displayed in descending or ascending order
368
- * Added [event-id] and [cal-id] Event Display Builder shortcodes
369
- * Added an offset parameter for date / time based Event Display Builder shortcodes
370
- * Added an autolink parameter for enabling / disabling automatic linking of URLs
371
- * Added gce-day-past or gce-day-future classes to calendar grid cells
372
- * Cleaned up CSS
373
-
374
- = 0.6 =
375
-
376
- * Drastically reduced memory usage
377
- * Improved feed data caching system
378
- * Improved error reporting
379
- * General performance and efficiency improvements
380
- * Added a few more shortcodes to the event display builder
381
- * Other [miscellaneous changes / additions and bug fixes](http://www.rhanney.co.uk/2011/04/29/google-calendar-events-0-6)
382
-
383
- = 0.5 =
384
-
385
- * Added [event display builder](http://www.rhanney.co.uk/plugins/google-calendar-events/event-display-builder) feature, which vastly improves the customization possibilities of the plugin. This feature encompasses many of the most requested features, such as:
386
- - All-day events can be handled differently than 'normal' events
387
- - Start and end times / dates can be displayed on the same line (as can any other event information)
388
- - HTML (and Markdown) entered in Google Calendar fields can be properly parsed
389
- * Start and end times for retrieval of events are now much more flexible
390
- * A custom error message for non-admin users can now be specified
391
- * No longer loads SimplePie when it is not required
392
-
393
- = 0.4.1 =
394
-
395
- * Fix / workaround for the long-running timezone bug. Please take a look at [this](http://www.rhanney.co.uk/2011/01/16/google-calendar-events-0-4-1) for more information.
396
- * Added additional 'Maximum no. events to display' option to widget / shortcode (mainly to address a further issue caused by the above fix)
397
- * i18n related bug fix
398
- * Added support for widget_title filter (courtesy of [James](http://lunasea-studios.com))
399
- * Added Hungarian (hu_HU) translation ([danieltakacs](http://ek.klog.hu))
400
- * Now using minified version of jQuery qTip script
401
-
402
- = 0.4 =
403
-
404
- * More control over how start and end dates / times are displayed
405
- * Events can now be limited to a specified timeframe (number of days)
406
- * Events on the same day in lists can now be shown under a single date title
407
- * JavaScript can now be added to the footer rather than the header, via an option
408
- * The 'Loading...' text can now be customized
409
- * Description text can now be limited to a specified number of words
410
- * Multi-day events can be shown on each day that they span ([sort of](http://www.rhanney.co.uk/2010/08/19/google-calendar-events-0-4#multiday))
411
- * Bug fixes
412
- * i18n / l10n fixes
413
-
414
- = 0.3.1 =
415
-
416
- * l10n / i18n fixes. Dates should now be localized correctly and should maintain localization after an AJAX request
417
- * MU / Multi-site issues. Issues preventing adding of feeds have been addressed
418
-
419
- = 0.3 =
420
-
421
- * Now allows events from multiple Google Calendar feeds to be displayed on a single calendar grid / list
422
- * Internationalization support added
423
-
424
- = 0.2.1 =
425
-
426
- * Added option to allow 'More details' links to open in new window / tab.
427
- * Added option to choose a specific timezone for each feed
428
- * Line breaks in an event description will now be preserved
429
- * Fixed a bug casing the title to not be displayed on lists
430
- * Other minor bug fixes
431
-
432
- = 0.2 =
433
-
434
- * Added customization options for how information is displayed.
435
- * Can now display: start time, end time and date, location, description and event link.
436
- * Tooltips now using qTip jQuery plugin.
437
-
438
- = 0.1.4 =
439
-
440
- * More bug fixes.
441
-
442
- = 0.1.3 =
443
-
444
- * Several bug fixes, including fixing JavaScript problems that prevented tooltips appearing.
445
-
446
- = 0.1.2 =
447
-
448
- * Bug fixes.
449
-
450
- = 0.1.1 =
451
-
452
- * Fix to prevent conflicts with other plugins.
453
- * Changes to readme.txt.
454
-
455
- = 0.1 =
456
-
457
- * Initial release.
458
-
459
- == Upgrade Notice ==
460
-
461
- = 2.1.0 =
462
-
463
- Updated to use Google Calendar API version 3. Version 2 deprecated on Nov. 17, 2014.
 
 
 
 
 
1
+ === Google Calendar Events ===
2
+ Contributors: pderksen, nickyoung87, nekojira, rosshanney
3
+ Tags: google calendar, google, calendar, events, gcal
4
+ Requires at least: 3.9
5
+ Tested up to: 4.3
6
+ Stable tag: 2.2.9
7
+ License: GPLv2 or later
8
+
9
+ Parses Google Calendar feeds and displays the events as a calendar grid or list on a page, post or widget.
10
+
11
+ == Description ==
12
+
13
+ Parses Google Calendar feeds and displays the events as a calendar grid or list on a page, post or widget.
14
+
15
+ = Features =
16
+
17
+ * Parses Google Calendar feeds to extract events.
18
+ * Displays events as a list or within a calendar grid.
19
+ * Events from multiple Google Calendar feeds can be shown in a single list / grid.
20
+ * Lists and grids can be displayed in posts, pages or within a widget.
21
+ * Options to change the number of events retrieved, date / time format, cache duration, etc.
22
+ * Complete customisation of the event information displayed.
23
+ * Calendar grids can have the ability to change the month displayed.
24
+
25
+ [Plugin Documentation & Getting Started](http://wpdocs.philderksen.com/google-calendar-events/?utm_source=wordpress_org&utm_medium=link&utm_campaign=gce_lite)
26
+
27
+ ###Updates###
28
+
29
+ * [Get notified when new features are released](http://eepurl.com/0_VsT)
30
+ * [Follow this project on Github](https://github.com/moonstonemedia/WP-Google-Calendar-Events)
31
+
32
+ This plugin was originally created by [Ross Hanney](http://www.rhanney.co.uk), a web developer based in the UK specialising in WordPress and PHP.
33
+
34
+ ## Available Translations ##
35
+
36
+ * Spanish - Provided by Eduardo Larequi of [educacion.navarra.es/web/pnte/](http://www.educacion.navarra.es/web/pnte/).
37
+ * Italian - Provided by Francesco Paccagnella of [pacca.it](http://www.pacca.it/).
38
+ * French - Provided by Vincent Bray.
39
+ * German - Provided by Stefanie Drucker of [kreativhuhn.at](http://www.kreativhuhn.at/).
40
+ * Norwegian - Provided by Tore Hjartland of [aliom.no](http://www.aliom.no/).
41
+ * Polish - Provided by Michał Pasternak of [iplweb.pl](http://iplweb.pl/).
42
+ * Lithuanian - Provided by Andrius Mazeika of [mazeika.info](http://mazeika.info/).
43
+ * Dutch - Provided by Henri van Werkhoven.
44
+ * Catalan - Provided by Toni Ginard & Monica Grau of [agora.xtec.cat](http://agora.xtec.cat/).
45
+ * Russian - Provided by Vadim Reutskiy.
46
+ * Swedish - Provided by Familjedaghemmet Chicos of [chicos.nu](http://www.chicos.nu/).
47
+
48
+ == Installation ==
49
+
50
+ There are three ways to install this plugin.
51
+
52
+ = 1. Admin Search =
53
+ 1. In your Admin, go to menu Plugins > Add.
54
+ 1. Search for `Google Calendar`.
55
+ 1. Find the plugin that's labeled `Google Calendar Events`.
56
+ 1. Look for the author name `Moonstone Media` on the plugin.
57
+ 1. Click to install.
58
+ 1. Activate the plugin.
59
+ 1. A new menu item `GCal Events` will appear in the main menu.
60
+
61
+ = 2. Download & Upload =
62
+ 1. Download the plugin (a zip file) on the right column of this page.
63
+ 1. In your Admin, go to menu Plugins > Add.
64
+ 1. Select the tab "Upload".
65
+ 1. Upload the .zip file you just downloaded.
66
+ 1. Activate the plugin.
67
+ 1. A new menu item `GCal Events` will appear in the main menu.
68
+
69
+ = 3. FTP Upload =
70
+ 1. Download the plugin (.zip file) on the right column of this page.
71
+ 1. Unzip the zip file contents.
72
+ 1. Upload the `google-calendar-events` folder to the `/wp-content/plugins/` directory of your site.
73
+ 1. Activate the plugin through the 'Plugins' menu in WordPress.
74
+ 1. A new menu item `GCal Events` will appear in the main menu.
75
+
76
+ == Frequently Asked Questions ==
77
+
78
+ [Plugin Documentation & Getting Started](http://wpdocs.philderksen.com/google-calendar-events/?utm_source=wordpress_org&utm_medium=link&utm_campaign=gce_lite)
79
+
80
+ == Screenshots ==
81
+
82
+ 1. Grid display in full page with tooltip
83
+ 1. Grid display in widget
84
+ 1. List display in widget
85
+ 1. Simple display options
86
+ 1. Calendar feed settings
87
+ 1. Calendar widget settings
88
+ 1. Event display builder editor
89
+
90
+ == Changelog ==
91
+
92
+ = 2.2.9 - August 14, 2015 =
93
+ * Fix: Event links pointing to Google Calendar have a timezone argument from feed setting.
94
+ * Fix: Improved assets loading, only load scripts on posts and pages that have a calendar.
95
+ * Localization: Updated Norwegian translations.
96
+
97
+ = 2.2.8 - August 7, 2015 =
98
+
99
+ * Fix: Improved security when saving plugin settings.
100
+ * Fix: Added URL encoding to fix some issues with API keys containing special characters.
101
+ * Tweak: Use calendar feed timezone or website timezone (default calendar).
102
+
103
+ = 2.2.7 - July 31, 2015 =
104
+
105
+ * Feature: Added an 'Add Calendar' button to quickly add a shortcode in posts.
106
+ * Fix: Reverted register scripts hook to init.
107
+ * Localization: Updated French translations.
108
+ * Tweak: Flush permalinks on plugin activation and deactivation.
109
+ * Tweak: Added `[if-not-location]` event builder conditional shortcode.
110
+ * Tweak: Added a 'gce_no_events_message_text' filter when no events are found.
111
+ * Tweak: Added a clear cache bulk action for clearing caches of multiple feeds.
112
+
113
+ = 2.2.6 - July 16, 2015 =
114
+
115
+ * Plugin performs a requirements check to ensure users are running a recent version of WordPress.
116
+ * Added '.gce-has-<n>-events' class to count events in each day in grid display.
117
+ * Removed unnecessary imagesLoaded JS library (optional dependency of the qTip2 library).
118
+ * Fixed a bug with the start month of the custom date range grid view.
119
+ * Fixed a bug with backslashes in date ant time custom format inputs.
120
+ * Fixed scripts and styles loading issues.
121
+ * Fixed bugs when custom date range values were left blank.
122
+ * Added Russian translation provided by Vadim Reutskiy.
123
+ * Added Swedish translation provided by Familjedaghemmet Chicos.
124
+ * Tested up to WordPress 4.3.
125
+
126
+ = 2.2.5 - April 22, 2015 =
127
+
128
+ * Updated calls to add_query_arg to prevent any possible XSS attacks.
129
+ * Fixed bug with fatal error in rare cases by rearragning order of plugin file includes.
130
+ * Fixed bug with navigation links sometimes returning -1.
131
+ * Corrected typo with paging links title attributes.
132
+
133
+ = 2.2.4 - April 6, 2015 =
134
+
135
+ * Updated French translation files.
136
+ * Fixed Catalan translation files.
137
+ * Fixed encoding bug with [maps-link] new window attribute.
138
+
139
+ = 2.2.3 - March 26, 2015 =
140
+
141
+ * Fixed bug with the "More details..." link encoding.
142
+ * Added note about total event limit of 2,500 now enforced by the Google Calendar API.
143
+ * Updated earliest feed event date default to 1 (one) month back.
144
+ * 0 (zero) value now allowed for earliest and latest feed event dates (sets them to the current date).
145
+ * Minor public script improvements.
146
+ * Added Brazilian Portuguese translation files.
147
+ * Updated jQuery UI datepicker CSS CDN reference for feed settings pages.
148
+ * Tested up to WordPress 4.2.
149
+
150
+ = 2.2.2.1 - March 17, 2015 =
151
+
152
+ * Option to always enqueue scripts & styles now enabled by default.
153
+
154
+ = 2.2.2 - March 15, 2015 =
155
+
156
+ * Added option to always enqueue scripts and styles on every post and page.
157
+ * Added custom date range grid option to display modes.
158
+ * Added option to disable the plugin CSS file.
159
+ * Fixed bug with list intervals.
160
+ * Fixed bug with event list showing past events.
161
+ * Minor public JavaScript performance updates.
162
+
163
+ = 2.2.1 - February 28, 2015 =
164
+
165
+ * Enqueue scripts & styles on all posts & pages temporarily until better detection can be put in place.
166
+ * Fixed GCal ID encoding in feed settings.
167
+ * Updated Italian translation.
168
+ * Updated French translation.
169
+
170
+ = 2.2.0 - February 25, 2015 =
171
+
172
+ * Added custom date range options.
173
+ * Added option to hide tooltips on grid display.
174
+ * Added additional save button at the bottom of the feed settings.
175
+ * Performance updates to script enqueues.
176
+ * Updated Catalan translation files.
177
+ * Updated list output logic.
178
+ * Fixed bug with multi-day events sometimes not showing up in list view.
179
+ * Fixed bug with calendar ID field not getting encoded.
180
+ * Fixed bug with tooltips scrolling on mobile.
181
+ * Fixed bug with Google Hangout event links.
182
+ * Fixed bug with widget settings not being unique.
183
+ * Widget UI enhancements.
184
+ * Feed settings UI enhancements.
185
+ * Error messaging updates.
186
+ * Security improvements.
187
+
188
+ = 2.1.7 =
189
+
190
+ * Restructured next and back paging navigation script.
191
+ * Updated Italian translation files.
192
+
193
+ = 2.1.6.1 =
194
+
195
+ * More tooltip (qTip2) effects & styling.
196
+
197
+ = 2.1.6 =
198
+
199
+ * Fixed bug with tooltip (qTip2) in some cases by now including it's imagesLoaded script.
200
+ * Tooltip style improvements.
201
+ * Tooltip minified JS map file now included.
202
+ * Updated French translation.
203
+ * Updated Lithuanian translation.
204
+ * Fix bug with grouped-list multi-day event title.
205
+ * Fix bug when saving a bulk edit.
206
+
207
+ = 2.1.5 =
208
+
209
+ * Updated jQuery tooltip library to [qTip2](http://qtip2.com/). Previously using unmaintained original qTip library.
210
+
211
+ = 2.1.4 =
212
+
213
+ * Reverted CSS enqueue change.
214
+ * Added Catalan translation - Provided by Toni Ginard & Monica Grau of [agora.xtec.cat](http://agora.xtec.cat/).
215
+ * Updated AJAX security code.
216
+ * Fixed bug with calendar ID field not trimming extra spaces.
217
+ * Updated French translation - Pull Request by @Jojaba
218
+ * Tested up to WordPress 4.1.
219
+
220
+ = 2.1.3 =
221
+
222
+ * Only load plugin scripts and stylesheets when the viewable page is rendering output from this plugin.
223
+ * Fixed bugs with simple display options.
224
+ * Added better error checking and output options to help in debugging GCal feeds.
225
+ * Added Dutch translation - Provided by Henri van Werkhoven.
226
+
227
+ = 2.1.2 =
228
+
229
+ * Fixed bug with quick edit clearing out feed settings.
230
+ * Fix bug with pagination creating extra DOM elements.
231
+ * Localization string fixes - Pull Request by @Jojaba
232
+ * Added HTML to group events of the same day semantically - Pull Request by @martinburchell
233
+ * Fixed bug with [cal-id] event builder code.
234
+ * Add in post data resets.
235
+
236
+ = 2.1.1 =
237
+
238
+ * Fixed bug with all day events not displaying.
239
+ * Added missing timezone parameter to internal query.
240
+
241
+ = 2.1.0 =
242
+
243
+ * Updated to use Google Calendar API version 3. Version 2 deprecated on Nov. 17, 2014.
244
+
245
+ = 2.0.7.1 =
246
+
247
+ * As of Nov. 17, 2014 the GCal API v2 is deprecated, which breaks all calendar feed displays. This update will temporarily hide the display while we work on a solution that uses GCal API v3.
248
+
249
+ = 2.0.7 =
250
+
251
+ * Events will now display if it hasn't ended yet for list views.
252
+ * Fixed bug with date() call causing a display error in some cases.
253
+ * Fixed bug with with widget tooltip text display.
254
+ * Added cache clearing on upgrade.
255
+ * Added filters for Previous and Next link text.
256
+ * Internationalization and language file updates.
257
+ * Simplified text domain function.
258
+ * Added Lithuanian translation - Provided by Andrius Mazeika of [mazeika.info](http://mazeika.info/).
259
+
260
+ = 2.0.6.2 =
261
+
262
+ * Reverted previous bug fix that introduced new bugs.
263
+
264
+ = 2.0.6.1 =
265
+
266
+ * Added Polish translation - Provided by Michał Pasternak of [iplweb.pl](http://iplweb.pl/).
267
+ * Updated Italian translation.
268
+ * Updated French translation.
269
+ * Fixed bug with date() call causing a display error in some cases.
270
+ * Minor bug fixes.
271
+
272
+ = 2.0.6 =
273
+
274
+ * Added minimum and maximum feed date options to fix event display issues and boost performance.
275
+ * Fixed a caching issue to increase performance.
276
+ * Fixed bug where backslashes kept getting added to event titles that already contained single quotes when navigating through pages in widget.
277
+
278
+ = 2.0.5.1 =
279
+
280
+ * Fix timezone issue.
281
+
282
+ = 2.0.5 =
283
+
284
+ * Fixed display bug with event date and grouped lists.
285
+ * Fixed broken paging links when feed IDs contain spaces between them.
286
+ * Fixed bug with start offset and grouped lists not working properly.
287
+ * Fixed bug where clear cache link was showing on any type of CPT.
288
+ * Added German translation - Provided by Stefanie Drucker of [kreativhuhn.at](http://www.kreativhuhn.at/).
289
+ * Added Norwegian translation - Provided by Tore Hjartland of [aliom.no](http://www.aliom.no/).
290
+
291
+ = 2.0.4 =
292
+
293
+ * Added option to show/hide paging.
294
+ * Added option to limit display to any number of days or events per page.
295
+ * Added option to set the start date offset any number of days back or ahead (list view).
296
+ * Removed retrieve events from/until options now that display limit options will be used.
297
+ * Removed max number of events to retrieve option.
298
+ * Added shortcode attribute 'paging'.
299
+ * Added shortcode attribute 'interval'.
300
+ * Added shortcode attribute 'interval_count'.
301
+ * Added shortcode attribute 'offset_interval_count'.
302
+ * Added shortcode attribute 'offset_direction'.
303
+ * Updated shortcode 'display' attribute to allow a value of 'grouped-list'.
304
+ * Date no longer shows up for the title (list view).
305
+ * HTML restructured to use div tags instead of an unordered list (list view).
306
+ * Nav bar HTML (Back/Next links and month title) restructured to use div tags instead of span and percentages.
307
+ * Moved clear cache button and changed style.
308
+ * Added Italian translation - Provided by Francesco Paccagnella of [pacca.it](http://www.pacca.it/).
309
+ * Added French translation - Provided by Vincent Bray.
310
+ * Fixed PHP error during upgrade.
311
+ * Fixed cross-site scripting (XSS) vulnerability.
312
+ * JavaScript restructured to fit more in line with best practices.
313
+ * Remove unused admin script file.
314
+
315
+ = 2.0.3.1 =
316
+
317
+ * Fixed bug where retrieve from/until dates were accidentally removed.
318
+
319
+ = 2.0.3 =
320
+
321
+ * Fixed bug where calendar feed caches weren't getting cleared properly.
322
+ * Fixed feed settings metabox content wrapping issue.
323
+
324
+ = 2.0.2 =
325
+
326
+ * Added Spanish translation - Provided by Eduardo Larequi of [educacion.navarra.es/web/pnte/](http://www.educacion.navarra.es/web/pnte/).
327
+ * Fixed timezone issues by forcing calendar feeds to use the timezone selected in the site's General Settings. Feed-specific timezone setting removed.
328
+ * Fixed a bug with recurring events display.
329
+ * Fixed an upgrade bug with multiple day events.
330
+
331
+ = 2.0.1 =
332
+
333
+ * Fixed display errors with certain event builder shortcodes.
334
+ * Added language folder.
335
+
336
+ = 2.0.0 =
337
+
338
+ * Plugin rewritten from scratch.
339
+ * Now using custom post types for storing and customizing Google calendar feeds.
340
+ * Introduced the shortcode `[gcal]` (old shortcode still supported).
341
+
342
+ = 0.7.3.1 =
343
+
344
+ * Include missing file: upgrade-notice.php.
345
+
346
+ = 0.7.3 =
347
+
348
+ * Added warning about upcoming version 2.0 release.
349
+ * Added option to save settings upon uninstall.
350
+ * Tested with WordPress 4.0.
351
+
352
+ = 0.7.2 =
353
+
354
+ * Fixed a bug causing the "More details" Google Calendar information to be displayed in the wrong timezone
355
+ * Fixed a bug that prevented setting the cache duration to 0 from working correctly
356
+ * Fixed an issue that prevented Ajax from working with FORCE_SSL_ADMIN enabled
357
+ * Now uses [wp_enqueue_scripts](http://wpdevel.wordpress.com/2011/12/12/use-wp_enqueue_scripts-not-wp_print_styles-to-enqueue-scripts-and-styles-for-the-frontend/)
358
+
359
+ = 0.7.1 =
360
+
361
+ * Fixed bug causing AJAX enabled calendar grids to not function correctly
362
+ * Fixed bug causing all-day events from outside required date range to be displayed
363
+ * Fixed bug causing tooltip date title heading setting to be ignored
364
+ * Added further data sanitisation on output
365
+ * Feeds with no events will now be cached to prevent HTTP requests on every page load
366
+
367
+ = 0.7 =
368
+
369
+ * Fixed bug causing event dates / times to be displayed in the wrong timezone
370
+ * Changed the [link-path] Event Display Builder shortcode to [url]
371
+ * Fixed an Opera specific CSS issue causing page lists to be hidden
372
+ * Lists can now be displayed in descending or ascending order
373
+ * Added [event-id] and [cal-id] Event Display Builder shortcodes
374
+ * Added an offset parameter for date / time based Event Display Builder shortcodes
375
+ * Added an autolink parameter for enabling / disabling automatic linking of URLs
376
+ * Added gce-day-past or gce-day-future classes to calendar grid cells
377
+ * Cleaned up CSS
378
+
379
+ = 0.6 =
380
+
381
+ * Drastically reduced memory usage
382
+ * Improved feed data caching system
383
+ * Improved error reporting
384
+ * General performance and efficiency improvements
385
+ * Added a few more shortcodes to the event display builder
386
+ * Other [miscellaneous changes / additions and bug fixes](http://www.rhanney.co.uk/2011/04/29/google-calendar-events-0-6)
387
+
388
+ = 0.5 =
389
+
390
+ * Added [event display builder](http://www.rhanney.co.uk/plugins/google-calendar-events/event-display-builder) feature, which vastly improves the customization possibilities of the plugin. This feature encompasses many of the most requested features, such as:
391
+ - All-day events can be handled differently than 'normal' events
392
+ - Start and end times / dates can be displayed on the same line (as can any other event information)
393
+ - HTML (and Markdown) entered in Google Calendar fields can be properly parsed
394
+ * Start and end times for retrieval of events are now much more flexible
395
+ * A custom error message for non-admin users can now be specified
396
+ * No longer loads SimplePie when it is not required
397
+
398
+ = 0.4.1 =
399
+
400
+ * Fix / workaround for the long-running timezone bug. Please take a look at [this](http://www.rhanney.co.uk/2011/01/16/google-calendar-events-0-4-1) for more information.
401
+ * Added additional 'Maximum no. events to display' option to widget / shortcode (mainly to address a further issue caused by the above fix)
402
+ * i18n related bug fix
403
+ * Added support for widget_title filter (courtesy of [James](http://lunasea-studios.com))
404
+ * Added Hungarian (hu_HU) translation ([danieltakacs](http://ek.klog.hu))
405
+ * Now using minified version of jQuery qTip script
406
+
407
+ = 0.4 =
408
+
409
+ * More control over how start and end dates / times are displayed
410
+ * Events can now be limited to a specified timeframe (number of days)
411
+ * Events on the same day in lists can now be shown under a single date title
412
+ * JavaScript can now be added to the footer rather than the header, via an option
413
+ * The 'Loading...' text can now be customized
414
+ * Description text can now be limited to a specified number of words
415
+ * Multi-day events can be shown on each day that they span ([sort of](http://www.rhanney.co.uk/2010/08/19/google-calendar-events-0-4#multiday))
416
+ * Bug fixes
417
+ * i18n / l10n fixes
418
+
419
+ = 0.3.1 =
420
+
421
+ * l10n / i18n fixes. Dates should now be localized correctly and should maintain localization after an AJAX request
422
+ * MU / Multi-site issues. Issues preventing adding of feeds have been addressed
423
+
424
+ = 0.3 =
425
+
426
+ * Now allows events from multiple Google Calendar feeds to be displayed on a single calendar grid / list
427
+ * Internationalization support added
428
+
429
+ = 0.2.1 =
430
+
431
+ * Added option to allow 'More details' links to open in new window / tab.
432
+ * Added option to choose a specific timezone for each feed
433
+ * Line breaks in an event description will now be preserved
434
+ * Fixed a bug casing the title to not be displayed on lists
435
+ * Other minor bug fixes
436
+
437
+ = 0.2 =
438
+
439
+ * Added customization options for how information is displayed.
440
+ * Can now display: start time, end time and date, location, description and event link.
441
+ * Tooltips now using qTip jQuery plugin.
442
+
443
+ = 0.1.4 =
444
+
445
+ * More bug fixes.
446
+
447
+ = 0.1.3 =
448
+
449
+ * Several bug fixes, including fixing JavaScript problems that prevented tooltips appearing.
450
+
451
+ = 0.1.2 =
452
+
453
+ * Bug fixes.
454
+
455
+ = 0.1.1 =
456
+
457
+ * Fix to prevent conflicts with other plugins.
458
+ * Changes to readme.txt.
459
+
460
+ = 0.1 =
461
+
462
+ * Initial release.
463
+
464
+ == Upgrade Notice ==
465
+
466
+ = 2.1.0 =
467
+
468
+ Updated to use Google Calendar API version 3. Version 2 deprecated on Nov. 17, 2014.
views/admin/gce-feed-sidebar-help.php CHANGED
@@ -18,11 +18,11 @@
18
  </ul>
19
 
20
  <p>
21
- <?php _e( 'Your review helps more folks find our plugin. Thanks so much!', 'gce' ); ?>
22
  </p>
23
  <div class="centered">
24
  <a href="https://wordpress.org/support/view/plugin-reviews/google-calendar-events#postform" class="button-primary" target="_blank">
25
- <?php _e( 'Review this Plugin Now', 'gce' ); ?></a>
26
  </div>
27
 
28
  </div>
18
  </ul>
19
 
20
  <p>
21
+ <?php _e( 'Are you finding our GCal plugin helpful? 5-star ratings keep us motivated!', 'gce' ); ?> :)
22
  </p>
23
  <div class="centered">
24
  <a href="https://wordpress.org/support/view/plugin-reviews/google-calendar-events#postform" class="button-primary" target="_blank">
25
+ <?php _e( 'Rate our plugin on wordpress.org', 'gce' ); ?></a>
26
  </div>
27
 
28
  </div>
views/widgets.php CHANGED
@@ -20,39 +20,18 @@ if ( ! defined( 'ABSPATH' ) ) {
20
  * @since 2.0.0
21
  */
22
  class GCE_Widget extends WP_Widget {
23
-
24
  function GCE_Widget() {
25
  parent::__construct(
26
  false, // Adding a name here doesn't seem to affect the upgrade. If widget stuff starts acting weird then check this first though.
27
  $name = __( 'Google Calendar Events', 'gce' ),
28
  array( 'description' => __( 'Display a list or calendar grid of events from one or more Google Calendar feeds you have added', 'gce' ) )
29
  );
30
-
31
- if ( is_active_widget( false, false, $this->id_base, true ) ) {
32
-
33
- Google_Calendar_Events::get_instance()->show_scripts = true;
34
-
35
- // Call action to load CSS for widget
36
- add_action( 'wp_enqueue_scripts', array( $this, 'gce_widget_add_styles' ) );
37
-
38
- // Load JS
39
- wp_enqueue_script( 'google-calendar-events-public' );
40
- }
41
- }
42
-
43
- function gce_widget_add_styles() {
44
-
45
- global $gce_options;
46
-
47
- // Load CSS
48
- if( ! isset( $gce_options['disable_css'] ) ) {
49
- wp_enqueue_style( 'google-calendar-events-public' );
50
- }
51
  }
52
 
53
  /**
54
  * Widget HTML output
55
- *
56
  * @since 2.0.0
57
  */
58
  function widget( $args, $instance ) {
@@ -60,56 +39,56 @@ class GCE_Widget extends WP_Widget {
60
 
61
  //Output before widget stuff
62
  echo $before_widget;
63
-
64
  $paging = ( isset( $instance['paging'] ) ? $instance['paging'] : null );
65
  $max_num = ( isset( $instance['per_page_num'] ) ? $instance['per_page_num'] : null );
66
  $max_length = ( isset( $instance['events_per_page'] ) ? $instance['events_per_page'] : null );
67
  $max_events = null;
68
  $display_type = ( isset( $instance['display_type'] ) ? $instance['display_type'] : null );
69
-
70
  // Start offset
71
  $offset_num = ( isset( $instance['list_start_offset_num'] ) ? $instance['list_start_offset_num'] : 0 );
72
  $offset_length = 86400;
73
  $offset_direction = ( isset( $instance['list_start_offset_direction'] ) ? $instance['list_start_offset_direction'] : null );
74
-
75
  $invalid_id = false;
76
-
77
 
78
  // Get custom date range if set
79
  if( 'date-range-list' == $display_type || 'date-range-grid' == $display_type ) {
80
  $range_start = ( isset( $instance['feed_range_start'] ) ? $instance['feed_range_start'] : null );
81
  $range_end = ( isset( $instance['feed_range_end'] ) ? $instance['feed_range_end'] : null );
82
-
83
  if( $range_start !== null && ! empty( $range_start ) ) {
84
  $range_start = gce_date_unix( $range_start );
85
  }
86
-
87
  if( $range_end !== null && ! empty( $range_end ) ) {
88
  $range_end = gce_date_unix( $range_end );
89
  }
90
  }
91
-
92
  if( ! isset( $instance['show_tooltips'] ) ) {
93
  $show_tooltips = 1;
94
  } else {
95
  $show_tooltips = ( isset( $instance['show_tooltips'] ) ? $instance['show_tooltips'] : 'false' );
96
  }
97
-
98
-
99
  if( $offset_direction == 'back' ) {
100
  $offset_direction = -1;
101
- } else {
102
  $offset_direction = 1;
103
  }
104
-
105
  $start_offset = $offset_num * $offset_length * $offset_direction;
106
-
107
  $paging_interval = null;
108
-
109
  if( $display_type == 'date-range-list' || $display_type == 'date-range-grid' ) {
110
  $max_length = 'date-range';
111
- }
112
-
113
  if( $max_length == 'days' ) {
114
  $paging_interval = $max_num * 86400;
115
  } else if( $max_length == 'events' ) {
@@ -119,7 +98,7 @@ class GCE_Widget extends WP_Widget {
119
  } else if( $max_length == 'month' ) {
120
  $paging_interval = 2629743;
121
  }
122
-
123
  // Check whether any feeds have been added yet
124
  if( wp_count_posts( 'gce_feed' )->publish > 0 ) {
125
  //Output title stuff
@@ -141,7 +120,7 @@ class GCE_Widget extends WP_Widget {
141
  if ( 0 == absint( $feed_id ) ) {
142
  unset( $feed_ids[$key] );
143
  }
144
-
145
  if( ! ( 'publish' == get_post_status( $feed_id ) ) ) {
146
  $invalid_id = true;
147
  }
@@ -152,20 +131,20 @@ class GCE_Widget extends WP_Widget {
152
  if ( false !== get_post_meta( $feed_id ) )
153
  $no_feeds_exist = false;
154
  }
155
-
156
  foreach( $feed_ids as $feed_id ) {
157
  if( $paging ) {
158
  update_post_meta( $feed_id, 'gce_paging_widget', true );
159
- } else {
160
  delete_post_meta( $feed_id, 'gce_paging_widget' );
161
  }
162
-
163
  update_post_meta( $feed_id, 'gce_widget_paging_interval', $paging_interval );
164
  }
165
  } else {
166
  if ( current_user_can( 'manage_options' ) ) {
167
  _e( 'No valid Feed IDs have been entered for this widget. Please check that you have entered the IDs correctly in the widget settings (Appearance > Widgets), and that the Feeds have not been deleted.', 'gce' );
168
- }
169
  }
170
 
171
  //Check that at least one valid feed id has been entered
@@ -175,7 +154,7 @@ class GCE_Widget extends WP_Widget {
175
 
176
  $title_text = ( ! empty( $instance['display_title_text'] ) ? $instance['display_title_text'] : null );
177
  $sort_order = ( isset( $instance['order'] ) ) ? $instance['order'] : 'asc';
178
-
179
  $args = array(
180
  'title_text' => $title_text,
181
  'sort' => $sort_order,
@@ -188,18 +167,18 @@ class GCE_Widget extends WP_Widget {
188
  'max_num' => $max_num,
189
  'show_tooltips' => $show_tooltips
190
  );
191
-
192
  if( 'list-grouped' == $display_type ) {
193
  $args['grouped'] = 1;
194
  }
195
-
196
  if( 'date-range-list' == $display_type ) {
197
  $args['max_events'] = INF;
198
  $args['max_num'] = INF;
199
  }
200
-
201
  $markup = gce_print_calendar( $feed_ids, $display_type, $args, true );
202
-
203
  if( ! $invalid_id ) {
204
  echo $markup;
205
  } else {
@@ -219,14 +198,14 @@ class GCE_Widget extends WP_Widget {
219
  //Output after widget stuff
220
  echo $after_widget;
221
  }
222
-
223
  /**
224
  * Update settings when saved
225
- *
226
  * @since 2.0.0
227
  */
228
  function update( $new_instance, $old_instance ) {
229
-
230
  $instance = $old_instance;
231
  $instance['title'] = esc_html( $new_instance['title'] );
232
  $instance['id'] = esc_html( $new_instance['id'] );
@@ -239,26 +218,26 @@ class GCE_Widget extends WP_Widget {
239
  $instance['per_page_num'] = $new_instance['per_page_num'];
240
  $instance['events_per_page'] = $new_instance['events_per_page'];
241
  $instance['show_tooltips'] = ( isset( $new_instance['show_tooltips'] ) ? 1 : 0 );
242
-
243
  return $instance;
244
  }
245
-
246
  /**
247
- *
248
  * @param type $instanceDisplay widget form in admin
249
- *
250
  * @since 2.0.0
251
  */
252
  function form( $instance ) {
253
-
254
  // Check for existing feeds and if there are none then display a message and return
255
  if( wp_count_posts( 'gce_feed' )->publish <= 0 ) {
256
- echo '<p>' . __( 'There are no feeds created yet.', 'gce' ) .
257
- ' <a href="' . admin_url( 'edit.php?post_type=gce_feed' ) . '">' . __( 'Add your first feed!', 'gce' ) . '</a>' .
258
  '</p>';
259
  return;
260
  }
261
-
262
  $title = ( isset( $instance['title'] ) ) ? $instance['title'] : '';
263
  $ids = ( isset( $instance['id'] ) ) ? $instance['id'] : '';
264
  $display_type = ( isset( $instance['display_type'] ) ) ? $instance['display_type'] : 'grid';
@@ -266,16 +245,16 @@ class GCE_Widget extends WP_Widget {
266
  $display_title = ( isset( $instance['display_title'] ) ) ? $instance['display_title'] : true;
267
  $title_text = ( isset( $instance['display_title_text'] ) ) ? $instance['display_title_text'] : __( 'Events on', 'gce' );
268
  $paging = ( isset( $instance['paging'] ) ? $instance['paging'] : 1 );
269
-
270
  $per_page_num = ( isset( $instance['per_page_num'] ) && ! empty( $instance['per_page_num'] ) ? $instance['per_page_num'] : 7 );
271
  $events_per_page = ( isset( $instance['events_per_page'] ) ? $instance['events_per_page'] : 'days' );
272
-
273
  $list_start_offset_num = ( isset( $instance['list_start_offset_num'] ) && ! empty( $instance['list_start_offset_num'] ) ? $instance['list_start_offset_num'] : 0 );
274
  $list_start_offset_direction = ( isset( $instance['list_start_offset_direction'] ) ? $instance['list_start_offset_direction'] : 'back' );
275
  $show_tooltips = ( isset( $instance['show_tooltips'] ) ? $instance['show_tooltips'] : 1 );
276
-
277
  $use_range = ( ( selected( $display_type, 'date-range-list', false ) || selected( $display_type, 'date-range-grid', false ) ) ? true : false );
278
-
279
  ?>
280
  <p>
281
  <label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title:', 'gce' ); ?></label>
@@ -287,7 +266,7 @@ class GCE_Widget extends WP_Widget {
287
  </label>
288
  <input type="text" id="<?php echo $this->get_field_id( 'id' ); ?>" name="<?php echo $this->get_field_name( 'id' ); ?>" value="<?php echo esc_attr( $ids ); ?>" class="widefat" />
289
  </p>
290
-
291
  <p>
292
  <label for="<?php echo $this->get_field_id( 'display_type' ); ?>"><?php _e( 'Display Events as:', 'gce' ); ?></label>
293
  <select id="<?php echo $this->get_field_id( 'display_type' ); ?>" name="<?php echo $this->get_field_name( 'display_type' ); ?>" class="widefat">
@@ -306,7 +285,7 @@ class GCE_Widget extends WP_Widget {
306
  <option value="desc" <?php selected( $order, 'desc' ); ?>><?php _e( 'Descending', 'gce' ); ?></option>
307
  </select>
308
  </p>
309
-
310
  <p class="gce-display-option <?php echo ( $use_range == true ? 'gce-admin-hidden' : '' ); ?>">
311
  <label for="<?php echo $this->get_field_id( 'events_per_page' ); ?>"><?php _e( 'Events per Page (List View only):', 'gce' ); ?></label><br/>
312
  <select id="<?php echo $this->get_field_id( 'events_per_page' ); ?>" name="<?php echo $this->get_field_name( 'events_per_page' ); ?>">
@@ -323,7 +302,7 @@ class GCE_Widget extends WP_Widget {
323
  <span class="gce-custom-range <?php echo ( $use_range == true ? '' : 'gce-admin-hidden' ); ?>">
324
  <small><?php _e( 'This setting will pull from the custom date range set in the main feed settings and cannot be changed here.', 'gce' ); ?></small>
325
  </span>
326
-
327
  <p class="gce-display-option <?php echo ( $use_range == true ? 'gce-admin-hidden' : '' ); ?>">
328
  <label for="<?php echo $this->get_field_id( 'list_start_offset_num' ); ?>"><?php _e( 'Display Start Date Offset (List View only):', 'gce' ); ?></label><br>
329
  <select name="<?php echo $this->get_field_name( 'list_start_offset_direction' ); ?>" id="<?php echo $this->get_field_id( 'list_start_offset_direction' ); ?>">
@@ -334,12 +313,12 @@ class GCE_Widget extends WP_Widget {
334
  <br>
335
  <small><?php _e( 'Change to initially display events on a date other than today (List View only).', 'gce' ); ?></small>
336
  </p>
337
-
338
  <p class="gce-display-option gce-display-control <?php echo ( $use_range == true ? 'gce-admin-hidden' : '' ); ?>">
339
  <label for="<?php echo $this->get_field_id( 'display_title' ); ?>"><?php _e( 'Display Title on Tooltip/List Item (e.g. \'Events on 7th March\'). Grouped lists always have a title displayed.', 'gce' ); ?></label>
340
  <input type="text" class="widefat" id="<?php echo $this->get_field_id( 'display_title_text' ); ?>" name="<?php echo $this->get_field_name( 'display_title_text' ); ?>" value="<?php echo esc_attr( $title_text ); ?>" />
341
  </p>
342
-
343
  <p class="gce-display-option <?php echo ( $use_range == true ? 'gce-admin-hidden' : '' ); ?>">
344
  <input type="checkbox" id="<?php echo $this->get_field_id( 'paging' ); ?>" name="<?php echo $this->get_field_name( 'paging' ); ?>" class="widefat" value="1" <?php checked( $paging, 1 ); ?>>
345
  <label for="<?php echo $this->get_field_id( 'paging' ); ?>"><?php _e( 'Show Paging Links', 'gce' ); ?></label>
@@ -347,8 +326,8 @@ class GCE_Widget extends WP_Widget {
347
  <input type="checkbox" id="<?php echo $this->get_field_id( 'show_tooltips' ); ?>" name="<?php echo $this->get_field_name( 'show_tooltips' ); ?>" class="widefat" value="1" <?php checked( $show_tooltips, 1 ); ?>>
348
  <label for="<?php echo $this->get_field_id( 'show_tooltips' ); ?>"><?php _e( 'Show Tooltips', 'gce' ); ?></label>
349
  </p>
350
-
351
- <?php
352
  }
353
  }
354
  add_action( 'widgets_init', create_function( '', 'register_widget("GCE_Widget");' ) );
20
  * @since 2.0.0
21
  */
22
  class GCE_Widget extends WP_Widget {
23
+
24
  function GCE_Widget() {
25
  parent::__construct(
26
  false, // Adding a name here doesn't seem to affect the upgrade. If widget stuff starts acting weird then check this first though.
27
  $name = __( 'Google Calendar Events', 'gce' ),
28
  array( 'description' => __( 'Display a list or calendar grid of events from one or more Google Calendar feeds you have added', 'gce' ) )
29
  );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
30
  }
31
 
32
  /**
33
  * Widget HTML output
34
+ *
35
  * @since 2.0.0
36
  */
37
  function widget( $args, $instance ) {
39
 
40
  //Output before widget stuff
41
  echo $before_widget;
42
+
43
  $paging = ( isset( $instance['paging'] ) ? $instance['paging'] : null );
44
  $max_num = ( isset( $instance['per_page_num'] ) ? $instance['per_page_num'] : null );
45
  $max_length = ( isset( $instance['events_per_page'] ) ? $instance['events_per_page'] : null );
46
  $max_events = null;
47
  $display_type = ( isset( $instance['display_type'] ) ? $instance['display_type'] : null );
48
+
49
  // Start offset
50
  $offset_num = ( isset( $instance['list_start_offset_num'] ) ? $instance['list_start_offset_num'] : 0 );
51
  $offset_length = 86400;
52
  $offset_direction = ( isset( $instance['list_start_offset_direction'] ) ? $instance['list_start_offset_direction'] : null );
53
+
54
  $invalid_id = false;
55
+
56
 
57
  // Get custom date range if set
58
  if( 'date-range-list' == $display_type || 'date-range-grid' == $display_type ) {
59
  $range_start = ( isset( $instance['feed_range_start'] ) ? $instance['feed_range_start'] : null );
60
  $range_end = ( isset( $instance['feed_range_end'] ) ? $instance['feed_range_end'] : null );
61
+
62
  if( $range_start !== null && ! empty( $range_start ) ) {
63
  $range_start = gce_date_unix( $range_start );
64
  }
65
+
66
  if( $range_end !== null && ! empty( $range_end ) ) {
67
  $range_end = gce_date_unix( $range_end );
68
  }
69
  }
70
+
71
  if( ! isset( $instance['show_tooltips'] ) ) {
72
  $show_tooltips = 1;
73
  } else {
74
  $show_tooltips = ( isset( $instance['show_tooltips'] ) ? $instance['show_tooltips'] : 'false' );
75
  }
76
+
77
+
78
  if( $offset_direction == 'back' ) {
79
  $offset_direction = -1;
80
+ } else {
81
  $offset_direction = 1;
82
  }
83
+
84
  $start_offset = $offset_num * $offset_length * $offset_direction;
85
+
86
  $paging_interval = null;
87
+
88
  if( $display_type == 'date-range-list' || $display_type == 'date-range-grid' ) {
89
  $max_length = 'date-range';
90
+ }
91
+
92
  if( $max_length == 'days' ) {
93
  $paging_interval = $max_num * 86400;
94
  } else if( $max_length == 'events' ) {
98
  } else if( $max_length == 'month' ) {
99
  $paging_interval = 2629743;
100
  }
101
+
102
  // Check whether any feeds have been added yet
103
  if( wp_count_posts( 'gce_feed' )->publish > 0 ) {
104
  //Output title stuff
120
  if ( 0 == absint( $feed_id ) ) {
121
  unset( $feed_ids[$key] );
122
  }
123
+
124
  if( ! ( 'publish' == get_post_status( $feed_id ) ) ) {
125
  $invalid_id = true;
126
  }
131
  if ( false !== get_post_meta( $feed_id ) )
132
  $no_feeds_exist = false;
133
  }
134
+
135
  foreach( $feed_ids as $feed_id ) {
136
  if( $paging ) {
137
  update_post_meta( $feed_id, 'gce_paging_widget', true );
138
+ } else {
139
  delete_post_meta( $feed_id, 'gce_paging_widget' );
140
  }
141
+
142
  update_post_meta( $feed_id, 'gce_widget_paging_interval', $paging_interval );
143
  }
144
  } else {
145
  if ( current_user_can( 'manage_options' ) ) {
146
  _e( 'No valid Feed IDs have been entered for this widget. Please check that you have entered the IDs correctly in the widget settings (Appearance > Widgets), and that the Feeds have not been deleted.', 'gce' );
147
+ }
148
  }
149
 
150
  //Check that at least one valid feed id has been entered
154
 
155
  $title_text = ( ! empty( $instance['display_title_text'] ) ? $instance['display_title_text'] : null );
156
  $sort_order = ( isset( $instance['order'] ) ) ? $instance['order'] : 'asc';
157
+
158
  $args = array(
159
  'title_text' => $title_text,
160
  'sort' => $sort_order,
167
  'max_num' => $max_num,
168
  'show_tooltips' => $show_tooltips
169
  );
170
+
171
  if( 'list-grouped' == $display_type ) {
172
  $args['grouped'] = 1;
173
  }
174
+
175
  if( 'date-range-list' == $display_type ) {
176
  $args['max_events'] = INF;
177
  $args['max_num'] = INF;
178
  }
179
+
180
  $markup = gce_print_calendar( $feed_ids, $display_type, $args, true );
181
+
182
  if( ! $invalid_id ) {
183
  echo $markup;
184
  } else {
198
  //Output after widget stuff
199
  echo $after_widget;
200
  }
201
+
202
  /**
203
  * Update settings when saved
204
+ *
205
  * @since 2.0.0
206
  */
207
  function update( $new_instance, $old_instance ) {
208
+
209
  $instance = $old_instance;
210
  $instance['title'] = esc_html( $new_instance['title'] );
211
  $instance['id'] = esc_html( $new_instance['id'] );
218
  $instance['per_page_num'] = $new_instance['per_page_num'];
219
  $instance['events_per_page'] = $new_instance['events_per_page'];
220
  $instance['show_tooltips'] = ( isset( $new_instance['show_tooltips'] ) ? 1 : 0 );
221
+
222
  return $instance;
223
  }
224
+
225
  /**
226
+ *
227
  * @param type $instanceDisplay widget form in admin
228
+ *
229
  * @since 2.0.0
230
  */
231
  function form( $instance ) {
232
+
233
  // Check for existing feeds and if there are none then display a message and return
234
  if( wp_count_posts( 'gce_feed' )->publish <= 0 ) {
235
+ echo '<p>' . __( 'There are no feeds created yet.', 'gce' ) .
236
+ ' <a href="' . admin_url( 'edit.php?post_type=gce_feed' ) . '">' . __( 'Add your first feed!', 'gce' ) . '</a>' .
237
  '</p>';
238
  return;
239
  }
240
+
241
  $title = ( isset( $instance['title'] ) ) ? $instance['title'] : '';
242
  $ids = ( isset( $instance['id'] ) ) ? $instance['id'] : '';
243
  $display_type = ( isset( $instance['display_type'] ) ) ? $instance['display_type'] : 'grid';
245
  $display_title = ( isset( $instance['display_title'] ) ) ? $instance['display_title'] : true;
246
  $title_text = ( isset( $instance['display_title_text'] ) ) ? $instance['display_title_text'] : __( 'Events on', 'gce' );
247
  $paging = ( isset( $instance['paging'] ) ? $instance['paging'] : 1 );
248
+
249
  $per_page_num = ( isset( $instance['per_page_num'] ) && ! empty( $instance['per_page_num'] ) ? $instance['per_page_num'] : 7 );
250
  $events_per_page = ( isset( $instance['events_per_page'] ) ? $instance['events_per_page'] : 'days' );
251
+
252
  $list_start_offset_num = ( isset( $instance['list_start_offset_num'] ) && ! empty( $instance['list_start_offset_num'] ) ? $instance['list_start_offset_num'] : 0 );
253
  $list_start_offset_direction = ( isset( $instance['list_start_offset_direction'] ) ? $instance['list_start_offset_direction'] : 'back' );
254
  $show_tooltips = ( isset( $instance['show_tooltips'] ) ? $instance['show_tooltips'] : 1 );
255
+
256
  $use_range = ( ( selected( $display_type, 'date-range-list', false ) || selected( $display_type, 'date-range-grid', false ) ) ? true : false );
257
+
258
  ?>
259
  <p>
260
  <label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title:', 'gce' ); ?></label>
266
  </label>
267
  <input type="text" id="<?php echo $this->get_field_id( 'id' ); ?>" name="<?php echo $this->get_field_name( 'id' ); ?>" value="<?php echo esc_attr( $ids ); ?>" class="widefat" />
268
  </p>
269
+
270
  <p>
271
  <label for="<?php echo $this->get_field_id( 'display_type' ); ?>"><?php _e( 'Display Events as:', 'gce' ); ?></label>
272
  <select id="<?php echo $this->get_field_id( 'display_type' ); ?>" name="<?php echo $this->get_field_name( 'display_type' ); ?>" class="widefat">
285
  <option value="desc" <?php selected( $order, 'desc' ); ?>><?php _e( 'Descending', 'gce' ); ?></option>
286
  </select>
287
  </p>
288
+
289
  <p class="gce-display-option <?php echo ( $use_range == true ? 'gce-admin-hidden' : '' ); ?>">
290
  <label for="<?php echo $this->get_field_id( 'events_per_page' ); ?>"><?php _e( 'Events per Page (List View only):', 'gce' ); ?></label><br/>
291
  <select id="<?php echo $this->get_field_id( 'events_per_page' ); ?>" name="<?php echo $this->get_field_name( 'events_per_page' ); ?>">
302
  <span class="gce-custom-range <?php echo ( $use_range == true ? '' : 'gce-admin-hidden' ); ?>">
303
  <small><?php _e( 'This setting will pull from the custom date range set in the main feed settings and cannot be changed here.', 'gce' ); ?></small>
304
  </span>
305
+
306
  <p class="gce-display-option <?php echo ( $use_range == true ? 'gce-admin-hidden' : '' ); ?>">
307
  <label for="<?php echo $this->get_field_id( 'list_start_offset_num' ); ?>"><?php _e( 'Display Start Date Offset (List View only):', 'gce' ); ?></label><br>
308
  <select name="<?php echo $this->get_field_name( 'list_start_offset_direction' ); ?>" id="<?php echo $this->get_field_id( 'list_start_offset_direction' ); ?>">
313
  <br>
314
  <small><?php _e( 'Change to initially display events on a date other than today (List View only).', 'gce' ); ?></small>
315
  </p>
316
+
317
  <p class="gce-display-option gce-display-control <?php echo ( $use_range == true ? 'gce-admin-hidden' : '' ); ?>">
318
  <label for="<?php echo $this->get_field_id( 'display_title' ); ?>"><?php _e( 'Display Title on Tooltip/List Item (e.g. \'Events on 7th March\'). Grouped lists always have a title displayed.', 'gce' ); ?></label>
319
  <input type="text" class="widefat" id="<?php echo $this->get_field_id( 'display_title_text' ); ?>" name="<?php echo $this->get_field_name( 'display_title_text' ); ?>" value="<?php echo esc_attr( $title_text ); ?>" />
320
  </p>
321
+
322
  <p class="gce-display-option <?php echo ( $use_range == true ? 'gce-admin-hidden' : '' ); ?>">
323
  <input type="checkbox" id="<?php echo $this->get_field_id( 'paging' ); ?>" name="<?php echo $this->get_field_name( 'paging' ); ?>" class="widefat" value="1" <?php checked( $paging, 1 ); ?>>
324
  <label for="<?php echo $this->get_field_id( 'paging' ); ?>"><?php _e( 'Show Paging Links', 'gce' ); ?></label>
326
  <input type="checkbox" id="<?php echo $this->get_field_id( 'show_tooltips' ); ?>" name="<?php echo $this->get_field_name( 'show_tooltips' ); ?>" class="widefat" value="1" <?php checked( $show_tooltips, 1 ); ?>>
327
  <label for="<?php echo $this->get_field_id( 'show_tooltips' ); ?>"><?php _e( 'Show Tooltips', 'gce' ); ?></label>
328
  </p>
329
+
330
+ <?php
331
  }
332
  }
333
  add_action( 'widgets_init', create_function( '', 'register_widget("GCE_Widget");' ) );