Event Calendar WD – Responsive Event Calendar plugin - Version 1.0.28

Version Description

Added: ECWD Views add-on Added: Norwegian (Bokml) and Norwegian (Nynorsk) languages support(by Vegard Innerdal)

Download this release

Release Info

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

Code changes from version 1.0.27 to 1.0.28

assets/ecwd_views.png ADDED
Binary file
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.27
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.28
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
@@ -5,485 +5,477 @@
5
  */
6
  class ECWD_Admin {
7
 
8
- protected static $instance = null;
9
- protected $version = '1.0.27';
10
- protected $ecwd_page = null;
11
- protected $notices = null;
12
-
13
- private function __construct() {
14
- $plugin = ECWD::get_instance();
15
- $this->prefix = $plugin->get_prefix();
16
- $this->version = $plugin->get_version();
17
- $this->notices = new ECWD_Notices();
18
- add_filter( 'plugin_action_links_' . plugin_basename( plugin_dir_path( __FILE__ ) . $this->prefix . '.php' ), array(
19
- $this,
20
- 'add_action_links'
21
- ) );
22
-
23
- // Setup admin stants
24
- add_action( 'init', array( $this, 'define_admin_constants' ) );
25
- add_action( 'init', array( $this, ECWD_PLUGIN_PREFIX . '_shortcode_button' ) );
26
-
27
- // Add admin styles and scripts
28
- add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_admin_styles' ) );
29
- add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_admin_scripts' ) );
30
-
31
- // Add the options page and menu item.
32
- add_action( 'admin_menu', array( $this, 'add_plugin_admin_menu' ), 2 );
33
- foreach ( array( 'post.php', 'post-new.php' ) as $hook ) {
34
- add_action( "admin_head-$hook", array( $this, 'admin_head' ) );
35
- }
36
- //add_filter( 'auto_update_plugin', array($this, 'ecwd_update'), 10, 2 );
37
-
38
- //Web Dorado Logo
39
- add_action( 'admin_notices', array( $this, 'create_logo_to_head' ) );
40
- // Runs the admin notice ignore function incase a dismiss button has been clicked
41
- add_action( 'admin_init', array( $this, 'admin_notice_ignore' ) );
42
- add_action( 'admin_notices', array( $this, 'ecwd_admin_notices' ) );
43
-
44
- }
45
-
46
-
47
- /**
48
- * Check user is on plugin page
49
- * @return bool
50
- */
51
- private function ecwd_page() {
52
- if ( ! isset( $this->ecwd_page ) ) {
53
- return false;
54
- }
55
- $screen = get_current_screen();
56
- if ( $screen->id == 'edit-ecwd_event' || $screen->id == ECWD_PLUGIN_PREFIX . '_event' || in_array( $screen->id, $this->ecwd_page ) || $screen->post_type == ECWD_PLUGIN_PREFIX . '_event' || $screen->post_type == ECWD_PLUGIN_PREFIX . '_theme' || $screen->post_type == ECWD_PLUGIN_PREFIX . '_venue' || $screen->id == 'edit-ecwd_calendar' || $screen->id == ECWD_PLUGIN_PREFIX . '_calendar' || $screen->id == ECWD_PLUGIN_PREFIX . '_countdown_theme' || $screen->post_type == ECWD_PLUGIN_PREFIX . '_organizer' ) {
57
- return true;
58
- } else {
59
- return false;
60
- }
61
- }
62
-
63
-
64
- public static function activate() {
65
- if ( ! defined( 'ECWD_PLUGIN_PREFIX' ) ) {
66
- define( 'ECWD_PLUGIN_PREFIX', 'ecwd' );
67
- }
68
- $has_option = get_option( 'ecwd_old_events' );
69
- if ( $has_option === false ) {
70
- $old_event = get_posts( array(
71
- 'posts_per_page' => 1,
72
- 'orderby' => 'date',
73
- 'order' => 'DESC',
74
- 'post_type' => 'ecwd_event',
75
- 'post_status' => 'any'
76
- ) );
77
- if ( $old_event && isset( $old_event[0]->post_date ) ) {
78
- add_option( 'ecwd_old_events', 1 );
79
- } else {
80
- add_option( 'ecwd_old_events', 0 );
81
- }
82
- }
83
-
84
- }
85
-
86
- public static function uninstall() {
87
-
88
- }
89
-
90
-
91
- public function add_plugin_admin_menu() {
92
- $this->ecwd_page[] = add_submenu_page(
93
- 'edit.php?post_type=ecwd_calendar', __( 'Settings', 'ecwd' ), __( 'Settings', 'ecwd' ), 'manage_options', $this->prefix . '_general_settings', array(
94
- $this,
95
- 'display_admin_page'
96
- )
97
- );
98
-
99
-
100
- $this->ecwd_page[] = add_submenu_page(
101
- 'edit.php?post_type=ecwd_calendar', __( 'Licensing', 'ecwd' ), __( 'Licensing', 'ecwd' ), 'manage_options', $this->prefix . '_licensing', array(
102
- $this,
103
- 'display_license_page'
104
- )
105
- );
106
- $this->ecwd_page[] = add_submenu_page(
107
- 'edit.php?post_type=ecwd_calendar', __( 'Featured plugins', 'ecwd' ), __( 'Featured plugins', 'ecwd' ), 'manage_options', $this->prefix . '_featured_plugins', array(
108
- $this,
109
- 'display_featured_plugins'
110
- )
111
- );
112
- $this->ecwd_page[] = add_submenu_page(
113
- 'edit.php?post_type=ecwd_calendar', __( 'Featured themes', 'ecwd' ), __( 'Featured themes', 'ecwd' ), 'manage_options', $this->prefix . '_featured_themes', array(
114
- $this,
115
- 'display_featured_themes'
116
- )
117
- );
118
- $this->ecwd_page[] = add_menu_page(
119
- __( 'Calendar Add-ons', 'ecwd' ), __( 'Calendar Add-ons', 'ecwd' ), 'manage_options', $this->prefix . '_addons', array(
120
- $this,
121
- 'display_addons_page'
122
- ), plugins_url( '/assets/add-ons-icon.png', ECWD_MAIN_FILE ), '26,12'
123
- );
124
- $this->ecwd_page[] = add_menu_page(
125
- __( 'Calendar Themes', 'ecwd' ), __( 'Calendar Themes', 'ecwd' ), 'manage_options', $this->prefix . '_themes', array(
126
- $this,
127
- 'display_themes_page'
128
- ), plugins_url( '/assets/themes-icon.png', ECWD_MAIN_FILE ), '26,18'
129
- );
130
-
131
- }
132
-
133
- public function display_addons_page() {
134
-
135
- $addons = array(
136
- 'Management' => array(
137
- 'add_event' => array(
138
- 'name' => 'ECWD Frontend Event Management',
139
- 'url' => 'https://web-dorado.com/products/wordpress-event-calendar-wd/add-ons/frontend-event-management.html',
140
- 'description' => 'This add-on is designed for allowing the users/guests to add events to the calendar from the front end. In addition, the users can also have permissions to edit/delete their events.',
141
- 'icon' => '',
142
- 'image' => plugins_url( 'assets/add_addevent.jpg', __FILE__ ),
143
- ),
144
- 'import_export' => array(
145
- 'name' => 'ECWD Import/Export',
146
- 'url' => 'https://web-dorado.com/products/wordpress-event-calendar-wd/add-ons/import-export.html',
147
- 'description' => 'The following data of the Event Calendar WD can be exported and imported: Events, Categories, Venues,Organizers and Tags. The exported/imported data will be in CSV format, which can be further edited, modified and imported',
148
- 'icon' => '',
149
- 'image' => plugins_url( 'assets/import_export.png', __FILE__ )
150
- ),
151
- 'custom_fields' => array(
152
- 'name' => 'ECWD Custom Fields',
153
- 'url' => 'https://web-dorado.com/products/wordpress-event-calendar-wd/add-ons/custom-fields.html',
154
- 'description' => 'Custom Fields Add-On will enable you to have more fields for more detailed and structured content: you can use this add-on and create additional fields for each event, venue and organizer.',
155
- 'icon' => '',
156
- 'image' => plugins_url( 'assets/custom_fields.png', __FILE__ )
157
- ),
158
- ),
159
- 'Events Grouping' => array(
160
- 'event_filters' => array(
161
- 'name' => 'ECWD Filter Bar',
162
- 'url' => 'https://web-dorado.com/products/wordpress-event-calendar-wd/add-ons/filter.html',
163
- 'description' => 'This add-on is designed for advanced event filter and browsing. It will display multiple filters, which will make it easier for the user to find the relevant event from the calendar.',
164
- 'icon' => '',
165
- 'image' => plugins_url( 'assets/add_filters.png', __FILE__ ),
166
- ),
167
- 'event_countdown' => array(
168
- 'name' => 'ECWD Event Countdown',
169
- 'url' => 'https://web-dorado.com/products/wordpress-event-calendar-wd/add-ons/countdown.html',
170
- 'description' => 'With this add-on you can add an elegant countdown to your site. It supports calendar events or a custom one. The styles and colors of the countdown can be modified. It can be used as both as widget and shortcode.',
171
- 'icon' => '',
172
- 'image' => plugins_url( 'assets/add_cdown.jpg', __FILE__ ),
173
- ),
174
- 'upcoming_events' => array(
175
- 'name' => 'ECWD Upcoming events widget',
176
- 'url' => 'https://web-dorado.com/products/wordpress-event-calendar-wd/add-ons/upcoming-events.html',
177
- 'description' => 'The Upcoming events widget is designed for displaying upcoming events lists. The number of events, the event date ranges, as well as the appearance of the widget is fully customizable and easy to manage.',
178
- 'icon' => '',
179
- 'image' => plugins_url( 'assets/upcoming_events.png', __FILE__ ),
180
- ),
181
-
182
- ),
183
- 'Integrations' => array(
184
- 'fb' => array(
185
- 'name' => 'ECWD Facebook Integration',
186
- 'url' => 'https://web-dorado.com/products/wordpress-event-calendar-wd/add-ons/facebook-integration.html',
187
- 'description' => 'This addon integrates ECWD with your Facebook page and gives functionality to import events or just display events without importing.',
188
- 'icon' => '',
189
- 'image' => plugins_url( 'assets/add_fb.jpg', __FILE__ ),
190
- ),
191
- 'gcal' => array(
192
- 'name' => 'ECWD Google Calendar Integration',
193
- 'url' => 'https://web-dorado.com/products/wordpress-event-calendar-wd/add-ons/google-calendar-integration.html',
194
- 'description' => 'This addon integrates ECWD with your Google Calendar and gives functionality to import events or just display events without importing.',
195
- 'icon' => '',
196
- 'image' => plugins_url( 'assets/add_gcal.jpg', __FILE__ ),
197
- ),
198
- 'ical' => array(
199
- 'name' => 'ECWD iCAL Integration',
200
- 'url' => 'https://web-dorado.com/products/wordpress-event-calendar-wd/add-ons/ical-integration.html',
201
- 'description' => 'This addon integrates ECWD with your iCAL Calendar and gives functionality to import events or just display events without importing.',
202
- 'icon' => '',
203
- 'image' => plugins_url( 'assets/add_ical.jpg', __FILE__ )
204
- ),
205
-
206
- )
207
-
208
-
209
- );
210
- include_once( 'views/admin/addons.php' );
211
- }
212
-
213
- public function display_featured_themes() {
214
- include_once( ECWD_DIR . '/views/admin/ecwd-featured-themes.php' );
215
- }
216
-
217
- public function display_featured_plugins() {
218
- include_once( ECWD_DIR . '/views/admin/ecwd-featured-plugins.php' );
219
- }
220
-
221
- public function display_themes_page() {
222
- include_once( ECWD_DIR . '/views/admin/ecwd-theme-meta.php' );
223
- }
224
-
225
- public function display_license_page() {
226
- include_once( ECWD_DIR . '/views/admin/licensing.php' );
227
- }
228
-
229
- public function display_admin_page() {
230
- include_once( 'views/admin/admin.php' );
231
- }
232
-
233
- /**
234
- * Enqueue styles for the admin area
235
- */
236
- public function enqueue_admin_styles() {
237
- wp_enqueue_style( $this->prefix . '-calendar-buttons-style', plugins_url( 'css/admin/mse-buttons.css', __FILE__ ), '', $this->version, 'all' );
238
- if ( $this->ecwd_page() ) {
239
- wp_enqueue_style( $this->prefix . '-main', plugins_url( 'css/calendar.css', __FILE__ ), '', $this->version );
240
- wp_enqueue_style( 'ecwd-admin-css', plugins_url( 'css/admin/admin.css', __FILE__ ), array(), $this->version, 'all' );
241
- wp_enqueue_style( 'ecwd-admin-datetimepicker-css', plugins_url( 'css/admin/jquery.datetimepicker.css', __FILE__ ), array(), $this->version, 'all' );
242
- wp_enqueue_style( 'ecwd-admin-colorpicker-css', plugins_url( 'css/admin/evol.colorpicker.css', __FILE__ ), array(), $this->version, 'all' );
243
- wp_enqueue_style( $this->prefix . '-calendar-style', plugins_url( 'css/style.css', __FILE__ ), '', $this->version, 'all' );
244
- wp_enqueue_style( $this->prefix . '_font-awesome', plugins_url( '/css/font-awesome/font-awesome.css', __FILE__ ), '', $this->version, 'all' );
245
- wp_enqueue_style( $this->prefix . '-featured_plugins', plugins_url( '/css/admin/featured_plugins.css', __FILE__ ), '', $this->version, 'all' );
246
- wp_enqueue_style( $this->prefix . '-featured_themes', plugins_url( '/css/admin/featured_themes.css', __FILE__ ), '', $this->version, 'all' );
247
- wp_enqueue_style( $this->prefix . '-licensing', plugins_url( '/css/admin/licensing.css', __FILE__ ), '', $this->version, 'all' );
248
- wp_enqueue_style( $this->prefix . '-popup-styles', plugins_url('/css/ecwd_popup.css', __FILE__), '', $this->version, 'all');
249
- }
250
- }
251
-
252
- /**
253
- * Register scripts for the admin area
254
- */
255
- public function enqueue_admin_scripts() {
256
- if ( $this->ecwd_page() ) {
257
- wp_enqueue_script($this->prefix . '-gmap-public-admin', plugins_url('js/gmap/gmap3.js', __FILE__), array('jquery'), $this->version, true);
258
- wp_enqueue_script( $this->prefix . '-admin-datetimepicker', plugins_url( 'js/admin/jquery.datetimepicker.js', __FILE__ ), array(
259
- 'jquery',
260
- 'jquery-ui-widget'
261
- ), $this->version, true );
262
- wp_enqueue_script( $this->prefix . '-admin-colorpicker', plugins_url( 'js/admin/evol.colorpicker.js', __FILE__ ), array( 'jquery' ), $this->version, true );
263
- wp_enqueue_script($this->prefix . '-admin-ecwd-popup', plugins_url('js/ecwd_popup.js', __FILE__), array('jquery'), $this->version, true);
264
- wp_enqueue_script( $this->prefix . '-public', plugins_url( 'js/scripts.js', __FILE__ ), array(
265
- 'jquery',
266
- 'masonry',
267
- $this->prefix . '-admin-ecwd-popup'
268
- ), $this->version, true );
269
- wp_register_script( $this->prefix . '-admin-scripts', plugins_url( 'js/admin/admin.js', __FILE__ ), array(
270
- 'jquery',
271
- 'jquery-ui-datepicker',
272
- 'jquery-ui-tabs',
273
- 'jquery-ui-selectable',
274
- $this->prefix . '-public',
275
- $this->prefix . '-admin-ecwd-popup'
276
- ), $this->version, true );
277
- wp_enqueue_script( $this->prefix . '-admin-datetimepicker-scripts', plugins_url( 'js/admin/datepicker.js', __FILE__ ), array( 'jquery' ), $this->version, true );
278
-
279
- $params['ajaxurl'] = admin_url( 'admin-ajax.php' );
280
- $params['version'] = get_bloginfo( 'version' );
281
- if ( $params['version'] >= 3.5 ) {
282
- wp_enqueue_media();
283
- } else {
284
- wp_enqueue_style( 'thickbox' );
285
- wp_enqueue_script( 'thickbox' );
286
- }
287
-
288
- wp_localize_script( $this->prefix . '-admin-scripts', 'params', $params );
289
- wp_localize_script( ECWD_PLUGIN_PREFIX . '-public', 'ecwd', array(
290
- 'ajaxurl' => admin_url( 'admin-ajax.php' ),
291
- 'ajaxnonce' => wp_create_nonce( ECWD_PLUGIN_PREFIX . '_ajax_nonce' ),
292
- 'loadingText' => __( 'Loading...', 'ecwd' ),
293
- 'plugin_url' => ECWD_URL
294
- ) );
295
- wp_enqueue_script( $this->prefix . '-admin-scripts' );
296
-
297
- }
298
- }
299
-
300
-
301
- /**
302
- * Localize Script
303
- */
304
- public function admin_head() {
305
-
306
- $args = array(
307
- 'post_type' => ECWD_PLUGIN_PREFIX . '_calendar',
308
- 'post_status' => 'publish',
309
- 'posts_per_page' => - 1,
310
- 'ignore_sticky_posts' => 1
311
- );
312
- $calendar_posts = get_posts( $args );
313
- $args = array(
314
- 'post_type' => $this->prefix . '_event',
315
- 'post_status' => 'publish',
316
- 'posts_per_page' => - 1,
317
- 'ignore_sticky_posts' => 1
318
- );
319
- $event_posts = get_posts( $args );
320
- $plugin_url = plugins_url( '/', __FILE__ );
321
- ?>
322
- <!-- TinyMCE Shortcode Plugin -->
323
- <script type='text/javascript'>
324
- var ecwd_plugin = {
325
- 'url': '<?php echo $plugin_url; ?>',
326
- 'ecwd_calendars': [
327
- <?php foreach($calendar_posts as $calendar){?>
328
- {
329
- text: '<?php echo str_replace("'", "\'", $calendar->post_title);?>',
330
- value: '<?php echo $calendar->ID;?>'
331
- },
332
- <?php }?>
333
- ],
334
- 'ecwd_events': [
335
- {text: 'None', value: 'none'},
336
- <?php foreach($event_posts as $event){?>
337
- {
338
- text: '<?php echo str_replace("'", "\'", $event->post_title);?>',
339
- value: '<?php echo $event->ID;?>'
340
- },
341
- <?php }?>
342
- ],
343
-
344
- 'ecwd_views': [
345
- {text: 'None', value: 'none'},
346
- {text: 'Month', value: 'full'},
347
- {text: 'List', value: 'list'},
348
- {text: 'Week', value: 'week'},
349
- {text: 'Day', value: 'day'}
350
- ]
351
- };
352
- </script>
353
- <!-- TinyMCE Shortcode Plugin -->
354
- <?php
355
- }
356
-
357
-
358
- public function ecwd_shortcode_button() {
359
- // Don't bother doing this stuff if the current user lacks permissions
360
- if ( ! current_user_can( 'edit_posts' ) && ! current_user_can( 'edit_pages' ) ) {
361
- return;
362
- }
363
-
364
- // Add only in Rich Editor mode
365
- if ( get_user_option( 'rich_editing' ) == 'true' ) {
366
- // filter the tinyMCE buttons and add our own
367
- add_filter( "mce_external_plugins", array( $this, 'add_tinymce_plugin' ) );
368
- add_filter( 'mce_buttons', array( $this, 'register_buttons' ) );
369
- }
370
- }
371
 
372
  // registers the buttons for use
373
- function register_buttons( $buttons ) {
374
- // inserts a separator between existing buttons and our new one
375
- // "friendly_button" is the ID of our button
376
- if ( ! $this->ecwd_page() ) {
377
- array_push( $buttons, "|", ECWD_PLUGIN_PREFIX );
378
- }
379
 
380
- return $buttons;
381
- }
382
 
383
  // add the button to the tinyMCE bar
384
- function add_tinymce_plugin( $plugin_array ) {
385
- if ( ! $this->ecwd_page() ) {
386
- $plugin_array[ ECWD_PLUGIN_PREFIX ] = plugins_url( 'js/admin/editor-buttons.js', __FILE__ );
387
- }
388
-
389
- return $plugin_array;
390
- }
391
-
392
- //auto update plugin
393
- function ecwd_update( $update, $item ) {
394
- global $ecwd_options;
395
- if ( ! isset( $ecwd_options['auto_update'] ) || $ecwd_options['auto_update'] == 1 ) {
396
- $plugins = array( // Plugins to auto-update
397
- 'event-calendar-wd'
398
- );
399
- if ( in_array( $item->slug, $plugins ) ) {
400
- return true;
401
- } // Auto-update specified plugins
402
- else {
403
- return false;
404
- } // Don't auto-update all other plugins
405
- }
406
- }
407
-
408
-
409
- public function define_admin_constants() {
410
- if ( ! defined( 'ECWD_DIR' ) ) {
411
- define( 'ECWD_DIR', dirname( __FILE__ ) );
412
- }
413
- }
414
-
415
- /********ECWD notices************/
416
- function ecwd_admin_notices() {
417
- // Notices filter and run the notices function.
418
-
419
- $admin_notices = apply_filters( 'ecwd_admin_notices', array() );
420
- $this->notices->admin_notice( $admin_notices );
421
-
422
- }
423
-
424
-
425
- // Ignore function that gets ran at admin init to ensure any messages that were dismissed get marked
426
- public function admin_notice_ignore() {
427
- $slug = ( isset( $_GET['ecwd_admin_notice_ignore'] ) ) ? $_GET['ecwd_admin_notice_ignore'] : '';
428
- if ( isset( $_GET['ecwd_admin_notice_ignore'] ) && current_user_can( 'manage_options' ) ) {
429
- $admin_notices_option = get_option( 'ecwd_admin_notice', array() );
430
- $admin_notices_option[ $_GET['ecwd_admin_notice_ignore'] ]['dismissed'] = 1;
431
- update_option( 'ecwd_admin_notice', $admin_notices_option );
432
- $query_str = remove_query_arg( 'ecwd_admin_notice_ignore' );
433
- wp_redirect( $query_str );
434
- exit;
435
- }
436
- }
437
-
438
- /**
439
- * Set Web Dorado Logo in admin pages
440
- */
441
- public function create_logo_to_head() {
442
- global $pagenow, $post;
443
-
444
- if ( $this->ecwd_page() ) { ?>
445
- <div style="width: 100%; text-align: right;clear:both;">
446
- <a href="https://web-dorado.com/files/fromEventCalendarWD.php" target="_blank"
447
- style="text-decoration:none;box-shadow: none;">
448
- <img src="<?php echo plugins_url( '/assets/pro.png', __FILE__ ); ?>" border="0"
449
- alt="https://web-dorado.com/files/fromEventCalendarWD.php" width="215">
450
- </a>
451
- </div>
452
- <?php }
453
- }
454
-
455
- /**
456
- * Return an instance of this class.
457
- */
458
- public static function get_instance() {
459
- if ( null == self::$instance ) {
460
- self::$instance = new self;
461
- }
462
-
463
- return self::$instance;
464
- }
465
-
466
- /**
467
- * Return the page
468
- */
469
- public function get_page() {
470
- return $this->ecwd_page();
471
- }
472
-
473
- /**
474
- * Return plugin name
475
- */
476
- public function get_plugin_title() {
477
- return __( 'Event Calendar WD', 'ecwd' );
478
- }
479
-
480
- public function add_action_links( $links ) {
481
- return array_merge(
482
- array(
483
- 'settings' => '<a href="' . admin_url( 'edit.php?post_type=ecwd_calendar&page=ecwd_general_settings' ) . '">' . __( 'Settings', 'ecwd' ) . '</a>',
484
- 'events' => '<a href="' . admin_url( 'edit.php?post_type=ecwd_event' ) . '">' . __( 'Events', 'ecwd' ) . '</a>'
485
- ), $links
486
- );
487
- }
488
 
489
  }
5
  */
6
  class ECWD_Admin {
7
 
8
+ protected static $instance = null;
9
+ protected $version = '1.0.28';
10
+ protected $ecwd_page = null;
11
+ protected $notices = null;
12
+
13
+ private function __construct() {
14
+ $plugin = ECWD::get_instance();
15
+ $this->prefix = $plugin->get_prefix();
16
+ $this->version = $plugin->get_version();
17
+ $this->notices = new ECWD_Notices();
18
+ add_filter('plugin_action_links_' . plugin_basename(plugin_dir_path(__FILE__) . $this->prefix . '.php'), array(
19
+ $this,
20
+ 'add_action_links'
21
+ ));
22
+
23
+ // Setup admin stants
24
+ add_action('init', array($this, 'define_admin_constants'));
25
+ add_action('init', array($this, ECWD_PLUGIN_PREFIX . '_shortcode_button'));
26
+
27
+ // Add admin styles and scripts
28
+ add_action('admin_enqueue_scripts', array($this, 'enqueue_admin_styles'));
29
+ add_action('admin_enqueue_scripts', array($this, 'enqueue_admin_scripts'));
30
+
31
+ // Add the options page and menu item.
32
+ add_action('admin_menu', array($this, 'add_plugin_admin_menu'), 2);
33
+ foreach (array('post.php', 'post-new.php') as $hook) {
34
+ add_action("admin_head-$hook", array($this, 'admin_head'));
35
+ }
36
+ //add_filter( 'auto_update_plugin', array($this, 'ecwd_update'), 10, 2 );
37
+ //Web Dorado Logo
38
+ add_action('admin_notices', array($this, 'create_logo_to_head'));
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
+ }
43
+
44
+ /**
45
+ * Check user is on plugin page
46
+ * @return bool
47
+ */
48
+ private function ecwd_page() {
49
+ if (!isset($this->ecwd_page)) {
50
+ return false;
51
+ }
52
+ $screen = get_current_screen();
53
+ if ($screen->id == 'edit-ecwd_event' || $screen->id == ECWD_PLUGIN_PREFIX . '_event' || in_array($screen->id, $this->ecwd_page) || $screen->post_type == ECWD_PLUGIN_PREFIX . '_event' || $screen->post_type == ECWD_PLUGIN_PREFIX . '_theme' || $screen->post_type == ECWD_PLUGIN_PREFIX . '_venue' || $screen->id == 'edit-ecwd_calendar' || $screen->id == ECWD_PLUGIN_PREFIX . '_calendar' || $screen->id == ECWD_PLUGIN_PREFIX . '_countdown_theme' || $screen->post_type == ECWD_PLUGIN_PREFIX . '_organizer') {
54
+ return true;
55
+ } else {
56
+ return false;
57
+ }
58
+ }
59
+
60
+ public static function activate() {
61
+ if (!defined('ECWD_PLUGIN_PREFIX')) {
62
+ define('ECWD_PLUGIN_PREFIX', 'ecwd');
63
+ }
64
+ $has_option = get_option('ecwd_old_events');
65
+ if ($has_option === false) {
66
+ $old_event = get_posts(array(
67
+ 'posts_per_page' => 1,
68
+ 'orderby' => 'date',
69
+ 'order' => 'DESC',
70
+ 'post_type' => 'ecwd_event',
71
+ 'post_status' => 'any'
72
+ ));
73
+ if ($old_event && isset($old_event[0]->post_date)) {
74
+ add_option('ecwd_old_events', 1);
75
+ } else {
76
+ add_option('ecwd_old_events', 0);
77
+ }
78
+ }
79
+ }
80
+
81
+ public static function uninstall() {
82
+
83
+ }
84
+
85
+ public function add_plugin_admin_menu() {
86
+ $this->ecwd_page[] = add_submenu_page(
87
+ 'edit.php?post_type=ecwd_calendar', __('Settings', 'ecwd'), __('Settings', 'ecwd'), 'manage_options', $this->prefix . '_general_settings', array(
88
+ $this,
89
+ 'display_admin_page'
90
+ )
91
+ );
92
+
93
+
94
+ $this->ecwd_page[] = add_submenu_page(
95
+ 'edit.php?post_type=ecwd_calendar', __('Licensing', 'ecwd'), __('Licensing', 'ecwd'), 'manage_options', $this->prefix . '_licensing', array(
96
+ $this,
97
+ 'display_license_page'
98
+ )
99
+ );
100
+ $this->ecwd_page[] = add_submenu_page(
101
+ 'edit.php?post_type=ecwd_calendar', __('Featured plugins', 'ecwd'), __('Featured plugins', 'ecwd'), 'manage_options', $this->prefix . '_featured_plugins', array(
102
+ $this,
103
+ 'display_featured_plugins'
104
+ )
105
+ );
106
+ $this->ecwd_page[] = add_submenu_page(
107
+ 'edit.php?post_type=ecwd_calendar', __('Featured themes', 'ecwd'), __('Featured themes', 'ecwd'), 'manage_options', $this->prefix . '_featured_themes', array(
108
+ $this,
109
+ 'display_featured_themes'
110
+ )
111
+ );
112
+ $this->ecwd_page[] = add_menu_page(
113
+ __('Calendar Add-ons', 'ecwd'), __('Calendar Add-ons', 'ecwd'), 'manage_options', $this->prefix . '_addons', array(
114
+ $this,
115
+ 'display_addons_page'
116
+ ), plugins_url('/assets/add-ons-icon.png', ECWD_MAIN_FILE), '26,12'
117
+ );
118
+ $this->ecwd_page[] = add_menu_page(
119
+ __('Calendar Themes', 'ecwd'), __('Calendar Themes', 'ecwd'), 'manage_options', $this->prefix . '_themes', array(
120
+ $this,
121
+ 'display_themes_page'
122
+ ), plugins_url('/assets/themes-icon.png', ECWD_MAIN_FILE), '26,18'
123
+ );
124
+ }
125
+
126
+ public function display_addons_page() {
127
+
128
+ $addons = array(
129
+ 'Management' => array(
130
+ 'add_event' => array(
131
+ 'name' => 'ECWD Frontend Event Management',
132
+ 'url' => 'https://web-dorado.com/products/wordpress-event-calendar-wd/add-ons/frontend-event-management.html',
133
+ 'description' => 'This add-on is designed for allowing the users/guests to add events to the calendar from the front end. In addition, the users can also have permissions to edit/delete their events.',
134
+ 'icon' => '',
135
+ 'image' => plugins_url('assets/add_addevent.jpg', __FILE__),
136
+ ),
137
+ 'import_export' => array(
138
+ 'name' => 'ECWD Import/Export',
139
+ 'url' => 'https://web-dorado.com/products/wordpress-event-calendar-wd/add-ons/import-export.html',
140
+ 'description' => 'The following data of the Event Calendar WD can be exported and imported: Events, Categories, Venues,Organizers and Tags. The exported/imported data will be in CSV format, which can be further edited, modified and imported',
141
+ 'icon' => '',
142
+ 'image' => plugins_url('assets/import_export.png', __FILE__)
143
+ ),
144
+ 'custom_fields' => array(
145
+ 'name' => 'ECWD Custom Fields',
146
+ 'url' => 'https://web-dorado.com/products/wordpress-event-calendar-wd/add-ons/custom-fields.html',
147
+ 'description' => 'Custom Fields Add-On will enable you to have more fields for more detailed and structured content: you can use this add-on and create additional fields for each event, venue and organizer.',
148
+ 'icon' => '',
149
+ 'image' => plugins_url('assets/custom_fields.png', __FILE__)
150
+ ),
151
+ ),
152
+ 'Events Grouping' => array(
153
+ 'event_filters' => array(
154
+ 'name' => 'ECWD Filter Bar',
155
+ 'url' => 'https://web-dorado.com/products/wordpress-event-calendar-wd/add-ons/filter.html',
156
+ 'description' => 'This add-on is designed for advanced event filter and browsing. It will display multiple filters, which will make it easier for the user to find the relevant event from the calendar.',
157
+ 'icon' => '',
158
+ 'image' => plugins_url('assets/add_filters.png', __FILE__),
159
+ ),
160
+ 'event_countdown' => array(
161
+ 'name' => 'ECWD Event Countdown',
162
+ 'url' => 'https://web-dorado.com/products/wordpress-event-calendar-wd/add-ons/countdown.html',
163
+ 'description' => 'With this add-on you can add an elegant countdown to your site. It supports calendar events or a custom one. The styles and colors of the countdown can be modified. It can be used as both as widget and shortcode.',
164
+ 'icon' => '',
165
+ 'image' => plugins_url('assets/add_cdown.jpg', __FILE__),
166
+ ),
167
+ 'upcoming_events' => array(
168
+ 'name' => 'ECWD Upcoming events widget',
169
+ 'url' => 'https://web-dorado.com/products/wordpress-event-calendar-wd/add-ons/upcoming-events.html',
170
+ 'description' => 'The Upcoming events widget is designed for displaying upcoming events lists. The number of events, the event date ranges, as well as the appearance of the widget is fully customizable and easy to manage.',
171
+ 'icon' => '',
172
+ 'image' => plugins_url('assets/upcoming_events.png', __FILE__),
173
+ ),
174
+ 'ecwd_views' => array(
175
+ 'name' => 'ECWD views',
176
+ 'url' => 'https://web-dorado.com/products/wordpress-event-calendar-wd/add-ons/views.html',
177
+ 'description' => 'ECWD Views is a convenient add-on for displaying one of the additional Pro views within the pages and posts. The add-on allows choosing the time range of the events, which will be displayed with a particular view.',
178
+ 'icon' => '',
179
+ 'image' => plugins_url('assets/ecwd_views.png', __FILE__),
180
+ ),
181
+ ),
182
+ 'Integrations' => array(
183
+ 'fb' => array(
184
+ 'name' => 'ECWD Facebook Integration',
185
+ 'url' => 'https://web-dorado.com/products/wordpress-event-calendar-wd/add-ons/facebook-integration.html',
186
+ 'description' => 'This addon integrates ECWD with your Facebook page and gives functionality to import events or just display events without importing.',
187
+ 'icon' => '',
188
+ 'image' => plugins_url('assets/add_fb.jpg', __FILE__),
189
+ ),
190
+ 'gcal' => array(
191
+ 'name' => 'ECWD Google Calendar Integration',
192
+ 'url' => 'https://web-dorado.com/products/wordpress-event-calendar-wd/add-ons/google-calendar-integration.html',
193
+ 'description' => 'This addon integrates ECWD with your Google Calendar and gives functionality to import events or just display events without importing.',
194
+ 'icon' => '',
195
+ 'image' => plugins_url('assets/add_gcal.jpg', __FILE__),
196
+ ),
197
+ 'ical' => array(
198
+ 'name' => 'ECWD iCAL Integration',
199
+ 'url' => 'https://web-dorado.com/products/wordpress-event-calendar-wd/add-ons/ical-integration.html',
200
+ 'description' => 'This addon integrates ECWD with your iCAL Calendar and gives functionality to import events or just display events without importing.',
201
+ 'icon' => '',
202
+ 'image' => plugins_url('assets/add_ical.jpg', __FILE__)
203
+ ),
204
+ )
205
+ );
206
+ include_once( 'views/admin/addons.php' );
207
+ }
208
+
209
+ public function display_featured_themes() {
210
+ include_once( ECWD_DIR . '/views/admin/ecwd-featured-themes.php' );
211
+ }
212
+
213
+ public function display_featured_plugins() {
214
+ include_once( ECWD_DIR . '/views/admin/ecwd-featured-plugins.php' );
215
+ }
216
+
217
+ public function display_themes_page() {
218
+ include_once( ECWD_DIR . '/views/admin/ecwd-theme-meta.php' );
219
+ }
220
+
221
+ public function display_license_page() {
222
+ include_once( ECWD_DIR . '/views/admin/licensing.php' );
223
+ }
224
+
225
+ public function display_admin_page() {
226
+ include_once( 'views/admin/admin.php' );
227
+ }
228
+
229
+ /**
230
+ * Enqueue styles for the admin area
231
+ */
232
+ public function enqueue_admin_styles() {
233
+ wp_enqueue_style($this->prefix . '-calendar-buttons-style', plugins_url('css/admin/mse-buttons.css', __FILE__), '', $this->version, 'all');
234
+ if ($this->ecwd_page()) {
235
+ wp_enqueue_style($this->prefix . '-main', plugins_url('css/calendar.css', __FILE__), '', $this->version);
236
+ wp_enqueue_style('ecwd-admin-css', plugins_url('css/admin/admin.css', __FILE__), array(), $this->version, 'all');
237
+ wp_enqueue_style('ecwd-admin-datetimepicker-css', plugins_url('css/admin/jquery.datetimepicker.css', __FILE__), array(), $this->version, 'all');
238
+ wp_enqueue_style('ecwd-admin-colorpicker-css', plugins_url('css/admin/evol.colorpicker.css', __FILE__), array(), $this->version, 'all');
239
+ wp_enqueue_style($this->prefix . '-calendar-style', plugins_url('css/style.css', __FILE__), '', $this->version, 'all');
240
+ wp_enqueue_style($this->prefix . '_font-awesome', plugins_url('/css/font-awesome/font-awesome.css', __FILE__), '', $this->version, 'all');
241
+ wp_enqueue_style($this->prefix . '-featured_plugins', plugins_url('/css/admin/featured_plugins.css', __FILE__), '', $this->version, 'all');
242
+ wp_enqueue_style($this->prefix . '-featured_themes', plugins_url('/css/admin/featured_themes.css', __FILE__), '', $this->version, 'all');
243
+ wp_enqueue_style($this->prefix . '-licensing', plugins_url('/css/admin/licensing.css', __FILE__), '', $this->version, 'all');
244
+ wp_enqueue_style($this->prefix . '-popup-styles', plugins_url('/css/ecwd_popup.css', __FILE__), '', $this->version, 'all');
245
+ }
246
+ }
247
+
248
+ /**
249
+ * Register scripts for the admin area
250
+ */
251
+ public function enqueue_admin_scripts() {
252
+ if ($this->ecwd_page()) {
253
+ wp_enqueue_script($this->prefix . '-gmap-public-admin', plugins_url('js/gmap/gmap3.js', __FILE__), array('jquery'), $this->version, true);
254
+ wp_enqueue_script($this->prefix . '-admin-datetimepicker', plugins_url('js/admin/jquery.datetimepicker.js', __FILE__), array(
255
+ 'jquery',
256
+ 'jquery-ui-widget'
257
+ ), $this->version, true);
258
+ wp_enqueue_script($this->prefix . '-admin-colorpicker', plugins_url('js/admin/evol.colorpicker.js', __FILE__), array('jquery'), $this->version, true);
259
+ wp_enqueue_script($this->prefix . '-admin-ecwd-popup', plugins_url('js/ecwd_popup.js', __FILE__), array('jquery'), $this->version, true);
260
+ wp_enqueue_script($this->prefix . '-public', plugins_url('js/scripts.js', __FILE__), array(
261
+ 'jquery',
262
+ 'masonry',
263
+ $this->prefix . '-admin-ecwd-popup'
264
+ ), $this->version, true);
265
+ wp_register_script($this->prefix . '-admin-scripts', plugins_url('js/admin/admin.js', __FILE__), array(
266
+ 'jquery',
267
+ 'jquery-ui-datepicker',
268
+ 'jquery-ui-tabs',
269
+ 'jquery-ui-selectable',
270
+ $this->prefix . '-public',
271
+ $this->prefix . '-admin-ecwd-popup'
272
+ ), $this->version, true);
273
+ wp_enqueue_script($this->prefix . '-admin-datetimepicker-scripts', plugins_url('js/admin/datepicker.js', __FILE__), array('jquery'), $this->version, true);
274
+
275
+ $params['ajaxurl'] = admin_url('admin-ajax.php');
276
+ $params['version'] = get_bloginfo('version');
277
+ if ($params['version'] >= 3.5) {
278
+ wp_enqueue_media();
279
+ } else {
280
+ wp_enqueue_style('thickbox');
281
+ wp_enqueue_script('thickbox');
282
+ }
283
+
284
+ wp_localize_script($this->prefix . '-admin-scripts', 'params', $params);
285
+ wp_localize_script(ECWD_PLUGIN_PREFIX . '-public', 'ecwd', array(
286
+ 'ajaxurl' => admin_url('admin-ajax.php'),
287
+ 'ajaxnonce' => wp_create_nonce(ECWD_PLUGIN_PREFIX . '_ajax_nonce'),
288
+ 'loadingText' => __('Loading...', 'ecwd'),
289
+ 'plugin_url' => ECWD_URL
290
+ ));
291
+ wp_enqueue_script($this->prefix . '-admin-scripts');
292
+ }
293
+ }
294
+
295
+ /**
296
+ * Localize Script
297
+ */
298
+ public function admin_head() {
299
+
300
+ $args = array(
301
+ 'post_type' => ECWD_PLUGIN_PREFIX . '_calendar',
302
+ 'post_status' => 'publish',
303
+ 'posts_per_page' => - 1,
304
+ 'ignore_sticky_posts' => 1
305
+ );
306
+ $calendar_posts = get_posts($args);
307
+ $args = array(
308
+ 'post_type' => $this->prefix . '_event',
309
+ 'post_status' => 'publish',
310
+ 'posts_per_page' => - 1,
311
+ 'ignore_sticky_posts' => 1
312
+ );
313
+ $event_posts = get_posts($args);
314
+ $plugin_url = plugins_url('/', __FILE__);
315
+ ?>
316
+ <!-- TinyMCE Shortcode Plugin -->
317
+ <script type='text/javascript'>
318
+ var ecwd_plugin = {
319
+ 'url': '<?php echo $plugin_url; ?>',
320
+ 'ecwd_calendars': [
321
+ <?php foreach ($calendar_posts as $calendar) { ?>
322
+ {
323
+ text: '<?php echo str_replace("'", "\'", $calendar->post_title); ?>',
324
+ value: '<?php echo $calendar->ID; ?>'
325
+ },
326
+ <?php } ?>
327
+ ],
328
+ 'ecwd_events': [
329
+ {text: 'None', value: 'none'},
330
+ <?php foreach ($event_posts as $event) { ?>
331
+ {
332
+ text: '<?php echo str_replace("'", "\'", $event->post_title); ?>',
333
+ value: '<?php echo $event->ID; ?>'
334
+ },
335
+ <?php } ?>
336
+ ],
337
+ 'ecwd_views': [
338
+ {text: 'None', value: 'none'},
339
+ {text: 'Month', value: 'full'},
340
+ {text: 'List', value: 'list'},
341
+ {text: 'Week', value: 'week'},
342
+ {text: 'Day', value: 'day'}
343
+ ]
344
+ };
345
+ </script>
346
+ <!-- TinyMCE Shortcode Plugin -->
347
+ <?php
348
+ }
349
+
350
+ public function ecwd_shortcode_button() {
351
+ // Don't bother doing this stuff if the current user lacks permissions
352
+ if (!current_user_can('edit_posts') && !current_user_can('edit_pages')) {
353
+ return;
354
+ }
355
+
356
+ // Add only in Rich Editor mode
357
+ if (get_user_option('rich_editing') == 'true') {
358
+ // filter the tinyMCE buttons and add our own
359
+ add_filter("mce_external_plugins", array($this, 'add_tinymce_plugin'));
360
+ add_filter('mce_buttons', array($this, 'register_buttons'));
361
+ }
362
+ }
 
 
 
 
 
 
 
 
363
 
364
  // registers the buttons for use
365
+ function register_buttons($buttons) {
366
+ // inserts a separator between existing buttons and our new one
367
+ // "friendly_button" is the ID of our button
368
+ if (!$this->ecwd_page()) {
369
+ array_push($buttons, "|", ECWD_PLUGIN_PREFIX);
370
+ }
371
 
372
+ return $buttons;
373
+ }
374
 
375
  // add the button to the tinyMCE bar
376
+ function add_tinymce_plugin($plugin_array) {
377
+ if (!$this->ecwd_page()) {
378
+ $plugin_array[ECWD_PLUGIN_PREFIX] = plugins_url('js/admin/editor-buttons.js', __FILE__);
379
+ }
380
+
381
+ return $plugin_array;
382
+ }
383
+
384
+ //auto update plugin
385
+ function ecwd_update($update, $item) {
386
+ global $ecwd_options;
387
+ if (!isset($ecwd_options['auto_update']) || $ecwd_options['auto_update'] == 1) {
388
+ $plugins = array(// Plugins to auto-update
389
+ 'event-calendar-wd'
390
+ );
391
+ if (in_array($item->slug, $plugins)) {
392
+ return true;
393
+ } // Auto-update specified plugins
394
+ else {
395
+ return false;
396
+ } // Don't auto-update all other plugins
397
+ }
398
+ }
399
+
400
+ public function define_admin_constants() {
401
+ if (!defined('ECWD_DIR')) {
402
+ define('ECWD_DIR', dirname(__FILE__));
403
+ }
404
+ }
405
+
406
+ /* * ******ECWD notices*********** */
407
+
408
+ function ecwd_admin_notices() {
409
+ // Notices filter and run the notices function.
410
+
411
+ $admin_notices = apply_filters('ecwd_admin_notices', array());
412
+ $this->notices->admin_notice($admin_notices);
413
+ }
414
+
415
+ // Ignore function that gets ran at admin init to ensure any messages that were dismissed get marked
416
+ public function admin_notice_ignore() {
417
+ $slug = ( isset($_GET['ecwd_admin_notice_ignore']) ) ? $_GET['ecwd_admin_notice_ignore'] : '';
418
+ if (isset($_GET['ecwd_admin_notice_ignore']) && current_user_can('manage_options')) {
419
+ $admin_notices_option = get_option('ecwd_admin_notice', array());
420
+ $admin_notices_option[$_GET['ecwd_admin_notice_ignore']]['dismissed'] = 1;
421
+ update_option('ecwd_admin_notice', $admin_notices_option);
422
+ $query_str = remove_query_arg('ecwd_admin_notice_ignore');
423
+ wp_redirect($query_str);
424
+ exit;
425
+ }
426
+ }
427
+
428
+ /**
429
+ * Set Web Dorado Logo in admin pages
430
+ */
431
+ public function create_logo_to_head() {
432
+ global $pagenow, $post;
433
+
434
+ if ($this->ecwd_page()) {
435
+ ?>
436
+ <div style="width: 100%; text-align: right;clear:both;">
437
+ <a href="https://web-dorado.com/files/fromEventCalendarWD.php" target="_blank"
438
+ style="text-decoration:none;box-shadow: none;">
439
+ <img src="<?php echo plugins_url('/assets/pro.png', __FILE__); ?>" border="0"
440
+ alt="https://web-dorado.com/files/fromEventCalendarWD.php" width="215">
441
+ </a>
442
+ </div>
443
+ <?php
444
+ }
445
+ }
446
+
447
+ /**
448
+ * Return an instance of this class.
449
+ */
450
+ public static function get_instance() {
451
+ if (null == self::$instance) {
452
+ self::$instance = new self;
453
+ }
454
+
455
+ return self::$instance;
456
+ }
457
+
458
+ /**
459
+ * Return the page
460
+ */
461
+ public function get_page() {
462
+ return $this->ecwd_page();
463
+ }
464
+
465
+ /**
466
+ * Return plugin name
467
+ */
468
+ public function get_plugin_title() {
469
+ return __('Event Calendar WD', 'ecwd');
470
+ }
471
+
472
+ public function add_action_links($links) {
473
+ return array_merge(
474
+ array(
475
+ 'settings' => '<a href="' . admin_url('edit.php?post_type=ecwd_calendar&page=ecwd_general_settings') . '">' . __('Settings', 'ecwd') . '</a>',
476
+ 'events' => '<a href="' . admin_url('edit.php?post_type=ecwd_event') . '">' . __('Events', 'ecwd') . '</a>'
477
+ ), $links
478
+ );
479
+ }
480
 
481
  }
languages/ecwd-nb_NB.mo ADDED
Binary file
languages/ecwd-nb_NB.po ADDED
@@ -0,0 +1,379 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: event_calendar_wd\n"
4
+ "POT-Creation-Date: 2015-10-15 09:39+0200\n"
5
+ "PO-Revision-Date: 2015-10-15 09:54+0200\n"
6
+ "Language-Team: \n"
7
+ "MIME-Version: 1.0\n"
8
+ "Content-Type: text/plain; charset=UTF-8\n"
9
+ "Content-Transfer-Encoding: 8bit\n"
10
+ "X-Generator: Poedit 1.8.5\n"
11
+ "X-Poedit-Basepath: ..\n"
12
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
13
+ "X-Poedit-KeywordsList: _e;__\n"
14
+ "Last-Translator: \n"
15
+ "Language: nb\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åned"
30
+
31
+ #: includes/calendar-class.php:177 views/widgets.php:169
32
+ msgid "List"
33
+ msgstr "Liste"
34
+
35
+ #: includes/calendar-class.php:179
36
+ msgid "Week"
37
+ msgstr "Uke"
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 "Kart"
46
+
47
+ #: includes/calendar-class.php:188
48
+ msgid "4 Days"
49
+ msgstr "4 dager"
50
+
51
+ #: includes/calendar-class.php:191
52
+ msgid "Posterboard"
53
+ msgstr "Oppslagstavle"
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 "Hele 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 "Ingen arrangementer"
69
+
70
+ #: includes/calendar-class.php:644
71
+ msgid "No Events"
72
+ msgstr "Ingen Arrangementer"
73
+
74
+ #: includes/calendar-class.php:1256
75
+ msgid "More events"
76
+ msgstr "Flere arrangementer"
77
+
78
+ #: includes/ecwd-cpt-filter.php:67
79
+ msgid "From"
80
+ msgstr "Fra"
81
+
82
+ #: includes/ecwd-cpt-filter.php:74
83
+ msgid "To"
84
+ msgstr "Til"
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 "Gjenta hver"
91
+
92
+ #: includes/ecwd-display-class.php:876 includes/texts.php:66
93
+ msgid "days"
94
+ msgstr "dager"
95
+
96
+ #: includes/ecwd-display-class.php:878 includes/texts.php:61
97
+ msgid "Repeat every day"
98
+ msgstr "Gjenta hver dag"
99
+
100
+ #: includes/ecwd-display-class.php:882 includes/texts.php:67
101
+ msgid "weeks"
102
+ msgstr "uker"
103
+
104
+ #: includes/ecwd-display-class.php:884 includes/texts.php:62
105
+ msgid "Repeat every week"
106
+ msgstr "Gjenta hver uke"
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åneder"
115
+
116
+ #: includes/ecwd-display-class.php:902 includes/texts.php:63
117
+ msgid "Repeat every month"
118
+ msgstr "Gjenta hver måned"
119
+
120
+ #: includes/ecwd-display-class.php:907 includes/ecwd-display-class.php:931
121
+ msgid "on the same day"
122
+ msgstr "på samme dag"
123
+
124
+ #: includes/ecwd-display-class.php:912 includes/ecwd-display-class.php:936
125
+ msgid "on the"
126
+ msgstr "på den"
127
+
128
+ #: includes/ecwd-display-class.php:917 includes/texts.php:69
129
+ msgid "years"
130
+ msgstr "år"
131
+
132
+ #: includes/ecwd-display-class.php:919 includes/texts.php:64
133
+ msgid "Repeat every year"
134
+ msgstr "Gjenta hvert år"
135
+
136
+ #: includes/ecwd-display-class.php:940 includes/texts.php:70
137
+ msgid "until"
138
+ msgstr "frem til"
139
+
140
+ #: includes/ecwd-functions.php:8
141
+ msgid "Loading..."
142
+ msgstr "Laster..."
143
+
144
+ #: includes/ecwd-functions.php:439 includes/texts.php:53
145
+ msgid "DAYS"
146
+ msgstr "DAGER"
147
+
148
+ #: includes/ecwd-functions.php:440 includes/texts.php:54
149
+ msgid "HOURS"
150
+ msgstr "TIMER"
151
+
152
+ #: includes/ecwd-functions.php:441 includes/texts.php:55
153
+ msgid "MINUTES"
154
+ msgstr "MINUTTER"
155
+
156
+ #: includes/ecwd-functions.php:442 includes/texts.php:56
157
+ msgid "SECONDS"
158
+ msgstr "SEKUNDER"
159
+
160
+ #: includes/texts.php:2
161
+ msgid "January"
162
+ msgstr "Januar"
163
+
164
+ #: includes/texts.php:3
165
+ msgid "February"
166
+ msgstr "Februar"
167
+
168
+ #: includes/texts.php:4
169
+ msgid "March"
170
+ msgstr "Mars"
171
+
172
+ #: includes/texts.php:5
173
+ msgid "April"
174
+ msgstr "April"
175
+
176
+ #: includes/texts.php:6
177
+ msgid "May"
178
+ msgstr "Mai"
179
+
180
+ #: includes/texts.php:7
181
+ msgid "June"
182
+ msgstr "Juni"
183
+
184
+ #: includes/texts.php:8
185
+ msgid "July"
186
+ msgstr "Juli"
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 "Oktober"
199
+
200
+ #: includes/texts.php:12
201
+ msgid "November"
202
+ msgstr "November"
203
+
204
+ #: includes/texts.php:13
205
+ msgid "December"
206
+ msgstr "Desember"
207
+
208
+ #: includes/texts.php:15
209
+ msgid "Sunday"
210
+ msgstr "Søndag"
211
+
212
+ #: includes/texts.php:16
213
+ msgid "Monday"
214
+ msgstr "Mandag"
215
+
216
+ #: includes/texts.php:17
217
+ msgid "Tuesday"
218
+ msgstr "Tirsdag"
219
+
220
+ #: includes/texts.php:18
221
+ msgid "Wednesday"
222
+ msgstr "Onsdag"
223
+
224
+ #: includes/texts.php:19
225
+ msgid "Thursday"
226
+ msgstr "Torsdag"
227
+
228
+ #: includes/texts.php:20
229
+ msgid "Friday"
230
+ msgstr "Fredag"
231
+
232
+ #: includes/texts.php:21
233
+ msgid "Saturday"
234
+ msgstr "Lørdag"
235
+
236
+ #: includes/texts.php:25
237
+ msgid "Sun"
238
+ msgstr "Søn"
239
+
240
+ #: includes/texts.php:26
241
+ msgid "Mon"
242
+ msgstr "Man"
243
+
244
+ #: includes/texts.php:27
245
+ msgid "Tue"
246
+ msgstr "Tir"
247
+
248
+ #: includes/texts.php:28
249
+ msgid "Wed"
250
+ msgstr "Ons"
251
+
252
+ #: includes/texts.php:29
253
+ msgid "Thu"
254
+ msgstr "Tor"
255
+
256
+ #: includes/texts.php:30
257
+ msgid "Fri"
258
+ msgstr "Fre"
259
+
260
+ #: includes/texts.php:31
261
+ msgid "Sat"
262
+ msgstr "Lør"
263
+
264
+ #: includes/texts.php:34
265
+ msgid "Su"
266
+ msgstr "Sø"
267
+
268
+ #: includes/texts.php:35
269
+ msgid "Mo"
270
+ msgstr "Ma"
271
+
272
+ #: includes/texts.php:36
273
+ msgid "Tu"
274
+ msgstr "Ti"
275
+
276
+ #: includes/texts.php:37
277
+ msgid "We"
278
+ msgstr "On"
279
+
280
+ #: includes/texts.php:38
281
+ msgid "Th"
282
+ msgstr "To"
283
+
284
+ #: includes/texts.php:39
285
+ msgid "Fr"
286
+ msgstr "Fr"
287
+
288
+ #: includes/texts.php:40
289
+ msgid "Sa"
290
+ msgstr "Lø"
291
+
292
+ #: includes/texts.php:44
293
+ msgid "Show Filters"
294
+ msgstr "Vis filter"
295
+
296
+ #: includes/texts.php:45
297
+ msgid "Collapse Filters"
298
+ msgstr "Skjul filter"
299
+
300
+ #: includes/texts.php:46
301
+ msgid "Reset Filters"
302
+ msgstr "Nullstill filter"
303
+
304
+ #: includes/texts.php:48
305
+ msgid "Days"
306
+ msgstr "Dager"
307
+
308
+ #: includes/texts.php:49
309
+ msgid "Categories"
310
+ msgstr "Kategorier"
311
+
312
+ #: includes/texts.php:50
313
+ msgid "Venues"
314
+ msgstr "Arenaer"
315
+
316
+ #: includes/texts.php:57
317
+ msgid "The event has just started"
318
+ msgstr "Arrangementet har nettopp startet"
319
+
320
+ #: includes/texts.php:72
321
+ msgid "Sundays"
322
+ msgstr "Søndager"
323
+
324
+ #: includes/texts.php:73
325
+ msgid "Mondays"
326
+ msgstr "Mandager"
327
+
328
+ #: includes/texts.php:74
329
+ msgid "Tuesdays"
330
+ msgstr "Tirsdager"
331
+
332
+ #: includes/texts.php:75
333
+ msgid "Wednesdays"
334
+ msgstr "Onsdager"
335
+
336
+ #: includes/texts.php:76
337
+ msgid "Thursdays"
338
+ msgstr "Torsdager"
339
+
340
+ #: includes/texts.php:77
341
+ msgid "Fridays"
342
+ msgstr "Fredager"
343
+
344
+ #: includes/texts.php:78
345
+ msgid "Saturdays"
346
+ msgstr "Lørdager"
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 "Dato"
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 "Arrangører"
360
+
361
+ #: views/ecwd-organizer-content.php:109
362
+ msgid "upcoming events"
363
+ msgstr "kommende arrangementer"
364
+
365
+ #: views/ecwd-venue-content.php:141
366
+ msgid "events"
367
+ msgstr "arrangementer"
368
+
369
+ #: views/single-event.php:190
370
+ msgid "Venue"
371
+ msgstr "Arena"
372
+
373
+ #: views/single-event.php:200
374
+ msgid "Location"
375
+ msgstr "Sted"
376
+
377
+ #: views/single-event.php:449
378
+ msgid "Related events"
379
+ msgstr "Relaterte arrangementer"
languages/ecwd-nn_NN.mo ADDED
Binary file
languages/ecwd-nn_NN.po ADDED
@@ -0,0 +1,379 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: event_calendar_wd\n"
4
+ "POT-Creation-Date: 2015-10-15 09:55+0200\n"
5
+ "PO-Revision-Date: 2015-10-15 10:12+0200\n"
6
+ "Language-Team: \n"
7
+ "MIME-Version: 1.0\n"
8
+ "Content-Type: text/plain; charset=UTF-8\n"
9
+ "Content-Transfer-Encoding: 8bit\n"
10
+ "X-Generator: Poedit 1.8.5\n"
11
+ "X-Poedit-Basepath: ..\n"
12
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
13
+ "X-Poedit-KeywordsList: _e;__\n"
14
+ "Last-Translator: \n"
15
+ "Language: nn\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 "Liste"
34
+
35
+ #: includes/calendar-class.php:179
36
+ msgid "Week"
37
+ msgstr "Veke"
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 "Kart"
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 "Oppslagstavle"
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 "Heile 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 "Ingen arrangement"
69
+
70
+ #: includes/calendar-class.php:644
71
+ msgid "No Events"
72
+ msgstr "Ingen Arrangement"
73
+
74
+ #: includes/calendar-class.php:1256
75
+ msgid "More events"
76
+ msgstr "Fleire arrangement"
77
+
78
+ #: includes/ecwd-cpt-filter.php:67
79
+ msgid "From"
80
+ msgstr "Fra"
81
+
82
+ #: includes/ecwd-cpt-filter.php:74
83
+ msgid "To"
84
+ msgstr "Til"
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 "Gjenta kvar"
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 "Gjenta kvar dag"
99
+
100
+ #: includes/ecwd-display-class.php:882 includes/texts.php:67
101
+ msgid "weeks"
102
+ msgstr "veker"
103
+
104
+ #: includes/ecwd-display-class.php:884 includes/texts.php:62
105
+ msgid "Repeat every week"
106
+ msgstr "Gjenta kvar veke"
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 "Gjenta kvar 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å samme dag"
123
+
124
+ #: includes/ecwd-display-class.php:912 includes/ecwd-display-class.php:936
125
+ msgid "on the"
126
+ msgstr "på den"
127
+
128
+ #: includes/ecwd-display-class.php:917 includes/texts.php:69
129
+ msgid "years"
130
+ msgstr "år"
131
+
132
+ #: includes/ecwd-display-class.php:919 includes/texts.php:64
133
+ msgid "Repeat every year"
134
+ msgstr "Gjenta kvart år"
135
+
136
+ #: includes/ecwd-display-class.php:940 includes/texts.php:70
137
+ msgid "until"
138
+ msgstr "fram til"
139
+
140
+ #: includes/ecwd-functions.php:8
141
+ msgid "Loading..."
142
+ msgstr "Lastar..."
143
+
144
+ #: includes/ecwd-functions.php:439 includes/texts.php:53
145
+ msgid "DAYS"
146
+ msgstr "DAGAR"
147
+
148
+ #: includes/ecwd-functions.php:440 includes/texts.php:54
149
+ msgid "HOURS"
150
+ msgstr "TIMAR"
151
+
152
+ #: includes/ecwd-functions.php:441 includes/texts.php:55
153
+ msgid "MINUTES"
154
+ msgstr "MINUTTER"
155
+
156
+ #: includes/ecwd-functions.php:442 includes/texts.php:56
157
+ msgid "SECONDS"
158
+ msgstr "SEKUNDER"
159
+
160
+ #: includes/texts.php:2
161
+ msgid "January"
162
+ msgstr "Januar"
163
+
164
+ #: includes/texts.php:3
165
+ msgid "February"
166
+ msgstr "Februar"
167
+
168
+ #: includes/texts.php:4
169
+ msgid "March"
170
+ msgstr "Mars"
171
+
172
+ #: includes/texts.php:5
173
+ msgid "April"
174
+ msgstr "April"
175
+
176
+ #: includes/texts.php:6
177
+ msgid "May"
178
+ msgstr "Mai"
179
+
180
+ #: includes/texts.php:7
181
+ msgid "June"
182
+ msgstr "Juni"
183
+
184
+ #: includes/texts.php:8
185
+ msgid "July"
186
+ msgstr "Juli"
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 "Oktober"
199
+
200
+ #: includes/texts.php:12
201
+ msgid "November"
202
+ msgstr "November"
203
+
204
+ #: includes/texts.php:13
205
+ msgid "December"
206
+ msgstr "Desember"
207
+
208
+ #: includes/texts.php:15
209
+ msgid "Sunday"
210
+ msgstr "Søndag"
211
+
212
+ #: includes/texts.php:16
213
+ msgid "Monday"
214
+ msgstr "Måndag"
215
+
216
+ #: includes/texts.php:17
217
+ msgid "Tuesday"
218
+ msgstr "Tirsdag"
219
+
220
+ #: includes/texts.php:18
221
+ msgid "Wednesday"
222
+ msgstr "Onsdag"
223
+
224
+ #: includes/texts.php:19
225
+ msgid "Thursday"
226
+ msgstr "Torsdag"
227
+
228
+ #: includes/texts.php:20
229
+ msgid "Friday"
230
+ msgstr "Fredag"
231
+
232
+ #: includes/texts.php:21
233
+ msgid "Saturday"
234
+ msgstr "Laurdag"
235
+
236
+ #: includes/texts.php:25
237
+ msgid "Sun"
238
+ msgstr "Søn"
239
+
240
+ #: includes/texts.php:26
241
+ msgid "Mon"
242
+ msgstr "Man"
243
+
244
+ #: includes/texts.php:27
245
+ msgid "Tue"
246
+ msgstr "Tir"
247
+
248
+ #: includes/texts.php:28
249
+ msgid "Wed"
250
+ msgstr "Ons"
251
+
252
+ #: includes/texts.php:29
253
+ msgid "Thu"
254
+ msgstr "Tor"
255
+
256
+ #: includes/texts.php:30
257
+ msgid "Fri"
258
+ msgstr "Fre"
259
+
260
+ #: includes/texts.php:31
261
+ msgid "Sat"
262
+ msgstr "Lau"
263
+
264
+ #: includes/texts.php:34
265
+ msgid "Su"
266
+ msgstr "Sø"
267
+
268
+ #: includes/texts.php:35
269
+ msgid "Mo"
270
+ msgstr "Må"
271
+
272
+ #: includes/texts.php:36
273
+ msgid "Tu"
274
+ msgstr "Ti"
275
+
276
+ #: includes/texts.php:37
277
+ msgid "We"
278
+ msgstr "On"
279
+
280
+ #: includes/texts.php:38
281
+ msgid "Th"
282
+ msgstr "To"
283
+
284
+ #: includes/texts.php:39
285
+ msgid "Fr"
286
+ msgstr "Fr"
287
+
288
+ #: includes/texts.php:40
289
+ msgid "Sa"
290
+ msgstr "La"
291
+
292
+ #: includes/texts.php:44
293
+ msgid "Show Filters"
294
+ msgstr "Vis filter"
295
+
296
+ #: includes/texts.php:45
297
+ msgid "Collapse Filters"
298
+ msgstr "Skjul filter"
299
+
300
+ #: includes/texts.php:46
301
+ msgid "Reset Filters"
302
+ msgstr "Nullstill filter"
303
+
304
+ #: includes/texts.php:48
305
+ msgid "Days"
306
+ msgstr "Dagar"
307
+
308
+ #: includes/texts.php:49
309
+ msgid "Categories"
310
+ msgstr "Kategoriar"
311
+
312
+ #: includes/texts.php:50
313
+ msgid "Venues"
314
+ msgstr "Arenaer"
315
+
316
+ #: includes/texts.php:57
317
+ msgid "The event has just started"
318
+ msgstr "Arrangementet har nettopp starta"
319
+
320
+ #: includes/texts.php:72
321
+ msgid "Sundays"
322
+ msgstr "Søndagar"
323
+
324
+ #: includes/texts.php:73
325
+ msgid "Mondays"
326
+ msgstr "Måndagar"
327
+
328
+ #: includes/texts.php:74
329
+ msgid "Tuesdays"
330
+ msgstr "Tirsdagar"
331
+
332
+ #: includes/texts.php:75
333
+ msgid "Wednesdays"
334
+ msgstr "Onsdagar"
335
+
336
+ #: includes/texts.php:76
337
+ msgid "Thursdays"
338
+ msgstr "Torsdagar"
339
+
340
+ #: includes/texts.php:77
341
+ msgid "Fridays"
342
+ msgstr "Fredagar"
343
+
344
+ #: includes/texts.php:78
345
+ msgid "Saturdays"
346
+ msgstr "Laurdagar"
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 "Dato"
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 "Arrangørar"
360
+
361
+ #: views/ecwd-organizer-content.php:109
362
+ msgid "upcoming events"
363
+ msgstr "komande arrangement"
364
+
365
+ #: views/ecwd-venue-content.php:141
366
+ msgid "events"
367
+ msgstr "arrangement"
368
+
369
+ #: views/single-event.php:190
370
+ msgid "Venue"
371
+ msgstr "Arena"
372
+
373
+ #: views/single-event.php:200
374
+ msgid "Location"
375
+ msgstr "Stad"
376
+
377
+ #: views/single-event.php:449
378
+ msgid "Related events"
379
+ msgstr "Relaterte arrangement"
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
5
  Requires at least: 3.9
6
  Tested up to: 4.3
7
- Stable tag: 1.0.27
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -51,7 +51,8 @@ Upgrade to [WordPress Event Calendar Pro](http://web-dorado.com/products/wordpre
51
  [iCal Integration](https://web-dorado.com/products/wordpress-event-calendar-wd/add-ons/ical-integration.html)
52
  [Facebook Integration](https://web-dorado.com/products/wordpress-event-calendar-wd/add-ons/facebook-integration.html)
53
  [Import/Export](https://web-dorado.com/products/wordpress-event-calendar-wd/add-ons/import-export.html)
54
- [Custom Fields](https://web-dorado.com/products/wordpress-event-calendar-wd/add-ons/custom-fields.html)
 
55
 
56
  [WordPress Event Calendar WD](http://web-dorado.com/products/wordpress-event-calendar-wd.html)
57
  [Demo](http://wpdemo.web-dorado.com/event-calendar-wd/)
@@ -90,14 +91,17 @@ If you think you found a bug in Event Calendar WD or have any problem/question
90
 
91
  Dutch (nl_NL) by F. van Reem and Sabrina Gordijn
92
  German (de_DE) by Ogi Djuraskovic
93
- Hungarian (hu_HU) by Szabolcs Egerhazi
 
 
94
  Serbian (sr_RS)
95
  Spanish (es_ES)
96
  French (fr_FR)
97
  Italian (it_IT)
98
  Russian (ru_RU)
99
  Turkish (tr_TR)
100
- Portuguese (pt_PT)
 
101
 
102
 
103
  == Screenshots ==
@@ -135,6 +139,10 @@ After downloading the ZIP file of the Event Calendar WD plugin,
135
 
136
  == Changelog ==
137
 
 
 
 
 
138
  = 1.0.27 =
139
  Changed: Added padding to event details for screens < 768
140
  Changed: Hide next/prev month names for screen < 768
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
5
  Requires at least: 3.9
6
  Tested up to: 4.3
7
+ Stable tag: 1.0.28
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
51
  [iCal Integration](https://web-dorado.com/products/wordpress-event-calendar-wd/add-ons/ical-integration.html)
52
  [Facebook Integration](https://web-dorado.com/products/wordpress-event-calendar-wd/add-ons/facebook-integration.html)
53
  [Import/Export](https://web-dorado.com/products/wordpress-event-calendar-wd/add-ons/import-export.html)
54
+ [Custom Fields](https://web-dorado.com/products/wordpress-event-calendar-wd/add-ons/custom-fields.html)
55
+ [Views](https://web-dorado.com/products/wordpress-event-calendar-wd/add-ons/views.html)
56
 
57
  [WordPress Event Calendar WD](http://web-dorado.com/products/wordpress-event-calendar-wd.html)
58
  [Demo](http://wpdemo.web-dorado.com/event-calendar-wd/)
91
 
92
  Dutch (nl_NL) by F. van Reem and Sabrina Gordijn
93
  German (de_DE) by Ogi Djuraskovic
94
+ Hungarian (hu_HU) by Szabolcs Egerhazi
95
+ Norwegian (Bokmål) by Vegard Innerdal
96
+ Norwegian (Nynorsk) by Vegard Innerdal
97
  Serbian (sr_RS)
98
  Spanish (es_ES)
99
  French (fr_FR)
100
  Italian (it_IT)
101
  Russian (ru_RU)
102
  Turkish (tr_TR)
103
+ Portuguese (pt_PT)
104
+
105
 
106
 
107
  == Screenshots ==
139
 
140
  == Changelog ==
141
 
142
+ = 1.0.28 =
143
+ Added: ECWD Views add-on
144
+ Added: Norwegian (Bokmål) and Norwegian (Nynorsk) languages support(by Vegard Innerdal)
145
+
146
  = 1.0.27 =
147
  Changed: Added padding to event details for screens < 768
148
  Changed: Hide next/prev month names for screen < 768