The Events Calendar - Version 2.0.5

Version Description

Small features, UX and Content Tweaks:

  • Warning messages to indicate if you're not running the latest version of PRO and/or if your PRO & core release numbers are out of sync
  • Totally revamped "Settings" page with tabbed structure & improved UI
  • Added a hook/filter to make it easier to modify the frontend year selection dropdown
  • Updated all country selection dropdowns with Chosen
  • Incorporated a "This Event Has Passed" message that appears on any single event entry when that event has already occurred
  • Added ability to filter the iCal Feed item generated by the calendar
  • Removed strip_shortcodes from the code to allow for unhindered shortcodes in event descriptions
  • New Polish translation files for core & PRO courtesy of community member Kamil Szymanski
  • New Swedish translation files for core & PRO courtesy of community member Ben Andersen
  • New Norwegian translation files for core & PRO courtesy of community member "Terje With Lunndal"

Bug Fixes:

  • Multiple bugs fixes related to how venue & organizer data is saved, displayed & edited
  • Increased iCal stability when working with recurring events (big thanks to Andy Fragen for his help!)
  • Stopped pointing to dead links to help keep days with no events from negatively impacting SEO
  • Featured images for recurring events no longer get lost upon making changes to the recurrence pattern
  • Sites running UTC offset time zone settings no longer see end dates appearing as "0:00"
  • Venue pages now show all upcoming events at a venue, regardless of pagination settings
  • Frontend venue pages no longer show past events (PRO only)
  • Recurrence column no longer appears in the admin events list when PRO is not activated
  • Apostrophes no longer become slashes upon saving data in custom fields
  • Resolved an issue impacting certain sites where gridview navigation inserted br and p tags into the markup that threw the month nav off in the layout
  • Various performance enhancements for the integrated Advanced Post Manager (PRO only)
  • Various preparatory updates to allow for integration with forthcoming add-ons
  • Removed deprecated tags from overall code base
  • Removed of various debug notices & errors
Download this release

Release Info

Developer PaulHughes01
Plugin Icon The Events Calendar
Version 2.0.5
Comparing to
See all releases

Code changes from version 2.0.4 to 2.0.5

Files changed (62) hide show
  1. admin-views/events-meta-box.php +1 -1
  2. admin-views/events-options.php +0 -225
  3. admin-views/tribe-options-general.php +147 -0
  4. admin-views/tribe-options-help.php +222 -0
  5. admin-views/tribe-options-templates.php +44 -0
  6. admin-views/venue-meta-box.php +10 -13
  7. lang/tribe-events-calendar-nb_NO.mo +0 -0
  8. lang/tribe-events-calendar-nb_NO.po +2102 -0
  9. lang/tribe-events-calendar-pl_PL.mo +0 -0
  10. lang/tribe-events-calendar-pl_PL.po +2109 -0
  11. lang/tribe-events-calendar-sv_SE.mo +0 -0
  12. lang/tribe-events-calendar-sv_SE.po +2092 -2067
  13. lang/tribe-events-calendar.pot +932 -571
  14. lib/template-tags-deprecated.php +0 -22
  15. lib/the-events-calendar.class.php +480 -203
  16. lib/tribe-admin-events-list.class.php +7 -5
  17. lib/tribe-event-api.class.php +7 -2
  18. lib/tribe-event-exception.class.php +1 -1
  19. lib/tribe-event-query.class.php +3 -3
  20. lib/tribe-field.class.php +522 -0
  21. lib/tribe-settings-tab.class.php +198 -0
  22. lib/tribe-settings.class.php +475 -0
  23. lib/tribe-templates.class.php +58 -5
  24. lib/tribe-the-events-calendar-import.class.php +3 -3
  25. lib/tribe-validate.class.php +427 -0
  26. lib/tribe-view-helpers.class.php +23 -15
  27. public/advanced-functions/venue.php +2 -2
  28. public/template-tags/general.php +19 -2
  29. public/template-tags/options.php +45 -0
  30. public/template-tags/venue.php +1 -1
  31. readme.txt +49 -11
  32. resources/chosen-load.js +3 -0
  33. resources/chosen-sprite.png +0 -0
  34. resources/chosen.css +371 -0
  35. resources/chosen.jquery.min.js +10 -0
  36. resources/events-admin.css +152 -199
  37. resources/events-admin.js +46 -11
  38. resources/events.css +25 -2
  39. resources/images/donate-link-pro-screenshot.jpg +0 -0
  40. resources/images/donate-link-screenshot.jpg +0 -0
  41. resources/images/modern-tribe.png +0 -0
  42. resources/tribe-settings.js +36 -0
  43. screenshot-6.jpg +0 -0
  44. screenshot-6.png +0 -0
  45. tests/PHPUnit/bootstrap.php +8 -0
  46. tests/PHPUnit/phpunit-test.Test.php +23 -0
  47. tests/PHPUnit/phpunit.xml +19 -0
  48. tests/PHPUnit/tribe-capabilities.Test.php +299 -0
  49. tests/PHPUnit/tribe-event-creation.Test.php +118 -0
  50. tests/PHPUnit/tribe-events-class.Test.php +23 -0
  51. tests/PHPUnit/tribe-previous-ecp-versions.Test.php +39 -0
  52. tests/PHPUnit/wordpress-tests/bin/install.php +49 -0
  53. tests/PHPUnit/wordpress-tests/init.php +32 -0
  54. tests/PHPUnit/wordpress-tests/lib/exceptions.php +5 -0
  55. tests/PHPUnit/wordpress-tests/lib/testcase.php +127 -0
  56. tests/PHPUnit/wordpress-tests/lib/tribe-testcase.php +29 -0
  57. tests/PHPUnit/wordpress-tests/phpunit.xml +1 -0
  58. tests/PHPUnit/wordpress-tests/unittests-config-sample.php +46 -0
  59. the-events-calendar.php +10 -8
  60. views/gridview.php +3 -0
  61. views/single.php +5 -3
  62. views/table.php +12 -10
admin-views/events-meta-box.php CHANGED
@@ -59,7 +59,7 @@ if ( !defined('ABSPATH') ) { die('-1'); }
59
<span class="helper-text hide-if-js"><?php _e('YYYY-MM-DD', 'tribe-events-calendar') ?></span>
60
<span class='timeofdayoptions'>
61
<?php _e('@','tribe-events-calendar'); ?>
62
- <select class="spEventsInput" tabindex="<?php $this->tabIndex(); ?>" name='EventEndHour'>
63
<?php echo $endHourOptions; ?>
64
</select>
65
<select tabindex="<?php $this->tabIndex(); ?>" name='EventEndMinute'>
59
<span class="helper-text hide-if-js"><?php _e('YYYY-MM-DD', 'tribe-events-calendar') ?></span>
60
<span class='timeofdayoptions'>
61
<?php _e('@','tribe-events-calendar'); ?>
62
+ <select class="tribeEventsInput" tabindex="<?php $this->tabIndex(); ?>" name='EventEndHour'>
63
<?php echo $endHourOptions; ?>
64
</select>
65
<select tabindex="<?php $this->tabIndex(); ?>" name='EventEndMinute'>
admin-views/events-options.php DELETED
@@ -1,225 +0,0 @@
1
- <?php
2
- /**
3
- * Settings panel
4
- */
5
-
6
- // Don't load directly
7
- if ( !defined('ABSPATH') ) { die('-1'); }
8
-
9
- ?>
10
-
11
- <script type="text/javascript">
12
- jQuery(document).ready(function($) {
13
-
14
- // toggle view of the venue defaults fields
15
- $('[name="eventsDefaultVenueID"]').change(function() {
16
- updateVenueFields();
17
- })
18
- function updateVenueFields() {
19
- if($('[name="eventsDefaultVenueID"]').find('option:selected').val() != "0") {
20
- $('.venue-default-info').hide();
21
- } else {
22
- $('.venue-default-info').show();
23
- }
24
- }
25
- updateVenueFields();
26
-
27
- // toggle view of the google maps size fields
28
- $('#embedGoogleMaps').change(function() {
29
- updateMapsFields();
30
- })
31
- function updateMapsFields() {
32
- if($('#embedGoogleMaps').attr("checked")) {
33
- $('#googleEmbedSize').show();
34
- } else {
35
- $('#googleEmbedSize').hide();
36
- }
37
- }
38
- updateMapsFields();
39
- });
40
- </script>
41
- <style type="text/css">
42
- div.tribe_settings{
43
- width:90%;
44
- }
45
- </style>
46
- <div class="tribe_settings wrap">
47
- <?php screen_icon(); ?><h2><?php printf( __('%s Settings', 'tribe-events-calendar'), $this->pluginName ); ?></h2>
48
- <div id="tribe-events-options-error" class="tribe-events-error error"></div>
49
- <?php $this->do_action( 'tribe_events_options_top' ); ?>
50
- <div class="form">
51
- <h3><?php _e('Need a hand?','tribe-events-calendar'); ?></h3>
52
- <p><?php printf( __( 'If you\'re stuck on these options, please go to the <a href="%s">support forum</a>.', 'tribe-events-calendar' ), TribeEvents::$tribeUrl.TribeEvents::$supportPath ); ?></p>
53
- <?php if( function_exists( 'tribe_get_ical_link' ) ): ?>
54
- <p><?php _e('Here is the iCal feed URL for your events: ' ,'tribe-events-calendar'); ?><code><?php echo tribe_get_ical_link(); ?></code></p>
55
- <?php endif; ?>
56
-
57
- <form method="post">
58
- <?php wp_nonce_field('saveEventsCalendarOptions'); ?>
59
- <?php do_action('tribe-events-settings-top'); ?>
60
- <h3><?php _e('Settings', 'tribe-events-calendar'); ?></h3>
61
- <table class="form-table">
62
- <tr>
63
- <th scope="row"><?php _e('Default View for the Events','tribe-events-calendar'); ?></th>
64
- <td>
65
- <fieldset>
66
- <legend class="screen-reader-text">
67
- <span><?php _e('Default View for the Events','tribe-events-calendar'); ?></span>
68
- </legend>
69
- <label title='Calendar'>
70
- <input type="radio" name="viewOption" value="month" <?php checked( tribe_get_option('viewOption','month'), 'month' ); ?> />
71
- <?php _e('Calendar','tribe-events-calendar'); ?>
72
- </label><br />
73
- <label title='List View'>
74
- <input type="radio" name="viewOption" value="upcoming" <?php checked( tribe_get_option('viewOption','month'), 'upcoming' ); ?> />
75
- <?php _e('Event List','tribe-events-calendar'); ?>
76
- </label><br />
77
- </fieldset>
78
- </td>
79
- </tr>
80
- <tr>
81
- <th scope="row"><?php _e('Number of events to show per page in the loop','tribe-events-calendar'); ?></th>
82
- <td>
83
- <fieldset>
84
- <legend class="screen-reader-text">
85
- <span><?php _e('Number of events to show per page in the loop','tribe-events-calendar'); ?></span>
86
- </legend>
87
- <label><input type="text" name="postsPerPage" size="4" value="<?php echo esc_attr( tribe_get_option('postsPerPage', 10) ) ?>" /></label>
88
- </fieldset>
89
- <div>
90
- <?php _e('This is the number of posts displayed per page when returning a list of events.','tribe-events-calendar'); ?>
91
- </div>
92
- </td>
93
- </tr>
94
- <tr>
95
- <th scope="row"><?php _e('Show Comments','tribe-events-calendar'); ?></th>
96
- <td>
97
- <fieldset>
98
- <legend class="screen-reader-text">
99
- <span><?php _e('Show Comments','tribe-events-calendar'); ?></span>
100
- </legend>
101
- <label title='<?php _e('Show Comments','tribe-events-calendar'); ?>'>
102
- <input type="checkbox" name="showComments" value="1" <?php checked( tribe_get_option('showComments') ) ?> />
103
- </label>
104
- </fieldset>
105
- </td>
106
- </tr>
107
- <?php $multiDayCutoff = tribe_get_option('multiDayCutoff','12:00'); ?>
108
- <tr>
109
- <th scope="row"><?php _e('Multiday Event Cutoff','tribe-events-calendar'); ?></th>
110
- <td>
111
- <fieldset>
112
- <legend class="screen-reader-text">
113
- <span><?php _e('Multiday Event Cutoff','tribe-events-calendar'); ?></span>
114
- </legend>
115
- <label title='Multiday Event Cutoff'>
116
- <select name="multiDayCutoff">
117
- <option <?php selected($multiDayCutoff == "12:00") ?> value="12:00" >12:00</option>
118
- <option <?php selected($multiDayCutoff == "12:30") ?> value="12:30">12:30</option>
119
- <?php for($i=1; $i < 23; $i++): ?>
120
- <?php $val = (ceil($i/2) < 10 ? "0" : "") . ceil($i/2) . ":" . ($i % 2 == 1 ? "00" : "30" ); ?>
121
- <option <?php selected($multiDayCutoff == $val) ?> value="<?php echo $val?>"><?php echo $val ?></option>
122
- <?php endfor; ?>
123
- </select> AM
124
- </label>
125
- </fieldset>
126
- <div>
127
- <?php _e('For multi-day events, hide the last day from grid view if it ends on or before this time.','tribe-events-calendar'); ?>
128
- </div>
129
- </td>
130
- </tr>
131
- <tr>
132
- <th scope="row"><?php _e('Enable Google Maps','tribe-events-calendar'); ?></th>
133
- <td>
134
- <fieldset>
135
- <legend class="screen-reader-text">
136
- <span><?php _e('Enable Google Maps','tribe-events-calendar'); ?></span>
137
- </legend>
138
- <label title='Enable Google Maps'>
139
- <input type="checkbox" id="embedGoogleMaps" name="embedGoogleMaps" value="1" <?php checked( tribe_get_option('embedGoogleMaps') ); ?>/>
140
- </label>
141
- <span id="googleEmbedSize" name="googleEmbedSize" style="margin-left:20px;" >
142
- <?php _e('Height','tribe-events-calendar'); ?> <input type="text" name="embedGoogleMapsHeight" value="<?php echo esc_attr( tribe_get_option('embedGoogleMapsHeight','350') ); ?>" size=4>
143
- &nbsp;<?php _e('Width','tribe-events-calendar'); ?> <input type="text" name="embedGoogleMapsWidth" value="<?php echo esc_attr( tribe_get_option('embedGoogleMapsWidth','100%') ); ?>" size=4> <?php _e('(number or %)', 'tribe-events-calendar'); ?>
144
- &nbsp;<?php _e('Zoom Level', 'tribe-events-calendar'); ?> <input type="text" name="embedGoogleMapsZoom" value="<?php echo esc_attr( tribe_get_option('embedGoogleMapsZoom','10') ); ?>" size=2> <?php _e('(0 = zoomed-out; 21 = zoomed-in)', 'tribe-events-calendar'); ?>
145
- </span>
146
- <br />
147
- <div>
148
- <?php _e('If you don\'t have this turned on, your event listings won\'t have the backend map preview or frontend embedded map.','tribe-events-calendar'); ?>
149
- <div>
150
- </fieldset>
151
- </td>
152
- </tr>
153
-
154
- <?php if( '' != get_option('permalink_structure') ) : ?>
155
- <tr>
156
- <th scope="row"><?php _e('Events URL slug', 'tribe-events-calendar'); ?></th>
157
- <td><fieldset>
158
- <legend class="screen-reader-text"><?php _e('Events URL slug', 'tribe-events-calendar' ); ?></legend>
159
- <label><input type="text" name="eventsSlug" value="<?php echo esc_attr( tribe_get_option('eventsSlug', 'events') ) ?>" /> <?php _e('The slug used for building the Events URL.', 'tribe-events-calendar' ) ?></label><br /><?php printf( __('Your current Events URL is <strong><a href="%s">%s</a></strong>', 'tribe-events-calendar' ), tribe_get_events_link(), tribe_get_events_link() ) ?>
160
- </fieldset></td>
161
- </tr>
162
- <tr>
163
- <th scope="row"><?php _e('Single Event URL slug', 'tribe-events-calendar'); ?></th>
164
- <td><fieldset>
165
- <legend class="screen-reader-text"><?php _e('Single Event URL slug', 'tribe-events-calendar' ); ?></legend>
166
- <label><input type="text" name="singleEventSlug" value="<?php echo esc_attr( tribe_get_option('singleEventSlug', 'event') ) ?>" /> <?php _e('The slug used for building a single Event URL.', 'tribe-events-calendar' ); ?></label><br />
167
- <?php printf( __('<strong>NOTE:</strong> You <em>cannot</em> use the same slug as above. The above should ideally be plural, and this singular.<br />Your single Event URL is like: <strong>%s</strong>', 'tribe-events-calendar' ), trailingslashit( home_url() ) . tribe_get_option('singleEventSlug', 'event') . '/single-post-name/' ); ?>
168
- </fieldset></td>
169
- </tr>
170
- <?php endif; // permalink structure ?>
171
- <tr>
172
- <th scope="row"><?php _e('Debug', 'tribe-events-calendar' ); ?></th>
173
- <td><fieldset>
174
- <legend class="screen-reader-text"><?php _e('Debug', 'tribe-events-calendar' ); ?></legend>
175
- <label><input type="checkbox" name="debugEvents" value="1" <?php checked( tribe_get_option('debugEvents') ) ?> /> <?php _e('Debug Events display issues.', 'tribe-events-calendar' ) ?></label>
176
- <div><?php printf(__('Enable this option to log debug information. By default this will log to your server PHP error log. If you\'d like to see the log messages in your browser, then we recommend that you install the <a href="%s" target="_blank">Debug Bar Plugin</a> and look for the "Tribe" tab in the debug output.', 'tribe-events-calendar'),'http://wordpress.org/extend/plugins/debug-bar/'); ?></div>
177
- </fieldset></td>
178
- </tr>
179
- </table>
180
-
181
- <h3><?php _e('Theme Settings', 'tribe-events-calendar'); ?></h3>
182
- <table class="form-table">
183
- <tr>
184
- <th scope="row"><?php _e('Events Template', 'tribe-events-calendar' ); ?></th>
185
- <td><fieldset>
186
- <legend class="screen-reader-text"><?php _e('Events Template', 'tribe-events-calendar' ); ?></legend>
187
- <select name="spEventsTemplate">
188
- <option value=''><?php _e('Default Events Template', 'tribe-events-calendar' ); ?></option>
189
- <option value='default' <?php selected(tribe_get_option('spEventsTemplate', 'default') == 'default') ?>><?php _e('Default Page Template', 'tribe-events-calendar' ); ?></option>
190
- <?php page_template_dropdown(tribe_get_option('spEventsTemplate', 'default')); ?>
191
- </select>
192
- <div><?php _e('Choose a page template to control the look and feel of your calendar.', 'tribe-events-calendar');?> </div>
193
- </fieldset></td>
194
- </tr>
195
- <tr>
196
- <th scope="row"><?php _e('Add HTML before calendar', 'tribe-events-calendar' ); ?></th>
197
- <td><fieldset>
198
- <legend class="screen-reader-text"><?php _e('Add HTML before calendar', 'tribe-events-calendar' ); ?></legend>
199
- <textarea style="width:100%; height:100px;" name="spEventsBeforeHTML"><?php echo stripslashes(tribe_get_option('spEventsBeforeHTML'));?></textarea>
200
- <div><?php _e('Some themes may require that you add extra divs before the calendar list to help with styling.', 'tribe-events-calendar');?> <?php _e('This is displayed directly after the header.', 'tribe-events-calendar');?> <?php _e('You may use (x)HTML.', 'tribe-events-calendar') ?></div>
201
- </fieldset></td>
202
- </tr>
203
- <tr>
204
- <th scope="row"><?php _e('Add HTML after calendar', 'tribe-events-calendar' ); ?></th>
205
- <td><fieldset>
206
- <legend class="screen-reader-text"><?php _e('Add HTML before calendar', 'tribe-events-calendar' ); ?></legend>
207
- <textarea style="width:100%; height:100px;" name="spEventsAfterHTML"><?php echo stripslashes(tribe_get_option('spEventsAfterHTML'));?></textarea>
208
- <div><?php _e('Some themes may require that you add extra divs after the calendar list to help with styling.', 'tribe-events-calendar');?> <?php _e('This is displayed directly above the footer.', 'tribe-events-calendar');?> <?php _e('You may use (x)HTML.', 'tribe-events-calendar') ?></div>
209
- </fieldset></td>
210
- </tr>
211
- </table>
212
- <?php do_action('tribe-events-after-theme-settings'); ?>
213
- <?php $this->do_action( 'tribe_events_options_bottom' ); ?>
214
- <table>
215
- <tr>
216
- <td>
217
- <input id="saveEventsCalendarOptions" class="button-primary" type="submit" name="saveEventsCalendarOptions" value="<?php _e('Save Changes', 'tribe-events-calendar'); ?>" />
218
- </td>
219
- </tr>
220
- </table>
221
- </form>
222
-
223
- <?php $this->do_action( 'tribe_events_options_post_form' ); ?>
224
- </div>
225
- </div>
admin-views/tribe-options-general.php ADDED
@@ -0,0 +1,147 @@
1
+ <?php
2
+ $generalTab = array(
3
+ 'priority' => 10,
4
+ 'fields' => array(
5
+ 'info-start' => array(
6
+ 'type' => 'html',
7
+ 'html' => '<div id="modern-tribe-info"><img src="'.plugins_url('resources/images/modern-tribe.png', dirname(__FILE__)).'" alt="Modern Tribe Inc." title="Modern Tribe Inc.">'
8
+ ),
9
+ 'upsell-heading' => array(
10
+ 'type' => 'heading',
11
+ 'label' => __('Add functionality to The Events Calendar', 'tribe-events-calendar'),
12
+ 'conditional' => ( !defined('TRIBE_HIDE_UPSELL') || !TRIBE_HIDE_UPSELL ),
13
+ ),
14
+ 'upsell-info' => array(
15
+ 'type' => 'html',
16
+ 'html' => '<p>'.__('Looking for additional functionality including recurring events, custom meta, community events, ticket sales and more?', 'tribe-events-calendar' ).'<br><a href="'.self::$tribeUrl.'shop/?utm_source=generaltab&utm_medium=promolink&utm_campaign=plugin'.'">'.__('Check out the available Add-Ons', 'tribe-events-calendar').'</a></p>',
17
+ 'conditional' => ( !defined('TRIBE_HIDE_UPSELL') || !TRIBE_HIDE_UPSELL ),
18
+ ),
19
+ 'donate-link-heading' => array(
20
+ 'type' => 'heading',
21
+ 'label' => __('We hope our plugin is helping you out.', 'tribe-events-calendar'),
22
+ ),
23
+ 'donate-link-info' => array(
24
+ 'type' => 'html',
25
+ 'html' => '<p>'.__('Are you thinking "Wow, this plugin is amazing! I should say thanks to Modern Tribe for all their hard work." The greatest thanks we could ask for is recognition. Add a small text only link at the bottom of your calendar pointing to The Events Calendar project.', 'tribe-events-calendar').'<br><a href="'.plugins_url('resources/images/donate-link-screenshot.jpg', dirname(__FILE__)).'" class="thickbox">'.__('See an example of the link', 'tribe-events-calendar').'</a></p>',
26
+ 'conditional' => !class_exists('TribeEventsPro'),
27
+ ),
28
+ 'donate-link-pro-info' => array(
29
+ 'type' => 'html',
30
+ 'html' => '<p>'.__('Are you thinking "Wow, this plugin is amazing! I should say thanks to Modern Tribe for all their hard work." The greatest thanks we could ask for is recognition. Add a small text only link at the bottom of your calendar pointing to The Events Calendar project.', 'tribe-events-calendar').'<br><a href="'.plugins_url('resources/images/donate-link-pro-screenshot.jpg', dirname(__FILE__)).'" class="thickbox">'.__('See an example of the link', 'tribe-events-calendar').'</a></p>',
31
+ 'conditional' => class_exists('TribeEventsPro'),
32
+ ),
33
+ 'donate-link' => array(
34
+ 'type' => 'checkbox_bool',
35
+ 'label' => __('Show Events Calendar Link', 'tribe-events-calendar'),
36
+ 'default' => false,
37
+ 'validation_type' => 'boolean',
38
+ ),
39
+ 'info-end' => array(
40
+ 'type' => 'html',
41
+ 'html' => '</div>',
42
+ ),
43
+ 'viewOption' => array(
44
+ 'type' => 'radio',
45
+ 'label' => __('Default view for the Events', 'tribe-events-calendar'),
46
+ 'tooltip' => __('Determines whether the default events view is a calendar or a list.', 'tribe-events-calendar'),
47
+ 'default' => 'month',
48
+ 'options' => array('month' => 'Calendar', 'upcoming' => 'Event List'),
49
+ 'validation_type' => 'options'
50
+ ),
51
+ 'eventsSlug' => array(
52
+ 'type' => 'text',
53
+ 'label' => __('Events URL slug', 'tribe-events-calendar'),
54
+ 'default' => 'events',
55
+ 'validation_type' => 'slug',
56
+ 'conditional' => ( '' != get_option('permalink_structure') ),
57
+ ),
58
+ 'current-events-slug' => array(
59
+ 'type' => 'html',
60
+ 'display_callback' => 'tribe_display_current_events_slug',
61
+ 'conditional' => ( '' != get_option('permalink_structure') ),
62
+ ),
63
+ 'ical-info' => array(
64
+ 'type' => 'html',
65
+ 'display_callback' => 'tribe_display_current_ical_link',
66
+ 'conditional' => function_exists('tribe_get_ical_link'),
67
+ ),
68
+ 'singleEventSlug' => array(
69
+ 'type' => 'text',
70
+ 'label' => __('Single Event URL slug', 'tribe-events-calendar'),
71
+ 'default' => 'event',
72
+ 'validation_type' => 'slug',
73
+ 'conditional' => ( '' != get_option('permalink_structure') ),
74
+ ),
75
+ 'current-single-event-slug' => array(
76
+ 'type' => 'html',
77
+ 'display_callback' => 'tribe_display_current_single_event_slug',
78
+ 'conditional' => ( '' != get_option('permalink_structure') ),
79
+ ),
80
+ 'postsPerPage' => array(
81
+ 'type' => 'text',
82
+ 'label' => __('Number of events to show per page in the loop', 'tribe-events-calendar'),
83
+ 'tooltip' => __('This is the number of events displayed per page when returning a list of events.', 'tribe-events-calendar'),
84
+ 'size' => 'small',
85
+ 'default' => get_option('posts_per_page'),
86
+ 'validation_type' => 'positive_int',
87
+ ),
88
+ 'showComments' => array(
89
+ 'type' => 'checkbox_bool',
90
+ 'label' => __('Show Comments', 'tribe-events-calendar'),
91
+ 'tooltip' => __('Enables commenting on your single event view.', 'tribe-events-calendar'),
92
+ 'default' => false,
93
+ 'validation_type' => 'boolean'
94
+ ),
95
+ 'multiDayCutoff' => array(
96
+ 'type' => 'dropdown',
97
+ 'label' => __('Multiday Event Cutoff', 'tribe-events-calendar'),
98
+ 'tooltip' => __('For multi-day events, hide the last day from grid view if it ends on or before this time.', 'tribe-events-calendar'),
99
+ 'validation_type' => 'options',
100
+ 'size' => 'small',
101
+ 'default' => '12:00',
102
+ 'options' => array('12:00' => '12:00 am', '12:30' => '12:30 am', '01:00' => '01:00 am', '01:30' => '01:30 am', '02:00' => '02:00 am', '02:30' => '02:30 am', '03:00' => '03:00 am', '03:30' => '03:30 am', '04:00' => '04:00 am', '04:30' => '04:30 am', '05:00' => '05:00 am', '05:30' => '05:30 am', '06:00' => '06:00 am', '06:30' => '06:30 am', '07:00' => '07:00 am', '07:30' => '07:30 am', '08:00' => '08:00 am', '08:30' => '08:30 am', '09:00' => '09:00 am', '09:30' => '09:30 am', '10:00' => '10:00 am', '10:30' => '10:30 am', '11:00' => '11:00 am', '11:30' => '11:30 am'),
103
+ ),
104
+ 'embedGoogleMaps' => array(
105
+ 'type' => 'checkbox_bool',
106
+ 'label' => __('Enable Google Maps', 'tribe-events-calendar'),
107
+ 'tooltip' => __('If you don\'t have this turned on, your event listings won\'t have the backend map preview or frontend embedded map.', 'tribe-events-calendar'),
108
+ 'default' => false,
109
+ 'class' => 'google-embed-size',
110
+ 'validation_type' => 'boolean'
111
+ ),
112
+ 'embedGoogleMapsHeight' => array(
113
+ 'type' => 'text',
114
+ 'label' => __('Google Maps Embed Height', 'tribe-events-calendar'),
115
+ 'size' => 'small',
116
+ 'default' => 350,
117
+ 'tooltip' => __('Enter a number.', 'tribe-events-calendar'),
118
+ 'class' => 'google-embed-field',
119
+ 'validation_type' => 'positive_int',
120
+ ),
121
+ 'embedGoogleMapsWidth' => array(
122
+ 'type' => 'text',
123
+ 'label' => __('Google Maps Embed Width', 'tribe-events-calendar'),
124
+ 'size' => 'small',
125
+ 'tooltip' => __('Enter a number or %.', 'tribe-events-calendar'),
126
+ 'default' => '100%',
127
+ 'class' => 'google-embed-field',
128
+ 'validation_type' => 'number_or_percent',
129
+ ),
130
+ 'embedGoogleMapsZoom' => array(
131
+ 'type' => 'text',
132
+ 'label' => __('Google Maps Default Zoom Level', 'tribe-events-calendar'),
133
+ 'tooltip' => __('0 = zoomed-out; 21 = zoomed-in.', 'tribe_events_calendar'),
134
+ 'size' => 'small',
135
+ 'default' => 10,
136
+ 'class' => 'google-embed-field',
137
+ 'validation_type' => 'number_or_percent',
138
+ ),
139
+ 'debugEvents' => array(
140
+ 'type' => 'checkbox_bool',
141
+ 'label' => __('Debug Mode', 'tribe-events-calendar'),
142
+ 'tooltip' => sprintf( __('Enable this option to log debug information. By default this will log to your server PHP error log. If you\'d like to see the log messages in your browser, then we recommend that you install the %s and look for the "Tribe" tab in the debug output.', 'tribe-events-calendar'), '<a href="http://wordpress.org/extend/plugins/debug-bar/" target="_blank">'.__('Debug Bar Plugin', 'tribe-events-calendar').'</a>' ),
143
+ 'default' => false,
144
+ 'validation_type' => 'boolean'
145
+ ),
146
+ ),
147
+ );
admin-views/tribe-options-help.php ADDED
@@ -0,0 +1,222 @@
1
+ <?php
2
+
3
+ /**
4
+ * variable setup
5
+ */
6
+
7
+ $tec_info = wp_remote_get( apply_filters('tribe_help_tab_api_info_url', TribeEvents::INFO_API_URL) );
8
+ if ( !is_wp_error($tec_info) ) {
9
+ $tec_info = $tec_info['body'];
10
+ $tec_info = unserialize($tec_info);
11
+ $rating = ( isset($tec_info['rating']) ) ? $tec_info['rating'] / 20 : _x('n/a', 'not available', 'tribe-events-calendar');
12
+ $requires = ( isset($tec_info['requires']) ) ? $tec_info['requires'] : _x('n/a', 'not available', 'tribe-events-calendar');
13
+ $version = ( isset($tec_info['version']) ) ? $tec_info['version'] : _x('n/a', 'not available', 'tribe-events-calendar');
14
+ $total_downloads = ( isset($tec_info['total_downloads']) ) ? number_format( $tec_info['total_downloads'] ) : _x('n/a', 'not available', 'tribe-events-calendar');
15
+ $up_to_date = ( isset($tec_info['version']) && version_compare( TribeEvents::VERSION, $tec_info['version'], '<' ) ) ? __('You need to upgrade!', 'tribe-events-calendar') : __('You are up to date!', 'tribe-events-calendar');
16
+ } else {
17
+ $rating = $total_downloads = $requires = _x('n/a', 'not available', 'tribe-events-calendar');
18
+ $up_to_date = '';
19
+ }
20
+
21
+ $news_rss = fetch_feed(TribeEvents::FEED_URL);
22
+ if ( !is_wp_error($news_rss) ) {
23
+ $maxitems = $news_rss->get_item_quantity( apply_filters('tribe_help_tab_rss_max_items', 5) );
24
+ $rss_items = $news_rss->get_items(0, $maxitems);
25
+ $news_feed = array();
26
+ if ( count($maxitems) > 0 ) {
27
+ foreach( $rss_items as $item ) {
28
+ $item = array(
29
+ 'title' => esc_html( $item->get_title() ),
30
+ 'link' => esc_url( $item->get_permalink() ),
31
+ );
32
+ $news_feed[] = $item;
33
+ }
34
+ }
35
+ }
36
+
37
+ $ga_query_string = '?utm_source=helptab&utm_medium=promolink&utm_campaign=plugin';
38
+
39
+ $free_add_ons = array();
40
+ $free_add_ons[] = array(
41
+ 'title' => __('Advanced Post Manager', 'tribe_events_calendar'),
42
+ 'link' => apply_filters('tribe_help_tab_apm_wp_url', 'http://wordpress.org/extend/plugins/advanced-post-manager/'),
43
+ );
44
+ $free_add_ons[] = array(
45
+ 'title' => __('Event Importer', 'tribe_events_calendar'),
46
+ 'coming_soon' => true,
47
+ );
48
+ $free_add_ons[] = array(
49
+ 'title' => __('Facebook Sync Events', 'tribe_events_calendar'),
50
+ 'coming_soon' => true,
51
+ );
52
+ $free_add_ons = (array) apply_filters( 'tribe_help_tab_free_addons', $free_add_ons );
53
+
54
+ $premium_add_ons = array();
55
+ $premium_add_ons[] = array(
56
+ 'title' => __('The Events Calendar Pro', 'tribe_events_calendar'),
57
+ 'link' => apply_filters('tribe_help_tab_ecp_tribe_url', 'http://tri.be/wordpress-events-calendar-pro/'.$ga_query_string),
58
+ );
59
+ $premium_add_ons[] = array(
60
+ 'title' => __('Eventbrite Tickets', 'tribe_events_calendar'),
61
+ 'link' => apply_filters('tribe_help_tab_eventbrite_tribe_url', 'http://tri.be/shop/wordpress-eventbrite-tickets/'.$ga_query_string),
62
+ 'coming_soon' => true,
63
+ );
64
+ $premium_add_ons[] = array(
65
+ 'title' => __('Community Events', 'tribe_events_calendar'),
66
+ 'link' => apply_filters('tribe_help_tab_community_events_tribe_url', 'http://tri.be/shop/wordpress-community-events/'.$ga_query_string),
67
+ 'coming_soon' => true,
68
+ );
69
+ $premium_add_ons[] = array(
70
+ 'title' => __('WooTickets', 'tribe_events_calendar'),
71
+ 'link' => apply_filters('tribe_help_tab_wootickets_tribe_url', 'http://tri.be/shop/wootickets/'.$ga_query_string),
72
+ 'coming_soon' => __('(coming later in 2012)', 'tribe_events_calendar'),
73
+ );
74
+ $premium_add_ons[] = array(
75
+ 'title' => __('Conference Manager', 'tribe_events_calendar'),
76
+ 'link' => apply_filters('tribe_help_tab_conference_manager_tribe_url', 'http://tri.be/shop/conference-manager/'.$ga_query_string),
77
+ 'coming_soon' => __('(coming later in 2012)', 'tribe_events_calendar'),
78
+ );
79
+ $premium_add_ons = (array) apply_filters( 'tribe_help_tab_premium_addons', $premium_add_ons );
80
+
81
+
82
+ $resources = array();
83
+ $resources[] = array(
84
+ 'title' => __('Documentation', 'tribe-events-calendar'),
85
+ 'link' => apply_filters('tribe_help_tab_documentation_url', 'http://tri.be/support/documentation/'.$ga_query_string),
86
+ );
87
+ $resources[] = array(
88
+ 'title' => __('FAQ', 'tribe-events-calendar'),
89
+ 'link' => apply_filters('tribe_help_tab_faq_url', 'http://tri.be/support/faqs/'.$ga_query_string),
90
+ );
91
+ $resources[] = array(
92
+ 'title' => __('Help', 'tribe-events-calendar'),
93
+ 'link' => apply_filters('tribe_help_tab_help_video_url', 'http://tri.be/category/products/help-video/'.$ga_query_string),
94
+ );
95
+ $resources[] = array(
96
+ 'title' => __('Tutorials', 'tribe-events-calendar'),
97
+ 'link' => apply_filters('tribe_help_tab_tutorials_url', 'http://tri.be/category/products/tutorial/'.$ga_query_string),
98
+ );
99
+ $resources[] = array(
100
+ 'title' => __('Release Notes', 'tribe-events-calendar'),
101
+ 'link' => apply_filters('tribe_help_tab_release_notes_url', 'http://tri.be/category/products/release-notes/'.$ga_query_string),
102
+ );
103
+ $resources = (array) apply_filters( 'tribe_help_tab_resources', $resources );
104
+
105
+
106
+ $getting_started_text = sprintf( __('If this is your first time using The Events Calendar, you\'re in for a treat. The more adventurous users can jump right into it by finding the "Events" section in the admin menu to the left of this message and getting down to it. For those who like to dip their toes before diving in full-on, we\'ve got you covered too. First things first: visit our %s, designed with folks exactly like yourself in mind and meant to familiarize you with the plugin\'s basics. From there, the Resources listed below (meant to help you kick ass, of course) should keep up the momentum.', 'tribe-events-calendar'), sprintf( '<a href="http://tri.be/support/documentation/events-calendar-pro-new-user-primer/' .$ga_query_string .'">%s</a>', __('new user primer', 'tribe-events-calendar') ) );
107
+ $getting_started_text = apply_filters( 'tribe_help_tab_getting_started_text', $getting_started_text );
108
+
109
+ $enb_text[] = sprintf( __('We love all our users and want to help free & PRO customers alike. If you\'re running the latest version of The Events Calendar and are having problems, post a thread the %s at WordPress.org. We hit the forum a few times a week and do what we can to assist users.', 'tribe-events-calendar'), sprintf( '<a href="http://wordpress.org/tags/the-events-calendar/' .$ga_query_string .'&forum_id=10">%s</a>', __('forum for The Events Calendar', 'tribe-events-calendar') ) );
110
+
111
+
112
+ $enb_text[] = sprintf( __('%sA few things to keep in mind before posting:%s', 'tribe-events-calendar'), '<p class="admin-indent">', '</p><ul class="admin-list">' );
113
+ $enb_text[] = sprintf( __('%sLook through the recent active threads before posting a new one and check that there isn\'t already a discussion going on your issue.%s', 'tribe-events-calendar'), '<li>', '</li>' );
114
+ $enb_text[] = sprintf( __('%sA good way to help us out before posting is to check whether the issue is a conflict with another plugin or your theme. This can be tested relatively easily on a staging site by deactivating other plugins one-by-one, and reverting to the default 2011 theme as needed, to see if conflicts can be easily identified. If so, please note that when posting your thread.%s', 'tribe-events-calendar'), '<li>', '</li>' );
115
+ $enb_text[] = sprintf( __('%sSometimes, just resaving your permalinks (under Settings -> Permalinks) can resolve events-related problems on your site. It is worth a shot before creating a new thread.%s', 'tribe-events-calendar'), '<li>', '</li>' );
116
+ $enb_text[] = sprintf( __('%sMake sure you\'re running The Events Calendar, rather than Events Calendar. They\'re two separate plugins :)%s', 'tribe-events-calendar'), '<li>', '</li></ul>' );
117
+ $enb_text[] = sprintf( __('%sWhile our team is happy to help with bugs and provide light integration tips for users of The Events Calendar, we\'re not able to provide customization tips or assist in integrating with 3rd party plugins on the WordPress.org forums.%s', 'tribe-events-calendar'), '<p class="admin-indent">', '</p>' );
118
+ $enb_text = implode( $enb_text );
119
+ $sns_text = sprintf( __('%sShoot us an email to %s or tweet to %s and tell us why. We\'ll do what we can to make it right.%s', 'tribe-events-calendar'), '<p class="admin-indent">', sprintf( '<a href="mailto:pro@tri.be">%s</a>', __('pro@tri.be', 'tribe-events-calendar') ), sprintf( '<a href="http://www.twitter.com/moderntribeinc">%s</a>', __('@moderntribeinc', 'tribe-events-calendar') ), '</p>' );
120
+ $more_text = __('More...', 'tribe-events-calendar');
121
+ ?>
122
+
123
+ <div id="tribe-help-general">
124
+ <div id="modern-tribe-info">
125
+ <img src="<?php echo plugins_url('resources/images/modern-tribe.png', dirname(__FILE__)) ?>" alt="Modern Tribe Inc." title="Modern Tribe Inc.">
126
+
127
+ <p><?php _e('Hi! Thank you so much for using the labor of our love. We are Modern Tribe and we are here to help you kick ass.', 'tribe-events-calendar'); ?></p>
128
+
129
+ <h3><?php _e('Getting Started', 'tribe-events-calendar'); ?></h3>
130
+
131
+ <?php echo( apply_filters( 'tribe_help_tab_getting_started_content', $getting_started_text ) ); ?>
132
+ </div>
133
+
134
+ <h3><?php _e('Resources to Help You Kick Ass', 'tribe-events-calendar'); ?></h3>
135
+
136
+ <ul class="admin-indent">
137
+ <?php foreach ($resources as $resource) :
138
+ echo '<li>';
139
+ if ( isset($resource['link']) ) echo '<a href="'.$resource['link'].'">';
140
+ echo $resource['title'];
141
+ if ( isset($resource['link']) ) echo '</a>';
142
+ echo '</li>';
143
+ endforeach; ?>
144
+ </ul>
145
+
146
+ <h3><?php _e('Everyone Needs a Buddy', 'tribe-events-calendar'); ?></h3>
147
+ <?php echo( apply_filters( 'tribe_help_tab_enb_content', $enb_text ) ); ?>
148
+
149
+ <h3><?php _e('Still Not Satisfied?', 'tribe-events-calendar'); ?></h3>
150
+ <?php echo( apply_filters( 'tribe_help_tab_sns_content', $sns_text ) ); ?>
151
+ </div>
152
+
153
+
154
+ <div id="tribe-help-sidebar">
155
+ <div id="tribe-help-plugin-info">
156
+ <h3><?php _e('The Events Calendar', 'tribe-events-calendar'); ?></h3>
157
+
158
+
159
+ <p><?php echo $up_to_date; ?></p>
160
+ <p><b><?php _e('Latest Version:', 'tribe-events-calendar'); ?></b> <?php echo $version; ?><br />
161
+ <b><?php _e('Author:', 'tribe-events-calendar'); ?></b> <?php _e('Modern Tribe Inc', 'tribe-events-calendar'); ?><br />
162
+ <b><?php _e('Requires:', 'tribe-events-calendar'); ?></b> <?php _e('WordPress ', 'tribe-events-calendar'); echo $requires; ?>+<br />
163
+ <a href="<?php echo apply_filters('tribe_help_tab_wp_plugin_url', TribeEvents::WP_PLUGIN_URL); ?>"><?php _e('Wordpress.org Plugin Page', 'tribe-events-calendar'); ?></a></p>
164
+ </div>
165
+
166
+ <h3><?php _e('Average Rating', 'tribe-events-calendar'); ?></h3>
167
+
168
+ <?php if ($rating != _x('n/a', 'not available', 'tribe-events-calendar') ) : ?>
169
+ <div class="star-holder">
170
+ <div class="star star-rating" style="width: <?php echo( $tec_info['rating'] ); ?>px"></div>
171
+ <?php for ($i = 5; $i > 0; $i--) : ?>
172
+ <div class="star star<?php echo $i ?>"><img src="<?php echo admin_url('images/star.png'); ?>" alt="<?php echo $i ?> stars" /></div>
173
+ <?php endfor; ?>
174
+ </div>
175
+ <?php printf( _n('Based on %d rating', 'Based on %d ratings', $tec_info['num_ratings'], 'tribe-events-calendar' ), $tec_info['num_ratings'] ); ?>
176
+ <?php else : ?>
177
+ <div class="no-rating-available">
178
+ <?php _e('Rating currently unavailable :(', 'tribe-events-calendar'); ?>
179
+ </div>
180
+ <?php endif; ?>
181
+
182
+
183
+ <br />
184
+ <a href="<?php echo apply_filters('tribe_help_tab_wp_plugin_url', TribeEvents::WP_PLUGIN_URL); ?>"><?php _e('Give us 5 stars!', 'tribe-events-calendar'); ?></a>
185
+
186
+ <h3><?php _e('Free Add-Ons', 'tribe-events-calendar'); ?></h3>
187
+ <ul>
188
+ <?php foreach ($free_add_ons as $addon) :
189
+ echo '<li>';
190
+ if ( isset($addon['link']) ) echo '<a href="'.$addon['link'].'">';
191
+ echo $addon['title'];
192
+ if ( isset($addon['coming_soon']) ) echo ( is_string($addon['coming_soon']) ) ? ' '.$addon['coming_soon'] : ' '.__('(Coming Soon!)', 'tribe-events-calendar');
193
+ if ( isset($addon['link']) ) echo '</a>';
194
+ echo '</li>';
195
+ endforeach; ?>
196
+ </ul>
197
+
198
+
199
+ <h3><?php _e('Premium Add-Ons', 'tribe-events-calendar'); ?></h3>
200
+ <ul>
201
+ <?php foreach ($premium_add_ons as $addon) :
202
+ echo '<li>';
203
+ if ( isset($addon['link']) ) echo '<a href="'.$addon['link'].'">';
204
+ echo $addon['title'];
205
+ if ( isset($addon['coming_soon']) ) echo ( is_string($addon['coming_soon']) ) ? ' '.$addon['coming_soon'] : ' '.__('(Coming Soon!)', 'tribe-events-calendar');
206
+ if ( isset($addon['link']) ) echo '</a>';
207
+ echo '</li>';
208
+ endforeach; ?>
209
+ </ul>
210
+
211
+
212
+ <h3><?php _e('News and Tutorials', 'tribe-events-calendar'); ?></h3>
213
+ <ul>
214
+ <?php
215
+ foreach ( $news_feed as $item ) {
216
+ echo( '<li><a href="' . $item['link'] . '?utm_source=helptab&utm_medium=news&utm_campaign=plugin">' . $item['title'] . '</a></li>' );
217
+ }
218
+ echo '<li><a href="http://tri.be/category/products/?utm_source=helptab&utm_medium=news&utm_campaign=plugin">' . $more_text . '</a></li>';
219
+ ?>
220
+ </ul>
221
+
222
+ </div>
admin-views/tribe-options-templates.php ADDED
@@ -0,0 +1,44 @@
1
+ <?php
2
+
3
+ $template_options = array(
4
+ '' => __('Default Events Template', 'tribe-events-calendar' ),
5
+ 'default' => __('Default Page Template', 'tribe-events-calendar' ),
6
+ );
7
+ $templates = get_page_templates();
8
+ ksort( $templates );
9
+ foreach (array_keys( $templates ) as $template ) {
10
+ $template_options[$templates[$template]] = $template;
11
+ }
12
+
13
+ $templatesTab = array(
14
+ 'priority' => 20,
15
+ 'fields' => array(
16
+ 'template-heading' => array(
17
+ 'type' => 'heading',
18
+ 'label' => __('Template Settings', 'tribe-events-calendar'),
19
+ ),
20
+ 'tribeEventsTemplate' => array(
21
+ 'type' => 'dropdown_chosen',
22
+ 'label' => __('Events Template', 'tribe-events-calendar'),
23
+ 'tooltip' => __('Choose a page template to control the look and feel of your calendar.', 'tribe-events-calendar'),
24
+ 'validation_type' => 'options',
25
+ 'size' => 'large',
26
+ 'default' => 'default',
27
+ 'options' => $template_options,
28
+ ),
29
+ 'tribeEventsBeforeHTML' => array(
30
+ 'type' => 'textarea',
31
+ 'label' => __('Add HTML before calendar', 'tribe-events-calendar'),
32
+ 'tooltip' => __('Some themes may require that you add extra divs before the calendar list to help with styling.<br>This is displayed directly after the header.', 'tribe-events-calendar').' '.__('You may use (x)HTML.', 'tribe-events-calendar'),
33
+ 'validation_type' => 'html',
34
+ 'size' => 'large',
35
+ ),
36
+ 'tribeEventsAfterHTML' => array(
37
+ 'type' => 'textarea',
38
+ 'label' => __('Add HTML after calendar', 'tribe-events-calendar'),
39
+ 'tooltip' => __('Some themes may require that you add extra divs after the calendar list to help with styling.<br>This is displayed directly above the footer.', 'tribe-events-calendar').' '.__('You may use (x)HTML.', 'tribe-events-calendar'),
40
+ 'validation_type' => 'html',
41
+ 'size' => 'large',
42
+ ),
43
+ ),
44
+ );
admin-views/venue-meta-box.php CHANGED
@@ -26,8 +26,7 @@ if ( !defined('ABSPATH') ) { die('-1'); }
26
<tr class="venue">
27
<td><?php _e('Country:','tribe-events-calendar'); ?></td>
28
<td>
29
- <select tabindex="<?php $this->tabIndex(); ?>" name='venue[Country]' id="EventCountry">
30
- <?php
31
$countries = TribeEventsViewHelpers::constructCountries( $postId );
32
$defaultCountry = tribe_get_option('defaultCountry');
33
if (isset($_VenueCountry) && $_VenueCountry) {
@@ -37,16 +36,17 @@ if ( !defined('ABSPATH') ) { die('-1'); }
37
} else {
38
$current = null;
39
}
40
-
41
foreach ($countries as $abbr => $fullname) {
42
echo '<option value="' . esc_attr($fullname) . '" ';
43
44
if($abbr == '')
45
echo "disabled='disabled' ";
46
47
- if ($current == $fullname) {
48
- echo 'selected="selected" ';
49
- }
50
echo '>' . esc_html($fullname) . '</option>';
51
}
52
?>
@@ -57,18 +57,15 @@ if ( !defined('ABSPATH') ) { die('-1'); }
57
<?php if(!isset($_VenueStateProvince) || $_VenueStateProvince == "") $_VenueStateProvince = -1; ?>
58
<td><?php _e('State or Province:','tribe-events-calendar'); ?></td>
59
<td><input tabindex="<?php $this->tabIndex(); ?>" id="StateProvinceText" name="venue[Province]" type='text' name='' size='25' value='<?php echo ( isset($_VenueStateProvince) && $_VenueStateProvince != '' && $_VenueStateProvince != -1 ) ? esc_attr($_VenueProvince) : esc_attr(''); ?>' />
60
- <select tabindex="<?php $this->tabIndex(); ?>" id="StateProvinceSelect" name="venue[State]">
61
<option value=""><?php _e('Select a State:','tribe-events-calendar'); ?></option>
62
<?php
63
foreach (TribeEventsViewHelpers::loadStates() as $abbr => $fullname) {
64
- print ("<option value=\"$abbr\" ");
65
if( $_VenueStateProvince != -1 ){
66
- if (( $_VenueStateProvince != -1 ? $_VenueStateProvince : $_VenueState) == $abbr) {
67
- print ('selected="selected" ');
68
- }
69
}
70
- print (">" . esc_html($fullname) . "</option>\n");
71
-
72
}
73
?>
74
</select>
26
<tr class="venue">
27
<td><?php _e('Country:','tribe-events-calendar'); ?></td>
28
<td>
29
+ <?php
30
$countries = TribeEventsViewHelpers::constructCountries( $postId );
31
$defaultCountry = tribe_get_option('defaultCountry');
32
if (isset($_VenueCountry) && $_VenueCountry) {
36
} else {
37
$current = null;
38
}
39
+ ?>
40
+ <select class="chosen" tabindex="<?php $this->tabIndex(); ?>" name='venue[Country]' id="EventCountry">
41
+ <?php
42
foreach ($countries as $abbr => $fullname) {
43
echo '<option value="' . esc_attr($fullname) . '" ';
44
45
if($abbr == '')
46
echo "disabled='disabled' ";
47
48
+ selected(($current == $fullname));
49
+
50
echo '>' . esc_html($fullname) . '</option>';
51
}
52
?>
57
<?php if(!isset($_VenueStateProvince) || $_VenueStateProvince == "") $_VenueStateProvince = -1; ?>
58
<td><?php _e('State or Province:','tribe-events-calendar'); ?></td>
59
<td><input tabindex="<?php $this->tabIndex(); ?>" id="StateProvinceText" name="venue[Province]" type='text' name='' size='25' value='<?php echo ( isset($_VenueStateProvince) && $_VenueStateProvince != '' && $_VenueStateProvince != -1 ) ? esc_attr($_VenueProvince) : esc_attr(''); ?>' />
60
+ <select class="chosen" tabindex="<?php $this->tabIndex(); ?>" id="StateProvinceSelect" name="venue[State]">
61
<option value=""><?php _e('Select a State:','tribe-events-calendar'); ?></option>
62
<?php
63
foreach (TribeEventsViewHelpers::loadStates() as $abbr => $fullname) {
64
+ echo '<option value="'.$abbr.'"';
65
if( $_VenueStateProvince != -1 ){
66
+ selected((( $_VenueStateProvince != -1 ? $_VenueStateProvince : $_VenueState) == $abbr));
67
}
68
+ echo '>' . esc_html($fullname) . '</option>';
69
}
70
?>
71
</select>
lang/tribe-events-calendar-nb_NO.mo ADDED
Binary file
lang/tribe-events-calendar-nb_NO.po ADDED
@@ -0,0 +1,2102 @@
1
+ # POT for The Events Calendar 2.0 by Modern Tribe, Inc..
2
+ # Copyright (C) 2011 Shane & Peter, Inc.
3
+ # This file is distributed under the same license as the The Events Calendar package.
4
+ msgid ""
5
+ msgstr ""
6
+ "Project-Id-Version: The Events Calendar 2.0\n"
7
+ "Report-Msgid-Bugs-To: \n"
8
+ "POT-Creation-Date: 2012-01-09 11:28-0800\n"
9
+ "PO-Revision-Date: 2012-02-23 22:41+0100\n"
10
+ "Last-Translator: Terje With Lunndal <terje@lunndal.priv.no>\n"
11
+ "Language-Team: Terje With Lunndal <terje@lunndal.priv.no>\n"
12
+ "MIME-Version: 1.0\n"
13
+ "Content-Type: text/plain; charset=UTF-8\n"
14
+ "Content-Transfer-Encoding: 8bit\n"
15
+ "Language: \n"
16
+ "X-Poedit-SourceCharset: utf-8\n"
17
+ "X-Poedit-KeywordsList: __;_e\n"
18
+ "X-Poedit-Basepath: ./\n"
19
+ "X-Poedit-Language: Norwegian Bokmal\n"
20
+ "X-Poedit-Country: NORWAY\n"
21
+ "X-Poedit-SearchPath-0: ..\n"
22
+
23
+ #: ../admin-views/event-sidebar-options.php:11
24
+ msgid "Hide From Upcoming Events List"
25
+ msgstr "Skjul fra listen over kommende aktiviteter"
26
+
27
+ #: ../admin-views/events-meta-box.php:25
28
+ msgid "Event Time &amp; Date"
29
+ msgstr "Tidspunkt"
30
+
31
+ #: ../admin-views/events-meta-box.php:28
32
+ msgid "You have changed the recurrence rules of this event. Saving the event will update all future events. If you did not mean to change all events, then please refresh the page."
33
+ msgstr "Du har endret innstillingene for gjentakelse av denne aktiviteten. Om du lagrer aktiviteten vil alle påfølgende aktiviteter i serien oppdateres. Om du ikke hadde til hensikt å endre alle aktivitetene i serien, vennligst last siden på nytt."
34
+
35
+ #: ../admin-views/events-meta-box.php:31
36
+ msgid "All day event?"
37
+ msgstr "Heldagsaktivitet?"
38
+
39
+ #: ../admin-views/events-meta-box.php:35
40
+ msgid "Start Date / Time:"
41
+ msgstr "Startdato og tidspunkt:"
42
+
43
+ #: ../admin-views/events-meta-box.php:38
44
+ #: ../admin-views/events-meta-box.php:59
45
+ msgid "YYYY-MM-DD"
46
+ msgstr "ÅÅÅÅ-MM-DD"
47
+
48
+ #: ../admin-views/events-meta-box.php:40
49
+ #: ../admin-views/events-meta-box.php:61
50
+ msgid "@"
51
+ msgstr "@"
52
+
53
+ #: ../admin-views/events-meta-box.php:56
54
+ msgid "End Date / Time:"
55
+ msgstr "Sluttdato og tidspunkt:"
56
+
57
+ #: ../admin-views/events-meta-box.php:78
58
+ msgid "Event Location Details"
59
+ msgstr "Stedsbeskrivelse"
60
+
61
+ #: ../admin-views/events-meta-box.php:84
62
+ msgid "Show Google Maps Link:"
63
+ msgstr "Vis lenke til kart fra Google Maps:"
64
+
65
+ #: ../admin-views/events-meta-box.php:91
66
+ msgid "Show Google Map:"
67
+ msgstr "Vis kart fra Google Maps"
68
+
69
+ #: ../admin-views/events-meta-box.php:100
70
+ msgid "Event Organizer Details"
71
+ msgstr "Informasjon om arrangøren"
72
+
73
+ #: ../admin-views/events-meta-box.php:109
74
+ msgid "Event Cost"
75
+ msgstr "Pris for deltakelse"
76
+
77
+ #: ../admin-views/events-meta-box.php:112
78
+ msgid "Cost:"
79
+ msgstr "Pris:"
80
+
81
+ #: ../admin-views/events-meta-box.php:117
82
+ msgid "Leave blank to hide the field. Enter a 0 for events that are free."
83
+ msgstr "La feltet være blankt for å skjule det. Skriv 0 om aktiviteten er gratis."
84
+
85
+ #: ../admin-views/events-options.php:47
86
+ #, php-format
87
+ msgid "%s Settings"
88
+ msgstr "%s Innstillinger"
89
+
90
+ #: ../admin-views/events-options.php:51
91
+ msgid "Need a hand?"
92
+ msgstr "Trenger du hjelp?"
93
+
94
+ #: ../admin-views/events-options.php:52
95
+ #, php-format
96
+ msgid "If you're stuck on these options, please go to the <a href=\"%s\">support forum</a>."
97
+ msgstr "Om du sitter fast med innstillingene, vennligst gå til <a href=\"%s\">forumet for brukerstøtte</a>."
98
+
99
+ #: ../admin-views/events-options.php:54
100
+ msgid "Here is the iCal feed URL for your events: "
101
+ msgstr "Her er URLen til iCal-feeden for aktivitetene dine:"
102
+
103
+ #: ../admin-views/events-options.php:60
104
+ msgid "Settings"
105
+ msgstr "Innstillinger"
106
+
107
+ #: ../admin-views/events-options.php:63
108
+ #: ../admin-views/events-options.php:67
109
+ msgid "Default View for the Events"
110
+ msgstr "Standardinnstillinger for aktivitetene"
111
+
112
+ #: ../admin-views/events-options.php:71
113
+ msgid "Calendar"
114
+ msgstr "Kalender"
115
+
116
+ #: ../admin-views/events-options.php:75
117
+ msgid "Event List"
118
+ msgstr "Aktivitetsliste"
119
+
120
+ #: ../admin-views/events-options.php:81
121
+ #: ../admin-views/events-options.php:85
122
+ #: ../admin-views/events-options.php:87
123
+ msgid "Show Comments"
124
+ msgstr "Vis kommentarer"
125
+
126
+ #: ../admin-views/events-options.php:95
127
+ #: ../admin-views/events-options.php:99
128
+ msgid "Multiday Event Cutoff"
129
+ msgstr "Brytningspunkt for aktiviteter som strekker seg over flere dager"
130
+
131
+ #: ../admin-views/events-options.php:113
132
+ msgid "For multi-day events, hide the last day from grid view if it ends on or before this time."
133
+ msgstr "For aktiviteter som strekker seg over flere dager, skjul den siste dagen fra kalendervisning om aktiviteten slutter på eller før dette tidspunktet."
134
+
135
+ #: ../admin-views/events-options.php:118
136
+ #: ../admin-views/events-options.php:122
137
+ msgid "Enable Google Maps"
138
+ msgstr "Aktiver Google Maps"
139
+
140
+ #: ../admin-views/events-options.php:128
141
+ msgid "Height"
142
+ msgstr "Høyde"
143
+
144
+ #: ../admin-views/events-options.php:129
145
+ msgid "Width"
146
+ msgstr "Bredde"
147
+
148
+ #: ../admin-views/events-options.php:129
149
+ msgid "(number or %)"
150
+ msgstr "(antall eller %)"
151
+
152
+ #: ../admin-views/events-options.php:133
153
+ msgid "If you don't have this turned on, your event listings won't have the backend map preview or frontend embedded map."
154
+ msgstr "Om denne ikke er aktivert vil ikke aktivitetene dine ha forhåndsvisning av detaljkart eller innebygde hovedsidekart."
155
+
156
+ #: ../admin-views/events-options.php:141
157
+ #: ../admin-views/events-options.php:143
158
+ msgid "Events URL slug"
159
+ msgstr "Kortnavn for aktivitets-URL"
160
+
161
+ #: ../admin-views/events-options.php:144
162
+ msgid "The slug used for building the Events URL."
163
+ msgstr "Kortnavnet benyttes for å konstruere URLen til aktivitetskalenderen."
164
+
165
+ #: ../admin-views/events-options.php:144
166
+ #, php-format
167
+ msgid "Your current Events URL is <strong><a href=\"%s\">%s</a></strong>"
168
+ msgstr "Aktiv URL til aktivitetskalenderen er <strong><a href=\"%s\">%s</a></strong>"
169
+
170
+ #: ../admin-views/events-options.php:148
171
+ #: ../admin-views/events-options.php:150
172
+ msgid "Single Event URL slug"
173
+ msgstr "Kortnavn for URL til enkeltaktiviteter"
174
+
175
+ #: ../admin-views/events-options.php:151
176
+ msgid "The slug used for building a single Event URL."
177
+ msgstr "Kortnavnet benyttes for å konstruere URLen til en enkeltaktivitet."
178
+
179
+ #: ../admin-views/events-options.php:152
180
+ #, php-format
181
+ msgid "<strong>NOTE:</strong> You <em>cannot</em> use the same slug as above. The above should ideally be plural, and this singular.<br />Your single Event URL is like: <strong>%s</strong>"
182
+ msgstr "<strong>MERK:</strong> Du <em>kan ikke</em> bruke det samme kortnavnet som over. Kortnavnet over bør ideelt sett være i flertall, og denne i entall.<br />URLen for enkeltaktiviteter blir da: <strong>%s</strong>"
183
+
184
+ #: ../admin-views/events-options.php:157
185
+ #: ../admin-views/events-options.php:159
186
+ msgid "Debug"
187
+ msgstr "Feilsøking"
188
+
189
+ #: ../admin-views/events-options.php:160
190
+ msgid "Debug Events display issues."
191
+ msgstr "Feilsøk visningsproblemer for aktiviteter."
192
+
193
+ #: ../admin-views/events-options.php:161
194
+ #, php-format
195
+ msgid "Enable this option to log debug information. By default this will log to your server PHP error log. If you'd like to see the log messages in your browser, then we recommend that you install the <a href=\"%s\" target=\"_blank\">Debug Bar Plugin</a> and look for the \"Tribe\" tab in the debug output."
196
+ msgstr "Aktiver denne innstillingen for å logge feilsøkingsinformasjon. I utgangspunktet skrives logger til vertens PHP-feillogg. Om du ønsker å se loggmeldingene direkte i nettleseren din anbefaler vi at du installerer innstikket kalt <a href=\"%s\" target=\"_blank\">Debug Bar Plugin</a>. Der kan du se etter fanearket \"Tribe\"."
197
+
198
+ #: ../admin-views/events-options.php:166
199
+ msgid "Theme Settings"
200
+ msgstr "Innstillinger for tema"
201
+
202
+ #: ../admin-views/events-options.php:169
203
+ #: ../admin-views/events-options.php:171
204
+ msgid "Events Template"
205
+ msgstr "Aktivitetsmal"
206
+
207
+ #: ../admin-views/events-options.php:173
208
+ msgid "Default Events Template"
209
+ msgstr "Standard aktivitetsmal"
210
+
211
+ #: ../admin-views/events-options.php:174
212
+ msgid "Default Page Template"
213
+ msgstr "Standard sidemal"
214
+
215
+ #: ../admin-views/events-options.php:177
216
+ msgid "Choose a page template to control the look and feel of your calendar."
217
+ msgstr "Velg en sidemal for å bestemme kalenderens utseende."
218
+
219
+ #: ../admin-views/events-options.php:181
220
+ #: ../admin-views/events-options.php:183
221
+ #: ../admin-views/events-options.php:191
222
+ msgid "Add HTML before calendar"
223
+ msgstr "Legg til HTML foran kalenderen"
224
+
225
+ #: ../admin-views/events-options.php:185
226
+ msgid "Some themes may require that you add extra divs before the calendar list to help with styling."
227
+ msgstr "Noen temaer krever at du legger til ekstra DIV-tagger foran kalenderen for å bedre utseendet."
228
+
229
+ #: ../admin-views/events-options.php:185
230
+ msgid "This is displayed directly after the header."
231
+ msgstr "Dette vises rett etter toppteksten."
232
+
233
+ #: ../admin-views/events-options.php:185
234
+ #: ../admin-views/events-options.php:193
235
+ msgid "You may use (x)HTML."
236
+ msgstr "Du kan benytte (x)HTML."
237
+
238
+ #: ../admin-views/events-options.php:189
239
+ msgid "Add HTML after calendar"
240
+ msgstr "Legg til HTML etter kalenderen"
241
+
242
+ #: ../admin-views/events-options.php:193
243
+ msgid "Some themes may require that you add extra divs after the calendar list to help with styling."
244
+ msgstr "Noen temaer krever at du legger til ekstra DIV-tagger etter kalenderen for å bedre utseendet."
245
+
246
+ #: ../admin-views/events-options.php:193
247
+ msgid "This is displayed directly above the footer."
248
+ msgstr "Dette vises rett før bunnteksten."
249
+
250
+ #: ../admin-views/events-options.php:202
251
+ msgid "Save Changes"
252
+ msgstr "Lagre endringer"
253
+
254
+ #: ../admin-views/organizer-meta-box.php:11
255
+ msgid "Organizer Name:"
256
+ msgstr "Arrangørens navn:"
257
+
258
+ #: ../admin-views/organizer-meta-box.php:17
259
+ #: ../admin-views/venue-meta-box.php:83
260
+ msgid "Phone:"
261
+ msgstr "Telefon:"
262
+
263
+ #: ../admin-views/organizer-meta-box.php:21
264
+ msgid "Website:"
265
+ msgstr "Nettsted:"
266
+
267
+ #: ../admin-views/organizer-meta-box.php:25
268
+ msgid "Email:"
269
+ msgstr "E-post:"
270
+
271
+ #: ../admin-views/recurrence-dialog.php:11
272
+ msgid "Which events do you wish to update?"
273
+ msgstr "Hvilke aktiviteter vil du oppdatere?"
274
+
275
+ #: ../admin-views/recurrence-dialog.php:14
276
+ msgid "Select your desired action"
277
+ msgstr "Velg ønsket handling"
278
+
279
+ #: ../admin-views/venue-meta-box.php:12
280
+ msgid "Venue Name:"
281
+ msgstr "Navn på lokale/sted:"
282
+
283
+ #: ../admin-views/venue-meta-box.php:19
284
+ msgid "Address:"
285
+ msgstr "Adresse:"
286
+
287
+ #: ../admin-views/venue-meta-box.php:23
288
+ msgid "City:"
289
+ msgstr "By:"
290
+
291
+ #: ../admin-views/venue-meta-box.php:27
292
+ msgid "Country:"
293
+ msgstr "Land:"
294
+
295
+ #: ../admin-views/venue-meta-box.php:58
296
+ msgid "State or Province:"
297
+ msgstr "Stat eller provins:"
298
+
299
+ #: ../admin-views/venue-meta-box.php:61
300
+ msgid "Select a State:"
301
+ msgstr "Velg stat:"
302
+
303
+ #: ../admin-views/venue-meta-box.php:79
304
+ msgid "Postal Code:"
305
+ msgstr "Postnummer:"
306
+
307
+ #: ../admin-views/widget-admin-list.php:11
308
+ msgid "Title:"
309
+ msgstr "Tittel:"
310
+
311
+ #: ../admin-views/widget-admin-list.php:16
312
+ msgid "Show:"
313
+ msgstr "Vis:"
314
+
315
+ #: ../admin-views/widget-admin-list.php:24
316
+ msgid "Show widget only if there are upcoming events:"
317
+ msgstr "Vis widgeten kun om det finnes framtidige aktiviteter:"
318
+
319
+ #: ../admin-views/widget-admin-list.php:30
320
+ msgid "If you wish to customize the widget display yourself, see the file views/events-list-load-widget-display.php inside the Events Premium plugin."
321
+ msgstr "Om du ønsker å tilpasse widgetens utseende kan du titte på filen views/events-list-load-widget-display.php som følger med Events Premium-innstikket."
322
+
323
+ # Er ikke dette et egennavn? Skal man oversette det?
324
+ #: ../lib/the-events-calendar.class.php:248
325
+ msgid "The Events Calendar"
326
+ msgstr "The Events Calendar"
327
+
328
+ #: ../lib/the-events-calendar.class.php:251
329
+ msgid "category"
330
+ msgstr "kategori"
331
+
332
+ #: ../lib/the-events-calendar.class.php:252
333
+ msgid "month"
334
+ msgstr "måned"
335
+
336
+ #: ../lib/the-events-calendar.class.php:253
337
+ msgid "upcoming"
338
+ msgstr "kommende"
339
+
340
+ #: ../lib/the-events-calendar.class.php:254
341
+ msgid "past"
342
+ msgstr "tidligere"
343
+
344
+ #: ../lib/the-events-calendar.class.php:256
345
+ msgid "venue"
346
+ msgstr "sted"
347
+
348
+ #: ../lib/the-events-calendar.class.php:266
349
+ #, php-format
350
+ msgid "Initializing Tribe Events on %s"
351
+ msgstr "Initialiserer Tribe-aktiviteter for %s"
352
+
353
+ #: ../lib/the-events-calendar.class.php:323
354
+ #, php-format
355
+ msgid "Sorry, The Events Calendar requires WordPress %s or higher. Please upgrade your WordPress install."
356
+ msgstr "Beklager, The Events Calendar krever WordPress %s eller nyere. Vennligst oppgrader WordPress."
357
+
358
+ #: ../lib/the-events-calendar.class.php:326
359
+ #, php-format
360
+ msgid "Sorry, The Events Calendar requires PHP %s or higher. Talk to your Web host about moving you to a newer version of PHP."
361
+ msgstr "Beklager, The Events Calendar krever PHP %s eller nyere. Be din systemadministrator om å migrere deg til en nyere versjon av PHP."
362
+
363
+ #: ../lib/the-events-calendar.class.php:447
364
+ msgid "Upcoming Events"
365
+ msgstr "Kommende aktiviteter"
366
+
367
+ #: ../lib/the-events-calendar.class.php:449
368
+ msgid "Past Events"
369
+ msgstr "Tidligere aktiviteter"
370
+
371
+ #: ../lib/the-events-calendar.class.php:453
372
+ #: ../lib/the-events-calendar.class.php:459
373
+ #, php-format
374
+ msgid "Events for %s"
375
+ msgstr "aktiviteter for %s"
376
+
377
+ #: ../lib/the-events-calendar.class.php:455
378
+ msgid "Events this month"
379
+ msgstr "Aktiviteter denne måneden"
380
+
381
+ #: ../lib/the-events-calendar.class.php:465
382
+ #, php-format
383
+ msgid "Events at %s"
384
+ msgstr "Aktiviteter ved %s"
385
+
386
+ #: ../lib/the-events-calendar.class.php:477
387
+ msgid "No description has been entered for this event."
388
+ msgstr "Denne aktiviteten har ingen beskrivelse."
389
+
390
+ #: ../lib/the-events-calendar.class.php:583
391
+ msgid "Events"
392
+ msgstr "Aktiviteter"
393
+
394
+ #: ../lib/the-events-calendar.class.php:584
395
+ msgid "Event"
396
+ msgstr "Aktiviteter"
397
+
398
+ #: ../lib/the-events-calendar.class.php:585
399
+ #: ../lib/the-events-calendar.class.php:598
400
+ #: ../lib/the-events-calendar.class.php:611
401
+ msgid "Add New"
402
+ msgstr "Legg til ny"
403
+
404
+ #: ../lib/the-events-calendar.class.php:586
405
+ msgid "Add New Event"
406
+ msgstr "Legg til ny aktivitet"
407
+
408
+ #: ../lib/the-events-calendar.class.php:587
409
+ msgid "Edit Event"
410
+ msgstr "Rediger aktivitet"
411
+
412
+ #: ../lib/the-events-calendar.class.php:588
413
+ msgid "New Event"
414
+ msgstr "Ny aktivitet"
415
+
416
+ #: ../lib/the-events-calendar.class.php:589
417
+ msgid "View Event"
418
+ msgstr "Vis aktivitet"
419
+
420
+ #: ../lib/the-events-calendar.class.php:590
421
+ msgid "Search Events"
422
+ msgstr "Søk i aktiviteter"
423
+
424
+ #: ../lib/the-events-calendar.class.php:591
425
+ msgid "No events found"
426
+ msgstr "Fant ingen aktiviteter"
427
+
428
+ #: ../lib/the-events-calendar.class.php:592
429
+ msgid "No events found in Trash"
430
+ msgstr "Fant ingen aktiviteter i søppelkassen"
431
+
432
+ #: ../lib/the-events-calendar.class.php:596
433
+ msgid "Venues"
434
+ msgstr "Steder"
435
+
436
+ #: ../lib/the-events-calendar.class.php:597
437
+ msgid "Venue"
438
+ msgstr "Sted"
439
+
440
+ #: ../lib/the-events-calendar.class.php:599
441
+ msgid "Add New Venue"
442
+ msgstr "Legg til nytt sted"
443
+
444
+ #: ../lib/the-events-calendar.class.php:600
445
+ msgid "Edit Venue"
446
+ msgstr "Rediger sted"
447
+
448
+ #: ../lib/the-events-calendar.class.php:601
449
+ msgid "New Venue"
450
+ msgstr "Nytt sted"
451
+
452
+ #: ../lib/the-events-calendar.class.php:602
453
+ #: ../lib/the-events-calendar.class.php:615
454
+ msgid "View Venue"
455
+ msgstr "Vis sted"
456
+
457
+ #: ../lib/the-events-calendar.class.php:603
458
+ msgid "Search Venues"
459
+ msgstr "Søk i steder"
460
+
461
+ #: ../lib/the-events-calendar.class.php:604
462
+ msgid "No venue found"
463
+ msgstr "Fant ingen steder"
464
+
465
+ #: ../lib/the-events-calendar.class.php:605
466
+ msgid "No venues found in Trash"
467
+ msgstr "Fant ingen steder i søppelkassen"
468
+
469
+ #: ../lib/the-events-calendar.class.php:609
470
+ msgid "Organizers"
471
+ msgstr "Arrangører"
472
+
473
+ #: ../lib/the-events-calendar.class.php:610
474
+ msgid "Organizer"
475
+ msgstr "Arrangør"
476
+
477
+ #: ../lib/the-events-calendar.class.php:612
478
+ msgid "Add New Organizer"
479
+ msgstr "Legg til ny arrangør"
480
+
481
+ #: ../lib/the-events-calendar.class.php:613
482
+ msgid "Edit Organizer"
483
+ msgstr "Rediger arrangør"
484
+
485
+ #: ../lib/the-events-calendar.class.php:614
486
+ msgid "New Organizer"
487
+ msgstr "Ny arrangør"
488
+
489
+ #: ../lib/the-events-calendar.class.php:616
490
+ msgid "Search Organizers"
491
+ msgstr "Søk i arrangører"
492
+
493
+ #: ../lib/the-events-calendar.class.php:617
494
+ msgid "No organizer found"
495
+ msgstr "Fant ingen arrangører"
496
+
497
+ #: ../lib/the-events-calendar.class.php:618
498
+ msgid "No organizers found in Trash"
499
+ msgstr "Fant ingen arrangører i søppelkassen"
500
+
501
+ #: ../lib/the-events-calendar.class.php:622
502
+ #: ../lib/tribe-admin-events-list.class.php:172
503
+ msgid "Event Categories"
504
+ msgstr "Kategorier"
505
+
506
+ #: ../lib/the-events-calendar.class.php:623
507
+ msgid "Event Category"
508
+ msgstr "Kategori"
509
+
510
+ #: ../lib/the-events-calendar.class.php:624
511
+ msgid "Search Event Categories"
512
+ msgstr "Søk i kategorier"
513
+
514
+ #: ../lib/the-events-calendar.class.php:625
515
+ msgid "All Event Categories"
516
+ msgstr "Alle kategorier"
517
+
518
+ #: ../lib/the-events-calendar.class.php:626
519
+ msgid "Parent Event Category"
520
+ msgstr "Overordnet kategori"
521
+
522
+ #: ../lib/the-events-calendar.class.php:627
523
+ msgid "Parent Event Category:"
524
+ msgstr "Overordnet kategori:"
525
+
526
+ #: ../lib/the-events-calendar.class.php:628
527
+ msgid "Edit Event Category"
528
+ msgstr "Rediger kategori"
529
+
530
+ #: ../lib/the-events-calendar.class.php:629
531
+ msgid "Update Event Category"
532
+ msgstr "Oppdater kategori"
533
+
534
+ #: ../lib/the-events-calendar.class.php:630
535
+ msgid "Add New Event Category"
536
+ msgstr "Legg til ny kategori"
537
+
538
+ #: ../lib/the-events-calendar.class.php:631
539
+ msgid "New Event Category Name"
540
+ msgstr "Navn på ny kategori"
541
+
542
+ #: ../lib/the-events-calendar.class.php:641
543
+ #, php-format
544
+ msgid "Event updated. <a href=\"%s\">View event</a>"
545
+ msgstr "Aktivitet oppdatert. <a href=\"%s\">Vis aktivitet</a>"
546
+
547
+ #: ../lib/the-events-calendar.class.php:642
548
+ #: ../lib/the-events-calendar.class.php:659
549
+ #: ../lib/the-events-calendar.class.php:676
550
+ msgid "Custom field updated."
551
+ msgstr "Egendefinert felt oppdatert."
552
+
553
+ #: ../lib/the-events-calendar.class.php:643
554
+ #: ../lib/the-events-calendar.class.php:660
555
+ #: ../lib/the-events-calendar.class.php:677
556
+ msgid "Custom field deleted."
557
+ msgstr "Egendefinert felt slettet."
558
+
559
+ #: ../lib/the-events-calendar.class.php:644
560
+ msgid "Event updated."
561
+ msgstr "Aktivitet oppdatert."
562
+
563
+ #: ../lib/the-events-calendar.class.php:646
564
+ #, php-format
565
+ msgid "Event restored to revision from %s"
566
+ msgstr "Aktivitet gjenopprettet til revisjon fra %s"
567
+
568
+ #: ../lib/the-events-calendar.class.php:647
569
+ #, php-format
570
+ msgid "Event published. <a href=\"%s\">View event</a>"
571
+ msgstr "Aktivitet publisert. <a href=\"%s\">Vis aktivitet</a>"
572
+
573
+ #: ../lib/the-events-calendar.class.php:648
574
+ msgid "Event saved."
575
+ msgstr "Aktivitet lagret."
576
+
577
+ #: ../lib/the-events-calendar.class.php:649
578
+ #, php-format
579
+ msgid "Event submitted. <a target=\"_blank\" href=\"%s\">Preview event</a>"
580
+ msgstr "Aktivitet innsendt. <a target=\"_blank\" href=\"%s\">Forhåndsvis</a>"
581
+
582
+ #: ../lib/the-events-calendar.class.php:650
583
+ #, php-format
584
+ msgid "Event scheduled for: <strong>%1$s</strong>. <a target=\"_blank\" href=\"%2$s\">Preview event</a>"
585
+ msgstr "Aktivitet planlagt til <strong>%1$s</strong>. <a target=\"_blank\" href=\"%2$s\">Forhåndsvis</a>"
586
+
587
+ #: ../lib/the-events-calendar.class.php:652
588
+ #: ../lib/the-events-calendar.class.php:669
589
+ #: ../lib/the-events-calendar.class.php:686
590
+ msgid "M j, Y @ G:i"
591
+ msgstr "Y-m-d @ G:i"
592
+
593
+ #: ../lib/the-events-calendar.class.php:653
594
+ #, php-format
595
+ msgid "Event draft updated. <a target=\"_blank\" href=\"%s\">Preview event</a>"
596
+ msgstr "Utkast for aktivitet oppdatert. <a target=\"_blank\" href=\"%s\">Forhåndsvis</a>"
597
+