Event Calendar WD – Responsive Event Calendar plugin - Version 1.0.49

Version Description

Added: Swedish translation by Marcel Kroca and Slovak translation by Magnus Juven
Fixed: Issue with featured image
Fixed: Pointer bug

Download this release

Release Info

Developer webdorado
Plugin Icon 128x128 Event Calendar WD – Responsive Event Calendar plugin
Version 1.0.49
Comparing to
See all releases

Code changes from version 1.0.48 to 1.0.49

ecwd.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Event Calendar WD
4
  * Plugin URI: https://web-dorado.com/products/wordpress-event-calendar-wd.html
5
  * Description: Event Calendar WD is an easy event management and planning tool with advanced features.
6
- * Version: 1.0.48
7
  * Author: WebDorado
8
  * Author URI: http://web-dorado.com
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
3
  * Plugin Name: Event Calendar WD
4
  * Plugin URI: https://web-dorado.com/products/wordpress-event-calendar-wd.html
5
  * Description: Event Calendar WD is an easy event management and planning tool with advanced features.
6
+ * Version: 1.0.49
7
  * Author: WebDorado
8
  * Author URI: http://web-dorado.com
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
ecwd_admin_class.php CHANGED
@@ -6,7 +6,7 @@
6
  class ECWD_Admin {
7
 
8
  protected static $instance = null;
9
- protected $version = '1.0.48';
10
  protected $ecwd_page = null;
11
  protected $notices = null;
12
 
@@ -39,10 +39,7 @@ class ECWD_Admin {
39
  // Runs the admin notice ignore function incase a dismiss button has been clicked
40
  add_action('admin_init', array($this, 'admin_notice_ignore'));
41
  add_action('admin_notices', array($this, 'ecwd_admin_notices'));
42
- add_action('admin_init', function() {
43
- include_once ('includes/ecwd_pointers.php');
44
- $ecwd_pointer = new Ecwd_pointers();
45
- });
46
  }
47
 
48
  /**
@@ -126,6 +123,12 @@ class ECWD_Admin {
126
  ), plugins_url('/assets/themes-icon.png', ECWD_MAIN_FILE), '26,18'
127
  );
128
  }
 
 
 
 
 
 
129
 
130
  public function display_addons_page() {
131
 
6
  class ECWD_Admin {
7
 
8
  protected static $instance = null;
9
+ protected $version = '1.0.49';
10
  protected $ecwd_page = null;
11
  protected $notices = null;
12
 
39
  // Runs the admin notice ignore function incase a dismiss button has been clicked
40
  add_action('admin_init', array($this, 'admin_notice_ignore'));
41
  add_action('admin_notices', array($this, 'ecwd_admin_notices'));
42
+ add_action('admin_init', array($this,'include_ecwd_pointer_class'));
 
 
 
43
  }
44
 
45
  /**
123
  ), plugins_url('/assets/themes-icon.png', ECWD_MAIN_FILE), '26,18'
124
  );
125
  }
126
+
127
+ public function include_ecwd_pointer_class() {
128
+ include_once ('includes/ecwd_pointers.php');
129
+ $ecwd_pointer = new Ecwd_pointers();
130
+ }
131
+
132
 
133
  public function display_addons_page() {
134
 
ecwd_class.php CHANGED
@@ -6,7 +6,7 @@
6
  */
7
  class ECWD {
8
 
9
- protected $version = '1.0.48';
10
  protected $plugin_name = 'event-calendar-wd';
11
  protected $prefix = 'ecwd';
12
  protected static $instance = null;
6
  */
7
  class ECWD {
8
 
9
+ protected $version = '1.0.49';
10
  protected $plugin_name = 'event-calendar-wd';
11
  protected $prefix = 'ecwd';
12
  protected static $instance = null;
includes/activation_settings_page.php CHANGED
@@ -1,8 +1,9 @@
1
  <?php
2
- if(isset($_POST["skip_wizard"])){
3
- header('Location: '.admin_url().'plugins.php');die;
 
4
  }
5
- if(isset($_POST["ecwd_settings_general"]) && isset($_POST["ecwd_settings_general"]["install_sample_data"]) && $_POST["ecwd_settings_general"]["install_sample_data"] == "1"){
6
  sample_data_creator();
7
  }
8
  if (isset($_POST["ecwd_settings_general"])) {
@@ -19,83 +20,83 @@ if (isset($_POST["ecwd_settings_general"])) {
19
  update_option("activation_page_option", "ok");
20
  }
21
 
22
- function sample_data_creator(){
23
-
24
- $posts = get_posts(array(
25
- 'post_type' => 'ecwd_calendar'
26
- )
 
 
 
 
 
 
 
27
  );
28
- if (count($posts) == 0) {
29
- $ids = array();
30
- $cal = array(
31
- 'post_title' => 'CALENDAR 1',
32
- 'post_type' => 'ecwd_calendar',
33
- 'post_status' => 'publish'
34
- );
35
- $ids[] = wp_insert_post($cal);
36
- update_post_meta($ids[0], 'ecwd_calendar_theme', $grey_theme_id);
37
- $ven = array(
38
- 'post_title' => 'VENUE 1',
39
- 'post_type' => 'ecwd_venue',
40
- 'post_status' => 'publish'
41
- );
42
- $ids[] = wp_insert_post($ven);
43
- update_post_meta($ids[1], 'ecwd_venue_lat_long', '51.554448,-0.286331');
44
- update_post_meta($ids[1], 'ecwd_venue_location', '23A Wembley Hill Rd, Wembley, Greater London HA9 8AS, UK');
45
- $org1 = array(
46
- 'post_title' => 'ORGANIZER 1',
47
- 'post_type' => 'ecwd_organizer',
48
- 'post_status' => 'publish'
49
- );
50
- $org_ids = array();
51
- $org_ids[] = wp_insert_post($org1);
52
- $org2 = array(
53
- 'post_title' => 'ORGANIZER 2',
54
- 'post_type' => 'ecwd_organizer',
55
- 'post_status' => 'publish'
56
- );
57
- $org_ids[] = wp_insert_post($org2);
58
- $ids[] = $org_ids;
59
- $ev1 = array(
60
- 'post_title' => 'EVENT 1',
61
- 'post_type' => 'ecwd_event',
62
- 'post_status' => 'publish'
63
- );
64
- $ev_ids = array();
65
- $ev_ids[] = wp_insert_post($ev1);
66
- date_default_timezone_set("Europe/Berlin");
67
- $date1 = date('Y-m-d H:i');
68
- $date2 = date("Y-m-d H:i", strtotime("+1 week"));
69
- $date1 = str_replace('-', "/", $date1);
70
- $date2 = str_replace('-', "/", $date2);
71
- update_post_meta($ev_ids[0], 'ecwd_event_date_from', $date1);
72
- update_post_meta($ev_ids[0], 'ecwd_event_date_to', $date1);
73
- update_post_meta($ev_ids[0], 'ecwd_event_venue', $ids[1]);
74
- update_post_meta($ev_ids[0], 'ecwd_event_location', '23A Wembley Hill Rd, Wembley, Greater London HA9 8AS, UK');
75
- update_post_meta($ev_ids[0], 'ecwd_lat_long', '51.554448,-0.286331');
76
- $cals = array();
77
- $cals[0] = (string) $ids[0];
78
- $orgs = array();
79
- $orgs[0] = (string) $org_ids[0];
80
- $orgs[1] = (string) $org_ids[1];
81
- update_post_meta($ev_ids[0], 'ecwd_event_organizers', $orgs);
82
- update_post_meta($ev_ids[0], 'ecwd_event_calendars', $cals);
83
- $ev2 = array(
84
- 'post_title' => 'EVENT 2',
85
- 'post_type' => 'ecwd_event',
86
- 'post_status' => 'publish'
87
- );
88
- $ev_ids[] = wp_insert_post($ev2);
89
- update_post_meta($ev_ids[1], 'ecwd_event_date_from', $date2);
90
- update_post_meta($ev_ids[1], 'ecwd_event_date_to', $date2);
91
- update_post_meta($ev_ids[1], 'ecwd_event_venue', $ids[1]);
92
- update_post_meta($ev_ids[1], 'ecwd_event_calendars', $cals);
93
- update_post_meta($ev_ids[1], 'ecwd_event_location', '23A Wembley Hill Rd, Wembley, Greater London HA9 8AS, UK');
94
- update_post_meta($ev_ids[1], 'ecwd_lat_long', '51.554448,-0.286331');
95
- update_post_meta($ev_ids[1], 'ecwd_event_organizers', $orgs);
96
- $ids[] = $ev_ids;
97
- update_option('auto_generated_posts', $ids);
98
- }
99
  }
100
 
101
  function ecwd_settings_init() {
@@ -111,147 +112,150 @@ function ecwd_settings_init() {
111
  'name' => __('Install sample data', 'ecwd'),
112
  'desc' => __('Check to install sample data.', 'ecwd'),
113
  'type' => 'radio',
114
- 'default' => 1
115
  );
116
-
117
  }
118
 
119
  function activation_html_view() {
120
  ?>
121
 
122
  <style>
123
- table{
124
- border: #d7d7d7 solid 1px;
125
- background-color:#ebebeb;
126
- display: table;
127
- color: #959595;
128
- font-size: 0.875em;
129
- font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
130
- line-height: 1.5em;
131
- margin:auto;
132
- }
133
- tbody{
134
- display: table-row-group;
135
- vertical-align: middle;
136
- border-color: inherit;
137
- font-size: 0.875em;
138
- font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
139
- line-height: 1.5em;
140
- }
141
- tr{
142
- display: table-row;
143
- vertical-align: inherit;
144
- border-color: inherit;
145
- }
146
- th{
147
- font-weight: bold;
148
- vertical-align: middle;
149
- text-align: left;
150
- padding: 10px 40px;
151
- display: table-cell;
152
- }
153
- td{
154
- vertical-align: middle;
155
- text-align: left;
156
- padding: 7px 12px;
157
- }
158
- .submit{
159
- text-align: center;
160
- }
161
- h2{
162
- text-align: center;
163
- vertical-align: text-bottom;
164
- font-size: 2em;
165
- margin: 0px;
166
- font-weight: bold;
167
- color: #878787;
168
- font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
169
- line-height: 1.5em;
170
- }
171
- a{
172
- height: auto;
173
- line-height: 1em;
174
- padding: 0.5em 1em;
175
- background: #f7f7f7 none repeat scroll 0 0;
176
- border-color: #ccc;
177
- box-shadow: 0 1px 0 #ccc;
178
- color: #555;
179
- border-radius: 3px;
180
- border-style: solid;
181
- border-width: 1px;
182
- box-sizing: border-box;
183
- cursor: pointer;
184
- display: inline-block;
185
- text-decoration: none;
186
- white-space: nowrap;
187
- text-align: center;
188
- }
189
- .skip_div{
190
- text-align: center;
191
- color: #193954;
192
- font-size: 0.875em;
193
- font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
194
- }
195
- .pic_div{
196
- margin-top: 10px;
197
- background-repeat:no-repeat;
198
- background-size: 68px 75px;
199
- margin: auto;
200
- background-image: url('<?php echo ECWD_URL?>/assets/CalendarWD.png');
201
- text-align: center;
202
- background-position-x: center;
203
- height: 75px;
204
- }
205
- .desc_par{
206
- margin:0px ;
207
- margin-bottom:10px;
208
- font-size:11px;
209
- color:#878787;
210
- }
211
- .skip_wiz_div{
212
- display: -webkit-inline-box;
213
- margin-left: 40px;
214
- }
215
- input{
216
- padding-left:8px;
217
- }
218
- .description{
219
- padding-left: 20px;
220
- }
221
- select{
222
- background-color:#ffffff;
223
- }
224
- .big_div{
225
- margin: auto;
226
- }
227
- .button_a{
228
- font-weight: bold;
229
- font-size: 15px;
230
- background-color: #959595;
231
- color: #fff;
232
- height: auto;
233
- border: 1px solid transparent;
234
- padding: 5px 25px;
235
- border-radius:0px;
236
- }
237
- .submit{
238
- margin: 0px;
239
- padding-left: 340px;
240
- }
241
- .button-primary{
242
- background: #959595 !important;
243
- }
 
 
 
 
244
  </style>
245
  <link rel="stylesheet" href="<?php echo ECWD_URL ?>/css/admin/admin.css">
246
  <div class="wrap">
247
  <div id="ecwd-settings">
248
  <div id="ecwd-settings-content">
249
  <form method="post">
250
- <?php wp_nonce_field('update-options'); ?>
251
- <?php
252
- settings_fields(ECWD_PLUGIN_PREFIX . '_settings_' . 'general');
253
- do_settings_sections(ECWD_PLUGIN_PREFIX . '_settings_' . 'general');
254
- ?>
255
  <?php submit_button(); ?>
256
 
257
  </form>
@@ -260,12 +264,12 @@ select{
260
  </div>
261
  <!-- #ecwd-settings -->
262
  </div><!-- .wrap -->
263
- <script>
264
 
265
- document.getElementById('ecwd_settings_general[date_format]').value = 'Y-m-d';
266
  document.getElementById('ecwd_settings_general[time_format]').value = 'H:i';
267
- document.getElementsByTagName('h2')[0].innerHTML = '';
268
- var parent = document.getElementsByTagName("form")[0];
269
  var html_div = document.createElement("div");
270
  html_div.className = "big_div";
271
  var html = '<div class="pic_div"></div>';
@@ -281,8 +285,6 @@ var parent = document.getElementsByTagName("form")[0];
281
  par.appendChild(child_skip);
282
 
283
  </script>
284
- <?php
285
- die;
286
- }
287
-
288
-
1
  <?php
2
+ if (isset($_POST["skip_wizard"])) {
3
+ header('Location: ' . admin_url() . 'plugins.php');
4
+ die;
5
  }
6
+ if (isset($_POST["ecwd_settings_general"]) && isset($_POST["ecwd_settings_general"]["install_sample_data"]) && $_POST["ecwd_settings_general"]["install_sample_data"] == "1") {
7
  sample_data_creator();
8
  }
9
  if (isset($_POST["ecwd_settings_general"])) {
20
  update_option("activation_page_option", "ok");
21
  }
22
 
23
+ function sample_data_creator() {
24
+
25
+ $posts = get_posts(array(
26
+ 'post_type' => 'ecwd_calendar'
27
+ )
28
+ );
29
+ if (count($posts) == 0) {
30
+ $ids = array();
31
+ $cal = array(
32
+ 'post_title' => 'CALENDAR 1',
33
+ 'post_type' => 'ecwd_calendar',
34
+ 'post_status' => 'publish'
35
  );
36
+ $ids[] = wp_insert_post($cal);
37
+ update_post_meta($ids[0], 'ecwd_calendar_theme', $grey_theme_id);
38
+ $ven = array(
39
+ 'post_title' => 'VENUE 1',
40
+ 'post_type' => 'ecwd_venue',
41
+ 'post_status' => 'publish'
42
+ );
43
+ $ids[] = wp_insert_post($ven);
44
+ update_post_meta($ids[1], 'ecwd_venue_lat_long', '51.554448,-0.286331');
45
+ update_post_meta($ids[1], 'ecwd_venue_location', '23A Wembley Hill Rd, Wembley, Greater London HA9 8AS, UK');
46
+ $org1 = array(
47
+ 'post_title' => 'ORGANIZER 1',
48
+ 'post_type' => 'ecwd_organizer',
49
+ 'post_status' => 'publish'
50
+ );
51
+ $org_ids = array();
52
+ $org_ids[] = wp_insert_post($org1);
53
+ $org2 = array(
54
+ 'post_title' => 'ORGANIZER 2',
55
+ 'post_type' => 'ecwd_organizer',
56
+ 'post_status' => 'publish'
57
+ );
58
+ $org_ids[] = wp_insert_post($org2);
59
+ $ids[] = $org_ids;
60
+ $ev1 = array(
61
+ 'post_title' => 'EVENT 1',
62
+ 'post_type' => 'ecwd_event',
63
+ 'post_status' => 'publish'
64
+ );
65
+ $ev_ids = array();
66
+ $ev_ids[] = wp_insert_post($ev1);
67
+ date_default_timezone_set("Europe/Berlin");
68
+ $date1 = date('Y-m-d H:i');
69
+ $date2 = date("Y-m-d H:i", strtotime("+1 week"));
70
+ $date1 = str_replace('-', "/", $date1);
71
+ $date2 = str_replace('-', "/", $date2);
72
+ update_post_meta($ev_ids[0], 'ecwd_event_date_from', $date1);
73
+ update_post_meta($ev_ids[0], 'ecwd_event_date_to', $date1);
74
+ update_post_meta($ev_ids[0], 'ecwd_event_venue', $ids[1]);
75
+ update_post_meta($ev_ids[0], 'ecwd_event_location', '23A Wembley Hill Rd, Wembley, Greater London HA9 8AS, UK');
76
+ update_post_meta($ev_ids[0], 'ecwd_lat_long', '51.554448,-0.286331');
77
+ $cals = array();
78
+ $cals[0] = (string) $ids[0];
79
+ $orgs = array();
80
+ $orgs[0] = (string) $org_ids[0];
81
+ $orgs[1] = (string) $org_ids[1];
82
+ update_post_meta($ev_ids[0], 'ecwd_event_organizers', $orgs);
83
+ update_post_meta($ev_ids[0], 'ecwd_event_calendars', $cals);
84
+ $ev2 = array(
85
+ 'post_title' => 'EVENT 2',
86
+ 'post_type' => 'ecwd_event',
87
+ 'post_status' => 'publish'
88
+ );
89
+ $ev_ids[] = wp_insert_post($ev2);
90
+ update_post_meta($ev_ids[1], 'ecwd_event_date_from', $date2);
91
+ update_post_meta($ev_ids[1], 'ecwd_event_date_to', $date2);
92
+ update_post_meta($ev_ids[1], 'ecwd_event_venue', $ids[1]);
93
+ update_post_meta($ev_ids[1], 'ecwd_event_calendars', $cals);
94
+ update_post_meta($ev_ids[1], 'ecwd_event_location', '23A Wembley Hill Rd, Wembley, Greater London HA9 8AS, UK');
95
+ update_post_meta($ev_ids[1], 'ecwd_lat_long', '51.554448,-0.286331');
96
+ update_post_meta($ev_ids[1], 'ecwd_event_organizers', $orgs);
97
+ $ids[] = $ev_ids;
98
+ update_option('auto_generated_posts', $ids);
99
+ }
 
 
 
 
 
 
 
100
  }
101
 
102
  function ecwd_settings_init() {
112
  'name' => __('Install sample data', 'ecwd'),
113
  'desc' => __('Check to install sample data.', 'ecwd'),
114
  'type' => 'radio',
115
+ 'default' => 1
116
  );
 
117
  }
118
 
119
  function activation_html_view() {
120
  ?>
121
 
122
  <style>
123
+ table{
124
+ border: #d7d7d7 solid 1px;
125
+ background-color:#ebebeb;
126
+ display: table;
127
+ color: #959595;
128
+ font-size: 0.875em;
129
+ font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
130
+ line-height: 1.5em;
131
+ margin:auto;
132
+ }
133
+ tbody{
134
+ display: table-row-group;
135
+ vertical-align: middle;
136
+ border-color: inherit;
137
+ font-size: 0.875em;
138
+ font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
139
+ line-height: 1.5em;
140
+ }
141
+ tr{
142
+ display: table-row;
143
+ vertical-align: inherit;
144
+ border-color: inherit;
145
+ }
146
+ th{
147
+ font-weight: bold;
148
+ vertical-align: middle;
149
+ text-align: left;
150
+ padding: 10px 40px;
151
+ display: table-cell;
152
+ }
153
+ td{
154
+ vertical-align: middle;
155
+ text-align: left;
156
+ padding: 7px 12px;
157
+ }
158
+ .submit{
159
+ text-align: center;
160
+ }
161
+ h2{
162
+ text-align: center;
163
+ vertical-align: text-bottom;
164
+ font-size: 2em;
165
+ margin: 0px;
166
+ font-weight: bold;
167
+ color: #878787;
168
+ font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
169
+ line-height: 1.5em;
170
+ }
171
+ a{
172
+ height: auto;
173
+ line-height: 1em;
174
+ padding: 0.5em 1em;
175
+ background: #f7f7f7 none repeat scroll 0 0;
176
+ border-color: #ccc;
177
+ box-shadow: 0 1px 0 #ccc;
178
+ color: #555;
179
+ border-radius: 3px;
180
+ border-style: solid;
181
+ border-width: 1px;
182
+ box-sizing: border-box;
183
+ cursor: pointer;
184
+ display: inline-block;
185
+ text-decoration: none;
186
+ white-space: nowrap;
187
+ text-align: center;
188
+ }
189
+ .skip_div{
190
+ text-align: center;
191
+ color: #193954;
192
+ font-size: 0.875em;
193
+ font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
194
+ }
195
+ .pic_div{
196
+ margin-top: 10px;
197
+ background-repeat:no-repeat;
198
+ background-size: 68px 75px;
199
+ margin: auto;
200
+ background-image: url('<?php echo ECWD_URL ?>/assets/CalendarWD.png');
201
+ text-align: center;
202
+ background-position-x: center;
203
+ height: 75px;
204
+ }
205
+ .desc_par{
206
+ margin:0px ;
207
+ margin-bottom:10px;
208
+ font-size:11px;
209
+ color:#878787;
210
+ }
211
+ .skip_wiz_div{
212
+ display: -webkit-inline-box;
213
+ margin-left: 5px;
214
+ }
215
+ input{
216
+ padding-left:8px;
217
+ }
218
+ .description{
219
+ padding-left: 20px;
220
+ }
221
+ select{
222
+ background-color:#ffffff;
223
+ }
224
+ .big_div{
225
+ margin: auto;
226
+ }
227
+ .button_a{
228
+ font-weight: bold;
229
+ font-size: 15px;
230
+ background-color: #959595;
231
+ color: #fff;
232
+ height: auto;
233
+ border: 1px solid transparent;
234
+ padding: 5px 25px;
235
+ border-radius:0px;
236
+ }
237
+ .submit{
238
+ margin: 0px;
239
+ padding-left: 340px;
240
+ padding-top:8px;
241
+ }
242
+ .button-primary{
243
+ background: #959595 !important;
244
+ }
245
+ #submit{
246
+ margin-left: 35px;
247
+ }
248
  </style>
249
  <link rel="stylesheet" href="<?php echo ECWD_URL ?>/css/admin/admin.css">
250
  <div class="wrap">
251
  <div id="ecwd-settings">
252
  <div id="ecwd-settings-content">
253
  <form method="post">
254
+ <?php wp_nonce_field('update-options'); ?>
255
+ <?php
256
+ settings_fields(ECWD_PLUGIN_PREFIX . '_settings_' . 'general');
257
+ do_settings_sections(ECWD_PLUGIN_PREFIX . '_settings_' . 'general');
258
+ ?>
259
  <?php submit_button(); ?>
260
 
261
  </form>
264
  </div>
265
  <!-- #ecwd-settings -->
266
  </div><!-- .wrap -->
267
+ <script>
268
 
269
+ document.getElementById('ecwd_settings_general[date_format]').value = 'Y-m-d';
270
  document.getElementById('ecwd_settings_general[time_format]').value = 'H:i';
271
+ document.getElementsByTagName('h2')[0].innerHTML = '';
272
+ var parent = document.getElementsByTagName("form")[0];
273
  var html_div = document.createElement("div");
274
  html_div.className = "big_div";
275
  var html = '<div class="pic_div"></div>';
285
  par.appendChild(child_skip);
286
 
287
  </script>
288
+ <?php
289
+ die;
290
+ }
 
 
includes/ecwd-cpt-class.php CHANGED
@@ -93,7 +93,10 @@ class ECWD_Cpt {
93
  }
94
 
95
  public function add_thumbnails_for_themes(){
96
- add_theme_support( 'post-thumbnails',array('ecwd_calendar','ecwd_organizer','ecwd_event','ecwd_venue') );
 
 
 
97
  }
98
 
99
 
93
  }
94
 
95
  public function add_thumbnails_for_themes(){
96
+ global $ecwd_options;
97
+ if(isset($ecwd_options['featured_image_for_themes']) && $ecwd_options['featured_image_for_themes'] == '1'){
98
+ add_theme_support( 'post-thumbnails',array('ecwd_calendar','ecwd_organizer','ecwd_event','ecwd_venue') );
99
+ }
100
  }
101
 
102
 
includes/register-settings.php CHANGED
@@ -222,6 +222,12 @@ function ecwd_register_settings() {
222
  'type' => 'radio',
223
  'default' => 0
224
  ),
 
 
 
 
 
 
225
  ),
226
  'category_archive' => array(
227
  'category_archive_slug' => array(
@@ -278,7 +284,7 @@ function ecwd_register_settings() {
278
  $calendar = get_posts(array(
279
  'post_type' => 'ecwd_calendar'
280
  ));
281
- $settings_init_on_activate = ((empty($calendar) && (get_option("activation_page_option") === false)) || isset($_POST['ecwd_settings_general']['week_starts']));
282
  if ($settings_init_on_activate) {
283
  update_option("activation_page_option", "submit");
284
  include_once "activation_settings_page.php";
222
  'type' => 'radio',
223
  'default' => 0
224
  ),
225
+ 'featured_image_for_themes' => array(
226
+ 'id' => 'featured_image_for_themes',
227
+ 'name' => __('', 'ecwd'),
228
+ 'desc' => 'Tick the checkbox to enable featured image for posts and pages if it does not function by default',
229
+ 'type' => 'checkbox'
230
+ ),
231
  ),
232
  'category_archive' => array(
233
  'category_archive_slug' => array(
284
  $calendar = get_posts(array(
285
  'post_type' => 'ecwd_calendar'
286
  ));
287
+ $settings_init_on_activate = ((strpos($_SERVER['REQUEST_URI'], 'plugins.php')) && ((empty($calendar) && (get_option("activation_page_option") === false)) || isset($_POST['ecwd_settings_general']['week_starts'])));
288
  if ($settings_init_on_activate) {
289
  update_option("activation_page_option", "submit");
290
  include_once "activation_settings_page.php";
languages/ecwd-sk_SK.mo ADDED
Binary file
languages/ecwd-sk_SK.po ADDED
@@ -0,0 +1,379 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: event_calendar_wd\n"
4
+ "POT-Creation-Date: 2015-07-23 13:04+0400\n"
5
+ "PO-Revision-Date: 2016-02-19 13:29+0400\n"
6
+ "Last-Translator: \n"
7
+ "Language-Team: \n"
8
+ "Language: sk_SK\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.8.6\n"
13
+ "X-Poedit-Basepath: ..\n"
14
+ "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
15
+ "X-Poedit-KeywordsList: _e;__\n"
16
+ "X-Poedit-SearchPath-0: .\n"
17
+ "X-Poedit-SearchPathExcluded-0: views/admin\n"
18
+ "X-Poedit-SearchPathExcluded-1: js\n"
19
+ "X-Poedit-SearchPathExcluded-2: includes/ecwd-cpt-class.php\n"
20
+ "X-Poedit-SearchPathExcluded-3: includes/register-settings.php\n"
21
+ "X-Poedit-SearchPathExcluded-4: includes/ecwd-ical-events-class.php\n"
22
+ "X-Poedit-SearchPathExcluded-5: includes/ecwd-google-events-class.php\n"
23
+ "X-Poedit-SearchPathExcluded-6: includes/ecwd-facebook-events-class.php\n"
24
+ "X-Poedit-SearchPathExcluded-7: ecwd_admin_class.php\n"
25
+
26
+ #: includes/calendar-class.php:175 includes/calendar-class.php:176
27
+ #: views/widgets.php:168
28
+ msgid "Month"
29
+ msgstr "Mesiac"
30
+
31
+ #: includes/calendar-class.php:177 views/widgets.php:169
32
+ msgid "List"
33
+ msgstr "Zoznam"
34
+
35
+ #: includes/calendar-class.php:179
36
+ msgid "Week"
37
+ msgstr "Týždeň"
38
+
39
+ #: includes/calendar-class.php:183
40
+ msgid "Day"
41
+ msgstr "Deň"
42
+
43
+ #: includes/calendar-class.php:186
44
+ msgid "Map"
45
+ msgstr "Mapa"
46
+
47
+ #: includes/calendar-class.php:188
48
+ msgid "4 Days"
49
+ msgstr "4 dni"
50
+
51
+ #: includes/calendar-class.php:191
52
+ msgid "Posterboard"
53
+ msgstr "Posterboard"
54
+
55
+ #: includes/calendar-class.php:383 includes/calendar-class.php:417
56
+ #: includes/calendar-class.php:572 includes/calendar-class.php:1181
57
+ #: includes/calendar-class.php:1330 includes/ecwd-functions.php:360
58
+ #: views/ecwd-event-content.php:76 views/ecwd-event-content.php:158
59
+ #: views/ecwd-organizer-content.php:145 views/ecwd-venue-content.php:178
60
+ #: views/single-event.php:151 views/single-event.php:247
61
+ #: views/single-event.php:487
62
+ msgid "All day"
63
+ msgstr "Deň"
64
+
65
+ #: includes/calendar-class.php:440 includes/calendar-class.php:520
66
+ #: includes/calendar-class.php:1386
67
+ msgid "No events"
68
+ msgstr "Žiadne udalosti"
69
+
70
+ #: includes/calendar-class.php:644
71
+ msgid "No Events"
72
+ msgstr "Žiadne udalosti"
73
+
74
+ #: includes/calendar-class.php:1256
75
+ msgid "More events"
76
+ msgstr "Ďalšie akcie"
77
+
78
+ #: includes/ecwd-cpt-filter.php:67
79
+ msgid "From"
80
+ msgstr "Od"
81
+
82
+ #: includes/ecwd-cpt-filter.php:74
83
+ msgid "To"
84
+ msgstr "Do"
85
+
86
+ #: includes/ecwd-display-class.php:876 includes/ecwd-display-class.php:882
87
+ #: includes/ecwd-display-class.php:900 includes/ecwd-display-class.php:917
88
+ #: includes/texts.php:60
89
+ msgid "Repeat every"
90
+ msgstr "opakovať každý"
91
+
92
+ #: includes/ecwd-display-class.php:876 includes/texts.php:66
93
+ msgid "days"
94
+ msgstr "dní"
95
+
96
+ #: includes/ecwd-display-class.php:878 includes/texts.php:61
97
+ msgid "Repeat every day"
98
+ msgstr "Opakovať každý deň"
99
+
100
+ #: includes/ecwd-display-class.php:882 includes/texts.php:67
101
+ msgid "weeks"
102
+ msgstr "týždne"
103
+
104
+ #: includes/ecwd-display-class.php:884 includes/texts.php:62
105
+ msgid "Repeat every week"
106
+ msgstr "Opakovať každý týždeň"
107
+
108
+ #: includes/ecwd-display-class.php:889
109
+ msgid "on"
110
+ msgstr "na"
111
+
112
+ #: includes/ecwd-display-class.php:900 includes/texts.php:68
113
+ msgid "months"
114
+ msgstr "mesiace"
115
+
116
+ #: includes/ecwd-display-class.php:902 includes/texts.php:63
117
+ msgid "Repeat every month"
118
+ msgstr "Opakovať každý mesiac"
119
+
120
+ #: includes/ecwd-display-class.php:907 includes/ecwd-display-class.php:931
121
+ msgid "on the same day"
122
+ msgstr "v rovnaký deň"
123
+
124
+ #: includes/ecwd-display-class.php:912 includes/ecwd-display-class.php:936
125
+ msgid "on the"
126
+ msgstr "na"
127
+
128
+ #: includes/ecwd-display-class.php:917 includes/texts.php:69
129
+ msgid "years"
130
+ msgstr "rokov"
131
+
132
+ #: includes/ecwd-display-class.php:919 includes/texts.php:64
133
+ msgid "Repeat every year"
134
+ msgstr "Opakovať každý rok"
135
+
136
+ #: includes/ecwd-display-class.php:940 includes/texts.php:70
137
+ msgid "until"
138
+ msgstr "Do dátumu Dátum:"
139
+
140
+ #: includes/ecwd-functions.php:8
141
+ msgid "Loading..."
142
+ msgstr "Načítava sa…"
143
+
144
+ #: includes/ecwd-functions.php:439 includes/texts.php:53
145
+ msgid "DAYS"
146
+ msgstr "Dni"
147
+
148
+ #: includes/ecwd-functions.php:440 includes/texts.php:54
149
+ msgid "HOURS"
150
+ msgstr "hodiny,"
151
+
152
+ #: includes/ecwd-functions.php:441 includes/texts.php:55
153
+ msgid "MINUTES"
154
+ msgstr "minúty"
155
+
156
+ #: includes/ecwd-functions.php:442 includes/texts.php:56
157
+ msgid "SECONDS"
158
+ msgstr "sekundy"
159
+
160
+ #: includes/texts.php:2
161
+ msgid "January"
162
+ msgstr "Január"
163
+
164
+ #: includes/texts.php:3
165
+ msgid "February"
166
+ msgstr "Február"
167
+
168
+ #: includes/texts.php:4
169
+ msgid "March"
170
+ msgstr "Marec"
171
+
172
+ #: includes/texts.php:5
173
+ msgid "April"
174
+ msgstr "Apríl"
175
+
176
+ #: includes/texts.php:6
177
+ msgid "May"
178
+ msgstr "Máj"
179
+
180
+ #: includes/texts.php:7
181
+ msgid "June"
182
+ msgstr "Jún"
183
+
184
+ #: includes/texts.php:8
185
+ msgid "July"
186
+ msgstr "Júl"
187
+
188
+ #: includes/texts.php:9
189
+ msgid "August"
190
+ msgstr "August"
191
+
192
+ #: includes/texts.php:10
193
+ msgid "September"
194
+ msgstr "September"
195
+
196
+ #: includes/texts.php:11
197
+ msgid "October"
198
+ msgstr "Október"
199
+
200
+ #: includes/texts.php:12
201
+ msgid "November"
202
+ msgstr "November"
203
+
204
+ #: includes/texts.php:13
205
+ msgid "December"
206
+ msgstr "December"
207
+
208
+ #: includes/texts.php:15
209
+ msgid "Sunday"
210
+ msgstr "Nedeľa"
211
+
212
+ #: includes/texts.php:16
213
+ msgid "Monday"
214
+ msgstr "Pondelok"
215
+
216
+ #: includes/texts.php:17
217
+ msgid "Tuesday"
218
+ msgstr "Utorok"
219
+
220
+ #: includes/texts.php:18
221
+ msgid "Wednesday"
222
+ msgstr "Streda"
223
+
224
+ #: includes/texts.php:19
225
+ msgid "Thursday"
226
+ msgstr "Štvrtok"
227
+
228
+ #: includes/texts.php:20
229
+ msgid "Friday"
230
+ msgstr "Piatok"
231
+
232
+ #: includes/texts.php:21
233
+ msgid "Saturday"
234
+ msgstr "Sobota"
235
+
236
+ #: includes/texts.php:25
237
+ msgid "Sun"
238
+ msgstr "Sobota"
239
+
240
+ #: includes/texts.php:26
241
+ msgid "Mon"
242
+ msgstr "Pondelok"
243
+
244
+ #: includes/texts.php:27
245
+ msgid "Tue"
246
+ msgstr "Utorok"
247
+
248
+ #: includes/texts.php:28
249
+ msgid "Wed"
250
+ msgstr "Streda"
251
+
252
+ #: includes/texts.php:29
253
+ msgid "Thu"
254
+ msgstr "Štvrtok"
255
+
256
+ #: includes/texts.php:30
257
+ msgid "Fri"
258
+ msgstr "Piatok"
259
+
260
+ #: includes/texts.php:31
261
+ msgid "Sat"
262
+ msgstr "Sobota"
263
+
264
+ #: includes/texts.php:34
265
+ msgid "Su"
266
+ msgstr "Ne"
267
+
268
+ #: includes/texts.php:35
269
+ msgid "Mo"
270
+ msgstr "Po"
271
+
272
+ #: includes/texts.php:36
273
+ msgid "Tu"
274
+ msgstr "Ut"
275
+
276
+ #: includes/texts.php:37
277
+ msgid "We"
278
+ msgstr "St"
279
+
280
+ #: includes/texts.php:38
281
+ msgid "Th"
282
+ msgstr "Št"
283
+
284
+ #: includes/texts.php:39
285
+ msgid "Fr"
286
+ msgstr "Pi"
287
+
288
+ #: includes/texts.php:40
289
+ msgid "Sa"
290
+ msgstr "So"
291
+
292
+ #: includes/texts.php:44
293
+ msgid "Show Filters"
294
+ msgstr "Ukázať filtre"
295
+
296
+ #: includes/texts.php:45
297
+ msgid "Collapse Filters"
298
+ msgstr "Zbaliť Filtre"
299
+
300
+ #: includes/texts.php:46
301
+ msgid "Reset Filters"
302
+ msgstr "Obnoviť filtre"
303
+
304
+ #: includes/texts.php:48
305
+ msgid "Days"
306
+ msgstr "Dni"
307
+
308
+ #: includes/texts.php:49
309
+ msgid "Categories"
310
+ msgstr "Kategórie"
311
+
312
+ #: includes/texts.php:50
313
+ msgid "Venues"
314
+ msgstr "Miesta"
315
+
316
+ #: includes/texts.php:57
317
+ msgid "The event has just started"
318
+ msgstr "Akcia sa práve začalo"
319
+
320
+ #: includes/texts.php:72
321
+ msgid "Sundays"
322
+ msgstr "Nedeľa"
323
+
324
+ #: includes/texts.php:73
325
+ msgid "Mondays"
326
+ msgstr "Pondelok"
327
+
328
+ #: includes/texts.php:74
329
+ msgid "Tuesdays"
330
+ msgstr "Utorok"
331
+
332
+ #: includes/texts.php:75
333
+ msgid "Wednesdays"
334
+ msgstr "Streda"
335
+
336
+ #: includes/texts.php:76
337
+ msgid "Thursdays"
338
+ msgstr "Štvrtok"
339
+
340
+ #: includes/texts.php:77
341
+ msgid "Fridays"
342
+ msgstr "Piatky"
343
+
344
+ #: includes/texts.php:78
345
+ msgid "Saturdays"
346
+ msgstr "Soboty"
347
+
348
+ #: views/ecwd-event-content.php:67 views/ecwd-event-content.php:153
349
+ #: views/single-event.php:142 views/single-event.php:242
350
+ msgid "Date"
351
+ msgstr "Dátum"
352
+
353
+ #: views/ecwd-event-content.php:91 views/single-event.php:170
354
+ msgid "Url"
355
+ msgstr "URL"
356
+
357
+ #: views/ecwd-event-content.php:97 views/single-event.php:177
358
+ msgid "Organizers"
359
+ msgstr "organizátori"
360
+
361
+ #: views/ecwd-organizer-content.php:109
362
+ msgid "upcoming events"
363
+ msgstr "Nadchádzajúce udalosti"
364
+
365
+ #: views/ecwd-venue-content.php:141
366
+ msgid "events"
367
+ msgstr "udalosti"
368
+
369
+ #: views/single-event.php:190
370
+ msgid "Venue"
371
+ msgstr "Miesto konania"
372
+
373
+ #: views/single-event.php:200
374
+ msgid "Location"
375
+ msgstr "Lokalita"
376
+
377
+ #: views/single-event.php:449
378
+ msgid "Related events"
379
+ msgstr "Súvisiace udalosti"
languages/ecwd-sv_SE.mo ADDED
Binary file
languages/ecwd-sv_SE.po ADDED
@@ -0,0 +1,384 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: event_calendar_wd\n"
4
+ "POT-Creation-Date: 2015-07-23 13:04+0400\n"
5
+ "PO-Revision-Date: 2016-02-19 13:57+0400\n"
6
+ "Last-Translator: \n"
7
+ "Language-Team: \n"
8
+ "Language: sv_SE\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.8.6\n"
13
+ "X-Poedit-Basepath: ..\n"
14
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
+ "X-Poedit-KeywordsList: _e;__\n"
16
+ "X-Poedit-SearchPath-0: .\n"
17
+ "X-Poedit-SearchPathExcluded-0: views/admin\n"
18
+ "X-Poedit-SearchPathExcluded-1: js\n"
19
+ "X-Poedit-SearchPathExcluded-2: includes/ecwd-cpt-class.php\n"
20
+ "X-Poedit-SearchPathExcluded-3: includes/register-settings.php\n"
21
+ "X-Poedit-SearchPathExcluded-4: includes/ecwd-ical-events-class.php\n"
22
+ "X-Poedit-SearchPathExcluded-5: includes/ecwd-google-events-class.php\n"
23
+ "X-Poedit-SearchPathExcluded-6: includes/ecwd-facebook-events-class.php\n"
24
+ "X-Poedit-SearchPathExcluded-7: ecwd_admin_class.php\n"
25
+
26
+ #: includes/calendar-class.php:175 includes/calendar-class.php:176
27
+ #: views/widgets.php:168
28
+ msgid "Month"
29
+ msgstr "Månad"
30
+
31
+ #: includes/calendar-class.php:177 views/widgets.php:169
32
+ msgid "List"
33
+ msgstr "Lista"
34
+
35
+ #: includes/calendar-class.php:179
36
+ msgid "Week"
37
+ msgstr "Vecka"
38
+
39
+ #: includes/calendar-class.php:183
40
+ msgid "Day"
41
+ msgstr "Dag"
42
+
43
+ #: includes/calendar-class.php:186
44
+ msgid "Map"
45
+ msgstr "Karta"
46
+
47
+ #: includes/calendar-class.php:188
48
+ msgid "4 Days"
49
+ msgstr "4 dagar"
50
+
51
+ #: includes/calendar-class.php:191
52
+ msgid "Posterboard"
53
+ msgstr "Anslagstavla"
54
+
55
+ #: includes/calendar-class.php:383 includes/calendar-class.php:417
56
+ #: includes/calendar-class.php:572 includes/calendar-class.php:1181
57
+ #: includes/calendar-class.php:1330 includes/ecwd-functions.php:360
58
+ #: views/ecwd-event-content.php:76 views/ecwd-event-content.php:158
59
+ #: views/ecwd-organizer-content.php:145 views/ecwd-venue-content.php:178
60
+ #: views/single-event.php:151 views/single-event.php:247
61
+ #: views/single-event.php:487
62
+ msgid "All day"
63
+ msgstr "Hela dagen"
64
+
65
+ #: includes/calendar-class.php:440 includes/calendar-class.php:520
66
+ #: includes/calendar-class.php:1386
67
+ msgid "No events"
68
+ msgstr "Inga händelser"
69
+
70
+ #: includes/calendar-class.php:644
71
+ msgid "No Events"
72
+ msgstr "Inga händerlser"
73
+
74
+ #: includes/calendar-class.php:1256
75
+ msgid "More events"
76
+ msgstr "Fler händelser"
77
+
78
+ #: includes/ecwd-cpt-filter.php:67
79
+ msgid "From"
80
+ msgstr "Från"
81
+
82
+ #: includes/ecwd-cpt-filter.php:74
83
+ msgid "To"
84
+ msgstr "Till"
85
+
86
+ #: includes/ecwd-display-class.php:876 includes/ecwd-display-class.php:882
87
+ #: includes/ecwd-display-class.php:900 includes/ecwd-display-class.php:917
88
+ #: includes/texts.php:60
89
+ msgid "Repeat every"
90
+ msgstr "Upprepa varje"
91
+
92
+ #: includes/ecwd-display-class.php:876 includes/texts.php:66
93
+ msgid "days"
94
+ msgstr "dagar"
95
+
96
+ #: includes/ecwd-display-class.php:878 includes/texts.php:61
97
+ msgid "Repeat every day"
98
+ msgstr "Upprepa varje dag"
99
+
100
+ #: includes/ecwd-display-class.php:882 includes/texts.php:67
101
+ msgid "weeks"
102
+ msgstr "veckor"
103
+
104
+ #: includes/ecwd-display-class.php:884 includes/texts.php:62
105
+ msgid "Repeat every week"
106
+ msgstr "Upprepa varje vecka"
107
+
108
+ #: includes/ecwd-display-class.php:889
109
+ msgid "on"
110
+ msgstr "på"
111
+
112
+ #: includes/ecwd-display-class.php:900 includes/texts.php:68
113
+ msgid "months"
114
+ msgstr "månader"
115
+
116
+ #: includes/ecwd-display-class.php:902 includes/texts.php:63
117
+ msgid "Repeat every month"
118
+ msgstr "Upprepa varje månad"
119
+
120
+ #: includes/ecwd-display-class.php:907 includes/ecwd-display-class.php:931
121
+ msgid "on the same day"
122
+ msgstr "på samma dag"
123
+
124
+ # ”on the” is sentence specific. I have choosen to translate ”on the” as ”på”, in the meaning of ”on the same day or on THAT day or on the evening.
125
+ #: includes/ecwd-display-class.php:912 includes/ecwd-display-class.php:936
126
+ msgid "on the"
127
+ msgstr "på"
128
+
129
+ #: includes/ecwd-display-class.php:917 includes/texts.php:69
130
+ msgid "years"
131
+ msgstr "år"
132
+
133
+ #: includes/ecwd-display-class.php:919 includes/texts.php:64
134
+ msgid "Repeat every year"
135
+ msgstr "Upprepa varje år"
136
+
137
+ #: includes/ecwd-display-class.php:940 includes/texts.php:70
138
+ msgid "until"
139
+ msgstr "till"
140
+
141
+ #: includes/ecwd-functions.php:8
142
+ msgid "Loading..."
143
+ msgstr "Laddar…"
144
+
145
+ #: includes/ecwd-functions.php:439 includes/texts.php:53
146
+ msgid "DAYS"
147
+ msgstr "DAGAR"
148
+
149
+ #: includes/ecwd-functions.php:440 includes/texts.php:54
150
+ msgid "HOURS"
151
+ msgstr "TIMMAR"
152
+
153
+ #: includes/ecwd-functions.php:441 includes/texts.php:55
154
+ msgid "MINUTES"
155
+ msgstr "MINUTER"
156
+
157
+ #: includes/ecwd-functions.php:442 includes/texts.php:56
158
+ msgid "SECONDS"
159
+ msgstr "SEKUNDER"
160
+
161
+ #: includes/texts.php:2
162
+ msgid "January"
163
+ msgstr "Januari"
164
+
165
+ #: includes/texts.php:3
166
+ msgid "February"
167
+ msgstr "Februari"
168
+
169
+ #: includes/texts.php:4
170
+ msgid "March"
171
+ msgstr "Mars"
172
+
173
+ #: includes/texts.php:5
174
+ msgid "April"
175
+ msgstr "April"
176
+
177
+ #: includes/texts.php:6
178
+ msgid "May"
179
+ msgstr "Maj"
180
+
181
+ #: includes/texts.php:7
182
+ msgid "June"
183
+ msgstr "Juni"
184
+
185
+ #: includes/texts.php:8
186
+ msgid "July"
187
+ msgstr "Juli"
188
+
189
+ #: includes/texts.php:9
190
+ msgid "August"
191
+ msgstr "Augusti"
192
+
193
+ #: includes/texts.php:10
194
+ msgid "September"
195
+ msgstr "September"
196
+
197
+ #: includes/texts.php:11
198
+ msgid "October"
199
+ msgstr "Oktober"
200
+
201
+ #: includes/texts.php:12
202
+ msgid "November"
203
+ msgstr "November"
204
+
205
+ #: includes/texts.php:13
206
+ msgid "December"
207
+ msgstr "December"
208
+
209
+ #: includes/texts.php:15
210
+ msgid "Sunday"
211
+ msgstr "Söndag"
212
+
213
+ #: includes/texts.php:16
214
+ msgid "Monday"
215
+ msgstr "Måndag"
216
+
217
+ #: includes/texts.php:17
218
+ msgid "Tuesday"
219
+ msgstr "Tisdag"
220
+
221
+ #: includes/texts.php:18
222
+ msgid "Wednesday"
223
+ msgstr "Onsdag"
224
+
225
+ #: includes/texts.php:19
226
+ msgid "Thursday"
227
+ msgstr "Torsdag"
228
+
229
+ #: includes/texts.php:20
230
+ msgid "Friday"
231
+ msgstr "Fredag"
232
+
233
+ #: includes/texts.php:21
234
+ msgid "Saturday"
235
+ msgstr "Lördag"
236
+
237
+ #: includes/texts.php:25
238
+ msgid "Sun"
239
+ msgstr "Sön"
240
+
241
+ #: includes/texts.php:26
242
+ msgid "Mon"
243
+ msgstr "Mån"
244
+
245
+ #: includes/texts.php:27
246
+ msgid "Tue"
247
+ msgstr "Tis"
248
+
249
+ #: includes/texts.php:28
250
+ msgid "Wed"
251
+ msgstr "Ons"
252
+
253
+ #: includes/texts.php:29
254
+ msgid "Thu"
255
+ msgstr "Tor"
256
+
257
+ #: includes/texts.php:30
258
+ msgid "Fri"
259
+ msgstr "Fre"
260
+
261
+ #: includes/texts.php:31
262
+ msgid "Sat"
263
+ msgstr "Lör"
264
+
265
+ #: includes/texts.php:34
266
+ msgid "Su"
267
+ msgstr "Sö"
268
+
269
+ #: includes/texts.php:35
270
+ msgid "Mo"
271
+ msgstr "Må"
272
+
273
+ #: includes/texts.php:36
274
+ msgid "Tu"
275
+ msgstr "Ti"
276
+
277
+ #: includes/texts.php:37
278
+ msgid "We"
279
+ msgstr "On"
280
+
281
+ #: includes/texts.php:38
282
+ msgid "Th"
283
+ msgstr "To"
284
+
285
+ #: includes/texts.php:39
286
+ msgid "Fr"
287
+ msgstr "Fr"
288
+
289
+ #: includes/texts.php:40
290
+ msgid "Sa"
291
+ msgstr "Lö"
292
+
293
+ #: includes/texts.php:44
294
+ msgid "Show Filters"
295
+ msgstr "Visa Filter"
296
+
297
+ #: includes/texts.php:45
298
+ msgid "Collapse Filters"
299
+ msgstr "Stäng Filter"
300
+
301
+ #: includes/texts.php:46
302
+ msgid "Reset Filters"
303
+ msgstr "Återställ Filter"
304
+
305
+ #: includes/texts.php:48
306
+ msgid "Days"
307
+ msgstr "Dagar"
308
+
309
+ #: includes/texts.php:49
310
+ msgid "Categories"
311
+ msgstr "Kategorier"
312
+
313
+ #: includes/texts.php:50
314
+ msgid "Venues"
315
+ msgstr "Platser"
316
+
317
+ #: includes/texts.php:57
318
+ msgid "The event has just started"
319
+ msgstr "Händelsen har precis startat"
320
+
321
+ #: includes/texts.php:72
322
+ msgid "Sundays"
323
+ msgstr "Söndagar"
324
+
325
+ #: includes/texts.php:73
326
+ msgid "Mondays"
327
+ msgstr "Måndagar"
328
+
329
+ #: includes/texts.php:74
330
+ msgid "Tuesdays"
331
+ msgstr "Tisdagar"
332
+
333
+ #: includes/texts.php:75
334
+ msgid "Wednesdays"
335
+ msgstr "Onsdagar"
336
+
337
+ #: includes/texts.php:76
338
+ msgid "Thursdays"
339
+ msgstr "Torsdagar"
340
+
341
+ #: includes/texts.php:77
342
+ msgid "Fridays"
343
+ msgstr "Fredagar"
344
+
345
+ #: includes/texts.php:78
346
+ msgid "Saturdays"
347
+ msgstr "Lördagar"
348
+
349
+ #: views/ecwd-event-content.php:67 views/ecwd-event-content.php:153
350
+ #: views/single-event.php:142 views/single-event.php:242
351
+ msgid "Date"
352
+ msgstr "Datum"
353
+
354
+ #: views/ecwd-event-content.php:91 views/single-event.php:170
355
+ msgid "Url"
356
+ msgstr "URL"
357
+
358
+ #: views/ecwd-event-content.php:97 views/single-event.php:177
359
+ msgid "Organizers"
360
+ msgstr "Ansvarig"
361
+
362
+ #: views/ecwd-organizer-content.php:109
363
+ msgid "upcoming events"
364
+ msgstr "Kommande händelser"
365
+
366
+ # I have choosen to use ”händelse” as translation for all events. Since it’s more universal than ”Aktivitet” (activity). Also Event is used sometimes in Swedish, but that is imported from English…..
367
+ # I would say händelse is the most versatile use in a calendar.
368
+ # ALSO: A page is created called MY EVENTS. This would be translated as Mina händelser
369
+ #: views/ecwd-venue-content.php:141
370
+ msgid "events"
371
+ msgstr "händelse"
372
+
373
+ #: views/single-event.php:190
374
+ msgid "Venue"
375
+ msgstr "Plats"
376
+
377
+ # In Sweden we dont have two separate words for Venue and Location. Venue may be formulated as ”Takes place” but its not useful in a calendar.
378
+ #: views/single-event.php:200
379
+ msgid "Location"
380
+ msgstr "Plats"
381
+
382
+ #: views/single-event.php:449
383
+ msgid "Related events"
384
+ msgstr "Relaterade händelser"
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://web-dorado.com/products/wordpress-event-calendar-wd.html
4
  Tags: calendar, calendars, event, event calendar, event manager, events calendar, calendar widget, event registration, event management,events, agenda, holiday calendar , scheduling, free calendar, Calender, upcoming events , event widget , event list, calendar localization, Organizer, editorial calendar, Interactive Calendar, news calendar, meeting , appointment, event tracking, event organizer, upcoming events widget, event page, event bookings, recurring, recurring events, conference, date, dates, schedule, times, venue, AJAX, responsive, shortcode, seminar, summit, facebook integration, widget
5
  Requires at least: 3.9
6
  Tested up to: 4.4
7
- Stable tag: 1.0.48
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -102,8 +102,10 @@ Latvian (lv) by Intars G.
102
  Norwegian (Bokmål) (nb_NO) by Vegard Innerdal
103
  Norwegian (Nynorsk) (nn_NO) by Vegard Innerdal
104
  Romanian (ro_RO) by Oana Tarce
105
- Serbian (sr_RS)
 
106
  Spanish (es_ES)
 
107
  French (fr_FR)
108
  Italian (it_IT)
109
  Russian (ru_RU)
@@ -149,6 +151,11 @@ After downloading the ZIP file of the Event Calendar WD plugin,
149
 
150
  == Changelog ==
151
 
 
 
 
 
 
152
  = 1.0.48 =
153
  * Added: Wizard
154
  * Added: Tour
4
  Tags: calendar, calendars, event, event calendar, event manager, events calendar, calendar widget, event registration, event management,events, agenda, holiday calendar , scheduling, free calendar, Calender, upcoming events , event widget , event list, calendar localization, Organizer, editorial calendar, Interactive Calendar, news calendar, meeting , appointment, event tracking, event organizer, upcoming events widget, event page, event bookings, recurring, recurring events, conference, date, dates, schedule, times, venue, AJAX, responsive, shortcode, seminar, summit, facebook integration, widget
5
  Requires at least: 3.9
6
  Tested up to: 4.4
7
+ Stable tag: 1.0.49
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
102
  Norwegian (Bokmål) (nb_NO) by Vegard Innerdal
103
  Norwegian (Nynorsk) (nn_NO) by Vegard Innerdal
104
  Romanian (ro_RO) by Oana Tarce
105
+ Serbian (sr_RS)
106
+ Slovak (sk_SK) by Marcel Króča
107
  Spanish (es_ES)
108
+ Swedish (sv_SE) by Magnus Juven
109
  French (fr_FR)
110
  Italian (it_IT)
111
  Russian (ru_RU)
151
 
152
  == Changelog ==
153
 
154
+ = 1.0.49 =
155
+ Added: Swedish translation by Marcel Króča and Slovak translation by Magnus Juven
156
+ Fixed: Issue with featured image
157
+ Fixed: Pointer bug
158
+
159
  = 1.0.48 =
160
  * Added: Wizard
161
  * Added: Tour
uninstall.php CHANGED
@@ -6,9 +6,3 @@ if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
6
  exit;
7
  }
8
 
9
- $general = get_option( ECWD_PLUGIN_PREFIX.'_settings_general' );
10
-
11
- // If this is empty then it means it is unchecked and we should delete everything
12
- if ( empty( $general['save_settings'] ) && false ) {
13
-
14
- }
6
  exit;
7
  }
8