My Calendar - Version 1.6.3

Version Description

  • Updated jQuery to fix conflicts in previous versions and so behaviors would work with AJAX navigation. Not updated by upgrade; use Behaviors reset to apply.
  • Incorporated option to enable AJAX navigation for next/previous navigation.
  • Fixed bug with multi-month display in list format where January could not be displayed.
  • Revised settings page for clarity.
  • Fixed some default settings issues.
  • Fixed a bug where the locations lists didn't respect the datatype parameter.
  • Added templating to event titles for calendar grid or list output.
Download this release

Release Info

Developer joedolson
Plugin Icon 128x128 My Calendar
Version 1.6.3
Comparing to
See all releases

Code changes from version 1.5.4 to 1.6.3

my-calendar-behaviors.php ADDED
@@ -0,0 +1,131 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ // Display the admin configuration page
3
+ function edit_my_calendar_behaviors() {
4
+ global $wpdb, $initial_listjs, $initial_caljs, $initial_minijs, $initial_ajaxjs;
5
+
6
+ // We can't use this page unless My Calendar is installed/upgraded
7
+ check_my_calendar();
8
+
9
+ if ( isset($_POST['my_calendar_caljs'] ) ) {
10
+
11
+ $my_calendar_caljs = $_POST['my_calendar_caljs'];
12
+ $my_calendar_listjs = $_POST['my_calendar_listjs'];
13
+ $my_calendar_minijs = $_POST['my_calendar_minijs'];
14
+ $my_calendar_ajaxjs = $_POST['my_calendar_ajaxjs'];
15
+
16
+ update_option('calendar_javascript', (int) $_POST['calendar_javascript']);
17
+ update_option('list_javascript', (int) $_POST['list_javascript']);
18
+ update_option('mini_javascript', (int) $_POST['mini_javascript']);
19
+ update_option('ajax_javascript', (int) $_POST['ajax_javascript']);
20
+ // set js
21
+ update_option('my_calendar_listjs',$my_calendar_listjs);
22
+ update_option('my_calendar_minijs',$my_calendar_minijs);
23
+ update_option('my_calendar_caljs',$my_calendar_caljs);
24
+ update_option('my_calendar_ajaxjs',$my_calendar_ajaxjs);
25
+
26
+
27
+ if ( $_POST['reset_caljs'] == 'on') {
28
+ update_option('my_calendar_caljs',$initial_caljs);
29
+ }
30
+ if ( $_POST['reset_listjs'] == 'on') {
31
+ update_option('my_calendar_listjs',$initial_listjs);
32
+ }
33
+ if ( $_POST['reset_minijs'] == 'on') {
34
+ update_option('my_calendar_minijs',$initial_minijs);
35
+ }
36
+ if ( $_POST['reset_ajaxjs'] == 'on') {
37
+ update_option('my_calendar_ajaxjs',$initial_ajaxjs);
38
+ }
39
+ echo "<div class=\"updated\"><p><strong>".__('Behavior Settings saved','my-calendar').".</strong></p></div>";
40
+ }
41
+
42
+ $my_calendar_listjs = stripcslashes(get_option('my_calendar_listjs'));
43
+ $list_javascript = get_option('list_javascript');
44
+
45
+ $my_calendar_caljs = stripcslashes(get_option('my_calendar_caljs'));
46
+ $calendar_javascript = get_option('calendar_javascript');
47
+
48
+ $my_calendar_minijs = stripcslashes(get_option('my_calendar_minijs'));
49
+ $mini_javascript = get_option('mini_javascript');
50
+
51
+ $my_calendar_ajaxjs = stripcslashes(get_option('my_calendar_ajaxjs'));
52
+ $ajax_javascript = get_option('ajax_javascript');
53
+
54
+ $my_calendar_show_js = ($_POST['my_calendar_show_js']=='')?'':$_POST['my_calendar_show_js'];
55
+ update_option('my_calendar_show_js',$my_calendar_show_js);
56
+ // Now we render the form
57
+ ?>
58
+ <div class="wrap">
59
+ <?php
60
+ echo my_calendar_check_db();
61
+ ?>
62
+ <h2><?php _e('My Calendar Behaviors','my-calendar'); ?></h2>
63
+ <?php jd_show_support_box(); ?>
64
+ <div id="poststuff" class="jd-my-calendar">
65
+ <div class="postbox">
66
+ <h3><?php _e('Calendar Behavior Settings','my-calendar'); ?></h3>
67
+ <div class="inside">
68
+ <form name="my-calendar" id="my-calendar" method="post" action="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar-behaviors">
69
+ <p>
70
+ <label for="my_calendar_show_js"><?php _e('Apply JavaScript only on these pages (comma separated page IDs)','my-calendar'); ?></label> <input type="text" id="my_calendar_show_js" name="my_calendar_show_js" value="<?php echo $my_calendar_show_js; ?>" />
71
+ </p>
72
+ <fieldset>
73
+ <legend><?php _e('Calendar Behaviors: Calendar View','my-calendar'); ?></legend>
74
+ <p>
75
+ <input type="checkbox" id="reset_caljs" name="reset_caljs" /> <label for="reset_caljs"><?php _e('Reset the My Calendar Calendar Javascript','my-calendar'); ?></label> <input type="checkbox" id="calendar_javascript" name="calendar_javascript" value="1" <?php jd_cal_checkCheckbox('calendar_javascript',1); ?>/> <label for="calendar_javascript"><?php _e('Disable Calendar Javascript Effects','my-calendar'); ?></label>
76
+ </p>
77
+ <p>
78
+ <label for="calendar-javascript"><?php _e('Edit the jQuery scripts for My Calendar in Calendar format','my-calendar'); ?></label><br /><textarea id="calendar-javascript" name="my_calendar_caljs" rows="8" cols="80"><?php echo $my_calendar_caljs; ?></textarea>
79
+ </p>
80
+ <p>
81
+ <input type="submit" name="save" class="button-primary" value="<?php _e('Save','my-calendar'); ?> &raquo;" />
82
+ </p>
83
+ </fieldset>
84
+ <fieldset>
85
+ <legend><?php _e('Calendar Behaviors: List View','my-calendar'); ?></legend>
86
+ <p>
87
+ <input type="checkbox" id="reset_listjs" name="reset_listjs" /> <label for="reset_listjs"><?php _e('Reset the My Calendar List Javascript','my-calendar'); ?></label> <input type="checkbox" id="list_javascript" name="list_javascript" value="1" <?php jd_cal_checkCheckbox('list_javascript',1); ?> /> <label for="list_javascript"><?php _e('Disable List Javascript Effects','my-calendar'); ?></label>
88
+ </p>
89
+ <p>
90
+ <label for="list-javascript"><?php _e('Edit the jQuery scripts for My Calendar in List format','my-calendar'); ?></label><br /><textarea id="list-javascript" name="my_calendar_listjs" rows="8" cols="80"><?php echo $my_calendar_listjs; ?></textarea>
91
+ </p>
92
+ <p>
93
+ <input type="submit" name="save" class="button-primary" value="<?php _e('Save','my-calendar'); ?> &raquo;" />
94
+ </p>
95
+ </fieldset>
96
+ <fieldset>
97
+ <legend><?php _e('Calendar Behaviors: Mini Calendar View','my-calendar'); ?></legend>
98
+ <p>
99
+ <input type="checkbox" id="reset_minijs" name="reset_minijs" /> <label for="reset_minijs"><?php _e('Reset the My Calendar Mini Format Javascript','my-calendar'); ?></label> <input type="checkbox" id="mini_javascript" name="mini_javascript" value="1" <?php jd_cal_checkCheckbox('mini_javascript',1); ?> /> <label for="mini_javascript"><?php _e('Disable Mini Javascript Effects','my-calendar'); ?></label>
100
+ </p>
101
+ <p>
102
+ <label for="mini-javascript"><?php _e('Edit the jQuery scripts for My Calendar in Mini Calendar format','my-calendar'); ?></label><br /><textarea id="mini-javascript" name="my_calendar_minijs" rows="8" cols="80"><?php echo $my_calendar_minijs; ?></textarea>
103
+ </p>
104
+ <p>
105
+ <input type="submit" name="save" class="button-primary" value="<?php _e('Save','my-calendar'); ?> &raquo;" />
106
+ </p>
107
+ </fieldset>
108
+ <fieldset>
109
+ <legend><?php _e('Calendar Behaviors: AJAX Navigation','my-calendar'); ?></legend>
110
+ <p>
111
+ <input type="checkbox" id="reset_ajaxjs" name="reset_ajaxjs" /> <label for="reset_ajaxjs"><?php _e('Reset the My Calendar AJAX Javascript','my-calendar'); ?></label> <input type="checkbox" id="ajax_javascript" name="ajax_javascript" value="1" <?php jd_cal_checkCheckbox('ajax_javascript',1); ?> /> <label for="ajax_javascript"><?php _e('Disable List Javascript Effects','my-calendar'); ?></label>
112
+ </p>
113
+ <p>
114
+ <label for="ajax-javascript"><?php _e('Edit the jQuery scripts for My Calendar AJAX navigation','my-calendar'); ?></label><br /><textarea id="ajax-javascript" name="my_calendar_ajaxjs" rows="8" cols="80"><?php echo $my_calendar_ajaxjs; ?></textarea>
115
+ </p>
116
+ <p>
117
+ <input type="submit" name="save" class="button-primary" value="<?php _e('Save','my-calendar'); ?> &raquo;" />
118
+ </p>
119
+ </fieldset>
120
+ </form>
121
+ </div>
122
+
123
+ </div>
124
+ </div>
125
+ </div>
126
+ <?php
127
+
128
+
129
+ }
130
+
131
+ ?>
my-calendar-event-manager.php CHANGED
@@ -123,7 +123,7 @@ $proceed = $output[0];
123
  // end data checking and gathering
124
  if ( ( $action == 'add' || $action == 'copy' ) && $proceed == true ) {
125
  $add = $output[2];
126
- $formats = array( '%s','%s','%s','%s','%s','%s','%d','%d','%d','%s','%s','%s','%s','%s','%s','%s','%s','%s','%d','%f','%f','%d','%s','%d','%d' );
127
  $result = $wpdb->insert(
128
  MY_CALENDAR_TABLE,
129
  $add,
@@ -142,16 +142,18 @@ $proceed = $output[0];
142
  if ( $action == 'edit' && $proceed == true ) {
143
  if ( mc_can_edit_event( $event_author ) ) {
144
  $update = $output[2];
145
- $formats = array('%s','%s','%s','%s','%s','%s','%d','%d','%s','%s','%s','%s','%s','%s','%s','%s','%s','%d','%f','%f','%d','%s','%d','%d');
 
146
  $result = $wpdb->update(
147
  MY_CALENDAR_TABLE,
148
  $update,
149
  array( 'event_id'=>$event_id ),
150
  $formats,
151
  '%d' );
 
152
  if ( $result === false ) {
153
  ?>
154
- <div class="error"><p><strong><?php _e('Error','my-calendar'); ?>:</strong> <?php echo _e('Your event was not updated.','my-calendar'); ?></p></div>
155
  <?php
156
  } else if ( $result === 0 ) {
157
  ?>
@@ -307,7 +309,7 @@ my_calendar_check_db();
307
 
308
  // The event edit form for the manage events admin page
309
  function jd_events_edit_form($mode='add', $event_id=false) {
310
- global $wpdb,$users_entries;
311
  $data = false;
312
 
313
  if ( $event_id !== false ) {
@@ -387,6 +389,38 @@ function jd_events_edit_form($mode='add', $event_id=false) {
387
  <label for="event_short"><?php _e('Event Short Description (<abbr title="hypertext markup language">HTML</abbr> allowed)','my-calendar'); ?></label><br /><textarea id="event_short" name="event_short" class="input" rows="2" cols="80"><?php if ( !empty($data) ) echo htmlspecialchars(stripslashes($data->event_short)); ?></textarea>
388
  </p>
389
  <?php } ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
390
  <?php if ($mc_input['event_category'] == 'on') { ?>
391
  <p>
392
  <label for="event_category"><?php _e('Event Category','my-calendar'); ?></label>
@@ -399,7 +433,7 @@ function jd_events_edit_form($mode='add', $event_id=false) {
399
  echo '<option value="'.$cat->category_id.'"';
400
  if (!empty($data)) {
401
  if ($data->event_category == $cat->category_id){
402
- echo 'selected="selected"';
403
  }
404
  }
405
  echo '>'.$cat->category_name.'</option>';
@@ -753,6 +787,7 @@ if ( $action == 'add' || $action == 'edit' || $action == 'copy' ) {
753
  $endtime = !empty($_POST['event_endtime']) ? trim($_POST['event_endtime']) : '';
754
  $recur = !empty($_POST['event_recur']) ? trim($_POST['event_recur']) : '';
755
  $repeats = !empty($_POST['event_repeats']) ? trim($_POST['event_repeats']) : 0;
 
756
  $category = !empty($_POST['event_category']) ? $_POST['event_category'] : '';
757
  $linky = !empty($_POST['event_link']) ? trim($_POST['event_link']) : '';
758
  $expires = !empty($_POST['event_link_expires']) ? $_POST['event_link_expires'] : '0';
@@ -926,7 +961,9 @@ if ( $action == 'add' || $action == 'edit' || $action == 'copy' ) {
926
  'event_short'=>$short,
927
  'event_open'=>$event_open,
928
  'event_group'=>$event_group,
929
- 'event_approved'=>$approved);
 
 
930
 
931
  } else if ($action == 'edit') {
932
  $submit = array(
@@ -954,9 +991,10 @@ if ( $action == 'add' || $action == 'edit' || $action == 'copy' ) {
954
  'event_short'=>$short,
955
  'event_open'=>$event_open,
956
  'event_group'=>$event_group,
957
- 'event_approved'=>$approved);
958
- }
959
-
 
960
  } else {
961
  // The form is going to be rejected due to field validation issues, so we preserve the users entries here
962
  $users_entries->event_title = $title;
@@ -967,6 +1005,7 @@ if ( $action == 'add' || $action == 'edit' || $action == 'copy' ) {
967
  $users_entries->event_endtime = $endtime;
968
  $users_entries->event_recur = $recur;
969
  $users_entries->event_repeats = $repeats;
 
970
  $users_entries->event_category = $category;
971
  $users_entries->event_link = $linky;
972
  $users_entries->event_link_expires = $expires;
@@ -986,9 +1025,7 @@ if ( $action == 'add' || $action == 'edit' || $action == 'copy' ) {
986
  $users_entries->event_group = $event_group;
987
  $users_entries->event_approved = $approved;
988
  $proceed = false;
989
- }
990
-
991
-
992
  }
993
  $data = array($proceed, $users_entries, $submit);
994
  return $data;
123
  // end data checking and gathering
124
  if ( ( $action == 'add' || $action == 'copy' ) && $proceed == true ) {
125
  $add = $output[2];
126
+ $formats = array( '%s','%s','%s','%s','%s','%s','%d','%d','%d','%s','%s','%s','%s','%s','%s','%s','%s','%s','%d','%f','%f','%d','%s','%d','%d','%d','%d' );
127
  $result = $wpdb->insert(
128
  MY_CALENDAR_TABLE,
129
  $add,
142
  if ( $action == 'edit' && $proceed == true ) {
143
  if ( mc_can_edit_event( $event_author ) ) {
144
  $update = $output[2];
145
+ $formats = array('%s','%s','%s','%s','%s','%s','%d','%d','%s','%s','%s','%s','%s','%s','%s','%s','%s','%d','%f','%f','%d','%s','%d','%d','%d','%d' );
146
+ $wpdb->show_errors();
147
  $result = $wpdb->update(
148
  MY_CALENDAR_TABLE,
149
  $update,
150
  array( 'event_id'=>$event_id ),
151
  $formats,
152
  '%d' );
153
+ //$wpdb->print_error();
154
  if ( $result === false ) {
155
  ?>
156
+ <div class="error"><p><strong><?php _e('Error','my-calendar'); ?>:</strong> <?php _e('Your event was not updated.','my-calendar'); ?></p></div>
157
  <?php
158
  } else if ( $result === 0 ) {
159
  ?>
309
 
310
  // The event edit form for the manage events admin page
311
  function jd_events_edit_form($mode='add', $event_id=false) {
312
+ global $wpdb,$users_entries,$user_ID;
313
  $data = false;
314
 
315
  if ( $event_id !== false ) {
389
  <label for="event_short"><?php _e('Event Short Description (<abbr title="hypertext markup language">HTML</abbr> allowed)','my-calendar'); ?></label><br /><textarea id="event_short" name="event_short" class="input" rows="2" cols="80"><?php if ( !empty($data) ) echo htmlspecialchars(stripslashes($data->event_short)); ?></textarea>
390
  </p>
391
  <?php } ?>
392
+
393
+ <?php //Event host field added by Jeff Allen - http://jdadesign.net ?>
394
+ <?php
395
+ /*Function to get all users
396
+ * Author: Jeff Allen
397
+ */
398
+ function my_calendar_getUsers() {
399
+ global $wpdb;
400
+ $authors = $wpdb->get_results( "SELECT ID, user_nicename, display_name from $wpdb->users ORDER BY display_name" );
401
+ return $authors;
402
+ }
403
+ ?>
404
+ <p>
405
+ <label for="event_host"><?php _e('Event Host','my-calendar'); ?></label>
406
+ <select id="event_host" name="event_host">
407
+ <?php
408
+ // Grab all the categories and list them
409
+ $userList = my_calendar_getUsers();
410
+ foreach($userList as $u) {
411
+ echo '<option value="'.$u->ID.'"';
412
+ if ( $data->event_host == $u->ID ) {
413
+ echo ' selected="selected"';
414
+ } else if( $u->ID == $user->ID && empty($data->event_host) ) {
415
+ echo ' selected="selected"';
416
+ }
417
+ echo '>'.$u->display_name."</option>\n";
418
+ }
419
+ ?>
420
+ </select>
421
+ </p>
422
+
423
+
424
  <?php if ($mc_input['event_category'] == 'on') { ?>
425
  <p>
426
  <label for="event_category"><?php _e('Event Category','my-calendar'); ?></label>
433
  echo '<option value="'.$cat->category_id.'"';
434
  if (!empty($data)) {
435
  if ($data->event_category == $cat->category_id){
436
+ echo ' selected="selected"';
437
  }
438
  }
439
  echo '>'.$cat->category_name.'</option>';
787
  $endtime = !empty($_POST['event_endtime']) ? trim($_POST['event_endtime']) : '';
788
  $recur = !empty($_POST['event_recur']) ? trim($_POST['event_recur']) : '';
789
  $repeats = !empty($_POST['event_repeats']) ? trim($_POST['event_repeats']) : 0;
790
+ $host = !empty($_POST['event_host']) ? $_POST['event_host'] : $current_user->ID;
791
  $category = !empty($_POST['event_category']) ? $_POST['event_category'] : '';
792
  $linky = !empty($_POST['event_link']) ? trim($_POST['event_link']) : '';
793
  $expires = !empty($_POST['event_link_expires']) ? $_POST['event_link_expires'] : '0';
961
  'event_short'=>$short,
962
  'event_open'=>$event_open,
963
  'event_group'=>$event_group,
964
+ 'event_approved'=>$approved,
965
+ 'event_host'=>$host
966
+ );
967
 
968
  } else if ($action == 'edit') {
969
  $submit = array(
991
  'event_short'=>$short,
992
  'event_open'=>$event_open,
993
  'event_group'=>$event_group,
994
+ 'event_approved'=>$approved,
995
+ 'event_host'=>$host
996
+ );
997
+ }
998
  } else {
999
  // The form is going to be rejected due to field validation issues, so we preserve the users entries here
1000
  $users_entries->event_title = $title;
1005
  $users_entries->event_endtime = $endtime;
1006
  $users_entries->event_recur = $recur;
1007
  $users_entries->event_repeats = $repeats;
1008
+ $users_entries->event_host = $host;
1009
  $users_entries->event_category = $category;
1010
  $users_entries->event_link = $linky;
1011
  $users_entries->event_link_expires = $expires;
1025
  $users_entries->event_group = $event_group;
1026
  $users_entries->event_approved = $approved;
1027
  $proceed = false;
1028
+ }
 
 
1029
  }
1030
  $data = array($proceed, $users_entries, $submit);
1031
  return $data;
my-calendar-help.php CHANGED
@@ -18,8 +18,8 @@ function my_calendar_help() {
18
  <?php _e('This basic shortcode will show the calendar on a post or page including all categories and the category key, in a traditional month-by-month format.','my-calendar'); ?>
19
  </p>
20
  <p>
21
- <code>[my_calendar category="General|Other" format="list" showkey="no"]</code><br />
22
- <?php _e('The shortcode supports three attributes, <code>category</code>, <code>format</code> and <code>showkey</code>. There two alternate options for <code>format</code>: <code>list</code>, which will show the calendar in a list format, skipping dates without any events, and <code>mini</code>, which will display the calendar in a form more suitable to being displayed in smaller spaces, such as the sidebar. The <code>category</code> attribute requires either the name of or ID number one of your event categories (the name is case-sensitive). This will show a calendar only including events in that category. Multiple categories can be specified by separating the category names or IDs using the pipe character: <code>|</code>. Setting <code>showkey</code> to <code>no</code> will prevent the category key from being displayed &mdash; this can be useful with single-category output.','my-calendar'); ?>
23
  </p>
24
  <p>
25
  <code>[my_calendar_upcoming before="3" after="3" type="event" category="General" template="{title} {date}"]</code><br />
@@ -28,6 +28,9 @@ function my_calendar_help() {
28
  <p><code>[my_calendar_today category="" template="{title} {date}"]</code><br />
29
  <?php _e('Predictably enough, this shortcode displays the output of the Today\'s Events widget, with two configurable attributes: category and template.','my-calendar'); ?>
30
  </p>
 
 
 
31
  </div>
32
  </div>
33
  <div id="icons" class="jd-my-calendar">
@@ -61,6 +64,9 @@ function my_calendar_help() {
61
  <dt><code>{time}</code></dt>
62
  <dd><?php _e('Displays the start time for the event.','my-calendar'); ?></dd>
63
 
 
 
 
64
  <dt><code>{date}</code></dt>
65
  <dd><?php _e('Displays the date on which the event begins.','my-calendar'); ?></dd>
66
 
18
  <?php _e('This basic shortcode will show the calendar on a post or page including all categories and the category key, in a traditional month-by-month format.','my-calendar'); ?>
19
  </p>
20
  <p>
21
+ <code>[my_calendar category="General|Other" format="list" showkey="yes" shownav="yes"]</code><br />
22
+ <?php _e('The shortcode supports three attributes, <code>category</code>, <code>format</code> and <code>showkey</code>. There two alternate options for <code>format</code>: <code>list</code>, which will show the calendar in a list format, skipping dates without any events, and <code>mini</code>, which will display the calendar in a form more suitable to being displayed in smaller spaces, such as the sidebar. The <code>category</code> attribute requires either the name of or ID number one of your event categories (the name is case-sensitive). This will show a calendar only including events in that category. Multiple categories can be specified by separating the category names or IDs using the pipe character: <code>|</code>. Setting <code>showkey</code> to <code>no</code> will prevent the category key from being displayed &mdash; this can be useful with single-category output. Setting <code>shownav</code> to <code>no</code> will disable the Previous/Next links.','my-calendar'); ?>
23
  </p>
24
  <p>
25
  <code>[my_calendar_upcoming before="3" after="3" type="event" category="General" template="{title} {date}"]</code><br />
28
  <p><code>[my_calendar_today category="" template="{title} {date}"]</code><br />
29
  <?php _e('Predictably enough, this shortcode displays the output of the Today\'s Events widget, with two configurable attributes: category and template.','my-calendar'); ?>
30
  </p>
31
+ <p><code>[my_calendar_locations show="list" type="saved" datatype="name"]</code><br />
32
+ <?php _e('This shortcode produces a list of event locations, either as a list of links or as a select dropdown form. The <code>show</code> attribute can either be <code>list</code> or <code>form</code>, <code>type</code> is either <code>saved</code> (to show items from your stored locations), or <code>custom</code> (to show the options configured in your user settings). <code>datatype</code> must be the type of data your limits are choosing from: <code>name</code> (business name), <code>city</code>, <code>state</code>, <code>country</code>, or <code>zip</code> (postal code).','my-calendar'); ?>
33
+ </p>
34
  </div>
35
  </div>
36
  <div id="icons" class="jd-my-calendar">
64
  <dt><code>{time}</code></dt>
65
  <dd><?php _e('Displays the start time for the event.','my-calendar'); ?></dd>
66
 
67
+ <dt><code>{usertime}</code></dt>
68
+ <dd><?php _e('Displays the start time for the event adjusted to the current user\'s time zone settings. Blank output if user settings are disabled or the user has not selected a preferred time zone.','my-calendar'); ?></dd>
69
+
70
  <dt><code>{date}</code></dt>
71
  <dd><?php _e('Displays the date on which the event begins.','my-calendar'); ?></dd>
72
 
my-calendar-install.php CHANGED
@@ -1,53 +1,73 @@
1
  <?php
2
 
3
  // define global variables;
4
- global $initial_listjs, $initial_caljs, $initial_minijs, $initial_style, $initial_db, $initial_loc_db, $initial_cat_db, $default_template, $mini_styles;
5
 
6
- // defaults will go into the options table on a new install
7
- $initial_listjs = 'var $j = jQuery.noConflict();
 
 
 
 
8
 
9
- $j(document).ready(function() {
10
- $j("#calendar-list li").children().not(".event-date").hide();
11
- $j("#calendar-list li.current-day").children().show();
12
- $j(".event-date").toggle(
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  function() {
14
- $j("#calendar-list li").children().not(".event-date").hide();
15
- $j(this).parent().children().not(".event-date").show("fast");
16
- },
17
- function() {
18
- $j("#calendar-list li").children().not(".event-date").hide("fast");
19
- }
20
- );
21
  });';
22
 
23
- $initial_caljs = 'var $j = jQuery.noConflict();
24
-
25
- $j(document).ready(function() {
26
- $j(".calendar-event").children().not("h3").hide();
27
- $j(".calendar-event h3").toggle(
28
  function() {
29
- $j(".calendar-event").children().not("h3").hide();
30
- $j(this).parent().children().not("h3").show("fast");
31
- },
32
- function() {
33
- $j(".calendar-event").children().not("h3").hide("fast");
34
- }
35
- );
36
  });';
37
 
38
- $initial_minijs = 'var $j = jQuery.noConflict();
39
-
40
- $j(document).ready(function() {
41
- $j(".mini .has-events").children().not(".trigger").hide();
42
- $j(".has-events .trigger").toggle(
43
  function() {
44
- $j(".mini .has-events").children().not(".trigger").hide();
45
- $j(this).parent().children().not(".trigger").show("fast");
46
- },
47
- function() {
48
- $j(".mini .has-events").children().not(".trigger").hide("fast");
49
- }
50
- );
51
  });';
52
 
53
  $initial_style = "
@@ -444,6 +464,7 @@ $initial_db = "CREATE TABLE " . MY_CALENDAR_TABLE . " (
444
  event_recur CHAR(1),
445
  event_repeats INT(3),
446
  event_author BIGINT(20) UNSIGNED,
 
447
  event_category BIGINT(20) UNSIGNED,
448
  event_link TEXT,
449
  event_link_expires TINYINT(1) NOT NULL,
@@ -489,7 +510,7 @@ $initial_loc_db = "CREATE TABLE " . MY_CALENDAR_LOCATIONS_TABLE . " (
489
 
490
 
491
  function mc_default_settings( ) {
492
- global $initial_style, $default_template, $initial_listjs, $initial_caljs, $initial_minijs, $initial_db, $initial_loc_db, $initial_cat_db;
493
  // no arguments
494
  add_option('can_manage_events','edit_posts');
495
  add_option('my_calendar_style',"$initial_style");
@@ -514,9 +535,11 @@ global $initial_style, $default_template, $initial_listjs, $initial_caljs, $init
514
  add_option('calendar_javascript',0);
515
  add_option('list_javascript',0);
516
  add_option('mini_javascript',0);
 
517
  add_option('my_calendar_minijs',$initial_minijs);
518
  add_option('my_calendar_listjs',$initial_listjs);
519
  add_option('my_calendar_caljs',$initial_caljs);
 
520
  add_option('my_calendar_notime_text','N/A');
521
  add_option('my_calendar_hide_icons','false');
522
  add_option('mc_event_link_expires','no');
@@ -524,12 +547,125 @@ global $initial_style, $default_template, $initial_listjs, $initial_caljs, $init
524
  add_option('mc_input_options',array('event_short'=>'on','event_desc'=>'on','event_category'=>'on','event_link'=>'on','event_recurs'=>'on','event_open'=>'on','event_location'=>'on','event_location_dropdown'=>'on') );
525
  add_option('mc_input_options_administrators','false');
526
  add_option('mc_event_mail','false');
 
 
527
  add_option('mc_event_mail_subject','');
528
  add_option('mc_event_mail_to','');
529
  add_option('mc_event_mail_message','');
530
  add_option('mc_event_approve','false');
531
  add_option('mc_event_approve_perms','manage_options');
532
  add_option('mc_no_fifth_week','true');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
533
 
534
  require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
535
  dbDelta($initial_db);
1
  <?php
2
 
3
  // define global variables;
4
+ global $initial_listjs, $initial_caljs, $initial_minijs, $initial_ajaxjs, $initial_style, $initial_db, $initial_loc_db, $initial_cat_db, $default_template, $mini_styles;
5
 
6
+ $initial_ajaxjs = "jQuery(document).ready(function(){
7
+
8
+ jQuery('.calendar .my-calendar-nav a').live('click', function(e){
9
+ e.preventDefault();
10
+
11
+ var link = jQuery(this).attr('href');
12
 
13
+ jQuery('#jd-calendar.calendar').html('Loading...');
14
+ jQuery('#jd-calendar.calendar').load(link+' #jd-calendar.calendar > *', function() {
15
+ jQuery('.calendar-event').children().not('h3').hide();
16
+ });
17
+
18
+ });
19
+
20
+ jQuery('.mini .my-calendar-nav a').live('click', function(e){
21
+ e.preventDefault();
22
+
23
+ var link = jQuery(this).attr('href');
24
+
25
+ jQuery('#jd-calendar.mini').html('Loading...');
26
+ jQuery('#jd-calendar.mini').load(link+' #jd-calendar.mini > *', function() {
27
+ jQuery('.mini .has-events').children().not('.trigger').hide();
28
+ });
29
+
30
+ });
31
+
32
+ jQuery('.list .my-calendar-nav a').live('click', function(e){
33
+ e.preventDefault();
34
+
35
+ var link = jQuery(this).attr('href');
36
+
37
+ jQuery('#jd-calendar.list').html('Loading...');
38
+ jQuery('#jd-calendar.list').load(link+' #jd-calendar.list > *', function() {
39
+ jQuery('#calendar-list li').children().not('.event-date').hide();
40
+ jQuery('#calendar-list li.current-day').children().show();
41
+ });
42
+
43
+ });
44
+
45
+ });";
46
+
47
+ // defaults will go into the options table on a new install
48
+ $initial_listjs = 'jQuery(document).ready(function($) {
49
+ $("#calendar-list li").children().not(".event-date").hide();
50
+ $("#calendar-list li.current-day").children().show();
51
+ $(".event-date").live("click",
52
  function() {
53
+ $(this).parent().children().not(".event-date").toggleClass("mc-event-visible");
54
+ });
 
 
 
 
 
55
  });';
56
 
57
+ $initial_caljs = 'jQuery(document).ready(function($) {
58
+ $(".calendar-event").children().not("h3").hide();
59
+ $(".calendar-event h3").live("click",
 
 
60
  function() {
61
+ $(this).parent().children().not("h3").toggleClass("mc-event-visible");
62
+ });
 
 
 
 
 
63
  });';
64
 
65
+ $initial_minijs = 'jQuery(document).ready(function($) {
66
+ $(".mini .has-events").children().not(".trigger").hide();
67
+ $(".mini .has-events .trigger").live("click",
 
 
68
  function() {
69
+ $(this).parent().children().not(".trigger").toggleClass("mc-event-visible");
70
+ });
 
 
 
 
 
71
  });';
72
 
73
  $initial_style = "
464
  event_recur CHAR(1),
465
  event_repeats INT(3),
466
  event_author BIGINT(20) UNSIGNED,
467
+ event_host BIGINT(20) UNSIGNED,
468
  event_category BIGINT(20) UNSIGNED,
469
  event_link TEXT,
470
  event_link_expires TINYINT(1) NOT NULL,
510
 
511
 
512
  function mc_default_settings( ) {
513
+ global $initial_style, $default_template, $initial_listjs, $initial_caljs, $initial_minijs, $initial_ajaxjs, $initial_db, $initial_loc_db, $initial_cat_db;
514
  // no arguments
515
  add_option('can_manage_events','edit_posts');
516
  add_option('my_calendar_style',"$initial_style");
535
  add_option('calendar_javascript',0);
536
  add_option('list_javascript',0);
537
  add_option('mini_javascript',0);
538
+ add_option('ajax_javascript',1);
539
  add_option('my_calendar_minijs',$initial_minijs);
540
  add_option('my_calendar_listjs',$initial_listjs);
541
  add_option('my_calendar_caljs',$initial_caljs);
542
+ add_option('my_calendar_ajaxjs',$initial_ajaxjs);
543
  add_option('my_calendar_notime_text','N/A');
544
  add_option('my_calendar_hide_icons','false');
545
  add_option('mc_event_link_expires','no');
547
  add_option('mc_input_options',array('event_short'=>'on','event_desc'=>'on','event_category'=>'on','event_link'=>'on','event_recurs'=>'on','event_open'=>'on','event_location'=>'on','event_location_dropdown'=>'on') );
548
  add_option('mc_input_options_administrators','false');
549
  add_option('mc_event_mail','false');
550
+ add_option('mc_desc','true');
551
+ add_option('mc_short','false');
552
  add_option('mc_event_mail_subject','');
553
  add_option('mc_event_mail_to','');
554
  add_option('mc_event_mail_message','');
555
  add_option('mc_event_approve','false');
556
  add_option('mc_event_approve_perms','manage_options');
557
  add_option('mc_no_fifth_week','true');
558
+ $mc_user_settings = array(
559
+ 'my_calendar_tz_default'=>array(
560
+ 'enabled'=>'on',
561
+ 'label'=>__('My Calendar Default Timezone','my-calendar'),
562
+ 'values'=>array(
563
+ "-12" => "(GMT -12:00) Eniwetok, Kwajalein",
564
+ "-11" => "(GMT -11:00) Midway Island, Samoa",
565
+ "-10" => "(GMT -10:00) Hawaii",
566
+ "-9.5" => "(GMT -9:30) Marquesas Islands",
567
+ "-9" => "(GMT -9:00) Alaska",
568
+ "-8" => "(GMT -8:00) Pacific Time (US &amp; Canada)",
569
+ "-7" => "(GMT -7:00) Mountain Time (US &amp; Canada)",
570
+ "-6" => "(GMT -6:00) Central Time (US &amp; Canada), Mexico City",
571
+ "-5" => "(GMT -5:00) Eastern Time (US &amp; Canada), Bogota, Lima",
572
+ "-4.5" => "(GMT -4:30) Venezuela",
573
+ "-4" => "(GMT -4:00) Atlantic Time (Canada), Caracas, La Paz",
574
+ "-3.5" => "(GMT -3:30) Newfoundland",
575
+ "-3" => "(GMT -3:00) Brazil, Buenos Aires, Georgetown",
576
+ "-2" => "(GMT -2:00) Mid-Atlantic",
577
+ "-1" => "(GMT -1:00 hour) Azores, Cape Verde Islands",
578
+ "0" => "(GMT) Western Europe Time, London, Lisbon, Casablanca",
579
+ "1" => "(GMT +1:00 hour) Brussels, Copenhagen, Madrid, Paris",
580
+ "2" => "(GMT +2:00) Kaliningrad, South Africa",
581
+ "3" => "(GMT +3:00) Baghdad, Riyadh, Moscow, St. Petersburg",
582
+ "3.5" => "(GMT +3:30) Tehran",
583
+ "4" => "(GMT +4:00) Abu Dhabi, Muscat, Baku, Tbilisi",
584
+ "4.5" => "(GMT +4:30) Afghanistan",
585
+ "5" => "(GMT +5:00) Ekaterinburg, Islamabad, Karachi, Tashkent",
586
+ "5.5" => "(GMT +5:30) Bombay, Calcutta, Madras, New Delhi",
587
+ "5.75" => "(GMT +5:45) Nepal",
588
+ "6" => "(GMT +6:00) Almaty, Dhaka, Colombo",
589
+ "6.5" => "(GMT +6:30) Myanmar, Cocos Islands",
590
+ "7" => "(GMT +7:00) Bangkok, Hanoi, Jakarta",
591
+ "8" => "(GMT +8:00) Beijing, Perth, Singapore, Hong Kong",
592
+ "9" => "(GMT +9:00) Tokyo, Seoul, Osaka, Sapporo, Yakutsk",
593
+ "9.5" => "(GMT +9:30) Adelaide, Darwin",
594
+ "10" => "(GMT +10:00) Eastern Australia, Guam, Vladivostok",
595
+ "10.5" => "(GMT +10:30) Lord Howe Island",
596
+ "11" => "(GMT +11:00) Magadan, Solomon Islands, New Caledonia",
597
+ "11.5" => "(GMT +11:30) Norfolk Island",
598
+ "12" => "(GMT +12:00) Auckland, Wellington, Fiji, Kamchatka",
599
+ "12.75" => "(GMT +12:45) Chatham Islands",
600
+ "13" => "(GMT +13:00) Tonga",
601
+ "14" => "(GMT +14:00) Line Islands"
602
+ ),
603
+ ),
604
+ 'my_calendar_location_default'=>array(
605
+ 'enabled'=>'on',
606
+ 'label'=>__('My Calendar Default Location','my-calendar'),
607
+ 'values'=>array(
608
+ 'AL'=>"Alabama",
609
+ 'AK'=>"Alaska",
610
+ 'AZ'=>"Arizona",
611
+ 'AR'=>"Arkansas",
612
+ 'CA'=>"California",
613
+ 'CO'=>"Colorado",
614
+ 'CT'=>"Connecticut",
615
+ 'DE'=>"Delaware",
616
+ 'DC'=>"District Of Columbia",
617
+ 'FL'=>"Florida",
618
+ 'GA'=>"Georgia",
619
+ 'HI'=>"Hawaii",
620
+ 'ID'=>"Idaho",
621
+ 'IL'=>"Illinois",
622
+ 'IN'=>"Indiana",
623
+ 'IA'=>"Iowa",
624
+ 'KS'=>"Kansas",
625
+ 'KY'=>"Kentucky",
626
+ 'LA'=>"Louisiana",
627
+ 'ME'=>"Maine",
628
+ 'MD'=>"Maryland",
629
+ 'MA'=>"Massachusetts",
630
+ 'MI'=>"Michigan",
631
+ 'MN'=>"Minnesota",
632
+ 'MS'=>"Mississippi",
633
+ 'MO'=>"Missouri",
634
+ 'MT'=>"Montana",
635
+ 'NE'=>"Nebraska",
636
+ 'NV'=>"Nevada",
637
+ 'NH'=>"New Hampshire",
638
+ 'NJ'=>"New Jersey",
639
+ 'NM'=>"New Mexico",
640
+ 'NY'=>"New York",
641
+ 'NC'=>"North Carolina",
642
+ 'ND'=>"North Dakota",
643
+ 'OH'=>"Ohio",
644
+ 'OK'=>"Oklahoma",
645
+ 'OR'=>"Oregon",
646
+ 'PA'=>"Pennsylvania",
647
+ 'RI'=>"Rhode Island",
648
+ 'SC'=>"South Carolina",
649
+ 'SD'=>"South Dakota",
650
+ 'TN'=>"Tennessee",
651
+ 'TX'=>"Texas",
652
+ 'UT'=>"Utah",
653
+ 'VT'=>"Vermont",
654
+ 'VA'=>"Virginia",
655
+ 'WA'=>"Washington",
656
+ 'WV'=>"West Virginia",
657
+ 'WI'=>"Wisconsin",
658
+ 'WY'=>"Wyoming"),
659
+ )
660
+ );
661
+ add_option('mc_user_settings',$mc_user_settings);
662
+ add_option('mc_user_settings_enabled',false);
663
+ add_option('mc_user_location_type','state');
664
+ add_option( 'my_calendar_show_js','' );
665
+ add_option( 'my_calendar_show_css','' );
666
+ add_option( 'my_calendar_templates', array(
667
+ 'title'=>'{title}'
668
+ ));
669
 
670
  require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
671
  dbDelta($initial_db);
my-calendar-it_IT.mo ADDED
Binary file
my-calendar-it_IT.po ADDED
@@ -0,0 +1,1532 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Translation of the WordPress plugin My Calendar 1.0.0 by Joseph C Dolson.
2
+ # Copyright (C) 2010 Joseph C Dolson
3
+ # This file is distributed under the same license as the My Calendar package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
5
+ #
6
+ msgid ""
7
+ msgstr ""
8
+ "Project-Id-Version: My Calendar 1.0.0\n"
9
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/my-calendar\n"
10
+ "POT-Creation-Date: 2010-10-05 19:19+0000\n"
11
+ "PO-Revision-Date: 2010-12-06 12:50+0100\n"
12
+ "Last-Translator: Mustapha Sabir <sabir.musta@gmail.com>\n"
13
+ "Language-Team: www.netmdp.com <esteban@netmdp.com>\n"
14
+ "MIME-Version: 1.0\n"
15
+ "Content-Type: text/plain; charset=UTF-8\n"
16
+ "Content-Transfer-Encoding: 8bit\n"
17
+ "X-Poedit-Language: Spanish\n"
18
+ "X-Poedit-Country: ARGENTINA\n"
19
+
20
+ #: my-calendar-categories.php:41
21
+ msgid "Category added successfully"
22
+ msgstr "Categoria aggiunta con successo"
23
+
24
+ #: my-calendar-categories.php:43
25
+ msgid "Category addition failed."
26
+ msgstr "L'aggiunta Categoria fallito."
27
+
28
+ #: my-calendar-categories.php:53
29
+ msgid "Category deleted successfully. Categories in calendar updated."
30
+ msgstr "Categoria cancellata con successo. Categorie in calendario aggiornati."
31
+
32
+ #: my-calendar-categories.php:55
33
+ msgid "Category deleted successfully. Categories in calendar not updated."
34
+ msgstr "Categoria cancellata con successo. Categorie in calendario non aggiornati."
35
+
36
+ #: my-calendar-categories.php:57
37
+ msgid "Category not deleted. Categories in calendar updated."
38
+ msgstr "La categoria non è stata eliminata. Categorie in calendario aggiornati."
39
+
40
+ #: my-calendar-categories.php:66
41
+ msgid "Category edited successfully"
42
+ msgstr "Categoria modificata con successo"
43
+
44
+ #: my-calendar-categories.php:88
45
+ #: my-calendar-categories.php:112
46
+ #: my-calendar-categories.php:130
47
+ msgid "Add Category"
48
+ msgstr "Aggiungi Categoria"
49
+
50
+ #: my-calendar-categories.php:90
51
+ #: my-calendar-categories.php:112
52
+ msgid "Edit Category"
53
+ msgstr "Modifica Categoria"
54
+
55
+ #: my-calendar-categories.php:97
56
+ msgid "Category Editor"
57
+ msgstr "Editore di Categoria"
58
+
59
+ #: my-calendar-categories.php:113
60
+ #: my-calendar-categories.php:156
61
+ msgid "Category Name"
62
+ msgstr "Nome della categoria"
63
+
64
+ #: my-calendar-categories.php:114
65
+ msgid "Category Color (Hex format)"
66
+ msgstr "Colore Categoria (Formato Hex)"
67
+
68
+ #: my-calendar-categories.php:115
69
+ #: my-calendar-categories.php:158
70
+ msgid "Category Icon"
71
+ msgstr "Icona Categoria"
72
+
73
+ #: my-calendar-categories.php:130
74
+ #: my-calendar-locations.php:121
75
+ msgid "Save Changes"
76
+ msgstr "Salva le modifiche"
77
+
78
+ #: my-calendar-categories.php:143
79
+ #: my-calendar.php:179
80
+ msgid "Manage Categories"
81
+ msgstr "Gestione categorie"
82
+
83
+ #: my-calendar-categories.php:155
84
+ #: my-calendar-event-manager.php:643
85
+ #: my-calendar-locations.php:147
86
+ msgid "ID"
87
+ msgstr "ID"
88
+
89
+ #: my-calendar-categories.php:157
90
+ msgid "Category Color"
91
+ msgstr "Colore Categoria"
92
+
93
+ #: my-calendar-categories.php:159
94
+ #: my-calendar-categories.php:173
95
+ #: my-calendar-event-manager.php:704
96
+ #: my-calendar-locations.php:149
97
+ #: my-calendar-locations.php:161
98
+ msgid "Edit"
99
+ msgstr "Modifica"
100
+
101
+ #: my-calendar-categories.php:160
102
+ #: my-calendar-categories.php:179
103
+ #: my-calendar-event-manager.php:73
104
+ #: my-calendar-event-manager.php:704
105
+ #: my-calendar-locations.php:150
106
+ #: my-calendar-locations.php:162
107
+ msgid "Delete"
108
+ msgstr "Cancellare"
109
+
110
+ #: my-calendar-categories.php:176
111
+ #: my-calendar-event-manager.php:685
112
+ #: my-calendar-settings.php:228
113
+ #: my-calendar.php:652
114
+ msgid "N/A"
115
+ msgstr "N/A"
116
+
117
+ #: my-calendar-categories.php:179
118
+ #: my-calendar-locations.php:162
119
+ msgid "Are you sure you want to delete this category?"
120
+ msgstr "Sei sicuro di voler cancellare questa categoria?"
121
+
122
+ #: my-calendar-categories.php:190
123
+ msgid "There are no categories in the database - something has gone wrong!"
124
+ msgstr "Non esistono categorie nel database - qualcosa non ha funzionato!"
125
+
126
+ #: my-calendar-event-manager.php:27
127
+ #: my-calendar-settings.php:351
128
+ msgid "My Calendar has identified that you have the Calendar plugin by Kieran O'Shea installed. You can import those events and categories into the My Calendar database. Would you like to import these events?"
129
+ msgstr "My calendar ha identificato che hai il plugin the calendar di Kieran O'Shea installato. È possibile importare gli eventi e le categorie nel database di My calendar. Ti piacerebbe importare questi eventi?"
130
+
131
+ #: my-calendar-event-manager.php:33
132
+ #: my-calendar-settings.php:357
133
+ msgid "Import from Calendar"
134
+ msgstr "Importa da calendario"
135
+
136
+ #: my-calendar-event-manager.php:38
137
+ msgid "Although it is possible that this import could fail to import your events correctly, it should not have any impact on your existing Calendar database. If you encounter any problems, <a href=\"http://www.joedolson.com/contact.php\">please contact me</a>!"
138
+ msgstr "Anche se è possibile che questa importazione non riesca a importare i tuoi eventi correttamente, non dovrebbe avere alcun impatto sul tuo database esistente Calendario. Se si incontrano problemi, <a href=\"http://www.joedolson.com/contact.php\">si prega di contattare me</ a>!"
139
+
140
+ #: my-calendar-event-manager.php:68
141
+ msgid "Delete Event"
142
+ msgstr "Cancellare evento"
143
+
144
+ #: my-calendar-event-manager.php:68
145
+ msgid "Are you sure you want to delete this event?"
146
+ msgstr "Sei sicuro di voler cancellare questo evento?"
147
+
148
+ #: my-calendar-event-manager.php:81
149
+ msgid "You do not have permission to delete that event."
150
+ msgstr "Non hai il permesso per cancellare l'evento."
151
+
152
+ #: my-calendar-event-manager.php:96
153
+ #: my-calendar-event-manager.php:209
154
+ msgid "You do not have permission to approve that event."
155
+ msgstr "Non hai il permesso per approvare questo evento."
156
+
157
+ #: my-calendar-event-manager.php:110
158
+ #: my-calendar-event-manager.php:223
159
+ msgid "You do not have permission to reject that event."
160
+ msgstr "Non hai il permesso per rifiutare questo evento."
161
+
162
+ #: my-calendar-event-manager.php:133
163
+ #: my-calendar-event-manager.php:154
164
+ #: my-calendar-event-manager.php:178
165
+ #: my-calendar-event-manager.php:193
166
+ #: my-calendar-event-manager.php:833
167
+ #: my-calendar-event-manager.php:838
168
+ #: my-calendar-event-manager.php:843
169
+ #: my-calendar-event-manager.php:855
170
+ #: my-calendar-event-manager.php:865
171
+ #: my-calendar-event-manager.php:873
172
+ #: my-calendar-event-manager.php:882
173
+ #: my-calendar-event-manager.php:890
174
+ msgid "Error"
175
+ msgstr "Errore"
176
+
177
+ #: my-calendar-event-manager.php:133
178
+ msgid "I'm sorry! I couldn't add that event to the database."
179
+ msgstr "spiacente! Non ho potuto aggiungere l'evento al database."
180
+
181
+ #: my-calendar-event-manager.php:135
182
+ msgid "Event added. It will now show in your calendar."
183
+ msgstr "Evento aggiunto. adesso sarà visibile nel tuo calendario."
184
+
185
+ #: my-calendar-event-manager.php:154
186
+ msgid "Your event was not updated."
187
+ msgstr "L'evento non è stato aggiornato."
188
+
189
+ #: my-calendar-event-manager.php:158
190
+ msgid "Nothing was changed in that update."
191
+ msgstr "Niente è stato modificato in questo aggiornamento."
192
+
193
+ #: my-calendar-event-manager.php:162
194
+ msgid "Event updated successfully"
195
+ msgstr "Evento aggiornato con successo"
196
+
197
+ #: my-calendar-event-manager.php:168
198
+ msgid "You do not have sufficient permissions to edit that event."
199
+ msgstr "Non si dispone di permessi sufficienti per modificare tale evento."
200
+
201
+ #: my-calendar-event-manager.php:178
202
+ msgid "You can't delete an event if you haven't submitted an event id"
203
+ msgstr "Non è possibile eliminare un evento se non viene emessa una ID evento"
204
+
205
+ #: my-calendar-event-manager.php:189
206
+ msgid "Event deleted successfully"
207
+ msgstr "Evento cancellato con successo"
208
+
209
+ #: my-calendar-event-manager.php:193
210
+ msgid "Despite issuing a request to delete, the event still remains in the database. Please investigate."
211
+ msgstr "Despite issuing a request to delete, the event still remains in the database. Please investigate."
212
+
213
+ #: my-calendar-event-manager.php:240
214
+ #: my-calendar-event-manager.php:343
215
+ msgid "Edit Event"
216
+ msgstr "Modifica evento"
217
+
218
+ #: my-calendar-event-manager.php:244
219
+ #: my-calendar-event-manager.php:253
220
+ msgid "You must provide an event id in order to edit it"
221
+ msgstr "È necessario fornire un ID evento al fine di modificarlo"
222
+
223
+ #: my-calendar-event-manager.php:249
224
+ #: my-calendar-event-manager.php:343
225
+ msgid "Copy Event"
226
+ msgstr "Coppia Evento"
227
+
228
+ #: my-calendar-event-manager.php:259
229
+ msgid "Add Event"
230
+ msgstr "Aggiungi Evento"
231
+
232
+ #: my-calendar-event-manager.php:264
233
+ msgid "Manage Events"
234
+ msgstr "Gestione Eventi"
235
+
236
+ #: my-calendar-event-manager.php:315
237
+ msgid "Sorry! That's an invalid event key."
238
+ msgstr "spiacente! Questa chiave di evento non è valida."
239
+
240
+ #: my-calendar-event-manager.php:320
241
+ msgid "Sorry! We couldn't find an event with that ID."
242
+ msgstr "spiacente! Non riusciamo a trovare un evento di tale ID."
243
+
244
+ #: my-calendar-event-manager.php:343
245
+ msgid "Add an Event"
246
+ msgstr "Aggiungere un Evento"
247
+
248
+ #: my-calendar-event-manager.php:347
249
+ msgid "This event must be approved in order for it to appear on the calendar."
250
+ msgstr "Questo evento deve essere approvato in modo che venga visualizzato sul calendario."
251
+
252
+ #: my-calendar-event-manager.php:362
253
+ msgid "Enter your Event Information"
254
+ msgstr "Inserisci gli informazione del tuo evento"
255
+
256
+ #: my-calendar-event-manager.php:364
257
+ msgid "Event Title"
258
+ msgstr "Titolo del Evento"
259
+
260
+ #: my-calendar-event-manager.php:367
261
+ msgid "Publish"
262
+ msgstr "Pubblica"
263
+
264
+ #: my-calendar-event-manager.php:367
265
+ msgid "You must approve this event to promote it to the calendar."
266
+ msgstr "È necessario approvare questo evento per promuovere al calendario."
267
+
268
+ #: my-calendar-event-manager.php:369
269
+ msgid "An administrator must approve your new event."
270
+ msgstr "Un amministratore deve approvare il nuovo evento."
271
+
272
+ #: my-calendar-event-manager.php:377
273
+ msgid "Event Description (<abbr title=\"hypertext markup language\">HTML</abbr> allowed)"
274
+ msgstr "Descrizione Evento (<abbr title=\"hypertext markup language\">HTML</abbr> permesso)"
275
+
276
+ #: my-calendar-event-manager.php:382
277
+ msgid "Event Short Description (<abbr title=\"hypertext markup language\">HTML</abbr> allowed)"
278
+ msgstr "Descrizione breve Evento (<abbr title=\"hypertext markup language\">HTML</abbr> permesso)"
279
+
280
+ #: my-calendar-event-manager.php:387
281
+ msgid "Event Category"
282
+ msgstr "Categoria del Evento "
283
+
284
+ #: my-calendar-event-manager.php:412
285
+ msgid "Event Link (Optional)"
286
+ msgstr "Link del evento (Opzionale)"
287
+
288
+ #: my-calendar-event-manager.php:412
289
+ msgid "This link will expire when the event passes."
290
+ msgstr "Questo link scade quando l'evento passa."
291
+
292
+ #: my-calendar-event-manager.php:416
293
+ msgid "Start Date (YYYY-MM-DD)"
294
+ msgstr "Data Inizio (YYYY-MM-DD)"
295
+
296
+ #: my-calendar-event-manager.php:419
297
+ msgid "End Date (YYYY-MM-DD) (Optional)"
298
+ msgstr "Data di fine (YYYY-MM-DD) (Opzionale)"
299
+
300
+ #: my-calendar-event-manager.php:422
301
+ msgid "Time (hh:mm)"
302
+ msgstr "ora (hh:mm)"
303
+
304
+ #: my-calendar-event-manager.php:434
305
+ msgid "Optional, set blank if your event is an all-day event or does not happen at a specific time."
306
+ msgstr "Opzionale, lascia vuoto se l'evento è per tutto il giorno o non accade in un momento specifico."
307
+
308
+ #: my-calendar-event-manager.php:434
309
+ msgid "Current time difference from GMT is "
310
+ msgstr "differenza di tempo corrente da GMT è"
311
+
312
+ #: my-calendar-event-manager.php:434
313
+ msgid " hour(s)"
314
+ msgstr " ora (e)"
315
+
316
+ #: my-calendar-event-manager.php:437
317
+ msgid "End Time (hh:mm)"
318
+ msgstr "Ora di Fine (hh:mm)"
319
+
320
+ #: my-calendar-event-manager.php:447
321
+ msgid "Optional. End times will not be displayed on events where this is not set."
322
+ msgstr "Opzionale. l'ora di fine non verra visualizzata sugli eventi in cui questa non è impostata."
323
+
324
+ #: my-calendar-event-manager.php:452
325
+ msgid "Recurring Events"
326
+ msgstr "Ricorrenza Eventi"
327
+
328
+ #: my-calendar-event-manager.php:455
329
+ msgid "Repeats for"
330
+ msgstr "Ripete per"
331
+
332
+ #: my-calendar-event-manager.php:456
333
+ msgid "Units"
334
+ msgstr "Unità"
335
+
336
+ #: my-calendar-event-manager.php:457
337
+ msgid "Does not recur"
338
+ msgstr "Non si ripresenta"
339
+
340
+ #: my-calendar-event-manager.php:458
341
+ #: my-calendar-event-manager.php:677
342
+ msgid "Daily"
343
+ msgstr "Giornaliero"
344
+
345
+ #: my-calendar-event-manager.php:459
346
+ #: my-calendar-event-manager.php:678
347
+ msgid "Weekly"
348
+ msgstr "Settimanale"
349
+
350
+ #: my-calendar-event-manager.php:460
351
+ msgid "Bi-weekly"
352
+ msgstr "Bi-settimanale"
353
+
354
+ #: my-calendar-event-manager.php:461
355
+ msgid "Date of Month (e.g., the 24th of each month)"
356
+ msgstr "Data del Mese (ad es., il 24 di ogni mese)"
357
+
358
+ #: my-calendar-event-manager.php:462
359
+ msgid "Day of Month (e.g., the 3rd Monday of each month)"
360
+ msgstr "Giorno del Mese (ad es., il 3° Lunedì di ogni mese)"
361
+
362
+ #: my-calendar-event-manager.php:463
363
+ msgid "Annually"
364
+ msgstr "Annuale"
365
+
366
+ #: my-calendar-event-manager.php:465
367
+ msgid "Entering 0 means forever, if a unit is selected. If the recurrence unit is left at \"Does not recur,\" the event will not reoccur."
368
+ msgstr "Mettere 0 significa per sempre, se una unità è selezionata. Se l'unità di ricorrenza è lasciata a \"non si ripeta,\" l'evento non si ripresenterà."
369
+
370
+ #: my-calendar-event-manager.php:476
371
+ msgid "Event Registration Status"
372
+ msgstr "Stato di Registrazione Evento"
373
+
374
+ #: my-calendar-event-manager.php:478
375
+ msgid "Open"
376
+ msgstr "Aperto"
377
+
378
+ #: my-calendar-event-manager.php:479
379
+ msgid "Closed"
380
+ msgstr "Chiuso"
381
+
382
+ #: my-calendar-event-manager.php:480
383
+ msgid "Does not apply"
384
+ msgstr "Non si applica"
385
+
386
+ #: my-calendar-event-manager.php:483
387
+ msgid "If this event recurs, it can only be registered for as a complete series."
388
+ msgstr "Se questo evento si ripete, può solo essere registrato per una serie completa."
389
+
390
+ #: my-calendar-event-manager.php:493
391
+ #: my-calendar-locations.php:81
392
+ msgid "Event Location"
393
+ msgstr "Località Evento"
394
+
395
+ #: my-calendar-event-manager.php:502
396
+ msgid "Choose a preset location:"
397
+ msgstr "Scegliere una località predefinita:"
398
+
399
+ #: my-calendar-event-manager.php:516
400
+ msgid "Add recurring locations for later use."
401
+ msgstr "Aggiungi località ricorrenti per un uso successivo."
402
+
403
+ #: my-calendar-event-manager.php:525
404
+ #: my-calendar-locations.php:83
405
+ msgid "All location fields are optional: <em>insufficient information may result in an inaccurate map</em>."
406
+ msgstr "Tutti i campi sono opzionali: <em>insufficiente informazioni possono causare una mappa inesatta</em>."
407
+
408
+ #: my-calendar-event-manager.php:528
409
+ #: my-calendar-locations.php:86
410
+ msgid "Name of Location (e.g. <em>Joe's Bar and Grill</em>)"
411
+ msgstr "Nome della Località (es. <em>Joe's Bar and Grill</em>)"
412
+
413
+ #: my-calendar-event-manager.php:531
414
+ #: my-calendar-locations.php:89
415
+ msgid "Street Address"
416
+ msgstr "Indirizzo"
417
+
418
+ #: my-calendar-event-manager.php:534
419
+ #: my-calendar-locations.php:92
420
+ msgid "Street Address (2)"
421
+ msgstr "Indirizzo (2)"
422
+
423
+ #: my-calendar-event-manager.php:537
424
+ #: my-calendar-locations.php:95
425
+ msgid "City"
426
+ msgstr "Città"
427
+
428
+ #: my-calendar-event-manager.php:537
429
+ #: my-calendar-locations.php:95
430
+ msgid "State/Province"
431
+ msgstr "Regione/Provincia"
432
+
433
+ #: my-calendar-event-manager.php:537
434
+ #: my-calendar-locations.php:95
435
+ msgid "Postal Code"
436
+ msgstr "Codice Postale"
437
+
438
+ #: my-calendar-event-manager.php:540
439
+ #: my-calendar-locations.php:98
440
+ msgid "Country"
441
+ msgstr "Paese"
442
+
443
+ #: my-calendar-event-manager.php:543
444
+ #: my-calendar-locations.php:101
445
+ msgid "Initial Zoom"
446
+ msgstr "Zoom Iniziale"
447
+
448
+ #: my-calendar-event-manager.php:545
449
+ #: my-calendar-locations.php:103
450
+ msgid "Neighborhood"
451
+ msgstr "Quartiere"
452
+
453
+ #: my-calendar-event-manager.php:546
454
+ #: my-calendar-locations.php:104
455
+ msgid "Small City"
456
+ msgstr "Piccola città"
457
+
458
+ #: my-calendar-event-manager.php:547
459
+ #: my-calendar-locations.php:105
460
+ msgid "Large City"
461
+ msgstr "Città grande"
462
+
463
+ #: my-calendar-event-manager.php:548
464
+ #: my-calendar-locations.php:106
465
+ msgid "Greater Metro Area"
466
+ msgstr "Grande Metro Area"
467
+
468
+ #: my-calendar-event-manager.php:549
469
+ #: my-calendar-locations.php:107
470
+ msgid "State"
471
+ msgstr "Stato"
472
+
473
+ #: my-calendar-event-manager.php:550
474
+ #: my-calendar-locations.php:108
475
+ msgid "Region"
476
+ msgstr "Regione"
477
+
478
+ #: my-calendar-event-manager.php:554
479
+ #: my-calendar-locations.php:112
480
+ msgid "GPS Coordinates (optional)"
481
+ msgstr "Coordinati GPS (opzionale)"
482
+
483
+ #: my-calendar-event-manager.php:556
484
+ msgid "If you supply GPS coordinates for your location, they will be used in place of any other address information to provide your map link."
485
+ msgstr "Se si forniscono le coordinate GPS per la posizione, essi saranno utilizzati al posto di qualsiasi altra informazioni di indirizzo per fornire il tuo link mappa."
486
+
487
+ #: my-calendar-event-manager.php:559
488
+ #: my-calendar-locations.php:117
489
+ msgid "Longitude"
490
+ msgstr "Longitudine"
491
+
492
+ #: my-calendar-event-manager.php:559
493
+ #: my-calendar-locations.php:117
494
+ msgid "Latitude"
495
+ msgstr "Latitudine"
496
+
497
+ #: my-calendar-event-manager.php:567
498
+ msgid "Save Event"
499
+ msgstr "Salva Evento"
500
+
501
+ #: my-calendar-event-manager.php:644
502
+ #: my-calendar-widgets.php:37
503
+ #: my-calendar-widgets.php:122
504
+ msgid "Title"
505
+ msgstr "Titolo"
506
+
507
+ #: my-calendar-event-manager.php:645
508
+ msgid "Link"
509
+ msgstr "Link"
510
+
511
+ #: my-calendar-event-manager.php:646
512
+ #: my-calendar-locations.php:148
513
+ msgid "Location"
514
+ msgstr "Località"
515
+
516
+ #: my-calendar-event-manager.php:647
517
+ msgid "Description"
518
+ msgstr "Descrizione"
519
+
520
+ #: my-calendar-event-manager.php:648
521
+ msgid "Start Date"
522
+ msgstr "Data Inizio"
523
+
524
+ #: my-calendar-event-manager.php:649
525
+ msgid "Recurs"
526
+ msgstr "Ricorrenza"
527
+
528
+ #: my-calendar-event-manager.php:650
529
+ #: my-calendar-settings.php:204
530
+ #: my-calendar-settings.php:213
531
+ msgid "Author"
532
+ msgstr "Autore"
533
+
534
+ #: my-calendar-event-manager.php:651
535
+ msgid "Category"
536
+ msgstr "Categoria"
537
+
538
+ #: my-calendar-event-manager.php:652
539
+ msgid "Edit / Delete"
540
+ msgstr "Modifica/Cancella"
541
+
542
+ #: my-calendar-event-manager.php:676
543
+ msgid "Never"
544
+ msgstr "Mai"
545
+
546
+ #: my-calendar-event-manager.php:679
547
+ msgid "Bi-Weekly"
548
+ msgstr "Bi-Settimanale"
549
+
550
+ #: my-calendar-event-manager.php:680
551
+ msgid "Monthly (by date)"
552
+ msgstr "Mensile (per data)"
553
+
554
+ #: my-calendar-event-manager.php:681
555
+ msgid "Monthly (by day)"
556
+ msgstr "Mensile (per giorno)"
557
+
558
+ #: my-calendar-event-manager.php:682
559
+ msgid "Yearly"
560
+ msgstr "Annuale"
561
+
562
+ #: my-calendar-event-manager.php:686
563
+ msgid "Forever"
564
+ msgstr "Per sempre"
565
+
566
+ #: my-calendar-event-manager.php:687
567
+ msgid "Times"
568
+ msgstr "Volte"
569
+
570
+ #: my-calendar-event-manager.php:702
571
+ msgid "Copy"
572
+ msgstr "copia"
573
+
574
+ #: my-calendar-event-manager.php:705
575
+ msgid "Not editable."
576
+ msgstr "Non modificabili."
577
+
578
+ #: my-calendar-event-manager.php:711
579
+ msgid "Reject"
580
+ msgstr "Respinto"
581
+
582
+ #: my-calendar-event-manager.php:713
583
+ msgid "Approve"
584
+ msgstr "Approvare"
585
+
586
+ #: my-calendar-event-manager.php:718
587
+ msgid "Approved"
588
+ msgstr "Approvato"
589
+
590
+ #: my-calendar-event-manager.php:720
591
+ msgid "Rejected"
592
+ msgstr "Rifiutato"
593
+
594
+ #: my-calendar-event-manager.php:733
595
+ msgid "There are no events in the database!"
596
+ msgstr "Non ci sono eventi nel database!"
597
+
598
+ #: my-calendar-event-manager.php:833
599
+ msgid "Your event end date must be either after or the same as your event begin date"
600
+ msgstr "La data di fine evento deve essere uguale o successiva alla data di inizio"
601
+
602
+ #: my-calendar-event-manager.php:838
603
+ msgid "Your date formatting is correct but one or more of your dates is invalid. Check for number of days in month and leap year related errors."
604
+ msgstr "La formattazione della data è corretta, ma uno o più dei tuoi dati non è valido. Controllare il numero di giorni nel mese e anno bisestile errori correlati."
605
+
606
+ #: my-calendar-event-manager.php:843
607
+ msgid "Both start and end dates must be in the format YYYY-MM-DD"
608
+ msgstr "Entrambe le date di inizio e di fine devono essere nel formato AAAA-MM-DD"
609
+
610
+ #: my-calendar-event-manager.php:855
611
+ msgid "The time field must either be blank or be entered in the format hh:mm"
612
+ msgstr "The time field must either be blank or be entered in the format hh:mm"
613
+
614
+ #: my-calendar-event-manager.php:865
615
+ msgid "The end time field must either be blank or be entered in the format hh:mm"
616
+ msgstr "Il campo ora di fine deve essere vuoto o essere iscritti nel formato hh: mm"
617
+
618
+ #: my-calendar-event-manager.php:873
619
+ msgid "The URL entered must either be prefixed with http:// or be completely blank"
620
+ msgstr "L'URL immesso deve essere preceduto da http:// o essere completamente vuoto"
621
+
622
+ #: my-calendar-event-manager.php:882
623
+ msgid "The event title must be between 1 and 255 characters in length."
624
+ msgstr "Il titolo dell'evento deve essere compreso tra 1 e 255 caratteri."
625
+
626
+ #: my-calendar-event-manager.php:890
627
+ msgid "The repetition value must be 0 unless a type of recurrence is selected."
628
+ msgstr "Il valore di ripetizione deve essere 0 a meno che un tipo di ricorrenza è selezionat"
629
+
630
+ #: my-calendar-help.php:6
631
+ msgid "How to use My Calendar"
632
+ msgstr "Come utilizzare il mio calendario"
633
+
634
+ #: my-calendar-help.php:11
635
+ msgid "Shortcode Syntax"
636
+ msgstr "Sintassi Shortcode"
637
+
638
+ #: my-calendar-help.php:14
639
+ msgid "These shortcodes can be used in Posts, Pages, or in text widgets."
640
+ msgstr "Questi codici brevi possono essere usati nei post, pagine o nei widget di testo."
641
+
642
+ #: my-calendar-help.php:18
643
+ msgid "This basic shortcode will show the calendar on a post or page including all categories and the category key, in a traditional month-by-month format."
644
+ msgstr "Questo shortcode di base mostrerà il calendario su un post o pagina, incluse tutte le categorie e la chiave di categoria, in un formato tradizionale mese per mese."
645
+
646
+ #: my-calendar-help.php:21
647
+ msgid "The shortcode supports three attributes, <code>category</code>, <code>format</code> and <code>showkey</code>. There two alternate option for <code>format</code> &mdash; <code>list</code> &mdash; which will show the calendar in a list format, skipping dates without any events, and <code>mini</code>, which will display the calendar in a form more suitable to being displayed in smaller spaces, such as the sidebar. The <code>category</code> attribute requires either the name of or ID number one of your event categories (the name is case-sensitive). This will show a calendar only including events in that category. Multiple categories can be specified by separating the category names or IDs using the pipe character: <code>|</code>. Setting <code>showkey</code> to <code>no</code> will prevent the category key from being displayed &mdash; this can be useful with single-category output."
648
+ msgstr ""
649
+
650
+ #: my-calendar-help.php:24
651
+ msgid "This shortcode displays the output of the Upcoming Events widget. Without attributes, it will display using the settings in your widget; the attributes are used to override the widget settings. The <code>before</code> and <code>after</code> attributes should be numbers; the <code>type</code> attribute can be either \"event\" or \"days\", and the <code>category</code> attribute works the same way as the category attribute on the main calendar shortcode. Templates work using the template codes listed below."
652
+ msgstr "Questo shortcode visualizza l'output del widget Prossimi Eventi. Senza attributi, verrà visualizzato utilizzando le impostazioni nel vostro widget, gli attributi sono usati per modificare le impostazioni di widget. <code>prima</code> e <code>dopo</code> attributi deveno essere numeri, il <code>tipo</code> attributo può essere \"evento\" o \"giorni\", e la <code>categoria</code> attributo funziona allo stesso modo come l'attributo di categoria sulla shortcode calendario principale. Templates di lavoro utilizzando i codici di template elencati di seguito."
653
+
654
+ #: my-calendar-help.php:27
655
+ msgid "Predictably enough, this shortcode displays the output of the Today's Events widget, with two configurable attributes: category and template."
656
+ msgstr "Com'era prevedibile il fatto che questo shortcode visualizza l'uscita del widget Eventi di oggi, con due attributi configurabili: categoria e template"
657
+
658
+ #: my-calendar-help.php:34
659
+ msgid "Category Icons"
660
+ msgstr "Icone categoria"
661
+
662
+ #: my-calendar-help.php:37
663
+ msgid "My Calendar is designed to manage multiple calendars. The basis for these calendars are categories; you can easily setup a calendar page which includes all categories, or you can dedicate separate pages to calendars in each category. For an example, this might be useful for you in managing the tour calendars for multiple bands; event calendars for a variety of locations, etc."
664
+ msgstr "My Calendar è progettato per gestire più calendari. La base di questi calendari sono le categorie, è possibile impostare facilmente una pagina di calendario che comprende tutte le categorie, oppure si può dedicare pagine separate per i calendari di ogni categoria. Per un esempio, questo potrebbe essere utile per l'utente a gestire i calendari tour per le fasce multiple, calendari di eventi per una varietà di località, ecc."
665
+
666
+ #: my-calendar-help.php:40
667
+ msgid "The pre-installed category icons may not be especially useful for your needs or design. I'm assuming that you're going to upload your own icons -- all you need to do is upload them to the plugin's icons folder, and they'll be available for immediate use, or place them in a folder at \"my-calendar-custom\" to avoid having them overwritten by upgrades."
668
+ msgstr ""
669
+
670
+ #: my-calendar-help.php:40
671
+ msgid "Your icons folder is:"
672
+ msgstr "La cartella delle icone è:"
673
+
674
+ #: my-calendar-help.php:40
675
+ msgid "You can alternately place icons in:"
676
+ msgstr "È possibile alternativamente mettere le icone in:"
677
+
678
+ #: my-calendar-help.php:48
679
+ msgid "Widget Templating"
680
+ msgstr "Widget Templating"
681
+
682
+ #: my-calendar-help.php:51
683
+ msgid "These codes are available in calendar widgets to create your own custom calendar format."
684
+ msgstr "Questi codici sono disponibili nel calendario widget per creare il proprio formato calendario personalizzato."
685
+
686
+ #: my-calendar-help.php:55
687
+ msgid "Displays the name of the category the event is in."
688
+ msgstr "Visualizza il nome della categoria dell'evento."
689
+
690
+ #: my-calendar-help.php:58
691
+ msgid "Displays the title of the event."
692
+ msgstr "Visualizza il titolo dell'evento."
693
+
694
+ #: my-calendar-help.php:61
695
+ msgid "Displays the start time for the event."
696
+ msgstr "Visualizzare l'ora di inizio dell'evento."
697
+
698
+ #: my-calendar-help.php:64
699
+ msgid "Displays the date on which the event begins."
700
+ msgstr "Visualizza la data in cui l'evento ha inizio."
701
+
702
+ #: my-calendar-help.php:67
703
+ msgid "Displays the date on which the event ends."
704
+ msgstr "Visualizza la data in cui l'evento finisce."
705
+
706
+ #: my-calendar-help.php:70
707
+ msgid "Displays the time at which the event ends."
708
+ msgstr "Visualizza l'ora in cui l'evento finisce."
709
+
710
+ #: my-calendar-help.php:73
711
+ msgid "Displays the WordPress author who posted the event."
712
+ msgstr "Visualizza l'autore WordPress che ha pubblicato l'event"
713
+
714
+ #: my-calendar-help.php:76
715
+ msgid "Displays the URL provided for the event."
716
+ msgstr "Visualizzare l'URL fornito per l'evento."
717
+
718
+ #: my-calendar-help.php:79
719
+ msgid "Displays the description of the event."
720
+ msgstr "visualizzare la descrizione dell'evento."
721
+
722
+ #: my-calendar-help.php:82
723
+ msgid "Displays title of the event as a link if a URL is present, or the title alone if no URL is available."
724
+ msgstr "Visualizza il titolo dell'evento come un link se un URL è presente, o il titolo solo se nessun URL è disponibile."
725
+
726
+ #: my-calendar-help.php:85
727
+ msgid "Displays the name of the location of the event."
728
+ msgstr "Visualizza il nome della località dell'evento."
729
+
730
+ #: my-calendar-help.php:88
731
+ msgid "Displays the first line of the site address."
732
+ msgstr "Visualizza la prima riga dell'indirizzo del sito."
733
+
734
+ #: my-calendar-help.php:91
735
+ msgid "Displays the second line of the site address."
736
+ msgstr "Visualizza la seconda riga dell'indirizzo del sito."
737
+
738
+ #: my-calendar-help.php:94
739
+ msgid "Displays the city for the event."
740
+ msgstr "Visualizza la città per l'evento."
741
+
742
+ #: my-calendar-help.php:97
743
+ msgid "Displays the state for the event."
744
+ msgstr "Visualizza lo stato per l'evento."
745
+
746
+ #: my-calendar-help.php:100
747
+ msgid "Displays the postcode for the event."
748
+ msgstr "Visualizza il cap per l'evento."
749
+
750
+ #: my-calendar-help.php:103
751
+ msgid "Displays the country for the event location."
752
+ msgstr "Visualizza il paese per la località dell'evento."
753
+
754
+ #: my-calendar-help.php:106
755
+ msgid "Displays the event address in <a href=\"http://microformats.org/wiki/hcard\">hcard</a> format."
756
+ msgstr "Visualizza l'indirizzo dell'evento in <a href=\"http://microformats.org/wiki/hcard\">hcard</a> formato."
757
+
758
+ #: my-calendar-help.php:109
759
+ msgid "Displays a link to a Google Map of the event, if sufficient address information is available. If not, will be empty."
760
+ msgstr "Visualizza un collegamento a una mappa di Google dell'evento, se le informazioni sull'indirizzo disponibile sono sufficiente. In caso contrario, sarà vuoto."
761
+
762
+ #: my-calendar-help.php:112
763
+ msgid "Displays text indicating whether registration for the event is currently open or closed; displays nothing if that choice is selected in the event."
764
+ msgstr "Visualizza testo che indica se la registrazione per l'evento è aperto o chiuso; nulla viene visualizzato se tale scelta è stata selezionata nel evento."
765
+
766
+ #: my-calendar-help.php:115
767
+ msgid "Displays the short version of the event description."
768
+ msgstr "Visualizza la versione breve della descrizione dell'evento."
769
+
770
+ #: my-calendar-help.php:118
771
+ msgid "Displays the current status of the event: either \"Published\" or \"Reserved\" - primary used in email templates."
772
+ msgstr "Visualizza lo stato corrente del evento: o \"Pubblico\" o \"Riservato\" - primaria utilizzata in modelli di posta elettronica."
773
+
774
+ #: my-calendar-locations.php:22
775
+ msgid "Location added successfully"
776
+ msgstr "Località aggiunta con successo"
777
+
778
+ #: my-calendar-locations.php:24
779
+ msgid "Location could not be added to database"
780
+ msgstr "Località non potrebbe essere aggiunta al database"
781
+
782
+ #: my-calendar-locations.php:30
783
+ msgid "Location deleted successfully"
784
+ msgstr "Località cancellata con successo"
785
+
786
+ #: my-calendar-locations.php:32
787
+ msgid "Location could not be deleted"
788
+ msgstr "Località non potrebbe essere eliminata"
789
+
790
+ #: my-calendar-locations.php:43
791
+ msgid "Location could not be edited."
792
+ msgstr "Località non potrebbe essere modificata."
793
+
794
+ #: my-calendar-locations.php:45
795
+ msgid "Location was not changed."
796
+ msgstr "Località non è stata cambiata."
797
+
798
+ #: my-calendar-locations.php:47
799
+ msgid "Location edited successfully"
800
+ msgstr "Località modificata con successo"
801
+
802
+ #: my-calendar-locations.php:59
803
+ msgid "Add New Location"
804
+ msgstr "Aggiungi nuova Località"
805
+
806
+ #: my-calendar-locations.php:61
807
+ msgid "Edit Location"
808
+ msgstr "Modifica Località"
809
+
810
+ #: my-calendar-locations.php:66
811
+ msgid "Location Editor"
812
+ msgstr "Editore di Località"
813
+
814
+ #: my-calendar-locations.php:114
815
+ msgid "If you supply GPS coordinates for your location, they will be used in place of any other address information to pinpoint your location."
816
+ msgstr "Se si forniscono le coordinate GPS per la posizione, essi saranno utilizzati al posto di qualsiasi informazione altro indirizzo per individuare la tua posizione."
817
+
818
+ #: my-calendar-locations.php:121
819
+ msgid "Add Location"
820
+ msgstr "Aggiungi Località"
821
+
822
+ #: my-calendar-locations.php:135
823
+ #: my-calendar.php:180
824
+ msgid "Manage Locations"
825
+ msgstr "Gestione Località"
826
+
827
+ #: my-calendar-locations.php:170
828
+ msgid "There are no locations in the database yet!"
829
+ msgstr "Non ci sono ancora Località nel database!"
830
+
831
+ #: my-calendar-locations.php:174
832
+ msgid "Please note: editing or deleting locations stored for re-use will have no effect on any event previously scheduled at that location. The location database exists purely as a shorthand method to enter frequently used locations into event records."
833
+ msgstr "Da notare: la modifica o l'eliminazione di località memorizzate per il riutilizzo, non avrà alcun effetto su qualunque evento precedentemente programmato in quella località. Il database località esiste solo come un metodo di stenografia per inserire i percorsi utilizzati di frequente nel record dell'evento."
834
+
835
+ #: my-calendar-settings.php:67
836
+ msgid "Categories imported successfully."
837
+ msgstr "Categorie importati con successo"
838
+
839
+ #: my-calendar-settings.php:69
840
+ msgid "Categories not imported."
841
+ msgstr "Categorie non importati."
842
+
843
+ #: my-calendar-settings.php:72
844
+ msgid "Events imported successfully."
845
+ msgstr "Eventi importati con successo"
846
+
847
+ #: my-calendar-settings.php:74
848
+ msgid "Events not imported."
849
+ msgstr "Eventi non importati."
850
+
851
+ #: my-calendar-settings.php:165
852
+ msgid "Settings saved"
853
+ msgstr "Impostazioni salvate"
854
+
855
+ #: my-calendar-settings.php:188
856
+ msgid "My Calendar Options"
857
+ msgstr "Opzioni My Calendar"
858
+
859
+ #: my-calendar-settings.php:195
860
+ msgid "Calendar Settings"
861
+ msgstr "Impostazioni Calendario"
862
+
863
+ #: my-calendar-settings.php:199
864
+ msgid "Calendar Options: Management"
865
+ msgstr "Opzioni Calendario: Gestione"
866
+
867
+ #: my-calendar-settings.php:201
868
+ msgid "Choose the lowest user group that may create events"
869
+ msgstr "Scegliere il gruppo utenti che possono creare gli eventi"
870
+
871
+ #: my-calendar-settings.php:202
872
+ #: my-calendar-settings.php:211
873
+ msgid "Subscriber"
874
+ msgstr "Sottoscrittore"
875
+
876
+ #: my-calendar-settings.php:203
877
+ #: my-calendar-settings.php:212
878
+ msgid "Contributor"
879
+ msgstr "Collaboratore"
880
+
881
+ #: my-calendar-settings.php:205
882
+ #: my-calendar-settings.php:214
883
+ msgid "Editor"
884
+ msgstr "Editore"
885
+
886
+ #: my-calendar-settings.php:206
887
+ #: my-calendar-settings.php:215
888
+ msgid "Administrator"
889
+ msgstr "Amministratore"
890
+
891
+ #: my-calendar-settings.php:210
892
+ msgid "Choose the lowest user group that may approve events"
893
+ msgstr "Scegliere il gruppo utenti che possono approvare gli eventi"
894
+
895
+ #: my-calendar-settings.php:219
896
+ msgid "Enable approval options."
897
+ msgstr "Attivare le opzioni di approvazione."
898
+
899
+ #: my-calendar-settings.php:223
900
+ msgid "Calendar Options: Customize Text"
901
+ msgstr "Opzioni Calendario: Personalizzare il testo"
902
+
903
+ #: my-calendar-settings.php:225
904
+ msgid "Show Heading for Calendar"
905
+ msgstr "Mostra titolo per il calendario"
906
+
907
+ #: my-calendar-settings.php:228
908
+ msgid "Label for events without a specific time"
909
+ msgstr "Etichetta per gli eventi senza un tempo specifico"
910
+
911
+ #: my-calendar-settings.php:231
912
+ msgid "Previous events link text"
913
+ msgstr "Precedente eventi link di testo"
914
+
915
+ #: my-calendar-settings.php:231
916
+ msgid "Previous Events"
917
+ msgstr "Eventi Passati"
918
+
919
+ #: my-calendar-settings.php:234
920
+ msgid "Next events link text"
921
+ msgstr "Prossimi Eventi link di testo"
922
+
923
+ #: my-calendar-settings.php:234
924
+ msgid "Next Events"
925
+ msgstr "Prossimi Eventi"
926
+
927
+ #: my-calendar-settings.php:237
928
+ msgid "Text when events are open"
929
+ msgstr "Testo quando gli eventi sono aperti"
930
+
931
+ #: my-calendar-settings.php:237
932
+ msgid "Registration is open"
933
+ msgstr "Le Registrazioni sono aperte"
934
+
935
+ #: my-calendar-settings.php:240
936
+ msgid "Text when events are closed"
937
+ msgstr "Testo quando gli eventi sono chiusi"
938
+
939
+ #: my-calendar-settings.php:240
940
+ msgid "Registration is closed"
941
+ msgstr "Le Registrazioni sono chiusi"
942
+
943
+ #: my-calendar-settings.php:243
944
+ msgid "Additional caption text"
945
+ msgstr "Didascalia di testo aggiuntivo"
946
+
947
+ #: my-calendar-settings.php:243
948
+ msgid "The calendar caption is the text containing the displayed month and year in either list or calendar format. This text will be displayed following that existing text."
949
+ msgstr "La didascalia calendario è il testo che contiene il mese e l'anno visualizzate sia in formato elenco o calendario. Questo testo verrà visualizzato dopo il testo esistente."
950
+
951
+ #: my-calendar-settings.php:247
952
+ msgid "Calendar Options: Output"
953
+ msgstr "Opzioni Calendario: Output"
954
+
955
+ #: my-calendar-settings.php:249
956
+ msgid "In list mode, show how many months of events at a time:"
957
+ msgstr "In modalità elenco, quanti mesi di eventi mostrare alla volta:"
958
+
959
+ #: my-calendar-settings.php:252
960
+ msgid "Date format in list mode"
961
+ msgstr "Formato data in modalità elenco"
962
+
963
+ #: my-calendar-settings.php:253
964
+ msgid "Date format uses the same syntax as the <a href=\"http://php.net/date\">PHP <code>date()</code> function</a>. Save options to update sample output."
965
+ msgstr "Formato data utilizza la stessa sintassi della <a href=\"http://php.net/date\">PHP <code>date()</ code> funzione</a>. Salva le opzioni per aggiornare."
966
+
967
+ #: my-calendar-settings.php:256
968
+ msgid "Do you want to display the author name on events?"
969
+ msgstr "Vuoi visualizzare il nome dell'autore negli eventi?"
970
+
971
+ #: my-calendar-settings.php:259
972
+ msgid "Display a jumpbox for changing month and year quickly?"
973
+ msgstr "Visualizzare un JumpBox per cambiare mese e anno in fretta?"
974
+
975
+ #: my-calendar-settings.php:262
976
+ msgid "Hide category icons in output"
977
+ msgstr "Nascondi le icone categoria nell'output"
978
+
979
+ #: my-calendar-settings.php:265
980
+ msgid "Show Link to Google Map (when sufficient address information is available.)"
981
+ msgstr "Mosta Link alla Mappa Google (quando le informazioni disponibile sull'indirizzi sono sufficiente.)"
982
+
983
+ #: my-calendar-settings.php:268
984
+ msgid "Show Event Address in Details"
985
+ msgstr "Mostra l'indirizzo del evento in Dettaglio"
986
+
987
+ #: my-calendar-settings.php:271
988
+ msgid "Show short description field on calendar."
989
+ msgstr "Visualizza campo breve discrizione nel calendario."
990
+
991
+ #: my-calendar-settings.php:274
992
+ msgid "Show full description field on calendar."
993
+ msgstr "Mostra campo descrizione completa nel calendario."
994
+
995
+ #: my-calendar-settings.php:277
996
+ msgid "Links associated with events will automatically expire after the event has passed."
997
+ msgstr "Link associati agli eventi scadranno automaticamente quando l'evento è passato."
998
+
999
+ #: my-calendar-settings.php:280
1000
+ msgid "Show current availability status of events."
1001
+ msgstr "Mostra lo stato attuale disponibilità degli eventi."
1002
+
1003
+ #: my-calendar-settings.php:283
1004
+ msgid "If a recurring event is scheduled for a date which doesn't exist (such as the 5th Wednesday in February), move it back one week."
1005
+ msgstr "Se un evento ricorrente è previsto per una data che non esiste (come il 5° Mercoledì di febbraio), spostalo indietro di una settimana."
1006
+
1007
+ #: my-calendar-settings.php:284
1008
+ msgid "If this option is unchecked, recurring events which fall on dates which don't exist will simply not be shown on the calendar."
1009
+ msgstr "Se questa opzione non è selezionata, gli eventi ricorrenti che rientrano in date che non esistono semplicemente non sarnno indicati sul calendario."
1010
+
1011
+ #: my-calendar-settings.php:288
1012
+ msgid "Calendar Options: Input"
1013
+ msgstr "Opzioni Calendario: Input"
1014
+
1015
+ #: my-calendar-settings.php:291
1016
+ msgid "Show Event Location Dropdown Menu"
1017
+ msgstr "Mostra Località Evento nel menu a scomparsa"
1018
+
1019
+ #: my-calendar-settings.php:291
1020
+ msgid "Show Event Short Description field"
1021
+ msgstr "Mostra campo Descrizione breve evento"
1022
+
1023
+ #: my-calendar-settings.php:291
1024
+ msgid "Show Event Description Field"
1025
+ msgstr "Mostra campo Descrizione del evento"
1026
+
1027
+ #: my-calendar-settings.php:291
1028
+ msgid "Show Event Category field"
1029
+ msgstr "Mostra campo Categoria del Evento "
1030
+
1031
+ #: my-calendar-settings.php:291
1032
+ msgid "Show Event Link field"
1033
+ msgstr "Mostra campo Link del evento"
1034
+
1035
+ #: my-calendar-settings.php:291
1036
+ msgid "Show Event Recurrence Options"
1037
+ msgstr "Mostra Opzioni di ricorrenza evento"
1038
+
1039
+ #: my-calendar-settings.php:291
1040
+ msgid "Show event registration options"
1041
+ msgstr "Mostra opzioni di registrazione evento"
1042
+
1043
+ #: my-calendar-settings.php:291
1044
+ msgid "Show event location fields"
1045
+ msgstr "Mostra campi località evento"
1046
+
1047
+ #: my-calendar-settings.php:300
1048
+ msgid "Administrators see all input options"
1049
+ msgstr "Gli amministratori vedono tutte le opzioni di input"
1050
+
1051
+ #: my-calendar-settings.php:304
1052
+ msgid "Calendar Options: Style"
1053
+ msgstr "Opzioni Calendario: Stile"
1054
+
1055
+ #: my-calendar-settings.php:306
1056
+ msgid "Default usage of category colors."
1057
+ msgstr "L'utilizzo predefinito dei colori categoria."
1058
+
1059
+ #: my-calendar-settings.php:307
1060
+ msgid "Apply category colors to event titles as a font color."
1061
+ msgstr "Applica colori categoria ai titoli eventi come il colore di carattere."
1062
+
1063
+ #: my-calendar-settings.php:308
1064
+ msgid "Apply category colors to event titles as a background color."
1065
+ msgstr "Applica colori categoria ai titoli eventi come colore di sfondo."
1066
+
1067
+ #: my-calendar-settings.php:313
1068
+ msgid "Calendar Options: Email Notifications"
1069
+ msgstr "Opzioni calendario: notifiche e-mail"
1070
+
1071
+ #: my-calendar-settings.php:317
1072
+ msgid "Send Email Notifications when new events are scheduled or reserved."
1073
+ msgstr "Inviare e-mail di notificha quando sono in programma nuovi eventi o riservati."
1074
+
1075
+ #: my-calendar-settings.php:323
1076
+ msgid "Notification messages are sent to: "
1077
+ msgstr "I messaggi di notifica vengono inviati a:"
1078
+
1079
+ #: my-calendar-settings.php:327
1080
+ msgid "Email subject"
1081
+ msgstr "Oggetto email"
1082
+
1083
+ #: my-calendar-settings.php:327
1084
+ msgid "New event Added"
1085
+ msgstr "Nuovo evento aggiunto"
1086
+
1087
+ #: my-calendar-settings.php:331
1088
+ msgid "Message Body"
1089
+ msgstr "Corpo del messaggio"
1090
+
1091
+ #: my-calendar-settings.php:331
1092
+ msgid "New Event:"
1093
+ msgstr "Nuovo Evento:"
1094
+
1095
+ #: my-calendar-settings.php:332
1096
+ msgid "Shortcode Help"
1097
+ msgstr "Aiuto Shortcode"
1098
+
1099
+ #: my-calendar-settings.php:332
1100
+ msgid "All template shortcodes are available."
1101
+ msgstr "Tutti i codici brevi di templates sono disponibili."
1102
+
1103
+ #: my-calendar-settings.php:341
1104
+ msgid "Save Settings"
1105
+ msgstr "Salva Impostazioni"
1106
+
1107
+ #: my-calendar-styles.php:46
1108
+ msgid "Style Settings saved"
1109
+ msgstr "Impostazioni Stile salvate"
1110
+
1111
+ #: my-calendar-styles.php:70
1112
+ msgid "My Calendar Styles"
1113
+ msgstr "Stile My Calendar"
1114
+
1115
+ #: my-calendar-styles.php:74
1116
+ msgid "Calendar Style Settings"
1117
+ msgstr "Impostazioni Stile Calendario"
1118
+
1119
+ #: my-calendar-styles.php:78
1120
+ msgid "Show CSS &amp; JavaScript only on these pages (comma separated page IDs)"
1121
+ msgstr "Mostra CSS &amp; JavaScript solo su queste pagine (ID di pagina separati da virgola)"
1122
+
1123
+ #: my-calendar-styles.php:81
1124
+ msgid "CSS Style Options"
1125
+ msgstr "Opzioni Style CSS"
1126
+
1127
+ #: my-calendar-styles.php:83
1128
+ msgid "Reset the My Calendar stylesheet to the default"
1129
+ msgstr "Resettare lo stile di My Calendar a default"
1130
+
1131
+ #: my-calendar-styles.php:83
1132
+ msgid "Disable My Calendar Stylesheet"
1133
+ msgstr "Disattivare foglio di stile del mio Calendario"
1134
+
1135
+ #: my-calendar-styles.php:86
1136
+ msgid "Edit the stylesheet for My Calendar"
1137
+ msgstr "Modificare il foglio di stile per il mio calendario"
1138
+
1139
+ #: my-calendar-styles.php:89
1140
+ #: my-calendar-styles.php:101
1141
+ #: my-calendar-styles.php:113
1142
+ #: my-calendar-styles.php:125
1143
+ msgid "Save"
1144
+ msgstr "Salva"
1145
+
1146
+ #: my-calendar-styles.php:93
1147
+ msgid "Calendar Behaviors: Calendar View"
1148
+ msgstr "Stile Calendario: Vista Calendario"
1149
+
1150
+ #: my-calendar-styles.php:95
1151
+ msgid "Reset the My Calendar Calendar Javascript"
1152
+ msgstr "Resettare My Calendar a Calendario Javascript"
1153
+
1154
+ #: my-calendar-styles.php:95
1155
+ msgid "Disable Calendar Javascript Effects"
1156
+ msgstr "Disattiva Effetti Javascript nel Calendario"
1157
+
1158
+ #: my-calendar-styles.php:98
1159
+ msgid "Edit the jQuery scripts for My Calendar in Calendar format"
1160
+ msgstr "Modificare gli script jQuery per My Calendar in formato Calendario"
1161
+
1162
+ #: my-calendar-styles.php:105
1163
+ msgid "Calendar Behaviors: List View"
1164
+ msgstr "Stile Calendario: Vista Lista"
1165
+
1166
+ #: my-calendar-styles.php:107
1167
+ msgid "Reset the My Calendar List Javascript"
1168
+ msgstr "Resettare My Calendar List Javascript"
1169
+
1170
+ #: my-calendar-styles.php:107
1171
+ msgid "Disable List Javascript Effects"
1172
+ msgstr "Disattiva Effetti Javascript nella Lista"
1173
+
1174
+ #: my-calendar-styles.php:110
1175
+ msgid "Edit the jQuery scripts for My Calendar in List format"
1176
+ msgstr "Modificare gli script jQuery per My Calendar in formato Lista"
1177
+
1178
+ #: my-calendar-styles.php:117
1179
+ msgid "Calendar Behaviors: Mini Calendar View"
1180
+ msgstr "Stile calendario: vista Mini Calendario"
1181
+
1182
+ #: my-calendar-styles.php:119
1183
+ msgid "Reset the My Calendar Mini Format Javascript"
1184
+ msgstr "Resettare My Calendar Mini Format Javascript"
1185
+
1186
+ #: my-calendar-styles.php:119
1187
+ msgid "Disable Mini Javascript Effects"
1188
+ msgstr "Disattiva Effetti Mini Javascript"
1189
+
1190
+ #: my-calendar-styles.php:122
1191
+ msgid "Edit the jQuery scripts for My Calendar in Mini Calendar format"
1192
+ msgstr "Modificare gli script jQuery per My calendar in formato mini-calendario"
1193
+
1194
+ #: my-calendar-upgrade-db.php:19
1195
+ msgid "The My Calendar database needs to be updated."
1196
+ msgstr "Il database My Calendar deve essere aggiornato."
1197
+
1198
+ #: my-calendar-upgrade-db.php:20
1199
+ #: my-calendar-upgrade-db.php:34
1200
+ msgid "Update now"
1201
+ msgstr "Aggiorna adesso"
1202
+
1203
+ #: my-calendar-upgrade-db.php:33
1204
+ msgid "You haven't entered any events, so My Calendar can't tell whether your database is up to date. If you can't add events, upgrade your database!"
1205
+ msgstr "Non è stato inserito nessun evento, quindi My Calendar non può dire se il database è aggiornato. Se non è possibile aggiungere eventi, aggiornare il database!"
1206
+
1207
+ #: my-calendar-upgrade-db.php:44
1208
+ msgid "My Calendar Database is updated."
1209
+ msgstr "Il database My Calendar è aggiornato."
1210
+
1211
+ #: my-calendar-widgets.php:11
1212
+ #: my-calendar-widgets.php:51
1213
+ #: my-calendar-widgets.php:52
1214
+ msgid "Today's Events"
1215
+ msgstr "Eventi di oggi"
1216
+
1217
+ #: my-calendar-widgets.php:41
1218
+ #: my-calendar-widgets.php:126
1219
+ msgid "Template"
1220
+ msgstr "Template"
1221
+
1222
+ #: my-calendar-widgets.php:45
1223
+ msgid "Show this text if there are no events today:"
1224
+ msgstr "Mostra questo testo, se non ci sono eventi di oggi:"
1225
+
1226
+ #: my-calendar-widgets.php:65
1227
+ #: my-calendar-widgets.php:152
1228
+ #: my-calendar-widgets.php:153
1229
+ msgid "Upcoming Events"
1230
+ msgstr "Prossimi Eventi"
1231
+
1232
+ #: my-calendar-widgets.php:130
1233
+ msgid "Widget Options"
1234
+ msgstr "Opzione Widget"
1235
+
1236
+ #: my-calendar-widgets.php:132
1237
+ msgid "Display upcoming events by:"
1238
+ msgstr "Visualizzare prossimi eventi per:"
1239
+
1240
+ #: my-calendar-widgets.php:133
1241
+ msgid "Events (e.g. 2 past, 3 future)"
1242
+ msgstr "Eventi (ad esempio 2 passate, 3 futuro)"
1243
+
1244
+ #: my-calendar-widgets.php:134
1245
+ msgid "Dates (e.g. 4 days past, 5 forward)"
1246
+ msgstr "Date (ad esempio, 4 giorni passati, 5 in avanti)"
1247
+
1248
+ #: my-calendar-widgets.php:138
1249
+ msgid "events into the future;"
1250
+ msgstr "eventi nel futuro;"
1251
+
1252
+ #: my-calendar-widgets.php:139
1253
+ msgid "events from the past"
1254
+ msgstr "eventi del passato"
1255
+
1256
+ #: my-calendar-widgets.php:142
1257
+ msgid "days into the future;"
1258
+ msgstr "giorni nel futuro;"
1259
+
1260
+ #: my-calendar-widgets.php:143
1261
+ msgid "days from the past"
1262
+ msgstr "giorni dal passato"
1263
+
1264
+ #: my-calendar-widgets.php:146
1265
+ msgid "Show only this category:"
1266
+ msgstr "Mostra solo questa categoria:"
1267
+
1268
+ #: my-calendar-widgets.php:285
1269
+ msgid "There are no events currently scheduled."
1270
+ msgstr "Non ci sono eventi attualmente in programma."
1271
+
1272
+ #: my-calendar-widgets.php:470
1273
+ msgid "Published"
1274
+ msgstr "Pubblicato"
1275
+
1276
+ #: my-calendar-widgets.php:472
1277
+ msgid "Reserved"
1278
+ msgstr "Riservato"
1279
+
1280
+ #: my-calendar.php:56
1281
+ #: my-calendar.php:181
1282
+ msgid "Settings"
1283
+ msgstr "Impostazioni"
1284
+
1285
+ #: my-calendar.php:57
1286
+ #: my-calendar.php:183
1287
+ msgid "Help"
1288
+ msgstr "Aiuto"
1289
+
1290
+ #: my-calendar.php:81
1291
+ msgid "Buy the Beginner's Guide"
1292
+ msgstr "Acquista la Guida per principianti"
1293
+
1294
+ #: my-calendar.php:82
1295
+ msgid "Get Support"
1296
+ msgstr "ottenere assistenza"
1297
+
1298
+ #: my-calendar.php:83
1299
+ #: my-calendar.php:183
1300
+ msgid "My Calendar Help"
1301
+ msgstr "Aiuto My Calendar"
1302
+
1303
+ #: my-calendar.php:84
1304
+ msgid "Make a Donation"
1305
+ msgstr "Fai una donazione"
1306
+
1307
+ #. #-#-#-#-# plugin.pot (My Calendar 1.5.0) #-#-#-#-#
1308
+ #. Plugin Name of the plugin/theme
1309
+ #: my-calendar.php:172
1310
+ msgid "My Calendar"
1311
+ msgstr "My Calendar"
1312
+
1313
+ #: my-calendar.php:175
1314
+ msgid "Add/Edit Events"
1315
+ msgstr "aggiungere/modificare eventi"
1316
+
1317
+ #: my-calendar.php:182
1318
+ msgid "Style Editor"
1319
+ msgstr "Style Editor"
1320
+
1321
+ #: my-calendar.php:633
1322
+ msgid "Event Details"
1323
+ msgstr "Dettagli evento"
1324
+
1325
+ #: my-calendar.php:642
1326
+ msgid "Close"
1327
+ msgstr "Chiuso"
1328
+
1329
+ #: my-calendar.php:652
1330
+ msgid "Not Applicable"
1331
+ msgstr "Non applicabile"
1332
+
1333
+ #: my-calendar.php:664
1334
+ msgid "Posted by"
1335
+ msgstr "Postato da"
1336
+
1337
+ #: my-calendar.php:710
1338
+ msgid "This class is part of a series. You must register for the first event in this series to attend."
1339
+ msgstr "Questa classe è parte di una serie. È necessario registrarsi per il primo evento di questa serie per partecipare."
1340
+
1341
+ #: my-calendar.php:1340
1342
+ msgid "Month"
1343
+ msgstr "Mese"
1344
+
1345
+ #: my-calendar.php:1341
1346
+ #: my-calendar.php:1427
1347
+ msgid "January"
1348
+ msgstr "Gennaio"
1349
+
1350
+ #: my-calendar.php:1342
1351
+ #: my-calendar.php:1427
1352
+ msgid "February"
1353
+ msgstr "Febbraio"
1354
+
1355
+ #: my-calendar.php:1343
1356
+ #: my-calendar.php:1427
1357
+ msgid "March"
1358
+ msgstr "Marzo"
1359
+
1360
+ #: my-calendar.php:1344
1361
+ #: my-calendar.php:1427
1362
+ msgid "April"
1363
+ msgstr "Aprile"
1364
+
1365
+ #: my-calendar.php:1345
1366
+ #: my-calendar.php:1427
1367
+ msgid "May"
1368
+ msgstr "Maggio"
1369
+
1370
+ #: my-calendar.php:1346
1371
+ #: my-calendar.php:1427
1372
+ msgid "June"
1373
+ msgstr "Giugno"
1374
+
1375
+ #: my-calendar.php:1347
1376
+ #: my-calendar.php:1427
1377
+ msgid "July"
1378
+ msgstr "Luglio"
1379
+
1380
+ #: my-calendar.php:1348
1381
+ #: my-calendar.php:1427
1382
+ msgid "August"
1383
+ msgstr "Agosto"
1384
+
1385
+ #: my-calendar.php:1349
1386
+ #: my-calendar.php:1427
1387
+ msgid "September"
1388
+ msgstr "Settembre"
1389
+
1390
+ #: my-calendar.php:1350
1391
+ #: my-calendar.php:1427
1392
+ msgid "October"
1393
+ msgstr "Ottobre"
1394
+
1395
+ #: my-calendar.php:1351
1396
+ #: my-calendar.php:1427
1397
+ msgid "November"
1398
+ msgstr "Novembre"
1399
+
1400
+ #: my-calendar.php:1352
1401
+ #: my-calendar.php:1427
1402
+ msgid "December"
1403
+ msgstr "Dicembre"
1404
+
1405
+ #: my-calendar.php:1354
1406
+ msgid "Year"
1407
+ msgstr "Anno"
1408
+
1409
+ #: my-calendar.php:1379
1410
+ msgid "Go"
1411
+ msgstr "Vai"
1412
+
1413
+ #: my-calendar.php:1401
1414
+ msgid "<abbr title=\"Sunday\">Sun</abbr>"
1415
+ msgstr "<abbr title=\"Domenica\">Dom</abbr>"
1416
+
1417
+ #: my-calendar.php:1402
1418
+ msgid "<abbr title=\"Monday\">Mon</abbr>"
1419
+ msgstr "<abbr title=\"Lunedì\">Lun</abbr>"
1420
+
1421
+ #: my-calendar.php:1403
1422
+ msgid "<abbr title=\"Tuesday\">Tues</abbr>"
1423
+ msgstr "<abbr title=\"Martedì\">Mar</abbr>"
1424
+
1425
+ #: my-calendar.php:1404
1426
+ msgid "<abbr title=\"Wednesday\">Wed</abbr>"
1427
+ msgstr "<abbr title=\"Mercoledì\">Mer</abbr>"
1428
+
1429
+ #: my-calendar.php:1405
1430
+ msgid "<abbr title=\"Thursday\">Thur</abbr>"
1431
+ msgstr "<abbr title=\"Giovedì\">Giov</abbr>"
1432
+
1433
+ #: my-calendar.php:1406
1434
+ msgid "<abbr title=\"Friday\">Fri</abbr>"
1435
+ msgstr "<abbr title=\"Venerdì\">Ven</abbr>"
1436
+
1437
+ #: my-calendar.php:1407
1438
+ msgid "<abbr title=\"Saturday\">Sat</abbr>"
1439
+ msgstr "<abbr title=\"Sabato\">Sab</abbr>"
1440
+
1441
+ #: my-calendar.php:1412
1442
+ msgid "<abbr title=\"Sunday\">S</abbr>"
1443
+ msgstr "<abbr title=\"Domenica\">Dom</abbr>"
1444
+
1445
+ #: my-calendar.php:1413
1446
+ msgid "<abbr title=\"Monday\">M</abbr>"
1447
+ msgstr "<abbr title=\"Lunedì\">Lun</abbr>"
1448
+
1449
+ #: my-calendar.php:1414
1450
+ msgid "<abbr title=\"Tuesday\">T</abbr>"
1451
+ msgstr "<abbr title=\"Martedì\">Mar</abbr>"
1452
+
1453
+ #: my-calendar.php:1415
1454
+ msgid "<abbr title=\"Wednesday\">W</abbr>"
1455
+ msgstr "<abbr title=\"Mercoledì\">Mer</abbr>"
1456
+
1457
+ #: my-calendar.php:1416
1458
+ msgid "<abbr title=\"Thursday\">T</abbr>"
1459
+ msgstr "<abbr title=\"Giovedì\">Giov</abbr>"
1460
+
1461
+ #: my-calendar.php:1417
1462
+ msgid "<abbr title=\"Friday\">F</abbr>"
1463
+ msgstr "<abbr title=\"Venerdì\">Ven</abbr>"
1464
+
1465
+ #: my-calendar.php:1418
1466
+ msgid "<abbr title=\"Saturday\">S</abbr>"
1467
+ msgstr "<abbr title=\"Sabato\">Sab</abbr>"
1468
+
1469
+ #: my-calendar.php:1464
1470
+ msgid "and"
1471
+ msgstr "e"
1472
+
1473
+ #: my-calendar.php:1493
1474
+ #: my-calendar.php:1497
1475
+ msgid "Calendar"
1476
+ msgstr "Calendario"
1477
+
1478
+ #: my-calendar.php:1500
1479
+ msgid "Events in"
1480
+ msgstr "Eventi a"
1481
+
1482
+ #: my-calendar.php:1597
1483
+ msgid "There are no events scheduled during this period."
1484
+ msgstr "Non ci sono eventi in programma durante questo periodo."
1485
+
1486
+ #: my-calendar.php:1607
1487
+ msgid "Category Key"
1488
+ msgstr "Chiave Categoria"
1489
+
1490
+ #. Plugin URI of the plugin/theme
1491
+ msgid "http://www.joedolson.com/articles/my-calendar/"
1492
+ msgstr "http://www.joedolson.com/articles/my-calendar/"
1493
+
1494
+ #. Description of the plugin/theme
1495
+ msgid "Accessible WordPress event calendar plugin. Show events from multiple calendars on pages, in posts, or in widgets."
1496
+ msgstr "Accessibile calendario degli eventi plugin per WordPress. Visualizza gli eventi di più calendari nelle pagine, nei post o nei widget."
1497
+
1498
+ #. Author of the plugin/theme
1499
+ msgid "Joseph C Dolson"
1500
+ msgstr "Joseph C Dolson"
1501
+
1502
+ #. Author URI of the plugin/theme
1503
+ msgid "http://www.joedolson.com"
1504
+ msgstr "http://www.joedolson.com"
1505
+
1506
+ #~ msgid ""
1507
+ #~ "An event with the details you submitted could not be found in the "
1508
+ #~ "database. This may indicate a problem with your database or the way in "
1509
+ #~ "which it is configured."
1510
+ #~ msgstr ""
1511
+ #~ "An event with the details you submitted could not be found in the "
1512
+ #~ "database. This may indicate a problem with your database or the way in "
1513
+ #~ "which it is configured."
1514
+ #~ msgid "Failure"
1515
+ #~ msgstr "Fallito"
1516
+ #~ msgid "You can't update an event if you haven't submitted an event id"
1517
+ #~ msgstr "You can't update an event if you haven't submitted an event id"
1518
+ #~ msgid ""
1519
+ #~ "The database failed to return data to indicate the event has been updated "
1520
+ #~ "sucessfully. This may indicate a problem with your database or the way in "
1521
+ #~ "which it is configured."
1522
+ #~ msgstr ""
1523
+ #~ "The database failed to return data to indicate the event has been updated "
1524
+ #~ "sucessfully. This may indicate a problem with your database or the way in "
1525
+ #~ "which it is configured."
1526
+ #~ msgid "Primary Calendar Options"
1527
+ #~ msgstr "Opzioni principale del calendario"
1528
+ #~ msgid "Yes"
1529
+ #~ msgstr "Si"
1530
+ #~ msgid "No"
1531
+ #~ msgstr "No"
1532
+
my-calendar-output.php ADDED
@@ -0,0 +1,658 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ // Used to draw multiple events
3
+ function my_calendar_draw_events($events, $type, $process_date) {
4
+ // We need to sort arrays of objects by time
5
+ usort($events, "my_calendar_time_cmp");
6
+ if ($type == "mini" && count($events) > 0) { $output .= "<div class='calendar-events'>"; }
7
+ foreach($events as $event) { $output .= my_calendar_draw_event($event, $type, $process_date); }
8
+ if ($type == "mini" && count($events) > 0) { $output .= "</div>"; }
9
+ return $output;
10
+ }
11
+ // Used to draw an event to the screen
12
+ function my_calendar_draw_event($event, $type="calendar", $process_date) {
13
+ global $wpdb;
14
+ // My Calendar must be updated to run this function
15
+ check_my_calendar();
16
+ $display_author = get_option('display_author');
17
+ $display_map = get_option('my_calendar_show_map');
18
+ $display_address = get_option('my_calendar_show_address');
19
+ $this_category = $event->event_category;
20
+ // get user-specific data
21
+ $tz = mc_user_timezone();
22
+ $category = "mc_".sanitize_title( $event->category_name );
23
+ if ( get_option('my_calendar_hide_icons')=='true' ) {
24
+ $image = "";
25
+ } else {
26
+ if ($event->category_icon != "") {
27
+ $path = ( file_exists( WP_PLUGIN_DIR . '/my-calendar-custom/' ) )?'/my-calendar-custom' : '/my-calendar/icons';
28
+ $image = '<img src="'.WP_PLUGIN_URL.$path.'/'.$event->category_icon.'" alt="" class="category-icon" style="background:'.$event->category_color.';" />';
29
+ } else {
30
+ $image = "";
31
+ }
32
+ }
33
+ $location_string = $event->event_street.$event->event_street2.$event->event_city.$event->event_state.$event->event_postcode.$event->event_country;
34
+ // put together address information as vcard
35
+ if (($display_address == 'true' || $display_map == 'true') && strlen($location_string) > 0 ) {
36
+ $map_string = $event->event_street.' '.$event->event_street2.' '.$event->event_city.' '.$event->event_state.' '.$event->event_postcode.' '.$event->event_country;
37
+ $address .= '<div class="address vcard">';
38
+ if ($display_address == 'true') {
39
+ $address .= "<div class=\"adr\">";
40
+ if ($event->event_label != "") {
41
+ $address .= "<strong class=\"org\">".stripslashes($event->event_label)."</strong><br />";
42
+ }
43
+ if ($event->event_street != "") {
44
+ $address .= "<div class=\"street-address\">".stripslashes($event->event_street)."</div>";
45
+ }
46
+ if ($event->event_street2 != "") {
47
+ $address .= "<div class=\"street-address\">".stripslashes($event->event_street2)."</div>";
48
+ }
49
+ if ($event->event_city != "") {
50
+ $address .= "<span class=\"locality\">".stripslashes($event->event_city).",</span>";
51
+ }
52
+ if ($event->event_state != "") {
53
+ $address .= " <span class=\"region\">".stripslashes($event->event_state)."</span> ";
54
+ }
55
+ if ($event->event_postcode != "") {
56
+ $address .= " <span class=\"postal-code\">".stripslashes($event->event_postcode)."</span>";
57
+ }
58
+ if ($event->event_country != "") {
59
+ $address .= "<div class=\"country-name\">".stripslashes($event->event_country)."</div>";
60
+ }
61
+ $address .= "</div>";
62
+ }
63
+ if ($display_map == 'true' && (strlen($location_string) > 0 || ( $event->event_longitude != '0.000000' && $event->event_latitude != '0.000000' ) ) ) {
64
+ $map_string = str_replace(" ","+",$map_string);
65
+ if ($event->event_label != "") {
66
+ $map_label = stripslashes($event->event_label);
67
+ } else {
68
+ $map_label = stripslashes($event->event_title);
69
+ }
70
+ $zoom = ($event->event_zoom != 0)?$event->event_zoom:'15';
71
+ $map_string_label = urlencode($map_label);
72
+
73
+ if ($event->event_longitude != '0.000000' && $event->event_latitude != '0.000000') {
74
+ $map_string = "$event->event_latitude,$event->event_longitude+($map_string_label)";
75
+ }
76
+
77
+ $map = "<a href=\"http://maps.google.com/maps?f=q&amp;z=$zoom&amp;q=$map_string\">Map<span> to $map_label</span></a>";
78
+ $address .= "<div class=\"url map\">$map</div>";
79
+ }
80
+ $address .= "</div>";
81
+ }
82
+
83
+ $header_details .= "\n<div class='$type-event'>\n";
84
+ $array = event_as_array($event);
85
+ $templates = get_option('my_calendar_templates');
86
+ $title_template = ($templates['title'] == '' )?'{title}':$templates['title'];
87
+ $mytitle = jd_draw_template($array,$title_template);
88
+ //$mytitle = stripslashes($event->event_title); // turn this into a template
89
+ if ($type == 'calendar') {
90
+ $toggle = " <a href='#' class='mc-toggle mc-expand'><img src='".MY_CALENDAR_DIRECTORY."/images/event-details.png' alt='".__('Event Details','my-calendar')."' /></a>";
91
+ } else {
92
+ $toggle = "";
93
+ }
94
+ if ($type != 'list') {
95
+ $header_details .= "<h3 class='event-title $category'>$image".$mytitle."$toggle</h3>\n";
96
+ }
97
+
98
+ $header_details .= "<div class='details'>";
99
+ if ( $type == "calendar" ) { $header_details .= "<h3 class='close'><a href='#' class='mc-toggle mc-close'><img src='".MY_CALENDAR_DIRECTORY."/images/event-close.png' alt='".__('Close','my-calendar')."' /></a></h3>"; }
100
+ if ( $event->event_time != "00:00:00" && $event->event_time != '' ) {
101
+ $header_details .= "<span class='event-time'>".date_i18n(get_option('time_format'), strtotime($event->event_time));
102
+ if ($event->event_endtime != "00:00:00" && $event->event_endtime != '' ) {
103
+ $header_details .= "<span class='time-separator'>&thinsp;&ndash;&thinsp;</span><span class='end-time'>".date_i18n(get_option('time_format'), strtotime($event->event_endtime))."</span>";
104
+ }
105
+ $header_details .= "</span>\n";
106
+
107
+ if ($tz != '') {
108
+ $local_begin = date_i18n( get_option('time_format'), strtotime($event->event_time ."+$tz hours") );
109
+ $header_details .= "<span class='local-time'>$local_begin ". __('in your time zone','my-calendar')."</span>";
110
+ }
111
+
112
+ } else {
113
+ $header_details .= "<span class='event-time'>";
114
+ if ( get_option('my_calendar_notime_text') == '' || get_option('my_calendar_notime_text') == "N/A" ) {
115
+ $header_details .= "<abbr title='".__('Not Applicable','my-calendar')."'>".__('N/A','my-calendar')."</abbr>\n";
116
+ } else {
117
+ $header_details .= get_option('my_calendar_notime_text');
118
+ }
119
+ $header_details .= "</span>";
120
+ }
121
+ $header_details .= "<div class='sub-details'>";
122
+ if ($type == "list") {
123
+ $header_details .= "<h3 class='event-title'>$image".$mytitle."</h3>\n";
124
+ }
125
+ if ($display_author == 'true') {
126
+ $e = get_userdata($event->event_author);
127
+ $header_details .= '<span class="event-author">'.__('Posted by', 'my-calendar').': <span class="author-name">'.$e->display_name."</span></span><br />\n ";
128
+ }
129
+ if (($display_address == 'true' || $display_map == 'true') && strlen($location_string) > 0 ) {
130
+ $header_details .= $address;
131
+ }
132
+ // handle link expiration
133
+ if ( $event->event_link_expires == 0 ) {
134
+ $event_link = $event->event_link;
135
+ } else {
136
+ if ( my_calendar_date_comp( $event->event_end,date_i18n('Y-m-d',time()+$offset ) ) ) {
137
+ $event_link = '';
138
+ } else {
139
+ $event_link = $event->event_link;
140
+ }
141
+ }
142
+
143
+ if ( get_option('mc_short') == 'true' ) {
144
+ $short = "<div class='shortdesc'>".wpautop(stripcslashes($event->event_short),1)."</div>";
145
+ }
146
+ if ( get_option('mc_desc') == 'true' ) {
147
+ $description = "<div class='longdesc'>".wpautop(stripcslashes($event->event_desc),1)."</div>";
148
+ }
149
+ if ( get_option('mc_event_registration') == 'true' ) {
150
+ switch ($event->event_open) {
151
+ case '0':
152
+ $status = get_option('mc_event_closed');
153
+ break;
154
+ case '1':
155
+ $status = get_option('mc_event_open');
156
+ break;
157
+ case '2':
158
+ $status = '';
159
+ break;
160
+ default:
161
+ $status = '';
162
+ }
163
+ }
164
+ // if the event is a member of a group of events, but not the first, note that.
165
+ if ($event->event_group == 1 ) {
166
+ $info = array();
167
+ $info[] = $event->event_id;
168
+ update_option( 'mc_event_groups' , $info );
169
+ }
170
+ if ( is_array( get_option( 'mc_event_groups' ) ) ) {
171
+ if ( in_array ( $event->event_id , get_option( 'mc_event_groups') ) ) {
172
+ if ( $process_date != $event->event_original_begin ) {
173
+ $status = __("This class is part of a series. You must register for the first event in this series to attend.",'my-calendar');
174
+ }
175
+ }
176
+ }
177
+
178
+ if ($event_link != '') {
179
+ $details = "\n". $header_details . '' . $description . $short . '<p>'.$status.'</p><p><a href="'.$event_link.'" class="event-link">' . stripslashes($event->event_title) . '&raquo; </a></p>'."</div></div></div>\n";
180
+ } else {
181
+ $details = "\n". $header_details . '' . $description . $short . '<p>'.$status."</p></div></div></div>\n";
182
+ }
183
+
184
+ if ( get_option( 'mc_event_approve' ) == 'true' ) {
185
+ if ( $event->event_approved == 1 ) {
186
+ return $details;
187
+ }
188
+ } else {
189
+ return $details;
190
+ }
191
+ }
192
+
193
+ function mc_build_date_switcher() {
194
+ $my_calendar_body = "";
195
+ $my_calendar_body .= '<div class="my-calendar-date-switcher">
196
+ <form method="get" action=""><div>';
197
+ $qsa = array();
198
+ parse_str($_SERVER['QUERY_STRING'],$qsa);
199
+ foreach ($qsa as $name => $argument) {
200
+ if ($name != 'month' && $name != 'yr') {
201
+ $my_calendar_body .= '<input type="hidden" name="'.$name.'" value="'.$argument.'" />';
202
+ }
203
+ }
204
+ // We build the months in the switcher
205
+ $my_calendar_body .= '
206
+ <label for="my-calendar-month">'.__('Month','my-calendar').':</label> <select id="my-calendar-month" name="month">
207
+ <option value="1"'.mc_month_comparison('1').'>'.__('January','my-calendar').'</option>
208
+ <option value="2"'.mc_month_comparison('2').'>'.__('February','my-calendar').'</option>
209
+ <option value="3"'.mc_month_comparison('3').'>'.__('March','my-calendar').'</option>
210
+ <option value="4"'.mc_month_comparison('4').'>'.__('April','my-calendar').'</option>
211
+ <option value="5"'.mc_month_comparison('5').'>'.__('May','my-calendar').'</option>
212
+ <option value="6"'.mc_month_comparison('6').'>'.__('June','my-calendar').'</option>
213
+ <option value="7"'.mc_month_comparison('7').'>'.__('July','my-calendar').'</option>
214
+ <option value="8"'.mc_month_comparison('8').'>'.__('August','my-calendar').'</option>
215
+ <option value="9"'.mc_month_comparison('9').'>'.__('September','my-calendar').'</option>
216
+ <option value="10"'.mc_month_comparison('10').'>'.__('October','my-calendar').'</option>
217
+ <option value="11"'.mc_month_comparison('11').'>'.__('November','my-calendar').'</option>
218
+ <option value="12"'.mc_month_comparison('12').'>'.__('December','my-calendar').'</option>
219
+ </select>
220
+ <label for="my-calendar-year">'.__('Year','my-calendar').':</label> <select id="my-calendar-year" name="yr">
221
+ ';
222
+ // The year builder is string mania. If you can make sense of this, you know your PHP!
223
+ $past = 5;
224
+ $future = 5;
225
+ $fut = 1;
226
+ $offset = (60*60*get_option('gmt_offset'));
227
+
228
+ while ($past > 0) {
229
+ $p .= ' <option value="';
230
+ $p .= date("Y",time()+($offset))-$past;
231
+ $p .= '"'.mc_year_comparison(date("Y",time()+($offset))-$past).'>';
232
+ $p .= date("Y",time()+($offset))-$past."</option>\n";
233
+ $past = $past - 1;
234
+ }
235
+ while ($fut < $future) {
236
+ $f .= ' <option value="';
237
+ $f .= date("Y",time()+($offset))+$fut;
238
+ $f .= '"'.mc_year_comparison(date("Y",time()+($offset))+$fut).'>';
239
+ $f .= date("Y",time()+($offset))+$fut."</option>\n";
240
+ $fut = $fut + 1;
241
+ }
242
+ $my_calendar_body .= $p;
243
+ $my_calendar_body .= '<option value="'.date("Y",time()+($offset)).'"'.mc_year_comparison(date("Y",time()+($offset))).'>'.date("Y",time()+($offset))."</option>\n";
244
+ $my_calendar_body .= $f;
245
+ $my_calendar_body .= '</select> <input type="submit" value="'.__('Go','my-calendar').'" /></div>
246
+ </form></div>';
247
+ return $my_calendar_body;
248
+ }
249
+
250
+ // Actually do the printing of the calendar
251
+ // Compared to searching for and displaying events
252
+ // this bit is really rather easy!
253
+ function my_calendar($name,$format,$category,$showkey,$shownav,$month='',$yr='') {
254
+ global $wpdb;
255
+ if ($category == "") {
256
+ $category=null;
257
+ }
258
+ // First things first, make sure calendar is up to date
259
+ check_my_calendar();
260
+
261
+ // Deal with the week not starting on a monday
262
+ $name_days = array(
263
+ __('<abbr title="Sunday">Sun</abbr>','my-calendar'),
264
+ __('<abbr title="Monday">Mon</abbr>','my-calendar'),
265
+ __('<abbr title="Tuesday">Tues</abbr>','my-calendar'),
266
+ __('<abbr title="Wednesday">Wed</abbr>','my-calendar'),
267
+ __('<abbr title="Thursday">Thur</abbr>','my-calendar'),
268
+ __('<abbr title="Friday">Fri</abbr>','my-calendar'),
269
+ __('<abbr title="Saturday">Sat</abbr>','my-calendar')
270
+ );
271
+
272
+ if ($format == "mini") {
273
+ $name_days = array(
274
+ __('<abbr title="Sunday">S</abbr>','my-calendar'),
275
+ __('<abbr title="Monday">M</abbr>','my-calendar'),
276
+ __('<abbr title="Tuesday">T</abbr>','my-calendar'),
277
+ __('<abbr title="Wednesday">W</abbr>','my-calendar'),
278
+ __('<abbr title="Thursday">T</abbr>','my-calendar'),
279
+ __('<abbr title="Friday">F</abbr>','my-calendar'),
280
+ __('<abbr title="Saturday">S</abbr>','my-calendar')
281
+ );
282
+ }
283
+
284
+ if ( get_option('start_of_week') == '1' ) {
285
+ $first = array_shift($name_days);
286
+ $name_days[] = $first;
287
+ }
288
+ // Carry on with the script
289
+ $name_months = array(1=>__('January','my-calendar'),__('February','my-calendar'),__('March','my-calendar'),__('April','my-calendar'),__('May','my-calendar'),__('June','my-calendar'),__('July','my-calendar'),__('August','my-calendar'),__('September','my-calendar'),__('October','my-calendar'),__('November','my-calendar'),__('December','my-calendar'));
290
+ $offset = (60*60*get_option('gmt_offset'));
291
+ // If we don't pass arguments we want a calendar that is relevant to today
292
+ $c_day = date("d",time()+($offset));
293
+ if (empty($_GET['month']) || empty($_GET['yr']) && ($month == '' || $yr == '')) {
294
+ $c_year = date("Y",time()+($offset));
295
+ $c_month = date("m",time()+($offset));
296
+ } else {
297
+ if ( isset($_GET['month']) && isset($_GET['yr']) ) {
298
+ $c_year = $_GET['yr'];
299
+ $c_month = $_GET['month'];
300
+ } else {
301
+ $c_year = $yr;
302
+ $c_month = $month;
303
+ }
304
+ }
305
+ // Years get funny if we exceed 3000, so we use this check
306
+ if ( $year <= 3000 && $year >= 0) {
307
+ } else {
308
+ // No valid year causes the calendar to default to today
309
+ $c_year = date("Y",time()+($offset));
310
+ $c_month = date("m",time()+($offset));
311
+ $c_day = date("d",time()+($offset));
312
+ }
313
+
314
+ // Fix the days of the week if week start is not on a monday
315
+ if (get_option('start_of_week') == 0) {
316
+ $first_weekday = date("w",mktime(0,0,0,$c_month,1,$c_year));
317
+ } else {
318
+ $first_weekday = date("w",mktime(0,0,0,$c_month,1,$c_year));
319
+ $first_weekday = ($first_weekday==0?6:$first_weekday-1);
320
+ }
321
+
322
+ $days_in_month = date("t", mktime (0,0,0,$c_month,1,$c_year));
323
+ $and = __("and",'my-calendar');
324
+ if ($category != "" && $category != "all") {
325
+ $category_label = str_replace("|"," $and ",$category) . ' ';
326
+ } else {
327
+ $category_label = "";
328
+ }
329
+ $pLink = my_calendar_prev_link($c_year,$c_month,$format);
330
+ $nLink = my_calendar_next_link($c_year,$c_month,$format);
331
+
332
+ // Start the calendar and add header and navigation
333
+ $my_calendar_body .= "<div id=\"jd-calendar\" class=\"$format\">";
334
+ // Add the calendar table and heading
335
+ $caption_text = stripslashes( get_option('my_calendar_caption') );
336
+
337
+ if ($format == "calendar" || $format == "mini" ) {
338
+ $my_calendar_body .= '<div class="my-calendar-header">';
339
+
340
+ // We want to know if we should display the date switcher
341
+ $date_switcher = get_option('display_jump');
342
+
343
+ if ($date_switcher == 'true') {
344
+ $my_calendar_body .= mc_build_date_switcher();
345
+ }
346
+ // The header of the calendar table and the links. Note calls to link functions
347
+
348
+ if ($shownav == 'yes') {
349
+ $my_calendar_body .= '
350
+ <div class="my-calendar-nav">
351
+ <ul>
352
+ <li class="my-calendar-prev"><a id="prevMonth" href="' . my_calendar_permalink_prefix() . 'month='.$pLink['month'].'&amp;yr=' . $pLink['yr'] . '#jd-calendar" rel="nofollow">'.$pLink['label'].' &raquo;</a></li>
353
+ <li class="my-calendar-next"><a id="nextMonth" href="' . my_calendar_permalink_prefix() . 'month='.$nLink['month'].'&amp;yr=' . $nLink['yr'] . '#jd-calendar" rel="nofollow">'.$nLink['label'].' &raquo;</a></li>
354
+ </ul>
355
+ </div>';
356
+ }
357
+ $my_calendar_body .= '</div>';
358
+ $my_calendar_body .= "\n<table class=\"my-calendar-table\" summary=\"$category_label".__('Calendar','my-calendar')."\">\n";
359
+ $my_calendar_body .= '<caption class="my-calendar-month">'.$name_months[(int)$c_month].' '.$c_year.$caption_text."</caption>\n";
360
+ } else {
361
+ if ( get_option('my_calendar_show_heading') == 'true' ) {
362
+ $my_calendar_body .= "\n<h2 class=\"my-calendar-heading\">$category_label".__('Calendar','my-calendar')."</h2>\n";
363
+ }
364
+ // determine which header text to show depending on number of months displayed;
365
+ $num_months = get_option('my_calendar_show_months');
366
+ $my_calendar_body .= ($num_months <= 1)?'<h3 class="my-calendar-month">'.__('Events in','my-calendar').' '.$name_months[(int)$c_month].' '.$c_year.$caption_text."</h3>\n":
367
+ '<h3 class="my-calendar-month">'.$name_months[(int)$c_month].'&thinsp;&ndash;&thinsp;'.$name_months[(int)($nLink['month']-1)].' '.$nLink['yr'].$caption_text."</h3>\n";
368
+ $my_calendar_body .= '<div class="my-calendar-header">'; // this needs work
369
+ // We want to know if we should display the date switcher
370
+ $my_calendar_body .= ( get_option('display_jump') == 'true' )?mc_build_date_switcher():'';
371
+
372
+ if ($shownav == 'yes') {
373
+ $my_calendar_body .= '
374
+ <div class="my-calendar-nav">
375
+ <ul>
376
+ <li class="my-calendar-prev"><a id="prevMonth" href="' . my_calendar_permalink_prefix() . 'month='.$pLink['month'].'&amp;yr=' . $pLink['yr'] . '#jd-calendar" rel="nofollow">'.$pLink['label'].' &raquo;</a></li>
377
+ <li class="my-calendar-next"><a id="nextMonth" href="' . my_calendar_permalink_prefix() . 'month='.$nLink['month'].'&amp;yr=' . $nLink['yr'] . '#jd-calendar" rel="nofollow">'.$nLink['label'].' &raquo;</a></li>
378
+ </ul>
379
+ </div>';
380
+ }
381
+ $my_calendar_body .= '</div>';
382
+ }
383
+ // If in calendar format, print the headings of the days of the week
384
+ if ( $format == "calendar" || $format == "mini" ) {
385
+ $my_calendar_body .= "<thead>\n<tr>\n";
386
+ for ($i=0; $i<=6; $i++) {
387
+ // Colors need to be different if the starting day of the week is different
388
+ if (get_option('start_of_week') == 0) {
389
+ $my_calendar_body .= '<th scope="col" class="'.($i<6&&$i>0?'day-heading':'weekend-heading').'">'.$name_days[$i]."</th>\n";
390
+ } else {
391
+ $my_calendar_body .= '<th scope="col" class="'.($i<5?'day-heading':'weekend-heading').'">'.$name_days[$i]."</th>\n";
392
+ }
393
+ }
394
+ $my_calendar_body .= "</tr>\n</thead>\n<tbody>";
395
+
396
+ for ($i=1; $i<=$days_in_month;) {
397
+ $process_date = date_i18n('Y-m-d',mktime(0,0,0,$c_month,$i,$c_year));
398
+ $my_calendar_body .= '<tr>';
399
+ for ($ii=0; $ii<=6; $ii++) {
400
+ if ($ii==$first_weekday && $i==1) {
401
+ $go = TRUE;
402
+ } elseif ($i > $days_in_month ) {
403
+ $go = FALSE;
404
+ }
405
+
406
+ if ($go) {
407
+ // Colors again, this time for the day numbers
408
+ $grabbed_events = my_calendar_grab_events($c_year,$c_month,$i,$category);
409
+ $events_class = '';
410
+ if (!count($grabbed_events)) {
411
+ $events_class = ' no-events';
412
+ $element = 'span';
413
+ $trigger = '';
414
+ } else {
415
+ $events_class = ' has-events';
416
+ if ($format == 'mini') {
417
+ $element = 'a href="#"';
418
+ $trigger = ' trigger';
419
+ } else {
420
+ $element = 'span';
421
+ $trigger = '';
422
+ }
423
+ }
424
+ if (get_option('start_of_week') == 0) {
425
+ $my_calendar_body .= '<td class="'.(date("Ymd", mktime (0,0,0,$c_month,$i,$c_year))==date_i18n("Ymd",time()+$offset)?'current-day':'day-with-date').$events_class.'">'."\n <$element class='mc-date ".($ii<6&&$ii>0?"$trigger":"weekend$trigger")."'>".$i++."</$element>\n ". my_calendar_draw_events($grabbed_events, $format, $process_date) . "\n</td>\n";
426
+ } else {
427
+ $my_calendar_body .= '<td class="'.(date("Ymd", mktime (0,0,0,$c_month,$i,$c_year))==date_i18n("Ymd",time()+$offset)?'current-day':'day-with-date').$events_class.'">'."\n <$element class='mc-date ".($ii<5?"$trigger":"weekend$trigger'")."'>".$i++."</$element>\n ". my_calendar_draw_events($grabbed_events, $format, $process_date) . "\n</td>\n";
428
+ }
429
+ } else {
430
+ $my_calendar_body .= "<td class='day-without-date'>&nbsp;</td>\n";
431
+ }
432
+ }
433
+ $my_calendar_body .= "</tr>";
434
+ }
435
+ $my_calendar_body .= "\n</tbody>\n</table>";
436
+ } else if ($format == "list") {
437
+ $my_calendar_body .= "<ul id=\"calendar-list\">";
438
+ // show calendar as list
439
+ $date_format = ( get_option('my_calendar_date_format') != '' ) ? ( get_option('my_calendar_date_format') ) : ( get_option( 'date_format' ) );
440
+ $num_months = get_option('my_calendar_show_months');
441
+ $num_events = 0;
442
+ for ($m=0;$m<$num_months;$m++) {
443
+ if ($m == 0) {
444
+ $add_month = 0;
445
+ } else {
446
+ $add_month = 1;
447
+ }
448
+ $c_month = (int) $c_month + $add_month;
449
+ if ($c_month > 12) {
450
+ $c_month = $c_month - 12;
451
+ $c_year = $c_year + 1;
452
+ }
453
+ for ($i=1; $i<=31; $i++) {
454
+ $process_date = date_i18n('Y-m-d',mktime(0,0,0,$c_month,$i,$c_year));
455
+ $grabbed_events = my_calendar_grab_events($c_year,$c_month,$i,$category);
456
+ if (count($grabbed_events)) {
457
+ if ( get_option('list_javascript') != 1) {
458
+ $is_anchor = "<a href='#'>";
459
+ $is_close_anchor = "</a>";
460
+ } else {
461
+ $is_anchor = $is_close_anchor = "";
462
+ }
463
+ $my_calendar_body .= "<li class='$class".(date("Ymd", mktime (0,0,0,$c_month,$i,$c_year))==date("Ymd",time()+($offset))?' current-day':'')."'><strong class=\"event-date\">$is_anchor".date_i18n($date_format,mktime(0,0,0,$c_month,$i,$c_year))."$is_close_anchor</strong>".my_calendar_draw_events($grabbed_events, $format, $process_date)."</li>";
464
+ $num_events++;
465
+ }
466
+ $class = (my_calendar_is_odd($num_events))?"odd":"even";
467
+ }
468
+ }
469
+ if ($num_events == 0) {
470
+ $my_calendar_body .= "<li class='no-events'>".__('There are no events scheduled during this period.','my-calendar') . "</li>";
471
+ }
472
+ $my_calendar_body .= "</ul>";
473
+ } else {
474
+ $my_calendar_body .= "Unrecognized calendar format.";
475
+ }
476
+ if ($showkey != 'no') {
477
+ $sql = "SELECT * FROM " . MY_CALENDAR_CATEGORIES_TABLE . " ORDER BY category_name ASC";
478
+ $cat_details = $wpdb->get_results($sql);
479
+ $my_calendar_body .= '<div class="category-key">
480
+ <h3>'.__('Category Key','my-calendar')."</h3>\n<ul>\n";
481
+
482
+ if ( file_exists( WP_PLUGIN_DIR . '/my-calendar-custom/' ) ) {
483
+ $path = '/my-calendar-custom';
484
+ } else {
485
+ $path = '/my-calendar/icons';
486
+ }
487
+ foreach($cat_details as $cat_detail) {
488
+
489
+ if ($cat_detail->category_icon != "" && get_option('my_calendar_hide_icons')!='true') {
490
+ $my_calendar_body .= '<li><span class="category-color-sample"><img src="'.WP_PLUGIN_URL.$path.'/'.$cat_detail->category_icon.'" alt="" style="background:'.$cat_detail->category_color.';" /></span>'.$cat_detail->category_name."</li>\n";
491
+ } else {
492
+ $my_calendar_body .= '<li><span class="category-color-sample no-icon" style="background:'.$cat_detail->category_color.';"> &nbsp; </span>'.$cat_detail->category_name."</li>\n";
493
+ }
494
+ }
495
+ $my_calendar_body .= "</ul>\n</div>";
496
+ }
497
+ //$my_calendar_body .= $wpdb->num_queries; // total number of queries
498
+
499
+ $my_calendar_body .= "\n</div>";
500
+ // The actual printing is done by the shortcode function.
501
+ return $my_calendar_body;
502
+ }
503
+
504
+
505
+ // Configure the "Next" link in the calendar
506
+ function my_calendar_next_link($cur_year,$cur_month,$format) {
507
+ $next_year = $cur_year + 1;
508
+ $next_events = ( get_option( 'mc_next_events') == '' )?"Next events":stripcslashes( get_option( 'mc_next_events') );
509
+ $num_months = get_option('my_calendar_show_months');
510
+ if ($num_months <= 1 || $format=="calendar") {
511
+ if ($cur_month == 12) {
512
+ $nMonth = 1;
513
+ $nYr = $next_year;
514
+ } else {
515
+ $next_month = $cur_month + 1;
516
+ $nMonth = $next_month;
517
+ $nYr = $cur_year;
518
+ }
519
+ } else {
520
+ $next_month = (($cur_month + $num_months) > 12)?(($cur_month + $num_months) - 12):($cur_month + $num_months);
521
+ if ($cur_month >= (12-$num_months)) {
522
+ $nMonth = $next_month;
523
+ $nYr = $next_year;
524
+ } else {
525
+ $nMonth = $next_month;
526
+ $nYr = $cur_year;
527
+ }
528
+ }
529
+ $output = array('month'=>$nMonth,'yr'=>$nYr,'label'=>$next_events);
530
+ return $output;
531
+ }
532
+
533
+ // Configure the "Previous" link in the calendar
534
+ function my_calendar_prev_link($cur_year,$cur_month,$format) {
535
+ $last_year = $cur_year - 1;
536
+ $previous_events = ( get_option( 'mc_previous_events') == '' )?"Previous events":stripcslashes( get_option( 'mc_previous_events') );
537
+ $num_months = get_option('my_calendar_show_months');
538
+ if ($num_months <= 1 || $format=="calendar") {
539
+ if ($cur_month == 1) {
540
+ $pMonth = 12;
541
+ $pYr = $last_year;
542
+ } else {
543
+ $next_month = $cur_month - 1;
544
+ $pMonth = $next_month;
545
+ $pYr = $cur_year;
546
+ }
547
+ } else {
548
+ $next_month = ($cur_month > $num_months)?($cur_month - $num_months):(($cur_month - $num_months) + 12);
549
+ if ($cur_month <= $num_months) {
550
+ $pMonth = $next_month;
551
+ $pYr = $last_year;
552
+ } else {
553
+ $pMonth = $next_month;
554
+ $pYr = $cur_year;
555
+ }
556
+ }
557
+ $output = array('month'=>$pMonth,'yr'=>$pYr,'label'=>$previous_events);
558
+ return $output;
559
+ }
560
+
561
+
562
+ function my_calendar_locations_list($show='list',$type='saved',$datatype='name') {
563
+ global $wpdb;
564
+ if ($type == 'saved') {
565
+ switch ($datatype) {
566
+ case "name":$data = "location_label";
567
+ break;
568
+ case "city":$data = "location_city";
569
+ break;
570
+ case "state":$data = "location_state";
571
+ break;
572
+ case "zip":$data = "location_postcode";
573
+ break;
574
+ case "country":$data = "location_country";
575
+ break;
576
+ default:$data = "location_label";
577
+ break;
578
+ }
579
+ } else {
580
+ $data = $datatype;
581
+ }
582
+ $current_url = get_current_url();
583
+ $cv = urlencode($_GET['loc']);
584
+ $cd = urlencode($_GET['ltype']);
585
+ if (strpos($current_url,"?")===false) {
586
+ $char = '?';
587
+ $nonchar = '&';
588
+ } else {
589
+ $char = '&';
590
+ $nonchar = '?';
591
+ }
592
+ $needle = array("$nonchar"."loc=$cv&ltype=$cd","$char"."loc=$cv&ltype=$cd");
593
+ $current_url = str_replace( $needle,"",$current_url );
594
+
595
+ if (strpos($current_url,"/&")!==false || strpos($current_url,".php&")!==false) {
596
+ $needle = array("/&",".php&");
597
+ $replace = array("/?",".php?");
598
+ $current_url = str_replace( $needle,$replace,$current_url );
599
+ }
600
+
601
+ if ($type == 'saved') {
602
+ $locations = $wpdb->get_results("SELECT DISTINCT $data FROM " . MY_CALENDAR_LOCATIONS_TABLE . " ORDER BY $data ASC", ARRAY_A );
603
+ } else {
604
+ $data = get_option( 'mc_user_settings' );
605
+ $locations = $data['my_calendar_location_default']['values'];
606
+ $datatype = str_replace('event_','',get_option( 'mc_location_type' ));
607
+ $datatype = ($datatype=='label')?'name':$datatype;
608
+ $datatype = ($datatype=='postcode')?'zip':$datatype;
609
+ }
610
+ if ($show == 'list') {
611
+ $output .= "<ul id='mc-locations-list'>
612
+ <li><a href='$current_url$char"."loc=none&amp;ltype=none'>Show all</a></li>\n";
613
+ } else {
614
+ $ltype = ($_GET['ltype']=='')?'none':$_GET['ltype'];
615
+ $output .= "
616
+ <form action='' method='GET'>
617
+ <div>
618
+ <input type='hidden' name='ltype' value='$ltype' />";
619
+ $qsa = array();
620
+ parse_str($_SERVER['QUERY_STRING'],$qsa);
621
+ foreach ($qsa as $name => $argument) {
622
+ if ($name != 'loc' && $name != 'ltype') {
623
+ $output .= '<input type="hidden" name="'.$name.'" value="'.$argument.'" />'."\n";
624
+ }
625
+ }
626
+ $output .= "<label for='mc-locations-list'>".__('Show events in:','my-calendar')."</label>
627
+ <select name='loc' id='mc-locations-list'>
628
+ <option value='none'>Show all</option>\n";
629
+ }
630
+ foreach ( $locations as $key=>$location ) {
631
+ if ($type == 'saved') {
632
+ foreach ( $location as $key=>$value ) {
633
+ $vt = urlencode(trim($value));
634
+ if ($show == 'list') {
635
+ $output .= "<li><a rel='nofollow' href='$current_url".$char."loc=$vt&amp;ltype=$datatype'>$value</a></li>\n";
636
+ } else {
637
+ $output .= "<option value='$vt'>$value</option>\n";
638
+ }
639
+ }
640
+ } else {
641
+ $vk = urlencode(trim($key));
642
+ $location = trim($location);
643
+ if ($show == 'list') {
644
+ $output .= "<li><a rel='nofollow' href='$current_url".$char."loc=$vk&amp;ltype=$datatype'>$location</a></li>\n";
645
+ } else {
646
+ $output .= "<option value='$vk'>$location</option>\n";
647
+ }
648
+ }
649
+ }
650
+ if ($show == 'list') {
651
+ $output .= "</ul>";
652
+ } else {
653
+ $output .= "</select> <input type='submit' value=".__('Submit','my-calendar')." /></div></form>";
654
+ }
655
+ return $output;
656
+ }
657
+
658
+ ?>
my-calendar-pt_BR.mo CHANGED
Binary file
my-calendar-pt_BR.po CHANGED
@@ -1,850 +1,1622 @@
1
- # Translation of the WordPress plugin My Calendar 1.0.0 by Joseph C Dolson.
2
  # Copyright (C) 2010 Joseph C Dolson
3
  # This file is distributed under the same license as the My Calendar package.
4
  # FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
5
  #
6
  msgid ""
7
  msgstr ""
8
- "Project-Id-Version: My Calendar 1.0.0\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/my-calendar\n"
10
- "POT-Creation-Date: 2010-04-05 23:03+0000\n"
11
- "PO-Revision-Date: 2010-04-13 12:31-0300\n"
12
- "Last-Translator: Daniel <danprata@terra.com.br>\n"
13
- "Language-Team: www.netmdp.com <esteban@netmdp.com>\n"
14
  "MIME-Version: 1.0\n"
15
  "Content-Type: text/plain; charset=utf-8\n"
16
  "Content-Transfer-Encoding: 8bit\n"
17
- "X-Poedit-Language: Spanish\n"
18
- "X-Poedit-Country: ARGENTINA\n"
19
 
20
- #: my-calendar-categories.php:38
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  msgid "Category added successfully"
22
  msgstr "Categoria adicionada com sucesso"
23
 
24
- #: my-calendar-categories.php:44
25
- msgid "Category deleted successfully"
26
- msgstr "Categoria eliminada com sucesso"
 
 
 
 
 
 
 
 
 
 
 
 
27
 
28
- #: my-calendar-categories.php:49
29
- #: my-calendar-categories.php:61
 
 
 
 
 
 
 
 
 
 
30
  msgid "Edit Category"
31
  msgstr "Editar Categoria"
32
 
33
- #: my-calendar-categories.php:53
34
  msgid "Category Editor"
35
- msgstr "Editor de Categoria"
36
 
37
- #: my-calendar-categories.php:62
38
- #: my-calendar-categories.php:108
39
- #: my-calendar-categories.php:139
40
  msgid "Category Name"
41
  msgstr "Nome da Categoria"
42
 
43
- #: my-calendar-categories.php:63
44
- #: my-calendar-categories.php:109
45
  msgid "Category Color (Hex format)"
46
  msgstr "Cor da Categoria (formato Hex)"
47
 
48
- #: my-calendar-categories.php:64
49
- #: my-calendar-categories.php:110
50
- #: my-calendar-categories.php:141
51
  msgid "Category Icon"
52
  msgstr "Ícone da Categoria"
53
 
54
- #: my-calendar-categories.php:79
 
55
  msgid "Save Changes"
56
  msgstr "Salvar Alterações"
57
 
58
- #: my-calendar-categories.php:89
59
- msgid "Category edited successfully"
60
- msgstr "Categoria editada com sucesso"
61
-
62
- #: my-calendar-categories.php:95
63
- #: my-calendar-categories.php:107
64
- #: my-calendar-categories.php:120
65
- msgid "Add Category"
66
- msgstr "Adicionar Categoria"
67
-
68
- #: my-calendar-categories.php:99
69
- msgid "Add New Category"
70
- msgstr "Adicionar Nova Categoria"
71
-
72
- #: my-calendar-categories.php:126
73
- #: my-calendar.php:127
74
  msgid "Manage Categories"
75
  msgstr "Gerenciar Categorias"
76
 
77
- #: my-calendar-categories.php:138
78
- #: my-calendar-event-manager.php:592
 
79
  msgid "ID"
80
  msgstr "ID"
81
 
82
- #: my-calendar-categories.php:140
83
  msgid "Category Color"
84
  msgstr "Cor da Categoria"
85
 
86
- #: my-calendar-categories.php:142
87
- #: my-calendar-categories.php:156
88
- #: my-calendar-event-manager.php:640
 
 
89
  msgid "Edit"
90
  msgstr "Editar"
91
 
92
- #: my-calendar-categories.php:143
93
- #: my-calendar-categories.php:162
94
- #: my-calendar-event-manager.php:33
95
- #: my-calendar-event-manager.php:640
 
 
96
  msgid "Delete"
97
  msgstr "Excluir"
98
 
99
- #: my-calendar-categories.php:159
100
- #: my-calendar-event-manager.php:628
101
- #: my-calendar.php:796
 
102
  msgid "N/A"
103
- msgstr "N/D"
104
 
105
- #: my-calendar-categories.php:162
 
106
  msgid "Are you sure you want to delete this category?"
107
- msgstr "Tem certeza que deseja excluir esta categoria?"
108
 
109
- #: my-calendar-categories.php:173
110
  msgid "There are no categories in the database - something has gone wrong!"
111
- msgstr "Não há categorias na banco de dados - algo errado!"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
112
 
113
- #: my-calendar-event-manager.php:28
114
  msgid "Delete Event"
115
- msgstr "Excluir evento"
116
 
117
- #: my-calendar-event-manager.php:28
118
  msgid "Are you sure you want to delete this event?"
119
- msgstr "Tem certeza de que deseja excluir este evento?"
120
-
121
- #: my-calendar-event-manager.php:99
122
- #: my-calendar-event-manager.php:104
123
- #: my-calendar-event-manager.php:109
124
- #: my-calendar-event-manager.php:119
125
- #: my-calendar-event-manager.php:127
126
- #: my-calendar-event-manager.php:135
127
- #: my-calendar-event-manager.php:143
128
- #: my-calendar-event-manager.php:174
129
- #: my-calendar-event-manager.php:265
130
- #: my-calendar-event-manager.php:270
131
- #: my-calendar-event-manager.php:275
132
- #: my-calendar-event-manager.php:285
133
- #: my-calendar-event-manager.php:293
134
- #: my-calendar-event-manager.php:301
135
- #: my-calendar-event-manager.php:309
136
- #: my-calendar-event-manager.php:374
137
- #: my-calendar-event-manager.php:389
 
 
 
 
 
 
 
 
 
138
  msgid "Error"
139
  msgstr "Erro"
140
 
141
- #: my-calendar-event-manager.php:99
142
- #: my-calendar-event-manager.php:265
143
- msgid "Your event end date must be either after or the same as your event begin date"
144
- msgstr "A data final do evento deve ser igual ou posterior à data do começo"
145
-
146
- #: my-calendar-event-manager.php:104
147
- #: my-calendar-event-manager.php:270
148
- msgid "Your date formatting is correct but one or more of your dates is invalid. Check for number of days in month and leap year related errors."
149
- msgstr "O formato de data está correto mas uma ou mais de suas datas são inválidas. Cheque uma possível troca de dias por meses e erros relacionados a anos bissextos"
150
-
151
- #: my-calendar-event-manager.php:109
152
- #: my-calendar-event-manager.php:275
153
- msgid "Both start and end dates must be entered and be in the format YYYY-MM-DD"
154
- msgstr "As datas de início e fim devem seguir o formato YYYY-MM-DD"
155
-
156
- #: my-calendar-event-manager.php:119
157
- #: my-calendar-event-manager.php:285
158
- msgid "The time field must either be blank or be entered in the format hh:mm"
159
- msgstr "O campo de hora deve ser deixado em branco ou preenchido com o formato hh:mm"
160
-
161
- #: my-calendar-event-manager.php:127
162
- #: my-calendar-event-manager.php:293
163
- msgid "The URL entered must either be prefixed with http:// or be completely blank"
164
- msgstr "A URL preenchida deve começar com o prefixo http:// ou estar completamente em branco"
165
 
166
  #: my-calendar-event-manager.php:135
167
- #: my-calendar-event-manager.php:301
168
- msgid "The event title must be between 1 and 60 characters in length. Some punctuation characters may not be allowed."
169
- msgstr "O título do evento deve ter de 1 a 60 caracteres. Alguns sinais de pontuação podem não ser permitidos."
170
-
171
- #: my-calendar-event-manager.php:143
172
- #: my-calendar-event-manager.php:309
173
- msgid "The repetition value must be 0 unless a type of recurrance is selected in which case the repetition value must be 0 or higher"
174
- msgstr "O valor de repetição deve ser 0 a menos que seja selecionado um tip de repetição - nesse caso, deve ser 0 ou mais."
175
-
176
- #: my-calendar-event-manager.php:174
177
- msgid "An event with the details you submitted could not be found in the database. This may indicate a problem with your database or the way in which it is configured."
178
- msgstr "Não foi localizado no banco de dados um evento com as informações que você enviou. Isso indica um problema com o banco de dados ou sua configuração."
179
-
180
- #: my-calendar-event-manager.php:178
181
  msgid "Event added. It will now show in your calendar."
182
- msgstr "Evento adicionado. Ele será mostrado em seu calendário."
183
 
184
- #: my-calendar-event-manager.php:242
185
- #: my-calendar-event-manager.php:341
186
- msgid "Failure"
187
- msgstr "Falha"
188
-
189
- #: my-calendar-event-manager.php:242
190
- msgid "You can't update an event if you haven't submitted an event id"
191
- msgstr "Não se pode atualizar um evento se não há um id de evento enviado"
192
 
193
- #: my-calendar-event-manager.php:341
194
- msgid "The database failed to return data to indicate the event has been updated sucessfully. This may indicate a problem with your database or the way in which it is configured."
195
- msgstr "O banco de dados não pôde identificar um atualização correta do evento. Isso pode indicar um problema com o banco de dados ou alguma de suas configurações."
196
 
197
- #: my-calendar-event-manager.php:345
198
  msgid "Event updated successfully"
199
- msgstr "Evento atualizado com sucesso."
200
 
201
- #: my-calendar-event-manager.php:374
 
 
 
 
202
  msgid "You can't delete an event if you haven't submitted an event id"
203
- msgstr "Não é possível apagar um evento se não for enviado um id de evento válido"
204
 
205
- #: my-calendar-event-manager.php:385
206
  msgid "Event deleted successfully"
207
- msgstr "Evento apagado com sucesso"
208
 
209
- #: my-calendar-event-manager.php:389
210
  msgid "Despite issuing a request to delete, the event still remains in the database. Please investigate."
211
- msgstr "Apesar de seu pedido de exclusão, o evento continua no banco de dados. Por favor, investigue."
212
 
213
- #: my-calendar-event-manager.php:404
214
- #: my-calendar-event-manager.php:458
215
  msgid "Edit Event"
216
- msgstr "Editar evento"
217
 
218
- #: my-calendar-event-manager.php:408
 
219
  msgid "You must provide an event id in order to edit it"
220
- msgstr "Para editar um evento você deve fornecer um id válido. "
 
 
 
 
 
221
 
222
- #: my-calendar-event-manager.php:414
223
  msgid "Add Event"
224
- msgstr "Nuevo evento"
225
 
226
- #: my-calendar-event-manager.php:419
227
  msgid "Manage Events"
228
- msgstr "Administrar Eventos"
229
 
230
- #: my-calendar-event-manager.php:436
231
  msgid "Sorry! That's an invalid event key."
232
- msgstr "Sinto muito! Essa chave de evento não é válida."
233
 
234
- #: my-calendar-event-manager.php:441
235
  msgid "Sorry! We couldn't find an event with that ID."
236
- msgstr "Sinto muito! Não possível encontrar um evento com esse ID."
237
 
238
- #: my-calendar-event-manager.php:458
239
  msgid "Add an Event"
240
  msgstr "Adicionar um evento"
241
 
242
- #: my-calendar-event-manager.php:466
 
 
 
 
243
  msgid "Enter your Event Information"
244
- msgstr "Preencha as informações de seu evento"
245
 
246
- #: my-calendar-event-manager.php:468
247
  msgid "Event Title"
248
- msgstr "Título do evento"
 
 
 
 
 
 
 
 
 
 
 
 
249
 
250
- #: my-calendar-event-manager.php:471
251
  msgid "Event Description (<abbr title=\"hypertext markup language\">HTML</abbr> allowed)"
252
- msgstr "Descrição do Evento (<abbr title=\"hypertext markup language\">HTML</abbr> permitido)"
 
 
 
 
 
 
 
 
253
 
254
- #: my-calendar-event-manager.php:474
255
  msgid "Event Category"
256
  msgstr "Categoria do Evento"
257
 
258
- #: my-calendar-event-manager.php:493
259
  msgid "Event Link (Optional)"
260
- msgstr "Link do Evento (Opcional)"
261
 
262
- #: my-calendar-event-manager.php:496
 
 
 
 
263
  msgid "Start Date (YYYY-MM-DD)"
264
- msgstr "Data de início (YYYY-MM-DD)"
265
 
266
- #: my-calendar-event-manager.php:499
267
  msgid "End Date (YYYY-MM-DD) (Optional)"
268
- msgstr "Data final (YYYY-MM-DD) (Opcional)"
269
 
270
- #: my-calendar-event-manager.php:502
271
  msgid "Time (hh:mm)"
272
- msgstr "hora (hh:mm)"
273
 
274
- #: my-calendar-event-manager.php:513
275
  msgid "Optional, set blank if your event is an all-day event or does not happen at a specific time."
276
- msgstr "Opcional, deixe em branco se seu evento tem a duração de um dia inteiro ou não tem uma hora específica"
277
 
278
- #: my-calendar-event-manager.php:513
279
  msgid "Current time difference from GMT is "
280
- msgstr "A diferença de tempo do GMT é"
281
 
282
- #: my-calendar-event-manager.php:513
283
  msgid " hour(s)"
284
- msgstr " hora(s)"
285
 
286
- #: my-calendar-event-manager.php:517
 
 
 
 
 
 
 
 
287
  msgid "Recurring Events"
288
  msgstr "Eventos Recorrentes"
289
 
290
- #: my-calendar-event-manager.php:536
291
  msgid "Repeats for"
292
- msgstr "Repete por"
293
 
294
- #: my-calendar-event-manager.php:537
295
  msgid "Units"
296
  msgstr "Unidades"
297
 
298
- #: my-calendar-event-manager.php:544
299
- msgid "Entering 0 means forever, if a unit is selected. If the recurrance unit is left at \"Does not recur,\" the event will not reoccur."
300
- msgstr "Introduzir 0 significa para sempre, se uma unidade é selecionada. Se a unidade é deixada em \"Não se repete,\" o evento não aparecerá novamente."
 
 
 
 
 
 
 
 
 
 
301
 
302
- #: my-calendar-event-manager.php:551
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
303
  msgid "All location fields are optional: <em>insufficient information may result in an inaccurate map</em>."
304
- msgstr "Todos os campos de localização são opcionais: <em>informação insuficiente pode resultar em um mapa inexato</em>."
305
 
306
- #: my-calendar-event-manager.php:554
 
307
  msgid "Name of Location (e.g. <em>Joe's Bar and Grill</em>)"
308
- msgstr "Nome do local. (ex: <em>Charrascaria do Carlão</em>"
309
 
310
- #: my-calendar-event-manager.php:557
 
311
  msgid "Street Address"
312
- msgstr "Endereço"
313
 
314
- #: my-calendar-event-manager.php:560
 
315
  msgid "Street Address (2)"
316
- msgstr "Endereço(2)"
317
 
318
- #: my-calendar-event-manager.php:563
 
 
319
  msgid "City"
320
  msgstr "Cidade"
321
 
322
- #: my-calendar-event-manager.php:563
 
 
323
  msgid "State/Province"
324
  msgstr "Estado"
325
 
326
- #: my-calendar-event-manager.php:563
 
 
327
  msgid "Postal Code"
328
- msgstr "Código postal"
329
 
330
- #: my-calendar-event-manager.php:566
 
 
331
  msgid "Country"
332
  msgstr "País"
333
 
334
- #: my-calendar-event-manager.php:571
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
335
  msgid "Save Event"
336
  msgstr "Salvar Evento"
337
 
338
- #: my-calendar-event-manager.php:593
339
- #: my-calendar-widgets.php:32
340
- #: my-calendar-widgets.php:108
341
  msgid "Title"
342
  msgstr "Título"
343
 
344
- #: my-calendar-event-manager.php:594
 
 
 
 
 
 
 
 
 
345
  msgid "Description"
346
  msgstr "Descrição"
347
 
348
- #: my-calendar-event-manager.php:595
349
  msgid "Start Date"
350
- msgstr "Data de início"
351
 
352
- #: my-calendar-event-manager.php:597
353
  msgid "Recurs"
354
- msgstr "Repetição"
355
 
356
- #: my-calendar-event-manager.php:598
357
- msgid "Repeats"
358
- msgstr "Repetições"
359
-
360
- #: my-calendar-event-manager.php:599
361
- #: my-calendar-settings.php:107
362
  msgid "Author"
363
  msgstr "Autor"
364
 
365
- #: my-calendar-event-manager.php:600
366
  msgid "Category"
367
  msgstr "Categoria"
368
 
369
- #: my-calendar-event-manager.php:601
370
  msgid "Edit / Delete"
371
- msgstr "Editar / Apagar"
372
 
373
- #: my-calendar-event-manager.php:618
374
  msgid "Never"
375
  msgstr "Nunca"
376
 
377
- #: my-calendar-event-manager.php:619
378
- msgid "Daily"
379
- msgstr "Diariamente"
380
 
381
- #: my-calendar-event-manager.php:620
382
- msgid "Weekly"
383
- msgstr "Semanalmente"
384
 
385
- #: my-calendar-event-manager.php:621
386
- msgid "Monthly"
387
- msgstr "Mensalmente"
388
 
389
- #: my-calendar-event-manager.php:622
390
  msgid "Yearly"
391
- msgstr "Anualmente"
392
 
393
- #: my-calendar-event-manager.php:629
394
  msgid "Forever"
395
  msgstr "Para sempre"
396
 
397
- #: my-calendar-event-manager.php:630
398
  msgid "Times"
399
- msgstr "Vezes"
 
 
 
 
 
 
 
 
 
 
 
 
400
 
401
- #: my-calendar-event-manager.php:648
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
402
  msgid "There are no events in the database!"
403
- msgstr "Não há eventos no bando de dados!"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
404
 
405
  #: my-calendar-help.php:6
406
  msgid "How to use My Calendar"
407
- msgstr "Como usar My Calendar"
408
 
409
  #: my-calendar-help.php:11
410
  msgid "Shortcode Syntax"
411
- msgstr "Sintaxe do Shortcode"
412
 
413
- #: my-calendar-help.php:16
 
 
 
 
414
  msgid "This basic shortcode will show the calendar on a post or page including all categories and the category key, in a traditional month-by-month format."
415
- msgstr "Este Shortcode básico mostrará o calendário em um post ou página incluindo todas as categorias e a chave da categoria, no formato tradicional mês a mês"
 
 
 
 
 
 
 
 
416
 
417
- #: my-calendar-help.php:19
418
- msgid "The shortcode supports three attributes, <code>category</code>, <code>format</code> and <code>showkey</code>. There is currently only one alternate option for <code>format</code> &mdash; <code>list</code> &mdash; which will show the calendar in a list format, skipping dates without any events. The <code>category</code> attribute requires either the name of or ID number one of your event categories (the name is case-sensitive). This will show a calendar only including events in that category. Setting <code>showkey</code> to <code>no</code> will prevent the category key from being displayed &mdash; this can be useful with single-category output."
419
- msgstr "O código suporta três atributos, <code>category</code>, <code>format</code> y <code>showkey</code>. Atualmente, somente uma opção alternativa para <code>format</code> &mdash; <code>list</code> &mdash; que mostrará o calendário em forma de lista, pulando as datas sem eventos. O atributo <code>category</code> requer o nome ou um númeo de ID das categorias de evento (o nome diferencia maiúsculas de minúsculas). Isso mostrará o calendário incluindo somente eventos dessa categoria. Configurar <code>showkey</code> a <code>no</code> impedirá que se motre a chave da categoria &mdash; isso pode ser útil para uma única categoria de saída."
420
 
421
- #: my-calendar-help.php:27
 
 
 
 
422
  msgid "Category Icons"
423
- msgstr "Ícones de categoria"
424
 
425
- #: my-calendar-help.php:30
426
  msgid "My Calendar is designed to manage multiple calendars. The basis for these calendars are categories; you can easily setup a calendar page which includes all categories, or you can dedicate separate pages to calendars in each category. For an example, this might be useful for you in managing the tour calendars for multiple bands; event calendars for a variety of locations, etc."
427
- msgstr "My Calendar está programado para administrar múltiplos calendários. A base desses calendários são categorias. É pos´sivel configurar facilmente uma página de calendário que inclua todas as categorias, ou se pode dedicar páginas separadas para calendários em cada categoria. Por exemplo, isso pode ser útil para gerenciar calendários de turnês para diversas bandas; calendários de eventos para uma grande variedade de locais, etc."
428
 
429
- #: my-calendar-help.php:33
430
- msgid "The pre-installed category icons may not be especially useful for your needs or design. I'm assuming that you're going to upload your own icons -- all you need to do is upload them to the plugin's icons folder, and they'll be available for immediate use."
431
- msgstr "Os ícones pré-instalados para as categorias podem não ser úteis para suas necessidades específicas. Cada usurário deverá fazer upload de seus próprios ícones -- tudo o que você precisa é subi-los à pasta dos ícones de plugin e eles estarão disponíveis para uso."
432
 
433
- #: my-calendar-help.php:33
434
  msgid "Your icons folder is:"
435
  msgstr "Sua pasta de ícones é:"
436
 
437
- #: my-calendar-help.php:41
 
 
 
 
438
  msgid "Widget Templating"
439
  msgstr "Templates de Widget"
440
 
441
- #: my-calendar-help.php:44
442
  msgid "These codes are available in calendar widgets to create your own custom calendar format."
443
- msgstr "Estes códigos estão disponíveis nos widgets de calendário para que crie seu próprio formato."
444
 
445
- #: my-calendar-help.php:48
446
  msgid "Displays the name of the category the event is in."
447
- msgstr "Mostra o nome da ctegoria do evento."
448
 
449
- #: my-calendar-help.php:51
450
  msgid "Displays the title of the event."
451
- msgstr "Mostra o título do evento."
452
 
453
- #: my-calendar-help.php:54
454
  msgid "Displays the start time for the event."
455
- msgstr "Mostra a hora de início do evento."
 
 
 
 
456
 
457
- #: my-calendar-help.php:57
458
  msgid "Displays the date on which the event begins."
459
- msgstr "Mostra a data de início do evento."
 
 
 
 
460
 
461
- #: my-calendar-help.php:60
 
 
 
 
462
  msgid "Displays the WordPress author who posted the event."
463
- msgstr "Mostra o autor que publicou o evento."
464
 
465
- #: my-calendar-help.php:63
466
  msgid "Displays the URL provided for the event."
467
- msgstr "Mostra a URL associada ao evento."
468
 
469
- #: my-calendar-help.php:66
470
  msgid "Displays the description of the event."
471
  msgstr "Mostra a descrição do evento."
472
 
473
- #: my-calendar-help.php:69
474
  msgid "Displays title of the event as a link if a URL is present, or the title alone if no URL is available."
475
- msgstr "Mostra o título do evento como um link se uma URL preenchida, ou somente o título se não há."
476
 
477
- #: my-calendar-help.php:72
478
  msgid "Displays the name of the location of the event."
479
- msgstr "Mostra o nome do local do evento."
480
 
481
- #: my-calendar-help.php:75
482
  msgid "Displays the first line of the site address."
483
- msgstr "Mostra a primeira linha do endereço."
484
 
485
- #: my-calendar-help.php:78
486
  msgid "Displays the second line of the site address."
487
- msgstr "Mostra a segunda linha do endereço."
488
 
489
- #: my-calendar-help.php:81
490
  msgid "Displays the city for the event."
491
- msgstr "Mostra a cidade do evento."
492
 
493
- #: my-calendar-help.php:84
494
  msgid "Displays the state for the event."
495
- msgstr "Mostra o estado do evento."
496
 
497
- #: my-calendar-help.php:87
498
  msgid "Displays the postcode for the event."
499
- msgstr "Mostra o código postal do evento."
500
 
501
- #: my-calendar-help.php:90
502
  msgid "Displays the country for the event location."
503
- msgstr "Mostra o país do evento."
504
 
505
- #: my-calendar-help.php:93
506
  msgid "Displays the event address in <a href=\"http://microformats.org/wiki/hcard\">hcard</a> format."
507
- msgstr "Mostra o endereço em formato <a href=\"http://microformats.org/wiki/hcard\">hcard</a>."
508
 
509
- #: my-calendar-help.php:96
510
  msgid "Displays a link to a Google Map of the event, if sufficient address information is available. If not, will be empty."
511
- msgstr "Mostra um link do evento no Google Maps, se suficiente informação sobre o endereço. Se não, estará vazio."
512
-
513
- #: my-calendar-settings.php:67
514
- msgid "Settings saved"
515
- msgstr "Opções salvas"
516
-
517
- #: my-calendar-settings.php:94
518
- msgid "My Calendar Options"
519
- msgstr "Opções My Calendar "
520
-
521
- #: my-calendar-settings.php:98
522
- msgid "Calendar Settings"
523
- msgstr "Opções de calendário"
524
-
525
- #: my-calendar-settings.php:102
526
- msgid "Primary Calendar Options"
527
- msgstr "Opciones primárias de Calendario"
528
-
529
- #: my-calendar-settings.php:104
530
- msgid "Choose the lowest user group that may manage events"
531
- msgstr "Preencha o grupo mais básico de usuários que poderá administrar eventos."
532
-
533
- #: my-calendar-settings.php:105
534
- msgid "Subscriber"
535
- msgstr "Inscrito"
536
-
537
- #: my-calendar-settings.php:106
538
- msgid "Contributor"
539
- msgstr "Colaborador"
540
-
541
- #: my-calendar-settings.php:108
542
- msgid "Editor"
543
- msgstr "Editor"
544
-
545
- #: my-calendar-settings.php:109
546
- msgid "Administrator"
547
- msgstr "Administrador"
548
-
549
- #: my-calendar-settings.php:113
550
- msgid "Do you want to display the author name on events?"
551
- msgstr "Deseja mostrar o nome do autor nos eventos?"
552
-
553
- #: my-calendar-settings.php:114
554
- #: my-calendar-settings.php:120
555
- msgid "Yes"
556
- msgstr "Sim"
557
-
558
- #: my-calendar-settings.php:115
559
- #: my-calendar-settings.php:121
560
- msgid "No"
561
- msgstr "Não"
562
-
563
- #: my-calendar-settings.php:119
564
- msgid "Display a jumpbox for changing month and year quickly?"
565
- msgstr "Mostrar uma caixa de opções para modificar mês e ano rapidamente?"
566
-
567
- #: my-calendar-settings.php:125
568
- msgid "In list mode, show how many months of events at a time:"
569
- msgstr "Em modo lista, quantos meses serão mostrados de uma só vez:"
570
-
571
- #: my-calendar-settings.php:128
572
- msgid "Date format in list mode"
573
- msgstr "Formato de data em modo lista"
574
-
575
- #: my-calendar-settings.php:129
576
- msgid "Date format uses the same syntax as the <a href=\"http://php.net/date\">PHP <code>date()</code> function</a>. Save option to update sample output."
577
- msgstr "O formato de data usa a mesma sintaxe que a <a href=\"http://php.net/date\">funcion PHP <code>date()</code></a>. Salve para ver o exemplo."
578
-
579
- #: my-calendar-settings.php:132
580
- msgid "Show Link to Google Map (when sufficient address information is available.)"
581
- msgstr "Mostrar um link para o Google Map (quando houver informação suficiente)"
582
-
583
- #: my-calendar-settings.php:133
584
- msgid "Show Event Address in Details"
585
- msgstr "Mostrar o endereço do evento em Detalhes"
586
-
587
- #: my-calendar-settings.php:137
588
- msgid "Calendar Styles"
589
- msgstr "Estilos de Calendario"
590
-
591
- #: my-calendar-settings.php:139
592
- msgid "Reset the My Calendar style to default"
593
- msgstr "\"Reset\" Restaurar os padrões de estilo do calendário"
594
-
595
- #: my-calendar-settings.php:140
596
- msgid "Disable My Calendar Stylesheet"
597
- msgstr "Desativar o estilo para My Calendar"
598
-
599
- #: my-calendar-settings.php:143
600
- msgid "Edit the stylesheet for My Calendar"
601
- msgstr "Editar o estilo para My Calendar"
602
-
603
- #: my-calendar-settings.php:147
604
- msgid "Calendar Behaviors"
605
- msgstr "Comportamentos do Calendário"
606
 
607
- #: my-calendar-settings.php:149
608
- msgid "Disable List Javascript Effects"
609
- msgstr "Desativar efeitos de lista Javascript "
610
 
611
- #: my-calendar-settings.php:150
612
- msgid "Disable Calendar Javascript Effects"
613
- msgstr "Desativar efeitos Javascript no Calendário"
614
 
615
- #: my-calendar-settings.php:153
616
- msgid "Save"
617
- msgstr "Salvar"
618
 
619
- #: my-calendar-widgets.php:11
620
- #: my-calendar-widgets.php:42
621
- #: my-calendar-widgets.php:43
622
- msgid "Today's Events"
623
- msgstr "Eventos de hoje"
624
 
625
- #: my-calendar-widgets.php:36
626
- #: my-calendar-widgets.php:112
627
- msgid "Template"
628
- msgstr "Template (Modelo)"
629
 
630
- #: my-calendar-widgets.php:56
631
- #: my-calendar-widgets.php:135
632
- #: my-calendar-widgets.php:136
633
- msgid "Upcoming Events"
634
- msgstr "Próximos eventos"
635
 
636
- #: my-calendar-widgets.php:116
637
- msgid "Widget Options"
638
- msgstr "Opções de Widget"
639
 
640
- #: my-calendar-widgets.php:118
641
- msgid "Display upcoming events by:"
642
- msgstr "Mostrar próximos eventos por:"
643
 
644
- #: my-calendar-widgets.php:119
645
- msgid "Events (e.g. 2 past, 3 future)"
646
- msgstr "Eventos (ex. 2 passados, 3 futuros)"
647
 
648
- #: my-calendar-widgets.php:120
649
- msgid "Dates (e.g. 4 days past, 5 forward)"
650
- msgstr "Data (ex. 2 dias atrás, 3 dias seguintes)"
651
 
652
- #: my-calendar-widgets.php:124
653
- msgid "events into the future;"
654
- msgstr "Eventos futuros"
655
 
656
- #: my-calendar-widgets.php:125
657
- msgid "events from the past"
658
- msgstr "Eventos passados"
659
 
660
- #: my-calendar-widgets.php:128
661
- msgid "days into the future;"
662
- msgstr "Dias no futuro;"
663
 
664
- #: my-calendar-widgets.php:129
665
- msgid "days from the past"
666
- msgstr "Dias no passado"
667
 
668
- #: my-calendar.php:46
669
- #: my-calendar.php:128
670
- msgid "Settings"
671
- msgstr "opções"
672
 
673
- #: my-calendar.php:65
674
- msgid "Get Support"
675
- msgstr "Obter suporte"
676
 
677
- #: my-calendar.php:66
678
- msgid "Make a Donation"
679
- msgstr "Fazer uma doação"
680
 
681
- #. #-#-#-#-# plugin.pot (My Calendar 1.0.0) #-#-#-#-#
682
- #. Plugin Name of the plugin/theme
683
- #: my-calendar.php:120
684
- msgid "My Calendar"
685
- msgstr "My Calendar"
686
 
687
- #: my-calendar.php:123
688
- msgid "Add/Edit Events"
689
- msgstr "Adicionar/editar um Evento"
690
 
691
- #: my-calendar.php:129
692
- msgid "My Calendar Help"
693
- msgstr "My Calendar Ajuda"
 
694
 
695
- #: my-calendar.php:129
696
- msgid "Help"
697
- msgstr "Ajuda"
698
 
699
- #: my-calendar.php:662
700
- #: my-calendar.php:666
701
- #: my-calendar.php:676
702
- #: my-calendar.php:678
703
- msgid "Next Events"
704
- msgstr "Próximos eventos"
705
 
706
- #: my-calendar.php:691
707
- #: my-calendar.php:695
708
- #: my-calendar.php:705
709
- #: my-calendar.php:707
710
- msgid "Previous Events"
711
- msgstr "Eventos Anteriores"
712
-
713
- #: my-calendar.php:790
714
  msgid "Event Details"
715
  msgstr "Detalhes do Evento"
716
 
717
- #: my-calendar.php:796
 
 
 
 
 
 
 
 
718
  msgid "Not Applicable"
719
- msgstr "Não aplicável"
720
 
721
- #: my-calendar.php:804
722
  msgid "Posted by"
723
- msgstr "Escrito por"
 
 
 
 
724
 
725
- #: my-calendar.php:1284
726
  msgid "Month"
727
  msgstr "Mês"
728
 
729
- #: my-calendar.php:1285
730
- #: my-calendar.php:1346
731
  msgid "January"
732
  msgstr "Janeiro"
733
 
734
- #: my-calendar.php:1286
735
- #: my-calendar.php:1346
736
  msgid "February"
737
  msgstr "Fevereiro"
738
 
739
- #: my-calendar.php:1287
740
- #: my-calendar.php:1346
741
  msgid "March"
742
  msgstr "Março"
743
 
744
- #: my-calendar.php:1288
745
- #: my-calendar.php:1346
746
  msgid "April"
747
  msgstr "Abril"
748
 
749
- #: my-calendar.php:1289
750
- #: my-calendar.php:1346
751
  msgid "May"
752
  msgstr "Maio"
753
 
754
- #: my-calendar.php:1290
755
- #: my-calendar.php:1346
756
  msgid "June"
757
  msgstr "Junho"
758
 
759
- #: my-calendar.php:1291
760
- #: my-calendar.php:1346
761
  msgid "July"
762
  msgstr "Julho"
763
 
764
- #: my-calendar.php:1292
765
- #: my-calendar.php:1346
766
  msgid "August"
767
  msgstr "Agosto"
768
 
769
- #: my-calendar.php:1293
770
- #: my-calendar.php:1346
771
  msgid "September"
772
  msgstr "Setembro"
773
 
774
- #: my-calendar.php:1294
775
- #: my-calendar.php:1346
776
  msgid "October"
777
  msgstr "Outubro"
778
 
779
- #: my-calendar.php:1295
780
- #: my-calendar.php:1346
781
  msgid "November"
782
  msgstr "Novembro"
783
 
784
- #: my-calendar.php:1296
785
- #: my-calendar.php:1346
786
  msgid "December"
787
  msgstr "Dezembro"
788
 
789
- #: my-calendar.php:1298
790
  msgid "Year"
791
- msgstr "Ano"
792
 
793
- #: my-calendar.php:1321
794
  msgid "Go"
795
  msgstr "Ir"
796
 
797
- #: my-calendar.php:1339
798
- #: my-calendar.php:1342
799
  msgid "<abbr title=\"Sunday\">Sun</abbr>"
800
  msgstr "<abbr title=\"Domingo\">Dom</abbr>"
801
 
802
- #: my-calendar.php:1339
803
- #: my-calendar.php:1342
804
  msgid "<abbr title=\"Monday\">Mon</abbr>"
805
- msgstr "<abbr title=\"Lunes\">Seg</abbr>"
806
 
807
- #: my-calendar.php:1339
808
- #: my-calendar.php:1342
809
  msgid "<abbr title=\"Tuesday\">Tues</abbr>"
810
- msgstr "<abbr title=\"Martes\">Ter</abbr>"
811
 
812
- #: my-calendar.php:1339
813
- #: my-calendar.php:1342
814
  msgid "<abbr title=\"Wednesday\">Wed</abbr>"
815
- msgstr "<abbr title=\"Miercoles\">Qua</abbr>"
816
 
817
- #: my-calendar.php:1339
818
- #: my-calendar.php:1342
819
  msgid "<abbr title=\"Thursday\">Thur</abbr>"
820
- msgstr "<abbr title=\"Jueves\">Qui</abbr>"
821
 
822
- #: my-calendar.php:1339
823
- #: my-calendar.php:1342
824
  msgid "<abbr title=\"Friday\">Fri</abbr>"
825
- msgstr "<abbr title=\"Viernes\">Sex</abbr>"
826
 
827
- #: my-calendar.php:1339
828
- #: my-calendar.php:1342
829
  msgid "<abbr title=\"Saturday\">Sat</abbr>"
830
- msgstr "<abbr title=\"Sabado\">Sab</abbr>"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
831
 
832
- #: my-calendar.php:1427
833
- #: my-calendar.php:1430
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
834
  msgid "Calendar"
835
  msgstr "Calendário"
836
 
837
- #: my-calendar.php:1434
838
  msgid "Events in"
839
- msgstr "Evento em"
840
 
841
- #: my-calendar.php:1543
842
  msgid "There are no events scheduled during this period."
843
- msgstr "Não há evento agendados nesse período"
844
 
845
- #: my-calendar.php:1553
846
  msgid "Category Key"
847
- msgstr "Chave de categoria"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
848
 
849
  #. Plugin URI of the plugin/theme
850
  msgid "http://www.joedolson.com/articles/my-calendar/"
@@ -852,11 +1624,11 @@ msgstr "http://www.joedolson.com/articles/my-calendar/"
852
 
853
  #. Description of the plugin/theme
854
  msgid "Accessible WordPress event calendar plugin. Show events from multiple calendars on pages, in posts, or in widgets."
855
- msgstr "Plugin de Wordpress acessível para calendário de ventos. Mostra eventos de vários calendários em páginas, em entradas ou um widgets."
856
 
857
  #. Author of the plugin/theme
858
  msgid "Joseph C Dolson"
859
- msgstr "Author: Joseph C Dolson - Brazilian Portuguese Translator: Daniel Prata"
860
 
861
  #. Author URI of the plugin/theme
862
  msgid "http://www.joedolson.com"
1
+ # Translation of the WordPress plugin My Calendar 1.6.2 by Joseph C Dolson.
2
  # Copyright (C) 2010 Joseph C Dolson
3
  # This file is distributed under the same license as the My Calendar package.
4
  # FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
5
  #
6
  msgid ""
7
  msgstr ""
8
+ "Project-Id-Version: My Calendar 1.6.2\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/my-calendar\n"
10
+ "POT-Creation-Date: 2010-12-10 22:24+0000\n"
11
+ "PO-Revision-Date: 2010-12-14 18:54-0300\n"
12
+ "Last-Translator: Leonardo Kfoury <lkmd@click21.com.br>\n"
13
+ "Language-Team: LANGUAGE <LL@li.org>\n"
14
  "MIME-Version: 1.0\n"
15
  "Content-Type: text/plain; charset=utf-8\n"
16
  "Content-Transfer-Encoding: 8bit\n"
 
 
17
 
18
+ #: my-calendar-behaviors.php:32
19
+ msgid "Behavior Settings saved"
20
+ msgstr "Comportamento Configurações salvas"
21
+
22
+ #: my-calendar-behaviors.php:52
23
+ msgid "My Calendar Behaviors"
24
+ msgstr "Comportamentos do Calendário"
25
+
26
+ #: my-calendar-behaviors.php:56
27
+ msgid "Calendar Behavior Settings"
28
+ msgstr "Comportamento do calendário: Definições"
29
+
30
+ #: my-calendar-behaviors.php:60
31
+ msgid "Apply JavaScript only on these pages (comma separated page IDs)"
32
+ msgstr "Aplicar JavaScript apenas nestas páginas (IDs das páginas separados por vírgula)"
33
+
34
+ #: my-calendar-behaviors.php:63
35
+ msgid "Calendar Behaviors: Calendar View"
36
+ msgstr "Comportamentos do Calendário: Ver Calendário"
37
+
38
+ #: my-calendar-behaviors.php:65
39
+ msgid "Reset the My Calendar Calendar Javascript"
40
+ msgstr "Redefinir (reset) o Javascript do Calendário"
41
+
42
+ #: my-calendar-behaviors.php:65
43
+ msgid "Disable Calendar Javascript Effects"
44
+ msgstr "Desativar os efeitos JavaScript no Calendário"
45
+
46
+ #: my-calendar-behaviors.php:68
47
+ msgid "Edit the jQuery scripts for My Calendar in Calendar format"
48
+ msgstr "Editar os scripts jQuery para o Calendário no formato de calendário"
49
+
50
+ #: my-calendar-behaviors.php:71
51
+ #: my-calendar-behaviors.php:83
52
+ #: my-calendar-behaviors.php:95
53
+ #: my-calendar-styles.php:54
54
+ msgid "Save"
55
+ msgstr "Salvar"
56
+
57
+ #: my-calendar-behaviors.php:75
58
+ msgid "Calendar Behaviors: List View"
59
+ msgstr "Comportamentos de calendário: Exibir lista"
60
+
61
+ #: my-calendar-behaviors.php:77
62
+ msgid "Reset the My Calendar List Javascript"
63
+ msgstr "Redefinir (reset) no calendário a lista JavaScript"
64
+
65
+ #: my-calendar-behaviors.php:77
66
+ msgid "Disable List Javascript Effects"
67
+ msgstr "Desativar a lista de efeitos de JavaScript"
68
+
69
+ #: my-calendar-behaviors.php:80
70
+ msgid "Edit the jQuery scripts for My Calendar in List format"
71
+ msgstr "Edite os scripts jQuery para o calendário em formato de lista"
72
+
73
+ #: my-calendar-behaviors.php:87
74
+ msgid "Calendar Behaviors: Mini Calendar View"
75
+ msgstr "Comportamentos do Calendário: Ver Calendário Mini"
76
+
77
+ #: my-calendar-behaviors.php:89
78
+ msgid "Reset the My Calendar Mini Format Javascript"
79
+ msgstr "Redefinir(reset) o Javascript do Calendário Formato Mini"
80
+
81
+ #: my-calendar-behaviors.php:89
82
+ msgid "Disable Mini Javascript Effects"
83
+ msgstr "Desativar Efeitos Javascript em Mini"
84
+
85
+ #: my-calendar-behaviors.php:92
86
+ msgid "Edit the jQuery scripts for My Calendar in Mini Calendar format"
87
+ msgstr "Edite os scripts jQuery para o Calendário no formato Mini Calendário"
88
+
89
+ #: my-calendar-categories.php:41
90
  msgid "Category added successfully"
91
  msgstr "Categoria adicionada com sucesso"
92
 
93
+ #: my-calendar-categories.php:43
94
+ msgid "Category addition failed."
95
+ msgstr "Falha ao adicionar categoria."
96
+
97
+ #: my-calendar-categories.php:53
98
+ msgid "Category deleted successfully. Categories in calendar updated."
99
+ msgstr "Categoria excluída com sucesso. Categorias atualizadas no Calendário."
100
+
101
+ #: my-calendar-categories.php:55
102
+ msgid "Category deleted successfully. Categories in calendar not updated."
103
+ msgstr "Categoria excluída com sucesso. Categorias não atualizadas no Calendário."
104
+
105
+ #: my-calendar-categories.php:57
106
+ msgid "Category not deleted. Categories in calendar updated."
107
+ msgstr "Categoria não foi excluída. Categorias atualizadas no Calendário."
108
 
109
+ #: my-calendar-categories.php:66
110
+ msgid "Category edited successfully"
111
+ msgstr "Categoria editada com sucesso"
112
+
113
+ #: my-calendar-categories.php:88
114
+ #: my-calendar-categories.php:112
115
+ #: my-calendar-categories.php:130
116
+ msgid "Add Category"
117
+ msgstr "Adicionar Categoria"
118
+
119
+ #: my-calendar-categories.php:90
120
+ #: my-calendar-categories.php:112
121
  msgid "Edit Category"
122
  msgstr "Editar Categoria"
123
 
124
+ #: my-calendar-categories.php:97
125
  msgid "Category Editor"
126
+ msgstr "Editor da categoria"
127
 
128
+ #: my-calendar-categories.php:113
129
+ #: my-calendar-categories.php:156
 
130
  msgid "Category Name"
131
  msgstr "Nome da Categoria"
132
 
133
+ #: my-calendar-categories.php:114
 
134
  msgid "Category Color (Hex format)"
135
  msgstr "Cor da Categoria (formato Hex)"
136
 
137
+ #: my-calendar-categories.php:115
138
+ #: my-calendar-categories.php:158
 
139
  msgid "Category Icon"
140
  msgstr "Ícone da Categoria"
141
 
142
+ #: my-calendar-categories.php:130
143
+ #: my-calendar-locations.php:121
144
  msgid "Save Changes"
145
  msgstr "Salvar Alterações"
146
 
147
+ #: my-calendar-categories.php:143
148
+ #: my-calendar.php:186
 
 
 
 
 
 
 
 
 
 
 
 
 
 
149
  msgid "Manage Categories"
150
  msgstr "Gerenciar Categorias"
151
 
152
+ #: my-calendar-categories.php:155
153
+ #: my-calendar-event-manager.php:682
154
+ #: my-calendar-locations.php:147
155
  msgid "ID"
156
  msgstr "ID"
157
 
158
+ #: my-calendar-categories.php:157
159
  msgid "Category Color"
160
  msgstr "Cor da Categoria"
161
 
162
+ #: my-calendar-categories.php:159
163
+ #: my-calendar-categories.php:173
164
+ #: my-calendar-event-manager.php:743
165
+ #: my-calendar-locations.php:149
166
+ #: my-calendar-locations.php:161
167
  msgid "Edit"
168
  msgstr "Editar"
169
 
170
+ #: my-calendar-categories.php:160
171
+ #: my-calendar-categories.php:179
172
+ #: my-calendar-event-manager.php:73
173
+ #: my-calendar-event-manager.php:743
174
+ #: my-calendar-locations.php:150
175
+ #: my-calendar-locations.php:162
176
  msgid "Delete"
177
  msgstr "Excluir"
178
 
179
+ #: my-calendar-categories.php:176
180
+ #: my-calendar-event-manager.php:724
181
+ #: my-calendar-output.php:128
182
+ #: my-calendar-settings.php:248
183
  msgid "N/A"
184
+ msgstr "N/A"
185
 
186
+ #: my-calendar-categories.php:179
187
+ #: my-calendar-locations.php:162
188
  msgid "Are you sure you want to delete this category?"
189
+ msgstr "Tem certeza que quer excluir esta categoria?"
190
 
191
+ #: my-calendar-categories.php:190
192
  msgid "There are no categories in the database - something has gone wrong!"
193
+ msgstr "Não há categorias no banco de dados - algo está errado!"
194
+
195
+ #: my-calendar-event-manager.php:27
196
+ #: my-calendar-settings.php:436
197
+ msgid "My Calendar has identified that you have the Calendar plugin by Kieran O'Shea installed. You can import those events and categories into the My Calendar database. Would you like to import these events?"
198
+ msgstr "O Calendário identificou que você tem instalado o plugin My Calendar por Kieran O'Shea. Você pode importar os eventos e categorias do banco de dados do My Calendar. Gostaria de importar esses eventos?"
199
+
200
+ #: my-calendar-event-manager.php:33
201
+ #: my-calendar-settings.php:442
202
+ msgid "Import from Calendar"
203
+ msgstr "Importação do Calendário"
204
+
205
+ #: my-calendar-event-manager.php:38
206
+ msgid "Although it is possible that this import could fail to import your events correctly, it should not have any impact on your existing Calendar database. If you encounter any problems, <a href=\"http://www.joedolson.com/contact.php\">please contact me</a>!"
207
+ msgstr "Embora seja possível esta importação falhar e deixar de importar os seus eventos corretamente, não deve ter nenhum impacto sobre o banco de dados do Calendário existente. Se você encontrar quaisquer problemas, <a href=\"http://www.joedolson.com/contact.php\"> entre em contato comigo</a> !"
208
 
209
+ #: my-calendar-event-manager.php:68
210
  msgid "Delete Event"
211
+ msgstr "Excluir Evento"
212
 
213
+ #: my-calendar-event-manager.php:68
214
  msgid "Are you sure you want to delete this event?"
215
+ msgstr "Tem certeza que quer apagar este evento?"
216
+
217
+ #: my-calendar-event-manager.php:81
218
+ msgid "You do not have permission to delete that event."
219
+ msgstr "Você não tem permissão para excluir o evento."
220
+
221
+ #: my-calendar-event-manager.php:96
222
+ #: my-calendar-event-manager.php:211
223
+ msgid "You do not have permission to approve that event."
224
+ msgstr "Você não tem permissão para aprovar esse evento."
225
+
226
+ #: my-calendar-event-manager.php:110
227
+ #: my-calendar-event-manager.php:225
228
+ msgid "You do not have permission to reject that event."
229
+ msgstr "Você não tem permissão para rejeitar esse evento."
230
+
231
+ #: my-calendar-event-manager.php:133
232
+ #: my-calendar-event-manager.php:156
233
+ #: my-calendar-event-manager.php:180
234
+ #: my-calendar-event-manager.php:195
235
+ #: my-calendar-event-manager.php:875
236
+ #: my-calendar-event-manager.php:880
237
+ #: my-calendar-event-manager.php:885
238
+ #: my-calendar-event-manager.php:897
239
+ #: my-calendar-event-manager.php:907
240
+ #: my-calendar-event-manager.php:915
241
+ #: my-calendar-event-manager.php:924
242
+ #: my-calendar-event-manager.php:932
243
  msgid "Error"
244
  msgstr "Erro"
245
 
246
+ #: my-calendar-event-manager.php:133
247
+ msgid "I'm sorry! I couldn't add that event to the database."
248
+ msgstr "Desculpe! Esse Evento não pode ser adicionar ao banco de dados."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
249
 
250
  #: my-calendar-event-manager.php:135
 
 
 
 
 
 
 
 
 
 
 
 
 
 
251
  msgid "Event added. It will now show in your calendar."
252
+ msgstr "Evento adicionado. Agora será exibido no seu calendário."
253
 
254
+ #: my-calendar-event-manager.php:156
255
+ msgid "Your event was not updated."
256
+ msgstr "Seu Evento não foi atualizado."
 
 
 
 
 
257
 
258
+ #: my-calendar-event-manager.php:160
259
+ msgid "Nothing was changed in that update."
260
+ msgstr "Nada foi alterado com a atualização."
261
 
262
+ #: my-calendar-event-manager.php:164
263
  msgid "Event updated successfully"
264
+ msgstr "Evento atualizado com sucesso"
265
 
266
+ #: my-calendar-event-manager.php:170
267
+ msgid "You do not have sufficient permissions to edit that event."
268
+ msgstr "Você não tem permissões para editar esse evento."
269
+
270
+ #: my-calendar-event-manager.php:180
271
  msgid "You can't delete an event if you haven't submitted an event id"
272
+ msgstr "Não é possível excluir um evento se você ainda não enviou um ID de Evento"
273
 
274
+ #: my-calendar-event-manager.php:191
275
  msgid "Event deleted successfully"
276
+ msgstr "Evento excluido com sucesso"
277
 
278
+ #: my-calendar-event-manager.php:195
279
  msgid "Despite issuing a request to delete, the event still remains in the database. Please investigate."
280
+ msgstr "Apesar de emitir um pedido para excluir, o evento permanece no banco de dados. Por favor, investigar."
281
 
282
+ #: my-calendar-event-manager.php:242
283
+ #: my-calendar-event-manager.php:345
284
  msgid "Edit Event"
285
+ msgstr "Editar Evento"
286
 
287
+ #: my-calendar-event-manager.php:246
288
+ #: my-calendar-event-manager.php:255
289
  msgid "You must provide an event id in order to edit it"
290
+ msgstr "Você deve fornecer um ID de evento, para editá-lo"
291
+
292
+ #: my-calendar-event-manager.php:251
293
+ #: my-calendar-event-manager.php:345
294
+ msgid "Copy Event"
295
+ msgstr "Copiar Evento"
296
 
297
+ #: my-calendar-event-manager.php:261
298
  msgid "Add Event"
299
+ msgstr "Adicionar Evento"
300
 
301
+ #: my-calendar-event-manager.php:266
302
  msgid "Manage Events"
303
+ msgstr "Gerenciar Eventos"
304
 
305
+ #: my-calendar-event-manager.php:317
306
  msgid "Sorry! That's an invalid event key."
307
+ msgstr "Desculpe! Esta é uma entrada inválida de Evento."
308
 
309
+ #: my-calendar-event-manager.php:322
310
  msgid "Sorry! We couldn't find an event with that ID."
311
+ msgstr "Desculpe! Não encontramos um evento com essa identificação (ID)."
312
 
313
+ #: my-calendar-event-manager.php:345
314
  msgid "Add an Event"
315
  msgstr "Adicionar um evento"
316
 
317
+ #: my-calendar-event-manager.php:349
318
+ msgid "This event must be approved in order for it to appear on the calendar."
319
+ msgstr "Esse evento precisa ser aprovado para que ele apareça no calendário."
320
+
321
+ #: my-calendar-event-manager.php:364
322
  msgid "Enter your Event Information"
323
+ msgstr "Digite as informações do Evento"
324
 
325
+ #: my-calendar-event-manager.php:366
326
  msgid "Event Title"
327
+ msgstr "Título do Evento"
328
+
329
+ #: my-calendar-event-manager.php:370
330
+ msgid "Publish"
331
+ msgstr "Publicar"
332
+
333
+ #: my-calendar-event-manager.php:370
334
+ msgid "You must approve this event to promote it to the calendar."
335
+ msgstr "Você precisa aprovar esse evento para publicá-lo no calendário."
336
+
337
+ #: my-calendar-event-manager.php:372
338
+ msgid "An administrator must approve your new event."
339
+ msgstr "Um administrador deve aprovar o seu novo evento."
340
 
341
+ #: my-calendar-event-manager.php:384
342
  msgid "Event Description (<abbr title=\"hypertext markup language\">HTML</abbr> allowed)"
343
+ msgstr "Descrição do evento (<abbr title=\"linguagem de marcação de hipertext\">HTML </abbr> permitido)"
344
+
345
+ #: my-calendar-event-manager.php:389
346
+ msgid "Event Short Description (<abbr title=\"hypertext markup language\">HTML</abbr> allowed)"
347
+ msgstr "Breve descrição do evento (<abbr title=\"linguagem de marcação de hipertext\">HTML </abbr> permitido)"
348
+
349
+ #: my-calendar-event-manager.php:405
350
+ msgid "Event Host"
351
+ msgstr "Anfitrião do Evento"
352
 
353
+ #: my-calendar-event-manager.php:426
354
  msgid "Event Category"
355
  msgstr "Categoria do Evento"
356
 
357
+ #: my-calendar-event-manager.php:451
358
  msgid "Event Link (Optional)"
359
+ msgstr "Link do Evento(Opcional)"
360
 
361
+ #: my-calendar-event-manager.php:451
362
+ msgid "This link will expire when the event passes."
363
+ msgstr "Este link irá expirar quando o evento passar."
364
+
365
+ #: my-calendar-event-manager.php:455
366
  msgid "Start Date (YYYY-MM-DD)"
367
+ msgstr "Data de início (AAAA-MM-DD)"
368
 
369
+ #: my-calendar-event-manager.php:458
370
  msgid "End Date (YYYY-MM-DD) (Optional)"
371
+ msgstr "Data de Término (AAAA-MM-DD) (Opcional)"
372
 
373
+ #: my-calendar-event-manager.php:461
374
  msgid "Time (hh:mm)"
375
+ msgstr "Hora (hh:mm)"
376
 
377
+ #: my-calendar-event-manager.php:473
378
  msgid "Optional, set blank if your event is an all-day event or does not happen at a specific time."
379
+ msgstr "Opcional, definido Em Branco se o evento é de dia inteiro ou não acontece em um momento específico."
380
 
381
+ #: my-calendar-event-manager.php:473
382
  msgid "Current time difference from GMT is "
383
+ msgstr "A diferença do tempo GMT atual é "
384
 
385
+ #: my-calendar-event-manager.php:473
386
  msgid " hour(s)"
387
+ msgstr "hora(s)"
388
 
389
+ #: my-calendar-event-manager.php:476
390
+ msgid "End Time (hh:mm)"
391
+ msgstr "Hora do fim (hh:mm)"
392
+
393
+ #: my-calendar-event-manager.php:486
394
+ msgid "Optional. End times will not be displayed on events where this is not set."
395
+ msgstr "Opcional. \"End times\" não serão exibidos nos eventos em que estas configurações não estão definidas."
396
+
397
+ #: my-calendar-event-manager.php:491
398
  msgid "Recurring Events"
399
  msgstr "Eventos Recorrentes"
400
 
401
+ #: my-calendar-event-manager.php:494
402
  msgid "Repeats for"
403
+ msgstr "Repete "
404
 
405
+ #: my-calendar-event-manager.php:495
406
  msgid "Units"
407
  msgstr "Unidades"
408
 
409
+ #: my-calendar-event-manager.php:496
410
+ msgid "Does not recur"
411
+ msgstr "Não repete"
412
+
413
+ #: my-calendar-event-manager.php:497
414
+ #: my-calendar-event-manager.php:716
415
+ msgid "Daily"
416
+ msgstr "Diário"
417
+
418
+ #: my-calendar-event-manager.php:498
419
+ #: my-calendar-event-manager.php:717
420
+ msgid "Weekly"
421
+ msgstr "Semanal"
422
 
423
+ #: my-calendar-event-manager.php:499
424
+ msgid "Bi-weekly"
425
+ msgstr "Bi-semanal"
426
+
427
+ #: my-calendar-event-manager.php:500
428
+ msgid "Date of Month (e.g., the 24th of each month)"
429
+ msgstr "Data do mês (por exemplo, a 24 de cada mês)"
430
+
431
+ #: my-calendar-event-manager.php:501
432
+ msgid "Day of Month (e.g., the 3rd Monday of each month)"
433
+ msgstr "Dia do mês (por exemplo, a terceira segunda-feira de cada mês)"
434
+
435
+ #: my-calendar-event-manager.php:502
436
+ msgid "Annually"
437
+ msgstr "Anualmente"
438
+
439
+ #: my-calendar-event-manager.php:504
440
+ msgid "Entering 0 means forever, if a unit is selected. If the recurrence unit is left at \"Does not recur,\" the event will not reoccur."
441
+ msgstr "Entrando 0 significa para sempre. Uma unidade selecionada marca a quantidade. Se for deixado em \"não se repita,\" o evento não ocorrerá novamente."
442
+
443
+ #: my-calendar-event-manager.php:515
444
+ msgid "Event Registration Status"
445
+ msgstr "Status de registro do evento"
446
+
447
+ #: my-calendar-event-manager.php:517
448
+ msgid "Open"
449
+ msgstr "Aberto"
450
+
451
+ #: my-calendar-event-manager.php:518
452
+ msgid "Closed"
453
+ msgstr "Fechado"
454
+
455
+ #: my-calendar-event-manager.php:519
456
+ msgid "Does not apply"
457
+ msgstr "Não se aplica"
458
+
459
+ #: my-calendar-event-manager.php:522
460
+ msgid "If this event recurs, it can only be registered for as a complete series."
461
+ msgstr "Se este evento se repete, só pode ser registrado para uma série completa."
462
+
463
+ #: my-calendar-event-manager.php:532
464
+ #: my-calendar-locations.php:81
465
+ msgid "Event Location"
466
+ msgstr "Local do evento"
467
+
468
+ #: my-calendar-event-manager.php:541
469
+ msgid "Choose a preset location:"
470
+ msgstr "Escolha um local pré-definido:"
471
+
472
+ #: my-calendar-event-manager.php:555
473
+ msgid "Add recurring locations for later use."
474
+ msgstr "Adicionar locais recorrentes para uso posterior."
475
+
476
+ #: my-calendar-event-manager.php:564
477
+ #: my-calendar-locations.php:83
478
  msgid "All location fields are optional: <em>insufficient information may result in an inaccurate map</em>."
479
+ msgstr "Todos os campos sobre o Local são opcionais: <em>informação insuficiente pode resultar em um mapa impreciso</em>."
480
 
481
+ #: my-calendar-event-manager.php:567
482
+ #: my-calendar-locations.php:86
483
  msgid "Name of Location (e.g. <em>Joe's Bar and Grill</em>)"
484
+ msgstr "Nome da localização (por exemplo, <em>Joe's Bar e churrascaria)</em>"
485
 
486
+ #: my-calendar-event-manager.php:570
487
+ #: my-calendar-locations.php:89
488
  msgid "Street Address"
489
+ msgstr "Endereço 1"
490
 
491
+ #: my-calendar-event-manager.php:573
492
+ #: my-calendar-locations.php:92
493
  msgid "Street Address (2)"
494
+ msgstr "Endereço (2)"
495
 
496
+ #: my-calendar-event-manager.php:576
497
+ #: my-calendar-locations.php:95
498
+ #: my-calendar-settings.php:413
499
  msgid "City"
500
  msgstr "Cidade"
501
 
502
+ #: my-calendar-event-manager.php:576
503
+ #: my-calendar-locations.php:95
504
+ #: my-calendar-settings.php:414
505
  msgid "State/Province"
506
  msgstr "Estado"
507
 
508
+ #: my-calendar-event-manager.php:576
509
+ #: my-calendar-locations.php:95
510
+ #: my-calendar-settings.php:416
511
  msgid "Postal Code"
512
+ msgstr "Código Postal (CEP)"
513
 
514
+ #: my-calendar-event-manager.php:579
515
+ #: my-calendar-locations.php:98
516
+ #: my-calendar-settings.php:415
517
  msgid "Country"
518
  msgstr "País"
519
 
520
+ #: my-calendar-event-manager.php:582
521
+ #: my-calendar-locations.php:101
522
+ msgid "Initial Zoom"
523
+ msgstr "Zoom inicial"
524
+
525
+ #: my-calendar-event-manager.php:584
526
+ #: my-calendar-locations.php:103
527
+ msgid "Neighborhood"
528
+ msgstr "Bairro"
529
+
530
+ #: my-calendar-event-manager.php:585
531
+ #: my-calendar-locations.php:104
532
+ msgid "Small City"
533
+ msgstr "Pequena Cidade"
534
+
535
+ #: my-calendar-event-manager.php:586
536
+ #: my-calendar-locations.php:105
537
+ msgid "Large City"
538
+ msgstr "Cidade Grande"
539
+
540
+ #: my-calendar-event-manager.php:587
541
+ #: my-calendar-locations.php:106
542
+ msgid "Greater Metro Area"
543
+ msgstr "Região Metropolitana"
544
+
545
+ #: my-calendar-event-manager.php:588
546
+ #: my-calendar-locations.php:107
547
+ msgid "State"
548
+ msgstr "Estado"
549
+
550
+ #: my-calendar-event-manager.php:589
551
+ #: my-calendar-locations.php:108
552
+ msgid "Region"
553
+ msgstr "Região"
554
+
555
+ #: my-calendar-event-manager.php:593
556
+ #: my-calendar-locations.php:112
557
+ msgid "GPS Coordinates (optional)"
558
+ msgstr "Coordenadas GPS (opcional)"
559
+
560
+ #: my-calendar-event-manager.php:595
561
+ msgid "If you supply GPS coordinates for your location, they will be used in place of any other address information to provide your map link."
562
+ msgstr "Se você fornecer as coordenadas do GPS da localização, será usada no lugar das outras informações de endereço para fornecer o link do mapa."
563
+
564
+ #: my-calendar-event-manager.php:598
565
+ #: my-calendar-locations.php:117
566
+ msgid "Longitude"
567
+ msgstr "Longitude"
568
+
569
+ #: my-calendar-event-manager.php:598
570
+ #: my-calendar-locations.php:117
571
+ msgid "Latitude"
572
+ msgstr "Latitude"
573
+
574
+ #: my-calendar-event-manager.php:606
575
  msgid "Save Event"
576
  msgstr "Salvar Evento"
577
 
578
+ #: my-calendar-event-manager.php:683
579
+ #: my-calendar-widgets.php:37
580
+ #: my-calendar-widgets.php:122
581
  msgid "Title"
582
  msgstr "Título"
583
 
584
+ #: my-calendar-event-manager.php:684
585
+ msgid "Link"
586
+ msgstr "Link"
587
+
588
+ #: my-calendar-event-manager.php:685
589
+ #: my-calendar-locations.php:148
590
+ msgid "Location"
591
+ msgstr "Localização"
592
+
593
+ #: my-calendar-event-manager.php:686
594
  msgid "Description"
595
  msgstr "Descrição"
596
 
597
+ #: my-calendar-event-manager.php:687
598
  msgid "Start Date"
599
+ msgstr "Data de Início"
600
 
601
+ #: my-calendar-event-manager.php:688
602
  msgid "Recurs"
603
+ msgstr "Repete"
604
 
605
+ #: my-calendar-event-manager.php:689
606
+ #: my-calendar-settings.php:224
607
+ #: my-calendar-settings.php:233
 
 
 
608
  msgid "Author"
609
  msgstr "Autor"
610
 
611
+ #: my-calendar-event-manager.php:690
612
  msgid "Category"
613
  msgstr "Categoria"
614
 
615
+ #: my-calendar-event-manager.php:691
616
  msgid "Edit / Delete"
617
+ msgstr "Editar / Excluir"
618
 
619
+ #: my-calendar-event-manager.php:715
620
  msgid "Never"
621
  msgstr "Nunca"
622
 
623
+ #: my-calendar-event-manager.php:718
624
+ msgid "Bi-Weekly"
625
+ msgstr "Bi-semana"
626
 
627
+ #: my-calendar-event-manager.php:719
628
+ msgid "Monthly (by date)"
629
+ msgstr "Mensal (por data)"
630
 
631
+ #: my-calendar-event-manager.php:720
632
+ msgid "Monthly (by day)"
633
+ msgstr "Mensal (por dia)"
634
 
635
+ #: my-calendar-event-manager.php:721
636
  msgid "Yearly"
637
+ msgstr "Anual"
638
 
639
+ #: my-calendar-event-manager.php:725
640
  msgid "Forever"
641
  msgstr "Para sempre"
642
 
643
+ #: my-calendar-event-manager.php:726
644
  msgid "Times"
645
+ msgstr "Tempos"
646
+
647
+ #: my-calendar-event-manager.php:741
648
+ msgid "Copy"
649
+ msgstr "Cópia"
650
+
651
+ #: my-calendar-event-manager.php:744
652
+ msgid "Not editable."
653
+ msgstr "Não é editável."
654
+
655
+ #: my-calendar-event-manager.php:750
656
+ msgid "Reject"
657
+ msgstr "Rejeitar"
658
 
659
+ #: my-calendar-event-manager.php:752
660
+ msgid "Approve"
661
+ msgstr "Aprovar"
662
+
663
+ #: my-calendar-event-manager.php:757
664
+ msgid "Approved"
665
+ msgstr "Aprovado"
666
+
667
+ #: my-calendar-event-manager.php:759
668
+ msgid "Rejected"
669
+ msgstr "Rejeitado"
670
+
671
+ #: my-calendar-event-manager.php:761
672
+ msgid "Awaiting Approval"
673
+ msgstr "Aguardando aprovação"
674
+
675
+ #: my-calendar-event-manager.php:774
676
  msgid "There are no events in the database!"
677
+ msgstr "Não há eventos no banco de dados!"
678
+
679
+ #: my-calendar-event-manager.php:875
680
+ msgid "Your event end date must be either after or the same as your event begin date"
681
+ msgstr "Sua data de término de evento deve ser depois ou a mesma que a data de início seu evento "
682
+
683
+ #: my-calendar-event-manager.php:880
684
+ msgid "Your date formatting is correct but one or more of your dates is invalid. Check for number of days in month and leap year related errors."
685
+ msgstr "Sua formatação de data está correta, mas uma ou mais datas são inválidas. Verifique se o número de dias no mês ou erros relacionados com o ano bissexto."
686
+
687
+ #: my-calendar-event-manager.php:885
688
+ msgid "Both start and end dates must be in the format YYYY-MM-DD"
689
+ msgstr "As datas de início e fim devem estar no formato AAAA-MM-DD"
690
+
691
+ #: my-calendar-event-manager.php:897
692
+ msgid "The time field must either be blank or be entered in the format hh:mm"
693
+ msgstr "O campo da hora ou deve ser branco ou ser escrito no formato hh:mm"
694
+
695
+ #: my-calendar-event-manager.php:907
696
+ msgid "The end time field must either be blank or be entered in the format hh:mm"
697
+ msgstr "O campo da hora final ou deve ser branco ou ser escrito no formato hh:mm "
698
+
699
+ #: my-calendar-event-manager.php:915
700
+ msgid "The URL entered must either be prefixed with http:// or be completely blank"
701
+ msgstr "O URL digitado deve ser prefixado com http:// ou ser completamente em branco"
702
+
703
+ #: my-calendar-event-manager.php:924
704
+ msgid "The event title must be between 1 and 255 characters in length."
705
+ msgstr "O título do evento deve ter entre 1 e 255 caracteres."
706
+
707
+ #: my-calendar-event-manager.php:932
708
+ msgid "The repetition value must be 0 unless a type of recurrence is selected."
709
+ msgstr "O valor da repetição deve ser 0, a menos que um tipo de recorrência for selecionado."
710
 
711
  #: my-calendar-help.php:6
712
  msgid "How to use My Calendar"
713
+ msgstr "Como usar o Calendário"
714
 
715
  #: my-calendar-help.php:11
716
  msgid "Shortcode Syntax"
717
+ msgstr "Código curto (Shortcode) de Sintaxe"
718
 
719
+ #: my-calendar-help.php:14
720
+ msgid "These shortcodes can be used in Posts, Pages, or in text widgets."
721
+ msgstr "Esses códigos curtos (sortcodes) podem ser usados em posts, páginas, ou widgets de texto."
722
+
723
+ #: my-calendar-help.php:18
724
  msgid "This basic shortcode will show the calendar on a post or page including all categories and the category key, in a traditional month-by-month format."
725
+ msgstr "Este shortcode (código curto) básico irá mostrar o calendário em um post ou página, incluindo todas as categorias e as principais categorias, em um formato tradicional mês a mês."
726
+
727
+ #: my-calendar-help.php:22
728
+ msgid "The shortcode supports three attributes, <code>category</code>, <code>format</code> and <code>showkey</code>. There two alternate options for <code>format</code>: <code>list</code>, which will show the calendar in a list format, skipping dates without any events, and <code>mini</code>, which will display the calendar in a form more suitable to being displayed in smaller spaces, such as the sidebar. The <code>category</code> attribute requires either the name of or ID number one of your event categories (the name is case-sensitive). This will show a calendar only including events in that category. Multiple categories can be specified by separating the category names or IDs using the pipe character: <code>|</code>. Setting <code>showkey</code> to <code>no</code> will prevent the category key from being displayed &mdash; this can be useful with single-category output. Setting <code>shownav</code> to <code>no</code> will disable the Previous/Next links."
729
+ msgstr "O código curto (shortcode) suporta três atributos, <code>categoria</code> , <code>formato</code> e <code>mostrar-básico</code> . Há duas opções alternativas para <code>formato</code> : <code>lista</code>, que irá mostrar o calendário em formato de lista, saltando as datas sem eventos, e <code>mini</code> , que irá mostrar o calendário de uma forma mais adequada para ser apresentado em espaços menores, como a barra lateral. A <code>categoria</code> exige atributo ou o nome ou identificação de um número de categorias de evento (o nome é case-sensitive). Isto irá mostrar um calendário único de eventos, incluindo nessa categoria. Categorias pode ser especificadas, separando os nomes das categorias ou IDs usando o caractere pipe: <code>|</code>. Ambiente <code>mostrar-basico</code> para <code>não</code> impedirá a chave da categoria que está sendo exibido - isto pode ser útil para categoria única. Ambiente <code>shownav</code> para <code>não</code> irá desativar o link anterior/próximo."
730
+
731
+ #: my-calendar-help.php:26
732
+ msgid "This shortcode displays the output of the Upcoming Events widget. Without attributes, it will display using the settings in your widget; the attributes are used to override the widget settings. The <code>before</code> and <code>after</code> attributes should be numbers; the <code>type</code> attribute can be either \"event\" or \"days\", and the <code>category</code> attribute works the same way as the category attribute on the main calendar shortcode. Templates work using the template codes listed below."
733
+ msgstr "Este shortcode exibe a saída do widget Eventos. Sem atributos, ele irá exibir usando as configurações do seu widget, os atributos são usados para substituir as configurações do widget. Os atributos <code>depois</code> e <code>antes</code> devem ser números, o atributo <code>tipo</code> pode ser um \"caso\" ou \"dia\", e o atributo <code>categoria</code> funciona da mesma forma que o atributo da categoria no shortcode do Calendário Principal. Modelos de trabalho utilizando os modelos de códigos listados abaixo."
734
 
735
+ #: my-calendar-help.php:29
736
+ msgid "Predictably enough, this shortcode displays the output of the Today's Events widget, with two configurable attributes: category and template."
737
+ msgstr "Previsivelmente, este shortcode exibe a saída do widget Eventos de Hoje, com dois atributos configuráveis: categoria e modelo."
738
 
739
+ #: my-calendar-help.php:32
740
+ msgid "This shortcode produces a list of event locations, either as a list of links or as a select dropdown form. The <code>show</code> attribute can either be <code>list</code> or <code>form</code>, <code>type</code> is either <code>saved</code> (to show items from your stored locations), or <code>custom</code> (to show the options configured in your user settings). <code>datatype</code> must be the type of data your limits are choosing from: <code>name</code> (business name), <code>city</code>, <code>state</code>, <code>country</code>, or <code>zip</code> (postal code)."
741
+ msgstr "Este código curto (shortcode) produz uma lista de locais de evento, seja como uma lista de links ou como uma forma suspensa de seleção(dropdown). O atributo <code>exibir</code> pode ser <code>lista</code> ou <code>formulário</code>, <code>tipo</code> ou é <code>salvo</code> (para mostrar os itens do seu locais armazenados), ou <code>personalizado</code>, para mostrar as opções configuradas em suas configurações de usuário). <code>Tipo-de-dados</code> deve ser o tipo de dados escolhidos em : <code>nome</code> (nome da empresa), <code>cidade</code> , <code>estado</code> , <code>país</code> , ou <code>cep</code> (código postal)."
742
+
743
+ #: my-calendar-help.php:38
744
  msgid "Category Icons"
745
+ msgstr "Ícones de categorias"
746
 
747
+ #: my-calendar-help.php:41
748
  msgid "My Calendar is designed to manage multiple calendars. The basis for these calendars are categories; you can easily setup a calendar page which includes all categories, or you can dedicate separate pages to calendars in each category. For an example, this might be useful for you in managing the tour calendars for multiple bands; event calendars for a variety of locations, etc."
749
+ msgstr "O Calendário é projetado para gerenciar múltiplos calendários. A base para esses calendários são as Categorias, você pode facilmente configurar uma página do calendário que inclui todas as categorias, ou pode dedicar páginas separadas para os calendários de cada categoria. Um exemplo: isto pode ser útil para a gestão dos calendários turísticos para várias bandas; calendários de eventos para uma variedade de locais, etc."
750
 
751
+ #: my-calendar-help.php:44
752
+ msgid "The pre-installed category icons may not be especially useful for your needs or design. I'm assuming that you're going to upload your own icons -- all you need to do is upload them to the plugin's icons folder, and they'll be available for immediate use, or place them in a folder at \"my-calendar-custom\" to avoid having them overwritten by upgrades."
753
+ msgstr "Os ícones de categoria, pré-instalado não pode ser necessariamnete úteisl para as suas necessidades ou design. Portanto você vai fazer upload de seus próprios ícones - tudo que precisa fazer é enviá-los para a pasta de ícones do plugin, e eles estarão disponíveis para uso imediato, ou colocá-los em uma pasta em \"meu-calendário-personalizado\" para evitar que eles sejam substituídos por atualizações."
754
 
755
+ #: my-calendar-help.php:44
756
  msgid "Your icons folder is:"
757
  msgstr "Sua pasta de ícones é:"
758
 
759
+ #: my-calendar-help.php:44
760
+ msgid "You can alternately place icons in:"
761
+ msgstr "Como alternativa, você pode colocar ícones em:"
762
+
763
+ #: my-calendar-help.php:52
764
  msgid "Widget Templating"
765
  msgstr "Templates de Widget"
766
 
767
+ #: my-calendar-help.php:55
768
  msgid "These codes are available in calendar widgets to create your own custom calendar format."
769
+ msgstr "Estes códigos estão disponíveis no calendário do widgets para criar o seu calendário personalizado."
770
 
771
+ #: my-calendar-help.php:59
772
  msgid "Displays the name of the category the event is in."
773
+ msgstr "Exibe o nome da categoria do evento."
774
 
775
+ #: my-calendar-help.php:62
776
  msgid "Displays the title of the event."
777
+ msgstr "Exibe o título do evento."
778
 
779
+ #: my-calendar-help.php:65
780
  msgid "Displays the start time for the event."
781
+ msgstr "Exibe a hora de início do evento."
782
+
783
+ #: my-calendar-help.php:68
784
+ msgid "Displays the start time for the event adjusted to the current user's time zone settings. Blank output if user settings are disabled or the user has not selected a preferred time zone."
785
+ msgstr "Exibe a hora do início ajustado para o evento nas configurações do usuário atual com o fuso horário. Aparece em branco se as configurações do usuário estiverem desativadas ou o usuário não tiver selecionado um fuso de horário."
786
 
787
+ #: my-calendar-help.php:71
788
  msgid "Displays the date on which the event begins."
789
+ msgstr "Mostra a data em que o evento começa."
790
+
791
+ #: my-calendar-help.php:74
792
+ msgid "Displays the date on which the event ends."
793
+ msgstr "Mostra a data que o evento termina."
794
 
795
+ #: my-calendar-help.php:77
796
+ msgid "Displays the time at which the event ends."
797
+ msgstr "Mostra o momento que o evento termina."
798
+
799
+ #: my-calendar-help.php:80
800
  msgid "Displays the WordPress author who posted the event."
801
+ msgstr "Apresenta o autor WordPress que postou o evento."
802
 
803
+ #: my-calendar-help.php:83
804
  msgid "Displays the URL provided for the event."
805
+ msgstr "Exibe o URL fornecido para o evento."
806
 
807
+ #: my-calendar-help.php:86
808
  msgid "Displays the description of the event."
809
  msgstr "Mostra a descrição do evento."
810
 
811
+ #: my-calendar-help.php:89
812
  msgid "Displays title of the event as a link if a URL is present, or the title alone if no URL is available."
813
+ msgstr "Exibe o título do evento como um link, se um URL for inserida, ou o título se nenhum URL estiver disponível."
814
 
815
+ #: my-calendar-help.php:92
816
  msgid "Displays the name of the location of the event."
817
+ msgstr "Exibe o nome do local do evento."
818
 
819
+ #: my-calendar-help.php:95
820
  msgid "Displays the first line of the site address."
821
+ msgstr "Exibe a primeira linha do endereço do site."
822
 
823
+ #: my-calendar-help.php:98
824
  msgid "Displays the second line of the site address."
825
+ msgstr "Exibe a segunda linha do endereço do site."
826
 
827
+ #: my-calendar-help.php:101
828
  msgid "Displays the city for the event."
829
+ msgstr "Exibe a cidade do evento."
830
 
831
+ #: my-calendar-help.php:104
832
  msgid "Displays the state for the event."
833
+ msgstr "Exibe o estado (UF) do evento."
834
 
835
+ #: my-calendar-help.php:107
836
  msgid "Displays the postcode for the event."
837
+ msgstr "Exibe o código postal do local do evento."
838
 
839
+ #: my-calendar-help.php:110
840
  msgid "Displays the country for the event location."
841
+ msgstr "Mostra o país do local do evento."
842
 
843
+ #: my-calendar-help.php:113
844
  msgid "Displays the event address in <a href=\"http://microformats.org/wiki/hcard\">hcard</a> format."
845
+ msgstr "Exibe o endereço do evento no formato <a href=\"http://microformats.org/wiki/hcard\">hcard</a>."
846
 
847
+ #: my-calendar-help.php:116
848
  msgid "Displays a link to a Google Map of the event, if sufficient address information is available. If not, will be empty."
849
+ msgstr "Exibe um link para um mapa do evento no Google, se a informação de endereço for suficiente. Se não, estará vazio."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
850
 
851
+ #: my-calendar-help.php:119
852
+ msgid "Displays text indicating whether registration for the event is currently open or closed; displays nothing if that choice is selected in the event."
853
+ msgstr "Exibe o texto indicando se a inscrição para o evento está aberta ou fechada, nada se mostra se a escolha estiver marcada no evento."
854
 
855
+ #: my-calendar-help.php:122
856
+ msgid "Displays the short version of the event description."
857
+ msgstr "Exibe a versão curta da descrição do evento."
858
 
859
+ #: my-calendar-help.php:125
860
+ msgid "Displays the current status of the event: either \"Published\" or \"Reserved\" - primary used in email templates."
861
+ msgstr "Exibe o status atual do evento: \"Publicado\" ou \"Reservado\" - utilizado primeiro no modelo de e-mail."
862
 
863
+ #: my-calendar-help.php:128
864
+ msgid "Produces the address of the current event's category icon."
865
+ msgstr "Produz o endereço do ícone da categoria do evento atual."
 
 
866
 
867
+ #: my-calendar-help.php:131
868
+ msgid "Produces the hex code for the current event's category color."
869
+ msgstr "Produz o código hexadecimal para a cor do evento atual."
 
870
 
871
+ #: my-calendar-install.php:537
872
+ msgid "My Calendar Default Timezone"
873
+ msgstr "Fuso horário padrão do Calendário"
 
 
874
 
875
+ #: my-calendar-install.php:582
876
+ msgid "My Calendar Default Location"
877
+ msgstr "Localização padrão do Calendário"
878
 
879
+ #: my-calendar-locations.php:22
880
+ msgid "Location added successfully"
881
+ msgstr "Localização adicionada com sucesso"
882
 
883
+ #: my-calendar-locations.php:24
884
+ msgid "Location could not be added to database"
885
+ msgstr "A localização não pode ser adicionada ao banco de dados"
886
 
887
+ #: my-calendar-locations.php:30
888
+ msgid "Location deleted successfully"
889
+ msgstr "Localização excluída com sucesso"
890
 
891
+ #: my-calendar-locations.php:32
892
+ msgid "Location could not be deleted"
893
+ msgstr "A localização não pode ser excluída"
894
 
895
+ #: my-calendar-locations.php:43
896
+ msgid "Location could not be edited."
897
+ msgstr "A localização não pode ser editada."
898
 
899
+ #: my-calendar-locations.php:45
900
+ msgid "Location was not changed."
901
+ msgstr "A Localização não foi alterada."
902
 
903
+ #: my-calendar-locations.php:47
904
+ msgid "Location edited successfully"
905
+ msgstr "Localização editada com sucesso"
906
 
907
+ #: my-calendar-locations.php:59
908
+ msgid "Add New Location"
909
+ msgstr "Adicionar nova localização"
 
910
 
911
+ #: my-calendar-locations.php:61
912
+ msgid "Edit Location"
913
+ msgstr "Editar Localização"
914
 
915
+ #: my-calendar-locations.php:66
916
+ msgid "Location Editor"
917
+ msgstr "Editor de localização"
918
 
919
+ #: my-calendar-locations.php:114
920
+ msgid "If you supply GPS coordinates for your location, they will be used in place of any other address information to pinpoint your location."
921
+ msgstr "Se você fornecer as coordenadas GPS para a localização, elas serão usados no lugar das informações de endereço para identificar a localização."
 
 
922
 
923
+ #: my-calendar-locations.php:121
924
+ msgid "Add Location"
925
+ msgstr "Adicionar Locais"
926
 
927
+ #: my-calendar-locations.php:135
928
+ #: my-calendar.php:187
929
+ msgid "Manage Locations"
930
+ msgstr "Gerenciar Locais"
931
 
932
+ #: my-calendar-locations.php:170
933
+ msgid "There are no locations in the database yet!"
934
+ msgstr "Não existem locais no banco de dados ainda!"
935
 
936
+ #: my-calendar-locations.php:174
937
+ msgid "Please note: editing or deleting locations stored for re-use will have no effect on any event previously scheduled at that location. The location database exists purely as a shorthand method to enter frequently used locations into event records."
938
+ msgstr "Atenção: editar ou excluir localidades armazenada para reutilização não terá nenhum efeito em qualquer evento previamente agendado no local. O banco de dados local existe puramente como um método de taquigrafia para registro de locais frequentemente utilizados em evento."
 
 
 
939
 
940
+ #: my-calendar-output.php:103
 
 
 
 
 
 
 
941
  msgid "Event Details"
942
  msgstr "Detalhes do Evento"
943
 
944
+ #: my-calendar-output.php:112
945
+ msgid "Close"
946
+ msgstr "Fechar"
947
+
948
+ #: my-calendar-output.php:122
949
+ msgid "in your time zone"
950
+ msgstr "no seu fuso horário"
951
+
952
+ #: my-calendar-output.php:128
953
  msgid "Not Applicable"
954
+ msgstr "Não Aplicável"
955
 
956
+ #: my-calendar-output.php:140
957
  msgid "Posted by"
958
+ msgstr "Publicado por"
959
+
960
+ #: my-calendar-output.php:186
961
+ msgid "This class is part of a series. You must register for the first event in this series to attend."
962
+ msgstr "Essa classe é parte de uma série. Você deve registrar-se primeiro para participar do evento."
963
 
964
+ #: my-calendar-output.php:219
965
  msgid "Month"
966
  msgstr "Mês"
967
 
968
+ #: my-calendar-output.php:220
969
+ #: my-calendar-output.php:302
970
  msgid "January"
971
  msgstr "Janeiro"
972
 
973
+ #: my-calendar-output.php:221
974
+ #: my-calendar-output.php:302
975
  msgid "February"
976
  msgstr "Fevereiro"
977
 
978
+ #: my-calendar-output.php:222
979
+ #: my-calendar-output.php:302
980
  msgid "March"
981
  msgstr "Março"
982
 
983
+ #: my-calendar-output.php:223
984
+ #: my-calendar-output.php:302
985
  msgid "April"
986
  msgstr "Abril"
987
 
988
+ #: my-calendar-output.php:224
989
+ #: my-calendar-output.php:302
990
  msgid "May"
991
  msgstr "Maio"
992
 
993
+ #: my-calendar-output.php:225
994
+ #: my-calendar-output.php:302
995
  msgid "June"
996
  msgstr "Junho"
997
 
998
+ #: my-calendar-output.php:226
999
+ #: my-calendar-output.php:302
1000
  msgid "July"
1001
  msgstr "Julho"
1002
 
1003
+ #: my-calendar-output.php:227
1004
+ #: my-calendar-output.php:302
1005
  msgid "August"
1006
  msgstr "Agosto"
1007
 
1008
+ #: my-calendar-output.php:228
1009
+ #: my-calendar-output.php:302
1010
  msgid "September"
1011
  msgstr "Setembro"
1012
 
1013
+ #: my-calendar-output.php:229
1014
+ #: my-calendar-output.php:302
1015
  msgid "October"
1016
  msgstr "Outubro"
1017
 
1018
+ #: my-calendar-output.php:230
1019
+ #: my-calendar-output.php:302
1020
  msgid "November"
1021
  msgstr "Novembro"
1022
 
1023
+ #: my-calendar-output.php:231
1024
+ #: my-calendar-output.php:302
1025
  msgid "December"
1026
  msgstr "Dezembro"
1027
 
1028
+ #: my-calendar-output.php:233
1029
  msgid "Year"
1030
+ msgstr "no"
1031
 
1032
+ #: my-calendar-output.php:258
1033
  msgid "Go"
1034
  msgstr "Ir"
1035
 
1036
+ #: my-calendar-output.php:276
 
1037
  msgid "<abbr title=\"Sunday\">Sun</abbr>"
1038
  msgstr "<abbr title=\"Domingo\">Dom</abbr>"
1039
 
1040
+ #: my-calendar-output.php:277
 
1041
  msgid "<abbr title=\"Monday\">Mon</abbr>"
1042
+ msgstr "<abbr title=\"Segunda\">Seg</abbr>"
1043
 
1044
+ #: my-calendar-output.php:278
 
1045
  msgid "<abbr title=\"Tuesday\">Tues</abbr>"
1046
+ msgstr "<abbr title=\"Terça\">Ter</abbr>"
1047
 
1048
+ #: my-calendar-output.php:279
 
1049
  msgid "<abbr title=\"Wednesday\">Wed</abbr>"
1050
+ msgstr "<abbr title=\"Quarta\">Qua</abbr>"
1051
 
1052
+ #: my-calendar-output.php:280
 
1053
  msgid "<abbr title=\"Thursday\">Thur</abbr>"
1054
+ msgstr "<abbr title=\"Quinta\">Qui</abbr>"
1055
 
1056
+ #: my-calendar-output.php:281
 
1057
  msgid "<abbr title=\"Friday\">Fri</abbr>"
1058
+ msgstr "<abbr title=\"Sexta\">Sex</abbr>"
1059
 
1060
+ #: my-calendar-output.php:282
 
1061
  msgid "<abbr title=\"Saturday\">Sat</abbr>"
1062
+ msgstr "<abbr title=\"Sábado\">Sab</abbr>"
1063
+
1064
+ #: my-calendar-output.php:287
1065
+ msgid "<abbr title=\"Sunday\">S</abbr>"
1066
+ msgstr "<abbr title=\"Domingo\">D</abbr>"
1067
+
1068
+ #: my-calendar-output.php:288
1069
+ msgid "<abbr title=\"Monday\">M</abbr>"
1070
+ msgstr "<abbr title=\"Segunda\">S</abbr>"
1071
+
1072
+ #: my-calendar-output.php:289
1073
+ msgid "<abbr title=\"Tuesday\">T</abbr>"
1074
+ msgstr "<abbr title=\"Terça\">T</abbr>"
1075
+
1076
+ #: my-calendar-output.php:290
1077
+ msgid "<abbr title=\"Wednesday\">W</abbr>"
1078
+ msgstr "<abbr title=\"Quarta\">Q</abbr>"
1079
 
1080
+ #: my-calendar-output.php:291
1081
+ msgid "<abbr title=\"Thursday\">T</abbr>"
1082
+ msgstr "<abbr title=\"Quinta\">Q</abbr>"
1083
+
1084
+ #: my-calendar-output.php:292
1085
+ msgid "<abbr title=\"Friday\">F</abbr>"
1086
+ msgstr "<abbr title=\"Sexta\">S</abbr>"
1087
+
1088
+ #: my-calendar-output.php:293
1089
+ msgid "<abbr title=\"Saturday\">S</abbr>"
1090
+ msgstr "<abbr title=\"Sábado\">S</abbr>"
1091
+
1092
+ #: my-calendar-output.php:339
1093
+ msgid "and"
1094
+ msgstr "e"
1095
+
1096
+ #: my-calendar-output.php:370
1097
+ #: my-calendar-output.php:374
1098
  msgid "Calendar"
1099
  msgstr "Calendário"
1100
 
1101
+ #: my-calendar-output.php:377
1102
  msgid "Events in"
1103
+ msgstr "Eventos em"
1104
 
1105
+ #: my-calendar-output.php:476
1106
  msgid "There are no events scheduled during this period."
1107
+ msgstr "Não há eventos programados durante este período."
1108
 
1109
+ #: my-calendar-output.php:486
1110
  msgid "Category Key"
1111
+ msgstr "Categoria Básica"
1112
+
1113
+ #: my-calendar-output.php:620
1114
+ msgid "Show events in:"
1115
+ msgstr "Mostrar os eventos em:"
1116
+
1117
+ #: my-calendar-output.php:647
1118
+ msgid "Submit"
1119
+ msgstr "Enviar"
1120
+
1121
+ #: my-calendar-settings.php:79
1122
+ msgid "Categories imported successfully."
1123
+ msgstr "Categorias importados com sucesso."
1124
+
1125
+ #: my-calendar-settings.php:81
1126
+ msgid "Categories not imported."
1127
+ msgstr "Categorias não importadas."
1128
+
1129
+ #: my-calendar-settings.php:84
1130
+ msgid "Events imported successfully."
1131
+ msgstr "Eventos importados com sucesso."
1132
+
1133
+ #: my-calendar-settings.php:86
1134
+ msgid "Events not imported."
1135
+ msgstr "Eventos não importados."
1136
+
1137
+ #: my-calendar-settings.php:185
1138
+ msgid "Settings saved"
1139
+ msgstr "Configurações salvas"
1140
+
1141
+ #: my-calendar-settings.php:208
1142
+ msgid "My Calendar Options"
1143
+ msgstr "Opções do Calendário"
1144
+
1145
+ #: my-calendar-settings.php:215
1146
+ msgid "Calendar Settings"
1147
+ msgstr "Configurações do Calendário"
1148
+
1149
+ #: my-calendar-settings.php:219
1150
+ msgid "Calendar Options: Management"
1151
+ msgstr "Opções de Calendário: Gestão"
1152
+
1153
+ #: my-calendar-settings.php:221
1154
+ msgid "Choose the lowest user group that may create events"
1155
+ msgstr "Escolha o grupo de usuários que podem criar eventos"
1156
+
1157
+ #: my-calendar-settings.php:222
1158
+ #: my-calendar-settings.php:231
1159
+ msgid "Subscriber"
1160
+ msgstr "Assinante"
1161
+
1162
+ #: my-calendar-settings.php:223
1163
+ #: my-calendar-settings.php:232
1164
+ msgid "Contributor"
1165
+ msgstr "Colaborador"
1166
+
1167
+ #: my-calendar-settings.php:225
1168
+ #: my-calendar-settings.php:234
1169
+ msgid "Editor"
1170
+ msgstr "Editor"
1171
+
1172
+ #: my-calendar-settings.php:226
1173
+ #: my-calendar-settings.php:235
1174
+ msgid "Administrator"
1175
+ msgstr "Adminstrador"
1176
+
1177
+ #: my-calendar-settings.php:230
1178
+ msgid "Choose the lowest user group that may approve events"
1179
+ msgstr "Escolha o grupo de usuários que podem aprovar eventos"
1180
+
1181
+ #: my-calendar-settings.php:239
1182
+ msgid "Enable approval options."
1183
+ msgstr "Ative as opções de aprovação."
1184
+
1185
+ #: my-calendar-settings.php:243
1186
+ msgid "Calendar Options: Customize Text"
1187
+ msgstr "Opções de Calendário: Personalizar o texto"
1188
+
1189
+ #: my-calendar-settings.php:245
1190
+ msgid "Show Heading for Calendar"
1191
+ msgstr "Mostrar título para o Calendário"
1192
+
1193
+ #: my-calendar-settings.php:248
1194
+ msgid "Label for events without a specific time"
1195
+ msgstr "Legenda para eventos sem um tempo específico"
1196
+
1197
+ #: my-calendar-settings.php:251
1198
+ msgid "Previous events link text"
1199
+ msgstr "Eventos Anteriores - texto de link"
1200
+
1201
+ #: my-calendar-settings.php:251
1202
+ msgid "Previous Events"
1203
+ msgstr "Eventos Anteriores"
1204
+
1205
+ #: my-calendar-settings.php:254
1206
+ msgid "Next events link text"
1207
+ msgstr "Próximos eventos - texto de link"
1208
+
1209
+ #: my-calendar-settings.php:254
1210
+ msgid "Next Events"
1211
+ msgstr "Próximos Eventos"
1212
+
1213
+ #: my-calendar-settings.php:257
1214
+ msgid "Text when events are open"
1215
+ msgstr "Texto quando os eventos são abertos"
1216
+
1217
+ #: my-calendar-settings.php:257
1218
+ msgid "Registration is open"
1219
+ msgstr "As inscrições estão abertas"
1220
+
1221
+ #: my-calendar-settings.php:260
1222
+ msgid "Text when events are closed"
1223
+ msgstr "Texto quando os eventos são fechados"
1224
+
1225
+ #: my-calendar-settings.php:260
1226
+ msgid "Registration is closed"
1227
+ msgstr "As inscrições estão fechadas"
1228
+
1229
+ #: my-calendar-settings.php:263
1230
+ msgid "Additional caption text"
1231
+ msgstr "Texto da legenda adicional"
1232
+
1233
+ #: my-calendar-settings.php:263
1234
+ msgid "The calendar caption is the text containing the displayed month and year in either list or calendar format. This text will be displayed following that existing text."
1235
+ msgstr "A legenda do calendário é o texto que contém o mês e ano exibido em formato de lista ou calendário. E será exibido após o texto existente."
1236
+
1237
+ #: my-calendar-settings.php:267
1238
+ msgid "Calendar Options: Output"
1239
+ msgstr "Opções do Calendário: Saída"
1240
+
1241
+ #: my-calendar-settings.php:269
1242
+ msgid "In list mode, show how many months of events at a time:"
1243
+ msgstr "Mostrar quantos meses de eventos de cada vez no modo de lista:"
1244
+
1245
+ #: my-calendar-settings.php:272
1246
+ msgid "Date format in list mode"
1247
+ msgstr "Formato da data no modo de lista"
1248
+
1249
+ #: my-calendar-settings.php:273
1250
+ msgid "Date format uses the same syntax as the <a href=\"http://php.net/date\">PHP <code>date()</code> function</a>. Save options to update sample output."
1251
+ msgstr "Formato de data usa a mesma sintaxe do <a href=\"http://php.net/date\">PHP <code>date()</code> function</a>. Salvar opções para atualizar o exemplo."
1252
+
1253
+ #: my-calendar-settings.php:276
1254
+ msgid "Do you want to display the author name on events?"
1255
+ msgstr "Deseja exibir o nome do autor dos eventos?"
1256
+
1257
+ #: my-calendar-settings.php:279
1258
+ msgid "Display a jumpbox for changing month and year quickly?"
1259
+ msgstr "Mostrar um campo (jumpbox) para mudar o mês e o ano rapidamente?"
1260
+
1261
+ #: my-calendar-settings.php:282
1262
+ msgid "Hide category icons in output"
1263
+ msgstr "Ocultar ícones categoria na saída"
1264
+
1265
+ #: my-calendar-settings.php:285
1266
+ msgid "Show Link to Google Map (when sufficient address information is available.)"
1267
+ msgstr "Mostrar link para o Google Map (quando a informação de endereço for suficiente e disponível)."
1268
+
1269
+ #: my-calendar-settings.php:288
1270
+ msgid "Show Event Address in Details"
1271
+ msgstr "Mostrar o Endereço do evento em detalhes"
1272
+
1273
+ #: my-calendar-settings.php:291
1274
+ msgid "Show short description field on calendar."
1275
+ msgstr "Mostrar campo de descrição curta do calendário."
1276
+
1277
+ #: my-calendar-settings.php:294
1278
+ msgid "Show full description field on calendar."
1279
+ msgstr "Mostrar campo de descrição completa do calendário."
1280
+
1281
+ #: my-calendar-settings.php:297
1282
+ msgid "Links associated with events will automatically expire after the event has passed."
1283
+ msgstr "Os Links relacionados a eventos expiram automaticamente após o evento passar."
1284
+
1285
+ #: my-calendar-settings.php:300
1286
+ msgid "Show current availability status of events."
1287
+ msgstr "Mostra o atual status de disponibilidade de eventos."
1288
+
1289
+ #: my-calendar-settings.php:303
1290
+ msgid "If a recurring event is scheduled for a date which doesn't exist (such as the 5th Wednesday in February), move it back one week."
1291
+ msgstr "Se um evento recorrente está agendado para uma data que não existe, movê-lo para uma semana antes."
1292
+
1293
+ #: my-calendar-settings.php:304
1294
+ msgid "If this option is unchecked, recurring events which fall on dates which don't exist will simply not be shown on the calendar."
1295
+ msgstr "Se esta opção estiver desmarcada, os eventos periódicos, em datas que não existem, não serão mostrados no calendário."
1296
+
1297
+ #: my-calendar-settings.php:308
1298
+ msgid "Calendar Options: Input"
1299
+ msgstr "Opções de Calendário: Entrada"
1300
+
1301
+ #: my-calendar-settings.php:311
1302
+ msgid "Show Event Location Dropdown Menu"
1303
+ msgstr "Mostrar Menu (Dropdown) de Localização do Evento"
1304
+
1305
+ #: my-calendar-settings.php:311
1306
+ msgid "Show Event Short Description field"
1307
+ msgstr "Mostrar campo Breve Descrição do Evento"
1308
+
1309
+ #: my-calendar-settings.php:311
1310
+ msgid "Show Event Description Field"
1311
+ msgstr "Mostrar campo Descrição do Evento"
1312
+
1313
+ #: my-calendar-settings.php:311
1314
+ msgid "Show Event Category field"
1315
+ msgstr "Mostra campo Categoria do Evento"
1316
+
1317
+ #: my-calendar-settings.php:311
1318
+ msgid "Show Event Link field"
1319
+ msgstr "Mostrar campo Link do Evento"
1320
+
1321
+ #: my-calendar-settings.php:311
1322
+ msgid "Show Event Recurrence Options"
1323
+ msgstr "Mostrar opções de Recorrência de Eventos"
1324
+
1325
+ #: my-calendar-settings.php:311
1326
+ msgid "Show event registration options"
1327
+ msgstr "Mostrar opções de registro dos Eventos"
1328
+
1329
+ #: my-calendar-settings.php:311
1330
+ msgid "Show event location fields"
1331
+ msgstr "Mostrar campos de localização dos Eventos"
1332
+
1333
+ #: my-calendar-settings.php:320
1334
+ msgid "Administrators see all input options"
1335
+ msgstr "Administradores ver todas as opções"
1336
+
1337
+ #: my-calendar-settings.php:324
1338
+ msgid "Calendar Options: Style"
1339
+ msgstr "Opções de Calendário: Estilo"
1340
+
1341
+ #: my-calendar-settings.php:326
1342
+ msgid "Default usage of category colors."
1343
+ msgstr "Utilizar cores padrão"
1344
+
1345
+ #: my-calendar-settings.php:327
1346
+ msgid "Apply category colors to event titles as a font color."
1347
+ msgstr "Aplicar a cor de fonte nos títulos dos eventos."
1348
+
1349
+ #: my-calendar-settings.php:328
1350
+ msgid "Apply category colors to event titles as a background color."
1351
+ msgstr "Aplicar a cor de fundo nos títulos dos eventos."
1352
+
1353
+ #: my-calendar-settings.php:333
1354
+ msgid "Calendar Options: Email Notifications"
1355
+ msgstr "Opções do Calendário: Notificações por e-mail"
1356
+
1357
+ #: my-calendar-settings.php:337
1358
+ msgid "Send Email Notifications when new events are scheduled or reserved."
1359
+ msgstr "Enviar e-mail de notificação quando novos eventos forem programados ou reservados."
1360
+
1361
+ #: my-calendar-settings.php:343
1362
+ msgid "Notification messages are sent to: "
1363
+ msgstr "As mensagens de notificação serão enviados para:"
1364
+
1365
+ #: my-calendar-settings.php:347
1366
+ msgid "Email subject"
1367
+ msgstr "Assunto do Email"
1368
+
1369
+ #: my-calendar-settings.php:347
1370
+ msgid "New event Added"
1371
+ msgstr "Novo Evento Adicionado"
1372
+
1373
+ #: my-calendar-settings.php:351
1374
+ msgid "Message Body"
1375
+ msgstr "Corpo da Mensagem"
1376
+
1377
+ #: my-calendar-settings.php:351
1378
+ msgid "New Event:"
1379
+ msgstr "Novo Evento"
1380
+
1381
+ #: my-calendar-settings.php:352
1382
+ msgid "Shortcode Help"
1383
+ msgstr "Ajuda sobre códigos curto (shortcode)"
1384
+
1385
+ #: my-calendar-settings.php:352
1386
+ msgid "All template shortcodes are available."
1387
+ msgstr "Todos os códigos curtos (shortcodes) estão disponíveis."
1388
+
1389
+ #: my-calendar-settings.php:360
1390
+ msgid "My Calendar: User Settings"
1391
+ msgstr "Calendário: Configurações de Usuários"
1392
+
1393
+ #: my-calendar-settings.php:363
1394
+ msgid "Enable Registered User's Customized Settings"
1395
+ msgstr "Habilitar configurações personalizadas para usuários registrados"
1396
+
1397
+ #: my-calendar-settings.php:370
1398
+ msgid "Timezone Settings"
1399
+ msgstr "Configurações do Fuso Horário"
1400
+
1401
+ #: my-calendar-settings.php:371
1402
+ msgid "These settings provide registered users with the ability to select a time zone in their user profile. When they view your calendar, the times for events will display the time the event happens in their time zone as well as the entered value."
1403
+ msgstr "Essas configurações fornecem aos usuários registrados a capacidade de selecionar um fuso horário no seu perfil de usuário. Quando eles vêem o seu calendário, os horários dos eventos serão mostrados no seu fuso horário, bem como o valor digitado."
1404
+
1405
+ #: my-calendar-settings.php:373
1406
+ msgid "Enable Timezone"
1407
+ msgstr "Habilitar o fuso horário"
1408
+
1409
+ #: my-calendar-settings.php:376
1410
+ msgid "Select Timezone Label"
1411
+ msgstr "Selecione a legenda do fuso horário"
1412
+
1413
+ #: my-calendar-settings.php:379
1414
+ msgid "Timezone Options"
1415
+ msgstr "Opções de fuso horário"
1416
+
1417
+ #: my-calendar-settings.php:379
1418
+ #: my-calendar-settings.php:400
1419
+ msgid "Value, Label; one per line"
1420
+ msgstr "Valor, Legenda (Label), um por linha"
1421
+
1422
+ #: my-calendar-settings.php:391
1423
+ msgid "Location Settings"
1424
+ msgstr "Configurações de Localização"
1425
+
1426
+ #: my-calendar-settings.php:392
1427
+ msgid "These settings provide registered users with the ability to select a location in their user profile. When they view your calendar, their initial view will be limited to locations which include that location parameter."
1428
+ msgstr "Essas configurações fornecem aos usuários registrados a capacidade de selecionar um local em seu perfil. Quando eles vêem o Calendário, a sua visão inicial será limitada a locais que incluem o parâmetro de localização."
1429
+
1430
+ #: my-calendar-settings.php:394
1431
+ msgid "Enable Location"
1432
+ msgstr "Habilitar Localização"
1433
+
1434
+ #: my-calendar-settings.php:397
1435
+ msgid "Select Location Label"
1436
+ msgstr "Selecione a legenda da Localização"
1437
+
1438
+ #: my-calendar-settings.php:400
1439
+ msgid "Location Options"
1440
+ msgstr "Opções de localização"
1441
+
1442
+ #: my-calendar-settings.php:410
1443
+ msgid "Location Type"
1444
+ msgstr "Tipo de local"
1445
+
1446
+ #: my-calendar-settings.php:412
1447
+ msgid "Location Name"
1448
+ msgstr "Nome do Local"
1449
+
1450
+ #: my-calendar-settings.php:426
1451
+ msgid "Save Settings"
1452
+ msgstr "Salvar configurações"
1453
+
1454
+ #: my-calendar-styles.php:28
1455
+ msgid "Style Settings saved"
1456
+ msgstr "Configurações de estilo salvas"
1457
+
1458
+ #: my-calendar-styles.php:35
1459
+ msgid "My Calendar Styles"
1460
+ msgstr "Estilos do Calendário"
1461
+
1462
+ #: my-calendar-styles.php:39
1463
+ msgid "Calendar Style Settings"
1464
+ msgstr "Definições de estilo do calendário"
1465
+
1466
+ #: my-calendar-styles.php:43
1467
+ msgid "Apply CSS only on these pages (comma separated page IDs)"
1468
+ msgstr "Aplicar CSS só nestas páginas (IDs das páginas separados por vírgula)"
1469
+
1470
+ #: my-calendar-styles.php:46
1471
+ msgid "CSS Style Options"
1472
+ msgstr "Opções do CSS Style"
1473
+
1474
+ #: my-calendar-styles.php:48
1475
+ msgid "Reset the My Calendar stylesheet to the default"
1476
+ msgstr "Redefinir o estilo do Calendário para o padrão"
1477
+
1478
+ #: my-calendar-styles.php:48
1479
+ msgid "Disable My Calendar Stylesheet"
1480
+ msgstr "Desativar o estilo do Calendário"
1481
+
1482
+ #: my-calendar-styles.php:51
1483
+ msgid "Edit the stylesheet for My Calendar"
1484
+ msgstr "Editar o estilo para My Calendar"
1485
+
1486
+ #: my-calendar-templates.php:151
1487
+ msgid "Published"
1488
+ msgstr "Publicado"
1489
+
1490
+ #: my-calendar-templates.php:153
1491
+ msgid "Reserved"
1492
+ msgstr "Reservado"
1493
+
1494
+ #: my-calendar-upgrade-db.php:20
1495
+ msgid "The My Calendar database needs to be updated."
1496
+ msgstr "A base de dados do calendário precisa ser atualizada."
1497
+
1498
+ #: my-calendar-upgrade-db.php:21
1499
+ #: my-calendar-upgrade-db.php:35
1500
+ msgid "Update now"
1501
+ msgstr "Atualizar agora"
1502
+
1503
+ #: my-calendar-upgrade-db.php:34
1504
+ msgid "You haven't entered any events, so My Calendar can't tell whether your database is up to date. If you can't add events, upgrade your database!"
1505
+ msgstr "Você não introduziu quaisquer eventos, por isso o calendário não pode dizer se seu banco de dados foi atualizado. Se você não pode adicionar eventos, atualize o seu banco de dados!"
1506
+
1507
+ #: my-calendar-upgrade-db.php:45
1508
+ msgid "My Calendar Database is updated."
1509
+ msgstr "O banco de dados do calendário foi atualizado."
1510
+
1511
+ #: my-calendar-user.php:39
1512
+ msgid "My Calendar User Settings"
1513
+ msgstr "Configurações de usuário do Calendário"
1514
+
1515
+ #: my-calendar-widgets.php:11
1516
+ #: my-calendar-widgets.php:51
1517
+ #: my-calendar-widgets.php:52
1518
+ msgid "Today's Events"
1519
+ msgstr "Eventos de hoje"
1520
+
1521
+ #: my-calendar-widgets.php:41
1522
+ #: my-calendar-widgets.php:126
1523
+ msgid "Template"
1524
+ msgstr "Modelo"
1525
+
1526
+ #: my-calendar-widgets.php:45
1527
+ msgid "Show this text if there are no events today:"
1528
+ msgstr "Mostrar este texto se não houver eventos hoje:"
1529
+
1530
+ #: my-calendar-widgets.php:65
1531
+ #: my-calendar-widgets.php:152
1532
+ #: my-calendar-widgets.php:153
1533
+ msgid "Upcoming Events"
1534
+ msgstr "Próximos eventos"
1535
+
1536
+ #: my-calendar-widgets.php:130
1537
+ msgid "Widget Options"
1538
+ msgstr "Opções de Widget "
1539
+
1540
+ #: my-calendar-widgets.php:132
1541
+ msgid "Display upcoming events by:"
1542
+ msgstr "Mostrar eventos programados por:"
1543
+
1544
+ #: my-calendar-widgets.php:133
1545
+ msgid "Events (e.g. 2 past, 3 future)"
1546
+ msgstr "Eventos (por exemplo, 2 passado, 3 futuro)"
1547
+
1548
+ #: my-calendar-widgets.php:134
1549
+ msgid "Dates (e.g. 4 days past, 5 forward)"
1550
+ msgstr "Datas (por exemplo, 4 dias passados, 5 para a frente)"
1551
+
1552
+ #: my-calendar-widgets.php:138
1553
+ msgid "events into the future;"
1554
+ msgstr "eventos para o futuro;"
1555
+
1556
+ #: my-calendar-widgets.php:139
1557
+ msgid "events from the past"
1558
+ msgstr "eventos passados"
1559
+
1560
+ #: my-calendar-widgets.php:142
1561
+ msgid "days into the future;"
1562
+ msgstr "dias no futuro;"
1563
+
1564
+ #: my-calendar-widgets.php:143
1565
+ msgid "days from the past"
1566
+ msgstr "dias do passado"
1567
+
1568
+ #: my-calendar-widgets.php:146
1569
+ msgid "Show only this category:"
1570
+ msgstr "Mostrar apenas esta categoria:"
1571
+
1572
+ #: my-calendar-widgets.php:285
1573
+ msgid "There are no events currently scheduled."
1574
+ msgstr "Não há nenhum evento programado atualmente."
1575
+
1576
+ #: my-calendar.php:60
1577
+ #: my-calendar.php:188
1578
+ msgid "Settings"
1579
+ msgstr "Configurações"
1580
+
1581
+ #: my-calendar.php:61
1582
+ #: my-calendar.php:191
1583
+ msgid "Help"
1584
+ msgstr "Ajuda"
1585
+
1586
+ #: my-calendar.php:88
1587
+ msgid "Buy the Beginner's Guide"
1588
+ msgstr "Comprar A Beginner's Guide"
1589
+
1590
+ #: my-calendar.php:89
1591
+ msgid "Get Support"
1592
+ msgstr "Obter Suporte"
1593
+
1594
+ #: my-calendar.php:90
1595
+ #: my-calendar.php:191
1596
+ msgid "My Calendar Help"
1597
+ msgstr "Ajuda do Calendário"
1598
+
1599
+ #: my-calendar.php:91
1600
+ msgid "Make a Donation"
1601
+ msgstr "Faça uma Doação"
1602
+
1603
+ #. #-#-#-#-# plugin.pot (My Calendar 1.6.2) #-#-#-#-#
1604
+ #. Plugin Name of the plugin/theme
1605
+ #: my-calendar.php:179
1606
+ msgid "My Calendar"
1607
+ msgstr "Meu Calendário"
1608
+
1609
+ #: my-calendar.php:182
1610
+ msgid "Add/Edit Events"
1611
+ msgstr "Adicionar/Editar Eventos"
1612
+
1613
+ #: my-calendar.php:189
1614
+ msgid "Style Editor"
1615
+ msgstr "Editor do Estilo"
1616
+
1617
+ #: my-calendar.php:190
1618
+ msgid "Behavior Editor"
1619
+ msgstr "Editor de comportamento"
1620
 
1621
  #. Plugin URI of the plugin/theme
1622
  msgid "http://www.joedolson.com/articles/my-calendar/"
1624
 
1625
  #. Description of the plugin/theme
1626
  msgid "Accessible WordPress event calendar plugin. Show events from multiple calendars on pages, in posts, or in widgets."
1627
+ msgstr "Plugin Calendário de Eventos acessível no WordPress. Mostrar eventos em vários calendários em páginas, posts ou widgets."
1628
 
1629
  #. Author of the plugin/theme
1630
  msgid "Joseph C Dolson"
1631
+ msgstr "Joseph C Dolson"
1632
 
1633
  #. Author URI of the plugin/theme
1634
  msgid "http://www.joedolson.com"
my-calendar-settings.php CHANGED
@@ -1,10 +1,23 @@
1
  <?php
 
2
  // Display the admin configuration page
3
 
4
  if ($_POST['import'] == 'true') {
5
  my_calendar_import();
6
  }
7
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  function my_calendar_import() {
9
  if ( get_option('ko_calendar_imported') != 'true' ) {
10
  global $wpdb;
@@ -12,7 +25,7 @@ $wpdb->hide_errors();
12
  define('KO_CALENDAR_TABLE', $wpdb->prefix . 'calendar');
13
  define('KO_CALENDAR_CATS', $wpdb->prefix . 'calendar_categories');
14
  $events = $wpdb->get_results("SELECT * FROM " . KO_CALENDAR_TABLE, 'ARRAY_A');
15
- $wpdb->print_error();
16
  $sql = "";
17
  foreach ($events as $key) {
18
  $title = mysql_real_escape_string($key['event_title']);
@@ -39,10 +52,10 @@ $wpdb->hide_errors();
39
  event_link='".($linky)."';
40
  ";
41
  $events_results = $wpdb->query($sql);
42
- $wpdb->print_error();
43
  }
44
  $cats = $wpdb->get_results("SELECT * FROM " . KO_CALENDAR_CATS, 'ARRAY_A');
45
- $wpdb->print_error();
46
 
47
  $catsql = "";
48
  foreach ($cats as $key) {
@@ -59,7 +72,7 @@ $wpdb->hide_errors();
59
  category_color='".$color."';
60
  ";
61
  $cats_results = $wpdb->query($catsql);
62
- $wpdb->print_error();
63
  }
64
 
65
 
@@ -86,13 +99,60 @@ function edit_my_calendar_config() {
86
 
87
  // We can't use this page unless My Calendar is installed/upgraded
88
  check_my_calendar();
89
-
90
  if (isset($_POST['permissions'])) {
91
 
 
92
  $new_perms = $_POST['permissions'];
 
 
 
 
 
 
 
 
 
 
93
  $my_calendar_show_months = (int) $_POST['my_calendar_show_months'];
94
  $my_calendar_date_format = $_POST['my_calendar_date_format'];
95
- $mc_input_options_administrators = ($_POST['mc_input_options_administrators']=='on')?'true':'false';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
96
  $mc_input_options = array(
97
  'event_short'=>$_POST['mci_event_short'],
98
  'event_desc'=>$_POST['mci_event_desc'],
@@ -103,27 +163,29 @@ function edit_my_calendar_config() {
103
  'event_location'=>$_POST['mci_event_location'],
104
  'event_location_dropdown'=>$_POST['mci_event_location_dropdown']
105
  );
106
- $disp_author = ($_POST['display_author']=='on')?'true':'false';
107
- $disp_jump = ($_POST['display_jump']=='on')?'true':'false';
108
- $my_calendar_show_map = ($_POST['my_calendar_show_map']=='on')?'true':'false';
109
- $my_calendar_show_address = ($_POST['my_calendar_show_address']=='on')?'true':'false';
110
- $my_calendar_show_heading = ($_POST['my_calendar_show_heading']=='on')?'true':'false';
 
111
  $my_calendar_notime_text = $_POST['my_calendar_notime_text'];
112
  $mc_previous_events = $_POST['mc_previous_events'];
113
  $mc_next_events = $_POST['mc_next_events'];
114
  $mc_event_open = $_POST['mc_event_open'];
115
  $mc_event_closed = $_POST['mc_event_closed'];
116
- $mc_event_registration = ($_POST['mc_event_registration']=='on')?'true':'false';
117
- $mc_short = ($_POST['mc_short']=='on')?'true':'false';
118
- $mc_desc = ($_POST['mc_desc']=='on')?'true':'false';
119
- $my_calendar_hide_icons = ($_POST['my_calendar_hide_icons']=='on')?'true':'false';
120
- $mc_apply_color = $_POST['mc_apply_color'];
121
- $mc_no_fifth_week = $_POST['mc_no_fifth_week'];
122
  $my_calendar_caption = $_POST['my_calendar_caption'];
123
- $my_calendar_event_link_expires = ($_POST['mc_event_link_expires']=='on')?'true':'false';
124
-
 
 
 
 
 
 
 
125
  // Mail function by Roland
126
-
127
  $mc_event_mail = ($_POST['mc_event_mail']=='on')?'true':'false';
128
  $mc_event_mail_to = $_POST['mc_event_mail_to'];
129
  $mc_event_mail_subject = $_POST['mc_event_mail_subject'];
@@ -132,37 +194,21 @@ function edit_my_calendar_config() {
132
  update_option('mc_event_mail_subject',$mc_event_mail_subject);
133
  update_option('mc_event_mail_message',$mc_event_mail_message);
134
  update_option('mc_event_mail',$mc_event_mail);
 
135
 
136
- // approve feature by Roland
137
- $mc_event_approve = ($_POST['mc_event_approve']=='on')?'true':'false';
138
- update_option('mc_event_approve',$mc_event_approve);
139
- $mc_event_approve_perms = $_POST['mc_event_approve_perms'];
140
- update_option('mc_event_approve_perms',$mc_event_approve_perms);
141
- update_option('can_manage_events',$new_perms);
142
- update_option('display_author',$disp_author);
143
- update_option('display_jump',$disp_jump);
144
- update_option('my_calendar_show_months',$my_calendar_show_months);
145
- update_option('my_calendar_date_format',$my_calendar_date_format);
146
- update_option('my_calendar_show_map',$my_calendar_show_map);
147
- update_option('my_calendar_show_address',$my_calendar_show_address);
148
- update_option('my_calendar_show_heading',$my_calendar_show_heading);
149
- update_option('my_calendar_notime_text',$my_calendar_notime_text);
150
- update_option('mc_next_events',$mc_next_events);
151
- update_option('mc_previous_events',$mc_previous_events);
152
- update_option('my_calendar_hide_icons',$my_calendar_hide_icons);
153
- update_option('my_calendar_caption',$my_calendar_caption);
154
- update_option('mc_event_link_expires',$my_calendar_event_link_expires);
155
- update_option('mc_apply_color',$mc_apply_color);
156
- update_option('mc_event_open',$mc_event_open);
157
- update_option('mc_event_closed',$mc_event_closed);
158
- update_option('mc_event_registration',$mc_event_registration);
159
- update_option('mc_short',$mc_short);
160
- update_option('mc_desc',$mc_desc);
161
- update_option('mc_input_options',$mc_input_options);
162
- update_option('mc_input_options_administrators',$mc_input_options_administrators);
163
- update_option('mc_no_fifth_week',$mc_no_fifth_week);
164
 
165
- echo "<div class=\"updated\"><p><strong>".__('Settings saved','my-calendar').".</strong></p></div>";
166
  }
167
 
168
  // Pull the values out of the database that we need for the form
@@ -180,6 +226,8 @@ function edit_my_calendar_config() {
180
  $mc_event_approve_perms = get_option('mc_event_approve_perms');
181
  $disp_jump = get_option('display_jump');
182
  $mc_no_fifth_week = get_option('mc_no_fifth_week');
 
 
183
  ?>
184
  <div class="wrap">
185
  <?php
@@ -188,13 +236,11 @@ echo my_calendar_check_db();
188
  <h2><?php _e('My Calendar Options','my-calendar'); ?></h2>
189
  <?php jd_show_support_box(); ?>
190
  <div id="poststuff" class="jd-my-calendar">
191
-
192
-
193
-
194
  <div class="postbox">
195
- <h3><?php _e('Calendar Settings','my-calendar'); ?></h3>
196
  <div class="inside">
197
- <form name="my-calendar" id="my-calendar" method="post" action="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar-config">
198
  <fieldset>
199
  <legend><?php _e('Calendar Options: Management','my-calendar'); ?></legend>
200
  <p>
@@ -219,11 +265,18 @@ echo my_calendar_check_db();
219
  <input type="checkbox" id="mc_event_approve" name="mc_event_approve" <?php jd_cal_checkCheckbox('mc_event_approve','true'); ?> /> <label for="mc_event_approve"><?php _e('Enable approval options.','my-calendar'); ?></label>
220
  </p>
221
  </fieldset>
 
 
 
 
 
 
 
 
 
 
222
  <fieldset>
223
  <legend><?php _e('Calendar Options: Customize Text','my-calendar'); ?></legend>
224
- <p>
225
- <input type="checkbox" id="my_calendar_show_heading" name="my_calendar_show_heading" <?php jd_cal_checkCheckbox('my_calendar_show_heading','true'); ?> /> <label for="my_calendar_show_heading"><?php _e('Show Heading for Calendar','my-calendar'); ?></label>
226
- </p>
227
  <p>
228
  <label for="my_calendar_notime_text"><?php _e('Label for events without a specific time','my-calendar'); ?></label> <input type="text" id="my_calendar_notime_text" name="my_calendar_notime_text" value="<?php if ( get_option('my_calendar_notime_text') == "") { _e('N/A','my-calendar'); } else { echo stripslashes( get_option('my_calendar_notime_text') ); } ?>" />
229
  </p>
@@ -243,8 +296,26 @@ echo my_calendar_check_db();
243
  <label for="my_calendar_caption"><?php _e('Additional caption text','my-calendar'); ?></label> <input type="text" id="my_calendar_caption" name="my_calendar_caption" value="<?php echo stripslashes( get_option('my_calendar_caption') ); ?>" /><br /><small><?php _e('The calendar caption is the text containing the displayed month and year in either list or calendar format. This text will be displayed following that existing text.','my-calendar'); ?></small>
244
  </p>
245
  </fieldset>
 
 
 
 
 
 
 
 
 
 
246
  <fieldset>
247
  <legend><?php _e('Calendar Options: Output','my-calendar'); ?></legend>
 
 
 
 
 
 
 
 
248
  <p>
249
  <label for="my_calendar_show_months"><?php _e('In list mode, show how many months of events at a time:','my-calendar'); ?></label> <input type="text" size="3" id="my_calendar_show_months" name="my_calendar_show_months" value="<?php echo $my_calendar_show_months; ?>" />
250
  </p>
@@ -280,12 +351,32 @@ echo my_calendar_check_db();
280
  <input type="checkbox" id="mc_event_registration" name="mc_event_registration" <?php jd_cal_checkCheckbox('mc_event_registration','true'); ?> /> <label for="mc_event_registration"><?php _e('Show current availability status of events.','my-calendar'); ?></label>
281
  </p>
282
  <p>
283
- <input type="checkbox" id="mc_no_fifth_week" name="mc_no_fifth_week" <?php jd_cal_checkCheckbox('mc_no_fifth_week','true'); ?> /> <label for="mc_no_fifth_week"><?php _e('If a recurring event is scheduled for a date which doesn\'t exist (such as the 5th Wednesday in February), move it back one week.','my-calendar'); ?></label>
284
  <?php _e('If this option is unchecked, recurring events which fall on dates which don\'t exist will simply not be shown on the calendar.','my-calendar'); ?>
285
  </p>
286
  </fieldset>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
287
  <fieldset>
288
  <legend><?php _e('Calendar Options: Input','my-calendar'); ?></legend>
 
 
289
  <?php
290
  $input_options = get_option('mc_input_options');
291
  $input_labels = array('event_location_dropdown'=>__('Show Event Location Dropdown Menu','my-calendar'),'event_short'=>__('Show Event Short Description field','my-calendar'),'event_desc'=>__('Show Event Description Field','my-calendar'),'event_category'=>__('Show Event Category field','my-calendar'),'event_link'=>__('Show Event Link field','my-calendar'),'event_recurs'=>__('Show Event Recurrence Options','my-calendar'),'event_open'=>__('Show event registration options','my-calendar'),'event_location'=>__('Show event location fields','my-calendar') );
@@ -300,25 +391,23 @@ echo my_calendar_check_db();
300
  <input type="checkbox" id="mc_input_options_administrators" name="mc_input_options_administrators" <?php jd_cal_checkCheckbox('mc_input_options_administrators','true'); ?> /> <label for="mc_input_options_administrators"><strong><?php _e('Administrators see all input options','my-calendar'); ?></strong></label>
301
  </p>
302
  </fieldset>
303
- <fieldset>
304
- <legend><?php _e('Calendar Options: Style','my-calendar'); ?></legend>
305
- <p>
306
- <input type="radio" id="mc_apply_color_default" name="mc_apply_color" value="default" <?php jd_cal_checkCheckbox('mc_apply_color','default'); ?> /> <label for="mc_apply_color_default"><?php _e('Default usage of category colors.','my-calendar'); ?></label><br />
307
- <input type="radio" id="mc_apply_color_to_titles" name="mc_apply_color" value="font" <?php jd_cal_checkCheckbox('mc_apply_color','font'); ?> /> <label for="mc_apply_color_to_titles"><?php _e('Apply category colors to event titles as a font color.','my-calendar'); ?></label><br />
308
- <input type="radio" id="mc_apply_bgcolor_to_titles" name="mc_apply_color" value="background" <?php jd_cal_checkCheckbox('mc_apply_color','background'); ?> /> <label for="mc_apply_bgcolor_to_titles"><?php _e('Apply category colors to event titles as a background color.','my-calendar'); ?></label>
309
  </p>
310
- </fieldset>
311
-
 
 
 
 
 
312
  <fieldset>
313
  <legend><?php _e('Calendar Options: Email Notifications','my-calendar'); ?></legend>
314
-
315
  <p>
316
 
317
- <input type="checkbox" id="mc_event_mail" name="mc_event_mail" <?php jd_cal_checkCheckbox('mc_event_mail','true'); ?> /> <label for="mc_event_mail"><?php _e('Send Email Notifications when new events are scheduled or reserved.','my-calendar'); ?></label>
318
  </p>
319
-
320
- <?php if ( get_option('mc_event_mail') == "true") { ?>
321
-
322
  <p>
323
  <label for="mc_event_mail_to"><?php _e('Notification messages are sent to: ','my-calendar'); ?></label> <input type="text" id="mc_event_mail_to" name="mc_event_mail_to" size="40" value="<?php if ( get_option('mc_event_mail_to') == "") { bloginfo('admin_email'); } else { echo stripslashes( get_option('mc_event_mail_to') ); } ?>" />
324
  </p>
@@ -328,17 +417,88 @@ echo my_calendar_check_db();
328
  </p>
329
 
330
  <p>
331
- <label for="mc_event_mail_message"><?php _e('Message Body','my-calendar'); ?></label><br> <textarea rows="6" cols="80" id="mc_event_mail_message" name="mc_event_mail_message"/><?php if ( get_option('mc_event_mail_message') == "") { _e('New Event:','my-calendar'); echo "\n{title}: {date}, {time} - {event_status}"; } else { echo stripcslashes( get_option('mc_event_mail_message') ); } ?></textarea><br />
332
  <a href="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar-help#templates"><?php _e("Shortcode Help",'my-calendar'); ?></a> <?php _e('All template shortcodes are available.','my-calendar'); ?>
333
  </p>
334
- <?php } else { ?>
 
 
 
 
 
 
 
 
 
 
 
335
 
336
- <?php } ?>
 
 
 
 
 
337
 
338
- </fieldset>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
339
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
340
  <p>
341
- <input type="submit" name="save" class="button-primary" value="<?php _e('Save Settings','my-calendar'); ?> &raquo;" />
342
  </p>
343
  </form>
344
  <?php
1
  <?php
2
+
3
  // Display the admin configuration page
4
 
5
  if ($_POST['import'] == 'true') {
6
  my_calendar_import();
7
  }
8
 
9
+ function csv_to_array($csv, $delimiter = ',', $enclosure = '"', $escape = '\\', $terminator = "\n") {
10
+ $r = array();
11
+ $rows = explode($terminator,trim($csv));
12
+ foreach ($rows as $row) {
13
+ if (trim($row)) {
14
+ $values = explode($delimiter,$row);
15
+ $r[$values[0]] = $values[1];
16
+ }
17
+ }
18
+ return $r;
19
+ }
20
+
21
  function my_calendar_import() {
22
  if ( get_option('ko_calendar_imported') != 'true' ) {
23
  global $wpdb;
25
  define('KO_CALENDAR_TABLE', $wpdb->prefix . 'calendar');
26
  define('KO_CALENDAR_CATS', $wpdb->prefix . 'calendar_categories');
27
  $events = $wpdb->get_results("SELECT * FROM " . KO_CALENDAR_TABLE, 'ARRAY_A');
28
+ //$wpdb->print_error();
29
  $sql = "";
30
  foreach ($events as $key) {
31
  $title = mysql_real_escape_string($key['event_title']);
52
  event_link='".($linky)."';
53
  ";
54
  $events_results = $wpdb->query($sql);
55
+ //$wpdb->print_error();
56
  }
57
  $cats = $wpdb->get_results("SELECT * FROM " . KO_CALENDAR_CATS, 'ARRAY_A');
58
+ //$wpdb->print_error();
59
 
60
  $catsql = "";
61
  foreach ($cats as $key) {
72
  category_color='".$color."';
73
  ";
74
  $cats_results = $wpdb->query($catsql);
75
+ //$wpdb->print_error();
76
  }
77
 
78
 
99
 
100
  // We can't use this page unless My Calendar is installed/upgraded
101
  check_my_calendar();
102
+
103
  if (isset($_POST['permissions'])) {
104
 
105
+ // management
106
  $new_perms = $_POST['permissions'];
107
+ update_option('can_manage_events',$new_perms);
108
+ $mc_event_approve = ($_POST['mc_event_approve']=='on')?'true':'false';
109
+ update_option('mc_event_approve',$mc_event_approve);
110
+ $mc_event_approve_perms = $_POST['mc_event_approve_perms'];
111
+ update_option('mc_event_approve_perms',$mc_event_approve_perms);
112
+ echo "<div class=\"updated\"><p><strong>".__('Permissions Settings saved','my-calendar').".</strong></p></div>";
113
+
114
+ }
115
+ // output
116
+ if (isset($_POST['my_calendar_show_months']) ) {
117
  $my_calendar_show_months = (int) $_POST['my_calendar_show_months'];
118
  $my_calendar_date_format = $_POST['my_calendar_date_format'];
119
+ $disp_author = ($_POST['display_author']=='on')?'true':'false';
120
+ $disp_jump = ($_POST['display_jump']=='on')?'true':'false';
121
+ $my_calendar_show_map = ($_POST['my_calendar_show_map']=='on')?'true':'false';
122
+ $my_calendar_show_address = ($_POST['my_calendar_show_address']=='on')?'true':'false';
123
+ $my_calendar_show_heading = ($_POST['my_calendar_show_heading']=='on')?'true':'false';
124
+ $mc_event_registration = ($_POST['mc_event_registration']=='on')?'true':'false';
125
+ $mc_short = ($_POST['mc_short']=='on')?'true':'false';
126
+ $mc_desc = ($_POST['mc_desc']=='on')?'true':'false';
127
+ $my_calendar_hide_icons = ($_POST['my_calendar_hide_icons']=='on')?'true':'false';
128
+ $mc_no_fifth_week = $_POST['mc_no_fifth_week'];
129
+ $my_calendar_event_link_expires = ($_POST['mc_event_link_expires']=='on')?'true':'false';
130
+ $mc_apply_color = $_POST['mc_apply_color'];
131
+ $mc_title_template = $_POST['mc_title_template'];
132
+ $templates = get_option('my_calendar_templates');
133
+ $templates['title'] = $mc_title_template;
134
+ update_option('my_calendar_templates',$templates);
135
+ update_option('display_author',$disp_author);
136
+ update_option('display_jump',$disp_jump);
137
+ update_option('my_calendar_show_months',$my_calendar_show_months);
138
+ update_option('my_calendar_date_format',$my_calendar_date_format);
139
+ update_option('my_calendar_show_map',$my_calendar_show_map);
140
+ update_option('my_calendar_show_address',$my_calendar_show_address);
141
+ update_option('my_calendar_show_heading',$my_calendar_show_heading);
142
+ update_option('my_calendar_hide_icons',$my_calendar_hide_icons);
143
+ update_option('mc_event_link_expires',$my_calendar_event_link_expires);
144
+ update_option('mc_apply_color',$mc_apply_color);
145
+ update_option('mc_event_registration',$mc_event_registration);
146
+ update_option('mc_short',$mc_short);
147
+ update_option('mc_desc',$mc_desc);
148
+ update_option('mc_no_fifth_week',$mc_no_fifth_week);
149
+
150
+ // styles (output)
151
+ echo "<div class=\"updated\"><p><strong>".__('Output Settings saved','my-calendar').".</strong></p></div>";
152
+ }
153
+ // input
154
+ if (isset($_POST['mc_input'])) {
155
+ $mc_input_options_administrators = ($_POST['mc_input_options_administrators']=='on')?'true':'false';
156
  $mc_input_options = array(
157
  'event_short'=>$_POST['mci_event_short'],
158
  'event_desc'=>$_POST['mci_event_desc'],
163
  'event_location'=>$_POST['mci_event_location'],
164
  'event_location_dropdown'=>$_POST['mci_event_location_dropdown']
165
  );
166
+ update_option('mc_input_options',$mc_input_options);
167
+ update_option('mc_input_options_administrators',$mc_input_options_administrators);
168
+ echo "<div class=\"updated\"><p><strong>".__('Input Settings saved','my-calendar').".</strong></p></div>";
169
+ }
170
+ // custom text
171
+ if (isset( $_POST['mc_previous_events'] ) ) {
172
  $my_calendar_notime_text = $_POST['my_calendar_notime_text'];
173
  $mc_previous_events = $_POST['mc_previous_events'];
174
  $mc_next_events = $_POST['mc_next_events'];
175
  $mc_event_open = $_POST['mc_event_open'];
176
  $mc_event_closed = $_POST['mc_event_closed'];
 
 
 
 
 
 
177
  $my_calendar_caption = $_POST['my_calendar_caption'];
178
+ update_option('my_calendar_notime_text',$my_calendar_notime_text);
179
+ update_option('mc_next_events',$mc_next_events);
180
+ update_option('mc_previous_events',$mc_previous_events);
181
+ update_option('my_calendar_caption',$my_calendar_caption);
182
+ update_option('mc_event_open',$mc_event_open);
183
+ update_option('mc_event_closed',$mc_event_closed);
184
+ echo "<div class=\"updated\"><p><strong>".__('Custom text settings saved','my-calendar').".</strong></p></div>";
185
+
186
+ }
187
  // Mail function by Roland
188
+ if (isset($_POST['mc_email']) ) {
189
  $mc_event_mail = ($_POST['mc_event_mail']=='on')?'true':'false';
190
  $mc_event_mail_to = $_POST['mc_event_mail_to'];
191
  $mc_event_mail_subject = $_POST['mc_event_mail_subject'];
194
  update_option('mc_event_mail_subject',$mc_event_mail_subject);
195
  update_option('mc_event_mail_message',$mc_event_mail_message);
196
  update_option('mc_event_mail',$mc_event_mail);
197
+ echo "<div class=\"updated\"><p><strong>".__('Email notice settings saved','my-calendar').".</strong></p></div>";
198
 
199
+ }
200
+ // Custom User Settings
201
+ if (isset($_POST['mc_user'])) {
202
+ $mc_user_settings_enabled = $_POST['mc_user_settings_enabled'];
203
+ update_option('mc_user_settings_enabled',$mc_user_settings_enabled);
204
+ $mc_location_type = $_POST['mc_location_type'];
205
+ update_option('mc_location_type',$mc_location_type);
206
+ $mc_user_settings = $_POST['mc_user_settings'];
207
+ $mc_user_settings['my_calendar_tz_default']['values'] = csv_to_array($mc_user_settings['my_calendar_tz_default']['values']);
208
+ $mc_user_settings['my_calendar_location_default']['values'] = csv_to_array($mc_user_settings['my_calendar_location_default']['values']);
209
+ update_option('mc_user_settings',$mc_user_settings);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
210
 
211
+ echo "<div class=\"updated\"><p><strong>".__('User custom settings saved','my-calendar').".</strong></p></div>";
212
  }
213
 
214
  // Pull the values out of the database that we need for the form
226
  $mc_event_approve_perms = get_option('mc_event_approve_perms');
227
  $disp_jump = get_option('display_jump');
228
  $mc_no_fifth_week = get_option('mc_no_fifth_week');
229
+ $templates = get_option('my_calendar_templates');
230
+ $mc_title_template = $templates['title'];
231
  ?>
232
  <div class="wrap">
233
  <?php
236
  <h2><?php _e('My Calendar Options','my-calendar'); ?></h2>
237
  <?php jd_show_support_box(); ?>
238
  <div id="poststuff" class="jd-my-calendar">
239
+ <h2><?php _e('Calendar Settings','my-calendar'); ?></h2>
 
 
240
  <div class="postbox">
241
+ <h3><?php _e('Calendar Management Settings','my-calendar'); ?></h3>
242
  <div class="inside">
243
+ <form name="my-calendar" id="my-calendar-manage" method="post" action="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar-config">
244
  <fieldset>
245
  <legend><?php _e('Calendar Options: Management','my-calendar'); ?></legend>
246
  <p>
265
  <input type="checkbox" id="mc_event_approve" name="mc_event_approve" <?php jd_cal_checkCheckbox('mc_event_approve','true'); ?> /> <label for="mc_event_approve"><?php _e('Enable approval options.','my-calendar'); ?></label>
266
  </p>
267
  </fieldset>
268
+ <p>
269
+ <input type="submit" name="save" class="button-primary" value="<?php _e('Save Approval Settings','my-calendar'); ?> &raquo;" />
270
+ </p>
271
+ </form>
272
+ </div>
273
+ </div>
274
+ <div class="postbox">
275
+ <h3><?php _e('Calendar Text Settings','my-calendar'); ?></h3>
276
+ <div class="inside">
277
+ <form name="my-calendar" id="my-calendar-text" method="post" action="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar-config">
278
  <fieldset>
279
  <legend><?php _e('Calendar Options: Customize Text','my-calendar'); ?></legend>
 
 
 
280
  <p>
281
  <label for="my_calendar_notime_text"><?php _e('Label for events without a specific time','my-calendar'); ?></label> <input type="text" id="my_calendar_notime_text" name="my_calendar_notime_text" value="<?php if ( get_option('my_calendar_notime_text') == "") { _e('N/A','my-calendar'); } else { echo stripslashes( get_option('my_calendar_notime_text') ); } ?>" />
282
  </p>
296
  <label for="my_calendar_caption"><?php _e('Additional caption text','my-calendar'); ?></label> <input type="text" id="my_calendar_caption" name="my_calendar_caption" value="<?php echo stripslashes( get_option('my_calendar_caption') ); ?>" /><br /><small><?php _e('The calendar caption is the text containing the displayed month and year in either list or calendar format. This text will be displayed following that existing text.','my-calendar'); ?></small>
297
  </p>
298
  </fieldset>
299
+ <p>
300
+ <input type="submit" name="save" class="button-primary" value="<?php _e('Save Custom Text Settings','my-calendar'); ?> &raquo;" />
301
+ </p>
302
+ </form>
303
+ </div>
304
+ </div>
305
+ <div class="postbox">
306
+ <h3><?php _e('Calendar Output Settings','my-calendar'); ?></h3>
307
+ <div class="inside">
308
+ <form name="my-calendar" id="my-calendar-output" method="post" action="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar-config">
309
  <fieldset>
310
  <legend><?php _e('Calendar Options: Output','my-calendar'); ?></legend>
311
+ <p>
312
+ <label for="mc_title_template"><?php _e('Event title template','my-calendar'); ?></label>
313
+ <input type="text" name="mc_title_template" id="mc_title_template" size="30" value="<?php echo $mc_title_template; ?>" /><br />
314
+ <a href="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar-help#templates"><?php _e("Shortcode Help",'my-calendar'); ?></a> <?php _e('All template shortcodes are available.','my-calendar'); ?>
315
+ </p>
316
+ <p>
317
+ <input type="checkbox" id="my_calendar_show_heading" name="my_calendar_show_heading" <?php jd_cal_checkCheckbox('my_calendar_show_heading','true'); ?> /> <label for="my_calendar_show_heading"><?php _e('Show Heading for Calendar','my-calendar'); ?></label>
318
+ </p>
319
  <p>
320
  <label for="my_calendar_show_months"><?php _e('In list mode, show how many months of events at a time:','my-calendar'); ?></label> <input type="text" size="3" id="my_calendar_show_months" name="my_calendar_show_months" value="<?php echo $my_calendar_show_months; ?>" />
321
  </p>
351
  <input type="checkbox" id="mc_event_registration" name="mc_event_registration" <?php jd_cal_checkCheckbox('mc_event_registration','true'); ?> /> <label for="mc_event_registration"><?php _e('Show current availability status of events.','my-calendar'); ?></label>
352
  </p>
353
  <p>
354
+ <input type="checkbox" id="mc_no_fifth_week" name="mc_no_fifth_week" value="true" <?php jd_cal_checkCheckbox('mc_no_fifth_week','true'); ?> /> <label for="mc_no_fifth_week"><?php _e('If a recurring event is scheduled for a date which doesn\'t exist (such as the 5th Wednesday in February), move it back one week.','my-calendar'); ?></label>
355
  <?php _e('If this option is unchecked, recurring events which fall on dates which don\'t exist will simply not be shown on the calendar.','my-calendar'); ?>
356
  </p>
357
  </fieldset>
358
+ <fieldset>
359
+ <legend><?php _e('Calendar Options: Style','my-calendar'); ?></legend>
360
+ <p>
361
+ <input type="radio" id="mc_apply_color_default" name="mc_apply_color" value="default" <?php jd_cal_checkCheckbox('mc_apply_color','default'); ?> /> <label for="mc_apply_color_default"><?php _e('Default usage of category colors.','my-calendar'); ?></label><br />
362
+ <input type="radio" id="mc_apply_color_to_titles" name="mc_apply_color" value="font" <?php jd_cal_checkCheckbox('mc_apply_color','font'); ?> /> <label for="mc_apply_color_to_titles"><?php _e('Apply category colors to event titles as a font color.','my-calendar'); ?></label><br />
363
+ <input type="radio" id="mc_apply_bgcolor_to_titles" name="mc_apply_color" value="background" <?php jd_cal_checkCheckbox('mc_apply_color','background'); ?> /> <label for="mc_apply_bgcolor_to_titles"><?php _e('Apply category colors to event titles as a background color.','my-calendar'); ?></label>
364
+ </p>
365
+ </fieldset>
366
+ <p>
367
+ <input type="submit" name="save" class="button-primary" value="<?php _e('Save Output Settings','my-calendar'); ?> &raquo;" />
368
+ </p>
369
+ </form>
370
+ </div>
371
+ </div>
372
+ <div class="postbox">
373
+ <h3><?php _e('Calendar Input Settings','my-calendar'); ?></h3>
374
+ <div class="inside">
375
+ <form name="my-calendar" id="my-calendar-input" method="post" action="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar-config">
376
  <fieldset>
377
  <legend><?php _e('Calendar Options: Input','my-calendar'); ?></legend>
378
+ <div><input type='hidden' name='mc_input' value='true' /></div>
379
+
380
  <?php
381
  $input_options = get_option('mc_input_options');
382
  $input_labels = array('event_location_dropdown'=>__('Show Event Location Dropdown Menu','my-calendar'),'event_short'=>__('Show Event Short Description field','my-calendar'),'event_desc'=>__('Show Event Description Field','my-calendar'),'event_category'=>__('Show Event Category field','my-calendar'),'event_link'=>__('Show Event Link field','my-calendar'),'event_recurs'=>__('Show Event Recurrence Options','my-calendar'),'event_open'=>__('Show event registration options','my-calendar'),'event_location'=>__('Show event location fields','my-calendar') );
391
  <input type="checkbox" id="mc_input_options_administrators" name="mc_input_options_administrators" <?php jd_cal_checkCheckbox('mc_input_options_administrators','true'); ?> /> <label for="mc_input_options_administrators"><strong><?php _e('Administrators see all input options','my-calendar'); ?></strong></label>
392
  </p>
393
  </fieldset>
394
+ <p>
395
+ <input type="submit" name="save" class="button-primary" value="<?php _e('Save Input Settings','my-calendar'); ?> &raquo;" />
 
 
 
 
396
  </p>
397
+ </form>
398
+ </div>
399
+ </div>
400
+ <div class="postbox">
401
+ <h3><?php _e('Calendar Email Settings','my-calendar'); ?></h3>
402
+ <div class="inside">
403
+ <form name="my-calendar" id="my-calendar-email" method="post" action="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar-config">
404
  <fieldset>
405
  <legend><?php _e('Calendar Options: Email Notifications','my-calendar'); ?></legend>
406
+ <div><input type='hidden' name='mc_email' value='true' /></div>
407
  <p>
408
 
409
+ <input type="checkbox" id="mc_event_mail" name="mc_event_mail" <?php jd_cal_checkCheckbox('mc_event_mail','true'); ?> /> <label for="mc_event_mail"><strong><?php _e('Send Email Notifications when new events are scheduled or reserved.','my-calendar'); ?></strong></label>
410
  </p>
 
 
 
411
  <p>
412
  <label for="mc_event_mail_to"><?php _e('Notification messages are sent to: ','my-calendar'); ?></label> <input type="text" id="mc_event_mail_to" name="mc_event_mail_to" size="40" value="<?php if ( get_option('mc_event_mail_to') == "") { bloginfo('admin_email'); } else { echo stripslashes( get_option('mc_event_mail_to') ); } ?>" />
413
  </p>
417
  </p>
418
 
419
  <p>
420
+ <label for="mc_event_mail_message"><?php _e('Message Body','my-calendar'); ?></label><br /> <textarea rows="6" cols="80" id="mc_event_mail_message" name="mc_event_mail_message"><?php if ( get_option('mc_event_mail_message') == "") { _e('New Event:','my-calendar'); echo "\n{title}: {date}, {time} - {event_status}"; } else { echo stripcslashes( get_option('mc_event_mail_message') ); } ?></textarea><br />
421
  <a href="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar-help#templates"><?php _e("Shortcode Help",'my-calendar'); ?></a> <?php _e('All template shortcodes are available.','my-calendar'); ?>
422
  </p>
423
+ </fieldset>
424
+ <p>
425
+ <input type="submit" name="save" class="button-primary" value="<?php _e('Save Email Settings','my-calendar'); ?> &raquo;" />
426
+ </p>
427
+ </form>
428
+ </div>
429
+ </div>
430
+ <div class="postbox">
431
+ <h3><?php _e('Calendar User Settings','my-calendar'); ?></h3>
432
+ <div class="inside">
433
+ <form name="my-calendar" id="my-calendar-user" method="post" action="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar-config">
434
+ <div><input type='hidden' name='mc_user' value='true' /></div>
435
 
436
+ <fieldset>
437
+ <legend><?php _e('My Calendar: User Settings','my-calendar'); ?></legend>
438
+ <p>
439
+
440
+ <input type="checkbox" id="mc_user_settings_enabled" name="mc_user_settings_enabled" value="true" <?php jd_cal_checkCheckbox('mc_user_settings_enabled','true'); ?> /> <label for="mc_user_settings_enabled"><strong><?php _e('Allow registered users to provide timezone or location presets in their user profiles.','my-calendar'); ?></strong></label>
441
+ </p>
442
 
443
+ <?php
444
+ $mc_user_settings = get_option('mc_user_settings');
445
+ ?>
446
+ <fieldset>
447
+ <legend><?php _e('Timezone Settings','my-calendar'); ?></legend>
448
+ <p><?php _e('These settings provide registered users with the ability to select a time zone in their user profile. When they view your calendar, the times for events will display the time the event happens in their time zone as well as the entered value.','my-calendar'); ?></p>
449
+ <p>
450
+ <input type="checkbox" id="tz_enabled" name="mc_user_settings[my_calendar_tz_default][enabled]" <?php jd_cal_checkCheckbox('mc_user_settings','on','my_calendar_tz_default'); ?> /> <label for="tz_enabled"><?php _e('Enable Timezone','my-calendar'); ?></label>
451
+ </p>
452
+ <p>
453
+ <label for="tz_label"><?php _e('Select Timezone Label','my-calendar'); ?></label> <input type="text" name="mc_user_settings[my_calendar_tz_default][label]" id="tz_label" value="<?php echo $mc_user_settings['my_calendar_tz_default']['label']; ?>" size="40" />
454
+ </p>
455
+ <p>
456
+ <label for="tz_values"><?php _e('Timezone Options','my-calendar'); ?> (<?php _e('Value, Label; one per line','my-calendar'); ?>)</label><br />
457
+ <?php
458
+ $timezones = '';
459
+ foreach ( $mc_user_settings['my_calendar_tz_default']['values'] as $key=>$value ) {
460
+ $timezones .= "$key,$value\n";
461
+ }
462
+ ?>
463
+ <textarea name="mc_user_settings[my_calendar_tz_default][values]" id="tz_values" cols="60" rows="8"><?php echo trim($timezones); ?></textarea>
464
+ </p>
465
+ </fieldset>
466
 
467
+ <fieldset>
468
+ <legend><?php _e('Location Settings','my-calendar'); ?></legend>
469
+ <p><?php _e('These settings provide registered users with the ability to select a location in their user profile. When they view your calendar, their initial view will be limited to locations which include that location parameter.','my-calendar'); ?></p>
470
+ <p>
471
+ <input type="checkbox" id="loc_enabled" name="mc_user_settings[my_calendar_location_default][enabled]" <?php jd_cal_checkCheckbox('mc_user_settings','on','my_calendar_location_default'); ?> /> <label for="loc_enabled"><?php _e('Enable Location','my-calendar'); ?></label>
472
+ </p>
473
+ <p>
474
+ <label for="loc_label"><?php _e('Select Location Label','my-calendar'); ?></label> <input type="text" name="mc_user_settings[my_calendar_location_default][label]" id="loc_label" value="<?php echo $mc_user_settings['my_calendar_location_default']['label']; ?>" size="40" />
475
+ </p>
476
+ <p>
477
+ <label for="loc_values"><?php _e('Location Options','my-calendar'); ?> (<?php _e('Value, Label; one per line','my-calendar'); ?>)</label><br />
478
+ <?php
479
+ $locations = '';
480
+ foreach ( $mc_user_settings['my_calendar_location_default']['values'] as $key=>$value ) {
481
+ $locations .= "$key,$value\n";
482
+ }
483
+ ?>
484
+ <textarea name="mc_user_settings[my_calendar_location_default][values]" id="loc_values" cols="60" rows="8"><?php echo trim($locations); ?></textarea>
485
+ </p>
486
+ <p>
487
+ <label for="loc_type"><?php _e('Location Type','my-calendar'); ?></label><br />
488
+ <select id="loc_type" name="mc_location_type">
489
+ <option value="event_label" <?php jd_cal_checkSelect( 'mc_location_type','event_label' ); ?>><?php _e('Location Name','my-calendar'); ?></option>
490
+ <option value="event_city" <?php jd_cal_checkSelect( 'mc_location_type','event_city' ); ?>><?php _e('City','my-calendar'); ?></option>
491
+ <option value="event_state" <?php jd_cal_checkSelect( 'mc_location_type','event_state'); ?>><?php _e('State/Province','my-calendar'); ?></option>
492
+ <option value="event_country" <?php jd_cal_checkSelect( 'mc_location_type','event_country'); ?>><?php _e('Country','my-calendar'); ?></option>
493
+ <option value="event_postcode" <?php jd_cal_checkSelect( 'mc_location_type','event_postcode'); ?>><?php _e('Postal Code','my-calendar'); ?></option>
494
+ </select>
495
+ </p>
496
+
497
+ </fieldset>
498
+
499
+ </fieldset>
500
  <p>
501
+ <input type="submit" name="save" class="button-primary" value="<?php _e('Save User Settings','my-calendar'); ?> &raquo;" />
502
  </p>
503
  </form>
504
  <?php
my-calendar-styles.php CHANGED
@@ -1,70 +1,35 @@
1
  <?php
2
  // Display the admin configuration page
3
 
4
- function edit_my_calendar_styles() {
5
- global $wpdb, $initial_style, $initial_listjs, $initial_caljs, $initial_minijs;
6
-
7
- // We can't use this page unless My Calendar is installed/upgraded
8
- check_my_calendar();
9
-
10
- if ( isset($_POST['style'] ) ) {
11
 
12
- $my_calendar_style = $_POST['style'];
13
- $my_calendar_caljs = $_POST['my_calendar_caljs'];
14
- $my_calendar_listjs = $_POST['my_calendar_listjs'];
15
- $my_calendar_minijs = $_POST['my_calendar_minijs'];
16
 
 
 
 
 
 
 
 
17
 
 
18
  $use_styles = ($_POST['use_styles']=='on')?'true':'false';
19
 
20
- update_option('my_calendar_style',$my_calendar_style);
21
- update_option('my_calendar_use_styles',$use_styles);
22
- // turn info off or on
23
- update_option('calendar_javascript', (int) $_POST['calendar_javascript']);
24
- update_option('list_javascript', (int) $_POST['list_javascript']);
25
- update_option('mini_javascript', (int) $_POST['mini_javascript']);
26
- // set js
27
- update_option('my_calendar_listjs',$my_calendar_listjs);
28
- update_option('my_calendar_minijs',$my_calendar_minijs);
29
- update_option('my_calendar_caljs',$my_calendar_caljs);
30
- $my_calendar_show_css = ($_POST['my_calendar_show_css']=='')?'':$_POST['my_calendar_show_css'];
31
- update_option('my_calendar_show_css',$my_calendar_show_css);
32
- // Check to see if we are replacing the original style
33
-
34
  if ( $_POST['reset_styles'] == 'on') {
35
  update_option('my_calendar_style',$initial_style);
36
  }
37
- if ( $_POST['reset_caljs'] == 'on') {
38
- update_option('my_calendar_caljs',$initial_caljs);
39
- }
40
- if ( $_POST['reset_listjs'] == 'on') {
41
- update_option('my_calendar_listjs',$initial_listjs);
42
- }
43
- if ( $_POST['reset_minijs'] == 'on') {
44
- update_option('my_calendar_minijs',$initial_minijs);
45
- }
46
- echo "<div class=\"updated\"><p><strong>".__('Style Settings saved','my-calendar').".</strong></p></div>";
47
- }
48
-
49
- $my_calendar_style = stripcslashes(get_option('my_calendar_style'));
50
- $my_calendar_use_styles = get_option('my_calendar_use_styles');
51
-
52
- $my_calendar_listjs = stripcslashes(get_option('my_calendar_listjs'));
53
- $list_javascript = get_option('list_javascript');
54
-
55
- $my_calendar_caljs = stripcslashes(get_option('my_calendar_caljs'));
56
- $calendar_javascript = get_option('calendar_javascript');
57
-
58
- $my_calendar_minijs = stripcslashes(get_option('my_calendar_minijs'));
59
- $mini_javascript = get_option('mini_javascript');
60
-
61
- $my_calendar_show_css = stripcslashes(get_option('my_calendar_show_css'));
62
-
63
- // Now we render the form
64
-
65
- ?>
66
- <div class="wrap">
67
- <?php
68
  echo my_calendar_check_db();
69
  ?>
70
  <h2><?php _e('My Calendar Styles','my-calendar'); ?></h2>
@@ -75,7 +40,7 @@ echo my_calendar_check_db();
75
  <div class="inside">
76
  <form name="my-calendar" id="my-calendar" method="post" action="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar-styles">
77
  <p>
78
- <label for="my_calendar_show_css"><?php _e('Show CSS &amp; JavaScript only on these pages (comma separated page IDs)','my-calendar'); ?></label> <input type="text" id="my_calendar_show_css" name="my_calendar_show_css" value="<?php echo $my_calendar_show_css; ?>" />
79
  </p>
80
  <fieldset>
81
  <legend><?php _e('CSS Style Options','my-calendar'); ?></legend>
@@ -89,42 +54,6 @@ echo my_calendar_check_db();
89
  <input type="submit" name="save" class="button-primary" value="<?php _e('Save','my-calendar'); ?> &raquo;" />
90
  </p>
91
  </fieldset>
92
- <fieldset>
93
- <legend><?php _e('Calendar Behaviors: Calendar View','my-calendar'); ?></legend>
94
- <p>
95
- <input type="checkbox" id="reset_caljs" name="reset_caljs" /> <label for="reset_caljs"><?php _e('Reset the My Calendar Calendar Javascript','my-calendar'); ?></label> <input type="checkbox" id="calendar_javascript" name="calendar_javascript" value="1" <?php jd_cal_checkCheckbox('calendar_javascript',1); ?>/> <label for="calendar_javascript"><?php _e('Disable Calendar Javascript Effects','my-calendar'); ?></label>
96
- </p>
97
- <p>
98
- <label for="calendar-javascript"><?php _e('Edit the jQuery scripts for My Calendar in Calendar format','my-calendar'); ?></label><br /><textarea id="calendar-javascript" name="my_calendar_caljs" rows="10" cols="80"><?php echo $my_calendar_caljs; ?></textarea>
99
- </p>
100
- <p>
101
- <input type="submit" name="save" class="button-primary" value="<?php _e('Save','my-calendar'); ?> &raquo;" />
102
- </p>
103
- </fieldset>
104
- <fieldset>
105
- <legend><?php _e('Calendar Behaviors: List View','my-calendar'); ?></legend>
106
- <p>
107
- <input type="checkbox" id="reset_listjs" name="reset_listjs" /> <label for="reset_listjs"><?php _e('Reset the My Calendar List Javascript','my-calendar'); ?></label> <input type="checkbox" id="list_javascript" name="list_javascript" value="1" <?php jd_cal_checkCheckbox('list_javascript',1); ?> /> <label for="list_javascript"><?php _e('Disable List Javascript Effects','my-calendar'); ?></label>
108
- </p>
109
- <p>
110
- <label for="list-javascript"><?php _e('Edit the jQuery scripts for My Calendar in List format','my-calendar'); ?></label><br /><textarea id="list-javascript" name="my_calendar_listjs" rows="10" cols="80"><?php echo $my_calendar_listjs; ?></textarea>
111
- </p>
112
- <p>
113
- <input type="submit" name="save" class="button-primary" value="<?php _e('Save','my-calendar'); ?> &raquo;" />
114
- </p>
115
- </fieldset>
116
- <fieldset>
117
- <legend><?php _e('Calendar Behaviors: Mini Calendar View','my-calendar'); ?></legend>
118
- <p>
119
- <input type="checkbox" id="reset_minijs" name="reset_minijs" /> <label for="reset_minijs"><?php _e('Reset the My Calendar Mini Format Javascript','my-calendar'); ?></label> <input type="checkbox" id="mini_javascript" name="mini_javascript" value="1" <?php jd_cal_checkCheckbox('mini_javascript',1); ?> /> <label for="mini_javascript"><?php _e('Disable Mini Javascript Effects','my-calendar'); ?></label>
120
- </p>
121
- <p>
122
- <label for="mini-javascript"><?php _e('Edit the jQuery scripts for My Calendar in Mini Calendar format','my-calendar'); ?></label><br /><textarea id="mini-javascript" name="my_calendar_minijs" rows="10" cols="80"><?php echo $my_calendar_minijs; ?></textarea>
123
- </p>
124
- <p>
125
- <input type="submit" name="save" class="button-primary" value="<?php _e('Save','my-calendar'); ?> &raquo;" />
126
- </p>
127
- </fieldset>
128
  </form>
129
  </div>
130
 
1
  <?php
2
  // Display the admin configuration page
3
 
 
 
 
 
 
 
 
4
 
5
+ function edit_my_calendar_styles() {
6
+ global $wpdb, $initial_style;
 
 
7
 
8
+ // We can't use this page unless My Calendar is installed/upgraded
9
+ check_my_calendar();
10
+ $my_calendar_style = stripcslashes( get_option('my_calendar_style') );
11
+ $my_calendar_use_styles = get_option('my_calendar_use_styles');
12
+ $my_calendar_show_css = stripcslashes(get_option('my_calendar_show_css'));
13
+
14
+ if ( isset($_POST['style'] ) ) {
15
 
16
+ $my_calendar_style = $_POST['style'];
17
  $use_styles = ($_POST['use_styles']=='on')?'true':'false';
18
 
19
+ update_option('my_calendar_style',$my_calendar_style);
20
+ update_option('my_calendar_use_styles',$use_styles);
21
+
22
+ $my_calendar_show_css = ($_POST['my_calendar_show_css']=='')?'':$_POST['my_calendar_show_css'];
23
+ update_option('my_calendar_show_css',$my_calendar_show_css);
24
+
 
 
 
 
 
 
 
 
25
  if ( $_POST['reset_styles'] == 'on') {
26
  update_option('my_calendar_style',$initial_style);
27
  }
28
+ echo "<div class=\"updated\"><p><strong>".__('Style Settings saved','my-calendar').".</strong></p></div>";
29
+ }
30
+ ?>
31
+ <div class="wrap">
32
+ <?php
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  echo my_calendar_check_db();
34
  ?>
35
  <h2><?php _e('My Calendar Styles','my-calendar'); ?></h2>
40
  <div class="inside">
41
  <form name="my-calendar" id="my-calendar" method="post" action="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar-styles">
42
  <p>
43
+ <label for="my_calendar_show_css"><?php _e('Apply CSS only on these pages (comma separated page IDs)','my-calendar'); ?></label> <input type="text" id="my_calendar_show_css" name="my_calendar_show_css" value="<?php echo $my_calendar_show_css; ?>" />
44
  </p>
45
  <fieldset>
46
  <legend><?php _e('CSS Style Options','my-calendar'); ?></legend>
54
  <input type="submit" name="save" class="button-primary" value="<?php _e('Save','my-calendar'); ?> &raquo;" />
55
  </p>
56
  </fieldset>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57
  </form>
58
  </div>
59
 
my-calendar-templates.php ADDED
@@ -0,0 +1,158 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ function jd_draw_template($array,$template) {
4
+ //1st argument: array of details
5
+ //2nd argument: template to print details into
6
+ foreach ($array as $key=>$value) {
7
+ $search = "{".$key."}";
8
+ $template = stripcslashes(str_replace($search,$value,$template));
9
+ }
10
+ return $template;
11
+ }
12
+
13
+ // Draw an event but customise the HTML for use in the widget
14
+ function event_as_array($event) {
15
+ global $wpdb;
16
+ // My Calendar must be updated to run this function
17
+ check_my_calendar();
18
+
19
+ $offset = (60*60*get_option('gmt_offset'));
20
+
21
+ $category_name = $event->category_name;
22
+ $category_color = $event->category_color;
23
+ $category_icon = $event->category_icon;
24
+
25
+ if ( file_exists( WP_PLUGIN_DIR . '/my-calendar-custom/' ) ) {
26
+ $path = '/my-calendar-custom';
27
+ } else {
28
+ $path = '/my-calendar/icons';
29
+ }
30
+ $category_icon = WP_PLUGIN_URL . $path . '/' . $category_icon;
31
+
32
+ $e = get_userdata($event->event_author);
33
+ $host = get_userdata($event->event_host);
34
+
35
+ $hcard = "<div class=\"address vcard\">";
36
+ $hcard .= "<div class=\"adr\">";
37
+ if ($event->event_label != "") {
38
+ $hcard .= "<strong class=\"org\">".$event->event_label."</strong><br />";
39
+ }
40
+ if ($event->event_street != "") {
41
+ $hcard .= "<div class=\"street-address\">".$event->event_street."</div>";
42
+ }
43
+ if ($event->event_street2 != "") {
44
+ $hcard .= "<div class=\"street-address\">".$event->event_street2."</div>";
45
+ }
46
+ if ($event->event_city != "") {
47
+ $hcard .= "<span class=\"locality\">".$event->event_city.",</span>";
48
+ }
49
+ if ($event->event_state != "") {
50
+ $hcard .= "<span class=\"region\">".$event->event_state."</span> ";
51
+ }
52
+ if ($event->event_postcode != "") {
53
+ $hcard .= " <span class=\"postal-code\">".$event->event_postcode."</span>";
54
+ }
55
+ if ($event->event_country != "") {
56
+ $hcard .= "<div class=\"country-name\">".$event->event_country."</div>";
57
+ }
58
+ $hcard .= "</div>\n</div>";
59
+
60
+ $map_string = $event->event_street.' '.$event->event_street2.' '.$event->event_city.' '.$event->event_state.' '.$event->event_postcode.' '.$event->event_country;
61
+ if ( strlen( trim( $map_string ) ) > 0 ) {
62
+ $map_string = str_replace(" ","+",$map_string);
63
+ if ($event->event_label != "") {
64
+ $map_label = $event->event_label;
65
+ } else {
66
+ $map_label = $event->event_title;
67
+ }
68
+ $zoom = ($event->event_zoom != 0)?$event->event_zoom:'15';
69
+
70
+ if ($event->event_longitude != '0.000000' && $event->event_latitude != '0.000000') {
71
+ $map_string = "$event->event_latitude,$event->event_longitude";
72
+ }
73
+
74
+ $map = "<a href=\"http://maps.google.com/maps?f=q&z=$zoom&q=$map_string\">Map<span> to $map_label</span></a>";
75
+ } else {
76
+ $map = "";
77
+ }
78
+
79
+ if (get_option('my_calendar_date_format') != '') {
80
+ $date = date_i18n(get_option('my_calendar_date_format'),strtotime($event->event_begin));
81
+ $date_end = date_i18n(get_option('my_calendar_date_format'),strtotime($event->event_end));
82
+ } else {
83
+ $date = date_i18n(get_option('date_format'),strtotime($event->event_begin));
84
+ $date_end = date_i18n(get_option('date_format'),strtotime($event->event_end));
85
+ }
86
+
87
+
88
+ $details = array();
89
+ $details['category'] = stripslashes($event->category_name);
90
+ $details['title'] = stripslashes($event->event_title);
91
+ if ($event->event_time == '00:00:00' ) {
92
+ $details['time'] = get_option( 'my_calendar_notime_text' );
93
+ } else {
94
+ $details['time'] = date(get_option('time_format'),strtotime($event->event_time));
95
+ }
96
+
97
+ $tz = mc_user_timezone();
98
+
99
+ if ($tz != '') {
100
+ $local_begin = date_i18n( get_option('time_format'), strtotime($event->event_time ."+$tz hours") );
101
+ $details['usertime'] = "$local_begin";
102
+ } else {
103
+ $details['usertime'] = '';
104
+ }
105
+
106
+ if ($event->event_endtime == '00:00:00' ) {
107
+ $details['endtime'] = '';
108
+ } else {
109
+ $details['endtime'] = date( get_option('time_format'),strtotime($event->event_endtime));
110
+ }
111
+ $details['author'] = $e->display_name;
112
+ $details['host'] = $host->display_name;
113
+ if ( $event->event_link_expires == 0 ) {
114
+ $details['link'] = $event->event_link;
115
+ } else {
116
+ if ( my_calendar_date_comp( $event->event_end, date('Y-m-d',time()+$offset ) ) ) {
117
+ $details['link'] = '';
118
+ } else {
119
+ $details['link'] = $event->event_link;
120
+ }
121
+ }
122
+ if ( $event->event_open == '1' ) {
123
+ $event_open = get_option( 'mc_event_open' );
124
+ } else if ( $event->event_open == '0' ) {
125
+ $event_open = get_option( 'mc_event_closed' );
126
+ } else {
127
+ $event_open = '';
128
+ }
129
+ $details['description'] = stripslashes($event->event_desc);
130
+ if ($details['link'] != '') {
131
+ $details['link_title'] = "<a href='".$event->event_link."'>".stripslashes($event->event_title)."</a>";
132
+ } else {
133
+ $details['link_title'] = stripslashes($event->event_title);
134
+ }
135
+ $details['date'] = $date;
136
+ $details['enddate'] = $date_end;
137
+ $details['location'] = stripslashes($event->event_label);
138
+ $details['street'] = stripslashes($event->event_street);
139
+ $details['street2'] = stripslashes($event->event_street2);
140
+ $details['city'] = stripslashes($event->event_city);
141
+ $details['state'] = stripslashes($event->event_state);
142
+ $details['postcode'] = stripslashes($event->event_postcode);
143
+ $details['country'] = stripslashes($event->event_country);
144
+ $details['hcard'] = stripslashes($hcard);
145
+ $details['link_map'] = $map;
146
+ $details['shortdesc'] = stripslashes($event->event_short);
147
+ $details['event_open'] = $event_open;
148
+ $details['icon'] = $category_icon;
149
+ $details['color'] = $category_color;
150
+ if ($event->event_approve == 1 ) {
151
+ $details['event_status'] = __('Published','my-calendar');
152
+ } else {
153
+ $details['event_status'] = __('Reserved','my-calendar');
154
+ }
155
+
156
+ return $details;
157
+ }
158
+ ?>
my-calendar-upgrade-db.php CHANGED
@@ -7,7 +7,8 @@ if ( $_POST['upgrade'] == 'true' ) {
7
  my_calendar_upgrade_db();
8
  }
9
 
10
- if ( !isset( $row->event_approved ) && isset( $row->event_id ) ) {
 
11
  ?>
12
 
13
  <div class='upgrade-db error'>
@@ -66,6 +67,7 @@ $initial_db = "CREATE TABLE " . MY_CALENDAR_TABLE . " (
66
  event_status INT(1) NOT NULL DEFAULT '1',
67
  event_group INT(1) NOT NULL DEFAULT '0',
68
  event_author BIGINT(20) UNSIGNED,
 
69
  event_category BIGINT(20) UNSIGNED,
70
  event_link TEXT,
71
  event_link_expires TINYINT(1) NOT NULL,
7
  my_calendar_upgrade_db();
8
  }
9
 
10
+ if ( !isset( $row->event_status ) && isset( $row->event_id ) ) {
11
+
12
  ?>
13
 
14
  <div class='upgrade-db error'>
67
  event_status INT(1) NOT NULL DEFAULT '1',
68
  event_group INT(1) NOT NULL DEFAULT '0',
69
  event_author BIGINT(20) UNSIGNED,
70
+ event_host BIGINT(20) UNSIGNED,
71
  event_category BIGINT(20) UNSIGNED,
72
  event_link TEXT,
73
  event_link_expires TINYINT(1) NOT NULL,
my-calendar-user.php ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ function mc_user_profile() {
3
+ global $user_ID;
4
+ get_currentuserinfo();
5
+ if ( isset($_GET['user_id']) ) {
6
+ $user_ID = (int) $_GET['user_id'];
7
+ }
8
+ $mc_us = get_usermeta( $user_ID, 'my_calendar_user_settings' );
9
+ $options = get_option('mc_user_settings');
10
+
11
+ foreach ($options as $key=>$value) {
12
+ if ($value['enabled'] == 'on') {
13
+ $name = $key;
14
+ $label = $value['label'];
15
+ $values = $value['values'];
16
+
17
+ $form .= "
18
+ <tr>
19
+ <th scope='row'><label for='my_calendar_user_settings'>$label</label></th>
20
+ <td><select name='my_calendar_user_settings[$name]' id='my_calendar_user_settings'>
21
+ <option value='none'>No preference</option>\n";
22
+ foreach ($values as $optkey=>$optvalue) {
23
+ if ($mc_us[$name]==$optkey) {
24
+ $selected = " selected='selected'";
25
+ } else {
26
+ $selected = '';
27
+ }
28
+ $form .= "<option value='$optkey'$selected>$optvalue</option>\n";
29
+ }
30
+
31
+ $form .= "</select></td>
32
+ </tr>";
33
+ }
34
+
35
+ }
36
+
37
+ ?>
38
+ <?php if ( get_option('mc_user_settings_enabled') == 'true' ) { ?>
39
+ <h3><?php _e('My Calendar User Settings', 'my-calendar'); ?></h3>
40
+
41
+ <table class="form-table">
42
+ <?php echo $form; ?>
43
+ </table>
44
+ <?php } ?>
45
+
46
+ <?php
47
+ }
48
+
49
+ function mc_user_save_profile() {
50
+ global $user_ID;
51
+ get_currentuserinfo();
52
+ if ( isset($_POST['user_id']) ) {
53
+ $user_ID = (int) $_POST['user_id'];
54
+ }
55
+ update_usermeta($user_ID ,'my_calendar_user_settings' , $_POST['my_calendar_user_settings'] );
56
+ }
57
+ ?>
my-calendar-widgets.php CHANGED
@@ -224,10 +224,10 @@ function my_calendar_upcoming_events($before='default',$after='default',$type='d
224
  // by Roland
225
  if ( get_option( 'mc_event_approve' ) == 'true' ) {
226
  if ( $event->event_approved != 0 ) {
227
- $output .= "<li>".jd_draw_widget_event($event_details,$template)."</li>";
228
  }
229
  } else {
230
- $output .= "<li>".jd_draw_widget_event($event_details,$template)."</li>";
231
  }
232
  // by Roland end
233
  }
@@ -274,10 +274,10 @@ function my_calendar_upcoming_events($before='default',$after='default',$type='d
274
  }
275
  if ( get_option( 'mc_event_approve' ) == 'true' ) {
276
  if ( $event->event_approved != 0 ) {
277
- $output .= "<li class=\"$class\">".jd_draw_widget_event($event_details,$template)."</li>\n";
278
  }
279
  } else {
280
- $output .= "<li class=\"$class\">".jd_draw_widget_event($event_details,$template)."</li>\n";
281
  }
282
  }
283
  $day_count = $day_count+1;
@@ -328,10 +328,10 @@ function my_calendar_todays_events($category='default',$template='default') {
328
  $event_details['date'] = $date;
329
  if ( get_option( 'mc_event_approve' ) == 'true' ) {
330
  if ( $event->event_approved != 0 ) {
331
- $output .= "<li>".jd_draw_widget_event($event_details,$template)."</li>";
332
  }
333
  } else {
334
- $output .= "<li>".jd_draw_widget_event($event_details,$template)."</li>";
335
  }
336
  }
337
  if (count($events) != 0) {
@@ -342,148 +342,4 @@ function my_calendar_todays_events($category='default',$template='default') {
342
  }
343
  }
344
 
345
- function jd_draw_widget_event($array,$template) {
346
- //1st argument: array of details
347
- //2nd argument: template to print details into
348
- foreach ($array as $key=>$value) {
349
- $search = "{".$key."}";
350
- $template = stripcslashes(str_replace($search,$value,$template));
351
- }
352
- return $template;
353
- }
354
-
355
- // Draw an event but customise the HTML for use in the widget
356
- function event_as_array($event) {
357
- global $wpdb;
358
- // My Calendar must be updated to run this function
359
- check_my_calendar();
360
-
361
- $offset = (60*60*get_option('gmt_offset'));
362
-
363
- $category_name = $event->category_name;
364
- $category_color = $event->category_color;
365
- $category_icon = $event->category_icon;
366
-
367
- if ( file_exists( WP_PLUGIN_DIR . '/my-calendar-custom/' ) ) {
368
- $path = '/my-calendar-custom';
369
- } else {
370
- $path = '/my-calendar/icons';
371
- }
372
- $category_icon = WP_PLUGIN_URL . $path . '/' . $category_icon;
373
-
374
- $e = get_userdata($event->event_author);
375
-
376
- $hcard = "<div class=\"address vcard\">";
377
- $hcard .= "<div class=\"adr\">";
378
- if ($event->event_label != "") {
379
- $hcard .= "<strong class=\"org\">".$event->event_label."</strong><br />";
380
- }
381
- if ($event->event_street != "") {
382
- $hcard .= "<div class=\"street-address\">".$event->event_street."</div>";
383
- }
384
- if ($event->event_street2 != "") {
385
- $hcard .= "<div class=\"street-address\">".$event->event_street2."</div>";
386
- }
387
- if ($event->event_city != "") {
388
- $hcard .= "<span class=\"locality\">".$event->event_city.",</span>";
389
- }
390
- if ($event->event_state != "") {
391
- $hcard .= "<span class=\"region\">".$event->event_state."</span> ";
392
- }
393
- if ($event->event_postcode != "") {
394
- $hcard .= " <span class=\"postal-code\">".$event->event_postcode."</span>";
395
- }
396
- if ($event->event_country != "") {
397
- $hcard .= "<div class=\"country-name\">".$event->event_country."</div>";
398
- }
399
- $hcard .= "</div>\n</div>";
400
-
401
- $map_string = $event->event_street.' '.$event->event_street2.' '.$event->event_city.' '.$event->event_state.' '.$event->event_postcode.' '.$event->event_country;
402
- if ( strlen( trim( $map_string ) ) > 0 ) {
403
- $map_string = str_replace(" ","+",$map_string);
404
- if ($event->event_label != "") {
405
- $map_label = $event->event_label;
406
- } else {
407
- $map_label = $event->event_title;
408
- }
409
- $zoom = ($event->event_zoom != 0)?$event->event_zoom:'15';
410
-
411
- if ($event->event_longitude != '0.000000' && $event->event_latitude != '0.000000') {
412
- $map_string = "$event->event_latitude,$event->event_longitude";
413
- }
414
-
415
- $map = "<a href=\"http://maps.google.com/maps?f=q&z=$zoom&q=$map_string\">Map<span> to $map_label</span></a>";
416
- } else {
417
- $map = "";
418
- }
419
-
420
- if (get_option('my_calendar_date_format') != '') {
421
- $date = date_i18n(get_option('my_calendar_date_format'),strtotime($event->event_begin));
422
- $date_end = date_i18n(get_option('my_calendar_date_format'),strtotime($event->event_end));
423
- } else {
424
- $date = date_i18n(get_option('date_format'),strtotime($event->event_begin));
425
- $date_end = date_i18n(get_option('date_format'),strtotime($event->event_end));
426
- }
427
-
428
-
429
- $details = array();
430
- $details['category'] = stripslashes($event->category_name);
431
- $details['title'] = stripslashes($event->event_title);
432
- if ($event->event_time == '00:00:00' ) {
433
- $details['time'] = get_option( 'my_calendar_notime_text' );
434
- } else {
435
- $details['time'] = date(get_option('time_format'),strtotime($event->event_time));
436
- }
437
- if ($event->event_endtime == '00:00:00' ) {
438
- $details['endtime'] = '';
439
- } else {
440
- $details['endtime'] = date( get_option('time_format'),strtotime($event->event_endtime));
441
- }
442
- $details['author'] = $e->display_name;
443
- if ( $event->event_link_expires == 0 ) {
444
- $details['link'] = $event->event_link;
445
- } else {
446
- if ( my_calendar_date_comp( $event->event_end, date('Y-m-d',time()+$offset ) ) ) {
447
- $details['link'] = '';
448
- } else {
449
- $details['link'] = $event->event_link;
450
- }
451
- }
452
- if ( $event->event_open == '1' ) {
453
- $event_open = get_option( 'mc_event_open' );
454
- } else if ( $event->event_open == '0' ) {
455
- $event_open = get_option( 'mc_event_closed' );
456
- } else {
457
- $event_open = '';
458
- }
459
- $details['description'] = stripslashes($event->event_desc);
460
- if ($details['link'] != '') {
461
- $details['link_title'] = "<a href='".$event->event_link."'>".stripslashes($event->event_title)."</a>";
462
- } else {
463
- $details['link_title'] = stripslashes($event->event_title);
464
- }
465
- $details['date'] = $date;
466
- $details['enddate'] = $date_end;
467
- $details['location'] = stripslashes($event->event_label);
468
- $details['street'] = stripslashes($event->event_street);
469
- $details['street2'] = stripslashes($event->event_street2);
470
- $details['city'] = stripslashes($event->event_city);
471
- $details['state'] = stripslashes($event->event_state);
472
- $details['postcode'] = stripslashes($event->event_postcode);
473
- $details['country'] = stripslashes($event->event_country);
474
- $details['hcard'] = stripslashes($hcard);
475
- $details['link_map'] = $map;
476
- $details['shortdesc'] = stripslashes($event->event_short);
477
- $details['event_open'] = $event_open;
478
- $details['icon'] = $category_icon;
479
- $details['color'] = $category_color;
480
- if ($event->event_approve == 1 ) {
481
- $details['event_status'] = __('Published','my-calendar');
482
- } else {
483
- $details['event_status'] = __('Reserved','my-calendar');
484
- }
485
-
486
- return $details;
487
- }
488
-
489
  ?>
224
  // by Roland
225
  if ( get_option( 'mc_event_approve' ) == 'true' ) {
226
  if ( $event->event_approved != 0 ) {
227
+ $output .= "<li>".jd_draw_template($event_details,$template)."</li>";
228
  }
229
  } else {
230
+ $output .= "<li>".jd_draw_template($event_details,$template)."</li>";
231
  }
232
  // by Roland end
233
  }
274
  }
275
  if ( get_option( 'mc_event_approve' ) == 'true' ) {
276
  if ( $event->event_approved != 0 ) {
277
+ $output .= "<li class=\"$class\">".jd_draw_template($event_details,$template)."</li>\n";
278
  }
279
  } else {
280
+ $output .= "<li class=\"$class\">".jd_draw_template($event_details,$template)."</li>\n";
281
  }
282
  }
283
  $day_count = $day_count+1;
328
  $event_details['date'] = $date;
329
  if ( get_option( 'mc_event_approve' ) == 'true' ) {
330
  if ( $event->event_approved != 0 ) {
331
+ $output .= "<li>".jd_draw_template($event_details,$template)."</li>";
332
  }
333
  } else {
334
+ $output .= "<li>".jd_draw_template($event_details,$template)."</li>";
335
  }
336
  }
337
  if (count($events) != 0) {
342
  }
343
  }
344
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
345
  ?>
my-calendar.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://www.joedolson.com/articles/my-calendar/
5
  Description: Accessible WordPress event calendar plugin. Show events from multiple calendars on pages, in posts, or in widgets.
6
  Author: Joseph C Dolson
7
  Author URI: http://www.joedolson.com
8
- Version: 1.5.4
9
  */
10
  /* Copyright 2009-2010 Joe Dolson (email : joe@joedolson.com)
11
 
@@ -46,6 +46,10 @@ add_action('delete_user', 'mc_deal_with_deleted_user');
46
  // Add the widgets if we are using version 2.8
47
  add_action('widgets_init', 'init_my_calendar_today');
48
  add_action('widgets_init', 'init_my_calendar_upcoming');
 
 
 
 
49
 
50
  register_activation_hook( __FILE__, 'check_my_calendar' );
51
  // add filters to text widgets which will process shortcodes
@@ -66,11 +70,26 @@ include(dirname(__FILE__).'/my-calendar-locations.php' );
66
  include(dirname(__FILE__).'/my-calendar-help.php' );
67
  include(dirname(__FILE__).'/my-calendar-event-manager.php' );
68
  include(dirname(__FILE__).'/my-calendar-styles.php' );
 
69
  include(dirname(__FILE__).'/my-calendar-widgets.php' );
70
  include(dirname(__FILE__).'/date-utilities.php' );
71
  include(dirname(__FILE__).'/my-calendar-install.php' );
72
  include(dirname(__FILE__).'/my-calendar-upgrade-db.php' );
 
 
 
73
 
 
 
 
 
 
 
 
 
 
 
 
74
 
75
  // Before we get on with the functions, we need to define the initial style used for My Calendar
76
 
@@ -145,10 +164,14 @@ echo "
145
  <style type=\"text/css\">
146
  <!--
147
  .js #jd-calendar .details { display: none; }
148
- // Styles from My Calendar - Joseph C Dolson http://www.joedolson.com/
149
  $styles
150
 
151
  $category_styles
 
 
 
 
152
  -->
153
  </style>";
154
 
@@ -180,6 +203,7 @@ function my_calendar_menu() {
180
  add_submenu_page('my-calendar', __('Manage Locations','my-calendar'), __('Manage Locations','my-calendar'), 'manage_options', 'my-calendar-locations', 'my_calendar_manage_locations');
181
  add_submenu_page('my-calendar', __('Settings','my-calendar'), __('Settings','my-calendar'), 'manage_options', 'my-calendar-config', 'edit_my_calendar_config');
182
  add_submenu_page('my-calendar', __('Style Editor','my-calendar'), __('Style Editor','my-calendar'), 'manage_options', 'my-calendar-styles', 'edit_my_calendar_styles');
 
183
  add_submenu_page('my-calendar', __('My Calendar Help','my-calendar'), __('Help','my-calendar'), 'manage_options', 'my-calendar-help', 'my_calendar_help');
184
  }
185
  }
@@ -216,54 +240,56 @@ function my_calendar_add_display_javascript() {
216
  }
217
  add_action('init','my_calendar_add_display_javascript');
218
 
 
219
  function my_calendar_fouc() {
220
  global $wp_query;
221
  if ( get_option('calendar_javascript') != 1 || get_option('list_javascript') != 1 || get_option('mini_javascript') != 1 ) {
222
  $scripting = "\n<script type='text/javascript'>\n";
223
- $scripting .= "var \$mc = jQuery.noConflict();\n";
224
- $scripting .= "\$mc('html').addClass('js');\n";
225
- $scripting .= "\$mc(document).ready(function() { \$mc('html').removeClass('js') });\n";
226
  $scripting .= "</script>\n";
227
  $this_post = $wp_query->get_queried_object();
228
  if (is_object($this_post)) {
229
  $id = $this_post->ID;
230
  }
231
- if ( get_option( 'my_calendar_show_css' ) != '' ) {
232
- $array = explode( ",",get_option( 'my_calendar_show_css' ) );
233
  if (!is_array($array)) {
234
  $array = array();
235
  }
236
  }
237
- if ( @in_array( $id, $array ) || trim ( get_option( 'my_calendar_show_css' ) ) == '' ) {
238
  echo $scripting;
239
  }
240
- }
241
  }
242
 
243
  function my_calendar_calendar_javascript() {
244
- global $wpdb, $wp_query;
245
 
246
- if ( get_option('calendar_javascript') != 1 || get_option('list_javascript') != 1 || get_option('mini_javascript') != 1 ) {
247
 
248
  $list_js = stripcslashes( get_option( 'my_calendar_listjs' ) );
249
  $cal_js = stripcslashes( get_option( 'my_calendar_caljs' ) );
250
  $mini_js = stripcslashes( get_option( 'my_calendar_minijs' ) );
251
-
 
252
  $this_post = $wp_query->get_queried_object();
253
  if (is_object($this_post)) {
254
  $id = $this_post->ID;
255
  }
256
- if ( get_option( 'my_calendar_show_css' ) != '' ) {
257
- $array = explode( ",",get_option( 'my_calendar_show_css' ) );
258
  if (!is_array($array)) {
259
  $array = array();
260
  }
261
  }
262
- if ( @in_array( $id, $array ) || get_option( 'my_calendar_show_css' ) == '' ) {
263
  $scripting = "<script type='text/javascript'>\n";
264
  if ( get_option('calendar_javascript') != 1 ) { $scripting .= "\n".$cal_js; }
265
  if ( get_option('list_javascript') != 1 ) { $scripting .= "\n".$list_js; }
266
  if ( get_option('mini_javascript') != 1 ) { $scripting .= "\n".$mini_js; }
 
267
  $scripting .= "</script>";
268
  echo $scripting;
269
  }
@@ -273,7 +299,7 @@ add_action('wp_footer','my_calendar_calendar_javascript');
273
  add_action('wp_head','my_calendar_fouc');
274
 
275
  function my_calendar_add_styles() {
276
- if ($_GET['page'] == 'my-calendar' || $_GET['page'] == 'my-calendar-categories' || $_GET['page'] == 'my-calendar-locations' || $_GET['page'] == 'my-calendar-config' || $_GET['page'] == 'my-calendar-styles' || $_GET['page'] == 'my-calendar-help' ) {
277
  echo '<link type="text/css" rel="stylesheet" href="'.WP_PLUGIN_URL.'/my-calendar/js/ui.datepicker.css" />';
278
  echo '<link type="text/css" rel="stylesheet" href="'.WP_PLUGIN_URL.'/my-calendar/mc-styles.css" />';
279
  }
@@ -284,12 +310,13 @@ function my_calendar_insert($atts) {
284
  'name' => 'all',
285
  'format' => 'calendar',
286
  'category' => 'all',
287
- 'showkey' => 'yes'
 
288
  ), $atts));
289
  if ( isset($_GET['format']) ) {
290
  $format = mysql_real_escape_string($_GET['format']);
291
  }
292
- return my_calendar($name,$format,$category,$showkey);
293
  }
294
 
295
  function my_calendar_insert_upcoming($atts) {
@@ -311,18 +338,38 @@ function my_calendar_insert_today($atts) {
311
  return my_calendar_todays_events($category, $template);
312
  }
313
 
 
 
 
 
 
 
 
 
314
 
 
 
 
 
 
 
 
 
 
 
 
315
  // add shortcode interpreter
316
  add_shortcode('my_calendar','my_calendar_insert');
317
  add_shortcode('my_calendar_upcoming','my_calendar_insert_upcoming');
318
  add_shortcode('my_calendar_today','my_calendar_insert_today');
 
319
 
320
  // Function to check what version of My Calendar is installed and install if needed
321
  function check_my_calendar() {
322
- global $wpdb, $initial_style, $initial_listjs, $initial_caljs, $initial_minijs, $mini_styles;
323
  $current_version = get_option('my_calendar_version');
324
  // If current version matches, don't bother running this.
325
- if ($current_version == '1.5.4') {
326
  return true;
327
  }
328
 
@@ -358,10 +405,16 @@ function check_my_calendar() {
358
  $upgrade_path[] = "1.4.8";
359
  } else if ( version_compare( $current_version, "1.5.0", "<" ) ) {
360
  $upgrade_path[] = "1.5.0";
 
 
 
 
 
 
361
  }
362
 
363
  // having determined upgrade path, assign new version number
364
- update_option( 'my_calendar_version' , '1.5.4' );
365
 
366
  // Now we've determined what the current install is or isn't
367
  if ( $new_install == true ) {
@@ -414,6 +467,126 @@ function check_my_calendar() {
414
  add_option('mc_event_approve_perms','manage_options');
415
  add_option('mc_no_fifth_week','true');
416
  upgrade_db();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
417
  default:
418
  break;
419
  }
@@ -433,19 +606,32 @@ function check_my_calendar() {
433
  }
434
  }
435
 
436
- function jd_cal_checkCheckbox( $theFieldname,$theValue ){
 
437
  if( get_option( $theFieldname ) == $theValue ){
438
  echo 'checked="checked"';
439
  }
 
 
 
 
 
 
440
  }
441
- function jd_cal_checkSelect( $theFieldname,$theValue ) {
442
- if ( get_option( $theFieldname ) == $theValue) {
443
- echo 'selected="selected"';
 
 
 
 
 
 
 
444
  }
445
  }
446
 
447
- // Function to return a prefix which will allow the correct
448
- // placement of arguments into the query string.
449
  function my_calendar_permalink_prefix() {
450
  // Get the permalink structure from WordPress
451
  $p_link = get_permalink();
@@ -486,246 +672,6 @@ function my_calendar_permalink_prefix() {
486
  return $link_part;
487
  }
488
 
489
- // Configure the "Next" link in the calendar
490
- function my_calendar_next_link($cur_year,$cur_month,$format) {
491
- $next_year = $cur_year + 1;
492
- $next_events = ( get_option( 'mc_next_events') == '' )?"Next events":stripcslashes( get_option( 'mc_next_events') );
493
- $num_months = get_option('my_calendar_show_months');
494
- if ($num_months <= 1 || $format=="calendar") {
495
- if ($cur_month == 12) {
496
- return '<a href="' . my_calendar_permalink_prefix() . 'month=1&amp;yr=' . $next_year . '#jd-calendar" rel="nofollow">'.$next_events.' &raquo;</a>';
497
- } else {
498
- $next_month = $cur_month + 1;
499
- return '<a href="' . my_calendar_permalink_prefix() . 'month='.$next_month.'&amp;yr=' . $cur_year . '#jd-calendar" rel="nofollow">'.$next_events.' &raquo;</a>';
500
- }
501
- } else {
502
- $next_month = (($cur_month + $num_months) > 12)?(($cur_month + $num_months) - 12):($cur_month + $num_months);
503
- if ($cur_month >= (12-$num_months)) {
504
- return '<a href="' . my_calendar_permalink_prefix() . 'month='.$next_month.'&amp;yr=' . $next_year . '#jd-calendar" rel="nofollow">'.$next_events.' &raquo;</a>';
505
- } else {
506
- return '<a href="' . my_calendar_permalink_prefix() . 'month='.$next_month.'&amp;yr=' . $cur_year . '#jd-calendar" rel="nofollow">'.$next_events.' &raquo;</a>';
507
- }
508
- }
509
- }
510
-
511
- // Configure the "Previous" link in the calendar
512
- function my_calendar_prev_link($cur_year,$cur_month,$format) {
513
- $last_year = $cur_year - 1;
514
- $previous_events = ( get_option( 'mc_previous_events') == '' )?"Previous events":stripcslashes( get_option( 'mc_previous_events') );
515
- $num_months = get_option('my_calendar_show_months');
516
- if ($num_months <= 1 || $format=="calendar") {
517
- if ($cur_month == 1) {
518
- return '<a href="' . my_calendar_permalink_prefix() . 'month=12&amp;yr='. $last_year .'#jd-calendar" rel="nofollow">&laquo; '.$previous_events.'</a>';
519
- } else {
520
- $next_month = $cur_month - 1;
521
- return '<a href="' . my_calendar_permalink_prefix() . 'month='.$next_month.'&amp;yr=' . $cur_year . '#jd-calendar" rel="nofollow">&laquo; '.$previous_events.'</a>';
522
- }
523
- } else {
524
- $next_month = ($cur_month > $num_months)?($cur_month - $num_months):(($cur_month - $num_months) + 12);
525
- if ($cur_month <= $num_months) {
526
- return '<a href="' . my_calendar_permalink_prefix() . 'month='.$next_month.'&amp;yr=' . $last_year . '#jd-calendar" rel="nofollow">&laquo; '.$previous_events.'</a>';
527
- } else {
528
- return '<a href="' . my_calendar_permalink_prefix() . 'month='.$next_month.'&amp;yr=' . $cur_year . '#jd-calendar" rel="nofollow">&laquo; '.$previous_events.'</a>';
529
- }
530
- }
531
- }
532
-
533
- // Used to draw multiple events
534
- function my_calendar_draw_events($events, $type, $process_date) {
535
- // We need to sort arrays of objects by time
536
- usort($events, "my_calendar_time_cmp");
537
- if ($type == "mini" && count($events) > 0) { $output .= "<div class='calendar-events'>"; }
538
- foreach($events as $event) { $output .= my_calendar_draw_event($event, $type, $process_date); }
539
- if ($type == "mini" && count($events) > 0) { $output .= "</div>"; }
540
- return $output;
541
- }
542
- // Used to draw an event to the screen
543
- function my_calendar_draw_event($event, $type="calendar", $process_date) {
544
- global $wpdb;
545
- // My Calendar must be updated to run this function
546
- check_my_calendar();
547
- $display_author = get_option('display_author');
548
- $display_map = get_option('my_calendar_show_map');
549
- $display_address = get_option('my_calendar_show_address');
550
- $this_category = $event->event_category;
551
-
552
- $category = "mc_".sanitize_title( $event->category_name );
553
- if ( get_option('my_calendar_hide_icons')=='true' ) {
554
- $image = "";
555
- } else {
556
- if ($event->category_icon != "") {
557
- $path = ( file_exists( WP_PLUGIN_DIR . '/my-calendar-custom/' ) )?'/my-calendar-custom' : '/my-calendar/icons';
558
- $image = '<img src="'.WP_PLUGIN_URL.$path.'/'.$event->category_icon.'" alt="" class="category-icon" style="background:'.$event->category_color.';" />';
559
- } else {
560
- $image = "";
561
- }
562
- }
563
- $location_string = $event->event_street.$event->event_street2.$event->event_city.$event->event_state.$event->event_postcode.$event->event_country;
564
- // put together address information as vcard
565
- if (($display_address == 'true' || $display_map == 'true') && strlen($location_string) > 0 ) {
566
- $map_string = $event->event_street.' '.$event->event_street2.' '.$event->event_city.' '.$event->event_state.' '.$event->event_postcode.' '.$event->event_country;
567
- $address .= '<div class="address vcard">';
568
- if ($display_address == 'true') {
569
- $address .= "<div class=\"adr\">";
570
- if ($event->event_label != "") {
571
- $address .= "<strong class=\"org\">".stripslashes($event->event_label)."</strong><br />";
572
- }
573
- if ($event->event_street != "") {
574
- $address .= "<div class=\"street-address\">".stripslashes($event->event_street)."</div>";
575
- }
576
- if ($event->event_street2 != "") {
577
- $address .= "<div class=\"street-address\">".stripslashes($event->event_street2)."</div>";
578
- }
579
- if ($event->event_city != "") {
580
- $address .= "<span class=\"locality\">".stripslashes($event->event_city).",</span>";
581
- }
582
- if ($event->event_state != "") {
583
- $address .= " <span class=\"region\">".stripslashes($event->event_state)."</span> ";
584
- }
585
- if ($event->event_postcode != "") {
586
- $address .= " <span class=\"postal-code\">".stripslashes($event->event_postcode)."</span>";
587
- }
588
- if ($event->event_country != "") {
589
- $address .= "<div class=\"country-name\">".stripslashes($event->event_country)."</div>";
590
- }
591
- $address .= "</div>";
592
- }
593
- if ($display_map == 'true' && (strlen($location_string) > 0 || ( $event->event_longitude != '0.000000' && $event->event_latitude != '0.000000' ) ) ) {
594
- $map_string = str_replace(" ","+",$map_string);
595
- if ($event->event_label != "") {
596
- $map_label = stripslashes($event->event_label);
597
- } else {
598
- $map_label = stripslashes($event->event_title);
599
- }
600
- $zoom = ($event->event_zoom != 0)?$event->event_zoom:'15';
601
- $map_string_label = urlencode($map_label);
602
-
603
- if ($event->event_longitude != '0.000000' && $event->event_latitude != '0.000000') {
604
- $map_string = "$event->event_latitude,$event->event_longitude+($map_string_label)";
605
- }
606
-
607
- $map = "<a href=\"http://maps.google.com/maps?f=q&amp;z=$zoom&amp;q=$map_string\">Map<span> to $map_label</span></a>";
608
- $address .= "<div class=\"url map\">$map</div>";
609
- }
610
- $address .= "</div>";
611
- }
612
-
613
- $header_details .= "\n<div class='$type-event'>\n";
614
- if ( get_option('mc_show_link_on_title') == 'true' ) { // this doesn't exist yet.
615
- if ( $event->event_link_expires == 0 ) {
616
- $event_link = $event->event_link;
617
- } else {
618
- if ( my_calendar_date_comp( $event->event_end,date_i18n('Y-m-d',time()+$offset ) ) ) {
619
- $event_link = '';
620
- } else {
621
- $event_link = $event->event_link;
622
- }
623
- }
624
- if ($event_link != '') {
625
- $mytitle = '<a href="'.$event_link.'" class="my-link">'.stripslashes($event->event_title).' &raquo; </a>';
626
- } else {
627
- $mytitle = stripslashes($event->event_title);
628
- }
629
- } else {
630
- $mytitle = stripslashes($event->event_title);
631
- }
632
- if ($type == 'calendar') {
633
- $toggle = " <a href='#' class='mc-toggle mc-expand'><img src='".MY_CALENDAR_DIRECTORY."/images/event-details.png' alt='".__('Event Details','my-calendar')."' /></a>";
634
- } else {
635
- $toggle = "";
636
- }
637
- if ($type != 'list') {
638
- $header_details .= "<h3 class='event-title $category'>$image".$mytitle."$toggle</h3>\n";
639
- }
640
-
641
- $header_details .= "<div class='details'>";
642
- if ( $type == "calendar" ) { $header_details .= "<h3 class='close'><a href='#' class='mc-toggle mc-close'><img src='".MY_CALENDAR_DIRECTORY."/images/event-close.png' alt='".__('Close','my-calendar')."' /></a></h3>"; }
643
- if ( $event->event_time != "00:00:00" && $event->event_time != '' ) {
644
- $header_details .= "<span class='event-time'>".date_i18n(get_option('time_format'), strtotime($event->event_time));
645
- if ($event->event_endtime != "00:00:00" && $event->event_endtime != '' ) {
646
- $header_details .= "<span class='time-separator'>&thinsp;&ndash;&thinsp;</span><span class='end-time'>".date_i18n(get_option('time_format'), strtotime($event->event_endtime))."</span>";
647
- }
648
- $header_details .= "</span>\n";
649
- } else {
650
- $header_details .= "<span class='event-time'>";
651
- if ( get_option('my_calendar_notime_text') == '' || get_option('my_calendar_notime_text') == "N/A" ) {
652
- $header_details .= "<abbr title='".__('Not Applicable','my-calendar')."'>".__('N/A','my-calendar')."</abbr>\n";
653
- } else {
654
- $header_details .= get_option('my_calendar_notime_text');
655
- }
656
- $header_details .= "</span>";
657
- }
658
- $header_details .= "<div class='sub-details'>";
659
- if ($type == "list") {
660
- $header_details .= "<h3 class='event-title'>$image".$mytitle."</h3>\n";
661
- }
662
- if ($display_author == 'true') {
663
- $e = get_userdata($event->event_author);
664
- $header_details .= '<span class="event-author">'.__('Posted by', 'my-calendar').': <span class="author-name">'.$e->display_name."</span></span><br />\n ";
665
- }
666
- if (($display_address == 'true' || $display_map == 'true') && strlen($location_string) > 0 ) {
667
- $header_details .= $address;
668
- }
669
- // handle link expiration
670
- if ( $event->event_link_expires == 0 ) {
671
- $event_link = $event->event_link;
672
- } else {
673
- if ( my_calendar_date_comp( $event->event_end,date_i18n('Y-m-d',time()+$offset ) ) ) {
674
- $event_link = '';
675
- } else {
676
- $event_link = $event->event_link;
677
- }
678
- }
679
-
680
- if ( get_option('mc_short') == 'true' ) {
681
- $short = "<div class='shortdesc'>".wpautop(stripcslashes($event->event_short),1)."</div>";
682
- }
683
- if ( get_option('mc_desc') == 'true' ) {
684
- $description = "<div class='longdesc'>".wpautop(stripcslashes($event->event_desc),1)."</div>";
685
- }
686
- if ( get_option('mc_event_registration') == 'true' ) {
687
- switch ($event->event_open) {
688
- case '0':
689
- $status = get_option('mc_event_closed');
690
- break;
691
- case '1':
692
- $status = get_option('mc_event_open');
693
- break;
694
- case '2':
695
- $status = '';
696
- break;
697
- default:
698
- $status = '';
699
- }
700
- }
701
- // if the event is a member of a group of events, but not the first, note that.
702
- if ($event->event_group == 1 ) {
703
- $info = array();
704
- $info[] = $event->event_id;
705
- update_option( 'mc_event_groups' , $info );
706
- }
707
- if ( is_array( get_option( 'mc_event_groups' ) ) ) {
708
- if ( in_array ( $event->event_id , get_option( 'mc_event_groups') ) ) {
709
- if ( $process_date != $event->event_original_begin ) {
710
- $status = __("This class is part of a series. You must register for the first event in this series to attend.",'my-calendar');
711
- }
712
- }
713
- }
714
-
715
- if ($event_link != '') {
716
- $details = "\n". $header_details . '' . $description . $short . '<p>'.$status.'</p><p><a href="'.$event_link.'" class="event-link">' . stripslashes($event->event_title) . '&raquo; </a></p>'."</div></div></div>\n";
717
- } else {
718
- $details = "\n". $header_details . '' . $description . $short . '<p>'.$status."</p></div></div></div>\n";
719
- }
720
-
721
- if ( get_option( 'mc_event_approve' ) == 'true' ) {
722
- if ( $event->event_approved == 1 ) {
723
- return $details;
724
- }
725
- } else {
726
- return $details;
727
- }
728
- }
729
  function mc_select_category($category, $type='event') {
730
  global $wpdb;
731
  if ($category == 'all' ) {
@@ -762,7 +708,7 @@ global $wpdb;
762
  $i++;
763
  }
764
  }
765
- } else {
766
  if (is_numeric($category)) {
767
  $select_category = ($type=='all')?" WHERE event_category = $category":" event_category = $category AND";
768
  } else {
@@ -782,12 +728,14 @@ global $wpdb;
782
  // used to generate upcoming events lists
783
  function mc_get_all_events($category) {
784
  global $wpdb;
785
- if ( $category!='default' ) {
786
  $select_category = mc_select_category($category,'all');
787
- } else {
788
  $select_category = "";
789
- }
790
- $events = $wpdb->get_results("SELECT * FROM " . MY_CALENDAR_TABLE . " JOIN " . MY_CALENDAR_CATEGORIES_TABLE . " ON (event_category=category_id) $select_category");
 
 
791
  $offset = (60*60*get_option('gmt_offset'));
792
  $date = date('Y', time()+($offset)).'-'.date('m', time()+($offset)).'-'.date('d', time()+($offset));
793
  if (!empty($events)) {
@@ -1103,6 +1051,72 @@ global $wpdb;
1103
  }
1104
  return $arr_events;
1105
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1106
  // Grab all events for the requested date from calendar
1107
  function my_calendar_grab_events($y,$m,$d,$category=null) {
1108
 
@@ -1120,41 +1134,44 @@ function my_calendar_grab_events($y,$m,$d,$category=null) {
1120
 
1121
  // set the date format
1122
  $date = $y . '-' . $m . '-' . $d;
1123
-
1124
- // First we check for conventional events. These will form the first instance of a recurring event
1125
- // or the only instance of a one-off event
 
 
 
1126
  $events = $wpdb->get_results("
1127
- SELECT * FROM " . MY_CALENDAR_TABLE . " JOIN " . MY_CALENDAR_CATEGORIES_TABLE . " ON (event_category=category_id) WHERE $select_category event_begin <= '$date' AND event_end >= '$date' AND event_recur = 'S' ORDER BY event_id");
1128
- if (!empty($events)) {
1129
- foreach($events as $event) {
1130
  $arr_events[]=$event;
1131
- }
1132
- }
1133
-
1134
  $events = $wpdb->get_results("
1135
- SELECT *,event_begin AS event_original_begin FROM " . MY_CALENDAR_TABLE . " JOIN " . MY_CALENDAR_CATEGORIES_TABLE . " ON (event_category=category_id) WHERE $select_category event_recur = 'Y' AND EXTRACT(YEAR FROM '$date') >= EXTRACT(YEAR FROM event_begin)
1136
  UNION ALL
1137
- SELECT *,event_begin AS event_original_begin FROM " . MY_CALENDAR_TABLE . " JOIN " . MY_CALENDAR_CATEGORIES_TABLE . " ON (event_category=category_id) WHERE $select_category event_recur = 'M' AND EXTRACT(YEAR FROM '$date') >= EXTRACT(YEAR FROM event_begin) AND event_repeats = 0
1138
  UNION ALL
1139
- SELECT *,event_begin AS event_original_begin FROM " . MY_CALENDAR_TABLE . " JOIN " . MY_CALENDAR_CATEGORIES_TABLE . " ON (event_category=category_id) WHERE $select_category event_recur = 'M' AND EXTRACT(YEAR FROM '$date') >= EXTRACT(YEAR FROM event_begin) AND event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '$date'),EXTRACT(YEAR_MONTH FROM event_begin))) <= event_repeats
1140
  UNION ALL
1141
- SELECT *,event_begin AS event_original_begin FROM " . MY_CALENDAR_TABLE . " JOIN " . MY_CALENDAR_CATEGORIES_TABLE . " ON (event_category=category_id) WHERE $select_category event_recur = 'U' AND EXTRACT(YEAR FROM '$date') >= EXTRACT(YEAR FROM event_begin) AND event_repeats = 0
1142
  UNION ALL
1143
- SELECT *,event_begin AS event_original_begin FROM " . MY_CALENDAR_TABLE . " JOIN " . MY_CALENDAR_CATEGORIES_TABLE . " ON (event_category=category_id) WHERE $select_category event_recur = 'U' AND EXTRACT(YEAR FROM '$date') >= EXTRACT(YEAR FROM event_begin) AND event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '$date'),EXTRACT(YEAR_MONTH FROM event_begin))) <= event_repeats
1144
  UNION ALL
1145
- SELECT *,event_begin AS event_original_begin FROM " . MY_CALENDAR_TABLE . " JOIN " . MY_CALENDAR_CATEGORIES_TABLE . " ON (event_category=category_id) WHERE $select_category event_recur = 'B' AND '$date' >= event_begin AND event_repeats = 0
1146
  UNION ALL
1147
- SELECT *,event_begin AS event_original_begin FROM " . MY_CALENDAR_TABLE . " JOIN " . MY_CALENDAR_CATEGORIES_TABLE . " ON (event_category=category_id) WHERE $select_category event_recur = 'B' AND '$date' >= event_begin AND event_repeats != 0 AND (event_repeats*14) >= (TO_DAYS('$date') - TO_DAYS(event_end))
1148
  UNION ALL
1149
- SELECT *,event_begin AS event_original_begin FROM " . MY_CALENDAR_TABLE . " JOIN " . MY_CALENDAR_CATEGORIES_TABLE . " ON (event_category=category_id) WHERE $select_category event_recur = 'W' AND '$date' >= event_begin AND event_repeats = 0
1150
  UNION ALL
1151
- SELECT *,event_begin AS event_original_begin FROM " . MY_CALENDAR_TABLE . " JOIN " . MY_CALENDAR_CATEGORIES_TABLE . " ON (event_category=category_id) WHERE $select_category event_recur = 'W' AND '$date' >= event_begin AND event_repeats != 0 AND (event_repeats*7) >= (TO_DAYS('$date') - TO_DAYS(event_end))
1152
  UNION ALL
1153
- SELECT *,event_begin AS event_original_begin FROM " . MY_CALENDAR_TABLE . " JOIN " . MY_CALENDAR_CATEGORIES_TABLE . " ON (event_category=category_id) WHERE $select_category event_recur = 'D' AND '$date' >= event_begin AND event_repeats = 0
1154
  UNION ALL
1155
- SELECT *,event_begin AS event_original_begin FROM " . MY_CALENDAR_TABLE . " JOIN " . MY_CALENDAR_CATEGORIES_TABLE . " ON (event_category=category_id) WHERE $select_category event_recur = 'D' AND '$date' >= event_begin AND event_repeats != 0 AND (event_repeats) >= (TO_DAYS('$date') - TO_DAYS(event_end))
1156
  ORDER BY event_id");
1157
-
1158
  if (!empty($events)) {
1159
  foreach($events as $event) {
1160
  switch ($event->event_recur) {
@@ -1230,13 +1247,7 @@ function my_calendar_grab_events($y,$m,$d,$category=null) {
1230
  }
1231
  }
1232
  }
1233
-
1234
- /*
1235
- if ( $event->event_title == 'Every 3rd Thursday' ) {
1236
- echo ("$event->event_title $day_of_event=$current_day, $date_of_event, $week_of_event=$current_week, <br />");
1237
- echo ("$event->event_title $current_date>=$date_of_event_this_month, $current_date<=$date_of_event_this_month+$day_diff, <br />");
1238
- }
1239
- */
1240
  if ( my_calendar_date_comp($event->event_begin,$date) ) {
1241
  if ( ($current_day == $day_of_event && $current_week == $week_of_event) || ($current_date >= $date_of_event_this_month && $current_date <= $date_of_event_this_month+$day_diff && $date_of_event_this_month != '' ) ) {
1242
  if ($month_begin == $month_end) {
@@ -1339,311 +1350,12 @@ function mc_year_comparison($year) {
1339
  return ' selected="selected"';
1340
  }
1341
  }
1342
- function mc_build_date_switcher() {
1343
- $my_calendar_body = "";
1344
- $my_calendar_body .= '<div class="my-calendar-date-switcher">
1345
- <form method="get" action=""><div>';
1346
- $qsa = array();
1347
- parse_str($_SERVER['QUERY_STRING'],$qsa);
1348
- foreach ($qsa as $name => $argument) {
1349
- if ($name != 'month' && $name != 'yr') {
1350
- $my_calendar_body .= '<input type="hidden" name="'.$name.'" value="'.$argument.'" />';
1351
- }
1352
- }
1353
- // We build the months in the switcher
1354
- $my_calendar_body .= '
1355
- <label for="my-calendar-month">'.__('Month','my-calendar').':</label> <select id="my-calendar-month" name="month">
1356
- <option value="1"'.mc_month_comparison('1').'>'.__('January','my-calendar').'</option>
1357
- <option value="2"'.mc_month_comparison('2').'>'.__('February','my-calendar').'</option>
1358
- <option value="3"'.mc_month_comparison('3').'>'.__('March','my-calendar').'</option>
1359
- <option value="4"'.mc_month_comparison('4').'>'.__('April','my-calendar').'</option>
1360
- <option value="5"'.mc_month_comparison('5').'>'.__('May','my-calendar').'</option>
1361
- <option value="6"'.mc_month_comparison('6').'>'.__('June','my-calendar').'</option>
1362
- <option value="7"'.mc_month_comparison('7').'>'.__('July','my-calendar').'</option>
1363
- <option value="8"'.mc_month_comparison('8').'>'.__('August','my-calendar').'</option>
1364
- <option value="9"'.mc_month_comparison('9').'>'.__('September','my-calendar').'</option>
1365
- <option value="10"'.mc_month_comparison('10').'>'.__('October','my-calendar').'</option>
1366
- <option value="11"'.mc_month_comparison('11').'>'.__('November','my-calendar').'</option>
1367
- <option value="12"'.mc_month_comparison('12').'>'.__('December','my-calendar').'</option>
1368
- </select>
1369
- <label for="my-calendar-year">'.__('Year','my-calendar').':</label> <select id="my-calendar-year" name="yr">
1370
- ';
1371
- // The year builder is string mania. If you can make sense of this, you know your PHP!
1372
- $past = 5;
1373
- $future = 5;
1374
- $fut = 1;
1375
- $offset = (60*60*get_option('gmt_offset'));
1376
-
1377
- while ($past > 0) {
1378
- $p .= ' <option value="';
1379
- $p .= date("Y",time()+($offset))-$past;
1380
- $p .= '"'.mc_year_comparison(date("Y",time()+($offset))-$past).'>';
1381
- $p .= date("Y",time()+($offset))-$past."</option>\n";
1382
- $past = $past - 1;
1383
- }
1384
- while ($fut < $future) {
1385
- $f .= ' <option value="';
1386
- $f .= date("Y",time()+($offset))+$fut;
1387
- $f .= '"'.mc_year_comparison(date("Y",time()+($offset))+$fut).'>';
1388
- $f .= date("Y",time()+($offset))+$fut."</option>\n";
1389
- $fut = $fut + 1;
1390
- }
1391
- $my_calendar_body .= $p;
1392
- $my_calendar_body .= '<option value="'.date("Y",time()+($offset)).'"'.mc_year_comparison(date("Y",time()+($offset))).'>'.date("Y",time()+($offset))."</option>\n";
1393
- $my_calendar_body .= $f;
1394
- $my_calendar_body .= '</select> <input type="submit" value="'.__('Go','my-calendar').'" /></div>
1395
- </form></div>';
1396
- return $my_calendar_body;
1397
- }
1398
-
1399
- // Actually do the printing of the calendar
1400
- // Compared to searching for and displaying events
1401
- // this bit is really rather easy!
1402
- function my_calendar($name,$format,$category,$showkey) {
1403
- global $wpdb;
1404
- if ($category == "") {
1405
- $category=null;
1406
- }
1407
- // First things first, make sure calendar is up to date
1408
- check_my_calendar();
1409
-
1410
- // Deal with the week not starting on a monday
1411
- $name_days = array(
1412
- __('<abbr title="Sunday">Sun</abbr>','my-calendar'),
1413
- __('<abbr title="Monday">Mon</abbr>','my-calendar'),
1414
- __('<abbr title="Tuesday">Tues</abbr>','my-calendar'),
1415
- __('<abbr title="Wednesday">Wed</abbr>','my-calendar'),
1416
- __('<abbr title="Thursday">Thur</abbr>','my-calendar'),
1417
- __('<abbr title="Friday">Fri</abbr>','my-calendar'),
1418
- __('<abbr title="Saturday">Sat</abbr>','my-calendar')
1419
- );
1420
-
1421
- if ($format == "mini") {
1422
- $name_days = array(
1423
- __('<abbr title="Sunday">S</abbr>','my-calendar'),
1424
- __('<abbr title="Monday">M</abbr>','my-calendar'),
1425
- __('<abbr title="Tuesday">T</abbr>','my-calendar'),
1426
- __('<abbr title="Wednesday">W</abbr>','my-calendar'),
1427
- __('<abbr title="Thursday">T</abbr>','my-calendar'),
1428
- __('<abbr title="Friday">F</abbr>','my-calendar'),
1429
- __('<abbr title="Saturday">S</abbr>','my-calendar')
1430
- );
1431
- }
1432
-
1433
- if ( get_option('start_of_week') == '1' ) {
1434
- $first = array_shift($name_days);
1435
- $name_days[] = $first;
1436
- }
1437
- // Carry on with the script
1438
- $name_months = array(1=>__('January','my-calendar'),__('February','my-calendar'),__('March','my-calendar'),__('April','my-calendar'),__('May','my-calendar'),__('June','my-calendar'),__('July','my-calendar'),__('August','my-calendar'),__('September','my-calendar'),__('October','my-calendar'),__('November','my-calendar'),__('December','my-calendar'));
1439
- $offset = (60*60*get_option('gmt_offset'));
1440
- // If we don't pass arguments we want a calendar that is relevant to today
1441
- if (empty($_GET['month']) || empty($_GET['yr'])) {
1442
- $c_year = date("Y",time()+($offset));
1443
- $c_month = date("m",time()+($offset));
1444
- $c_day = date("d",time()+($offset));
1445
- }
1446
- // Years get funny if we exceed 3000, so we use this check
1447
- if ($_GET['yr'] <= 3000 && $_GET['yr'] >= 0) {
1448
-
1449
- if ( isset($_GET['month']) ) {
1450
- $c_year = (int) $_GET['yr'];
1451
- $c_month = (int) $_GET['month'];
1452
- $c_day = date("d",time()+($offset));
1453
- } else {
1454
- // No valid month causes the calendar to default to today
1455
- $c_year = date("Y",time()+($offset));
1456
- $c_month = date("m",time()+($offset));
1457
- $c_day = date("d",time()+($offset));
1458
- }
1459
- } else {
1460
- // No valid year causes the calendar to default to today
1461
- $c_year = date("Y",time()+($offset));
1462
- $c_month = date("m",time()+($offset));
1463
- $c_day = date("d",time()+($offset));
1464
- }
1465
-
1466
- // Fix the days of the week if week start is not on a monday
1467
- if (get_option('start_of_week') == 0) {
1468
- $first_weekday = date("w",mktime(0,0,0,$c_month,1,$c_year));
1469
- } else {
1470
- $first_weekday = date("w",mktime(0,0,0,$c_month,1,$c_year));
1471
- $first_weekday = ($first_weekday==0?6:$first_weekday-1);
1472
- }
1473
-
1474
- $days_in_month = date("t", mktime (0,0,0,$c_month,1,$c_year));
1475
- $and = __("and",'my-calendar');
1476
- if ($category != "" && $category != "all") {
1477
- $category_label = str_replace("|"," $and ",$category) . ' ';
1478
- } else {
1479
- $category_label = "";
1480
- }
1481
- // Start the calendar and add header and navigation
1482
- $my_calendar_body .= "<div id=\"jd-calendar\" class=\"$format\">";
1483
- // Add the calendar table and heading
1484
- $caption_text = stripslashes( get_option('my_calendar_caption') );
1485
-
1486
- if ($format == "calendar" || $format == "mini" ) {
1487
- $my_calendar_body .= '<div class="my-calendar-header">';
1488
-
1489
- // We want to know if we should display the date switcher
1490
- $date_switcher = get_option('display_jump');
1491
-
1492
- if ($date_switcher == 'true') {
1493
- $my_calendar_body .= mc_build_date_switcher();
1494
- }
1495
- // The header of the calendar table and the links. Note calls to link functions
1496
- $my_calendar_body .= '
1497
- <div class="my-calendar-nav">
1498
- <ul>
1499
- <li class="my-calendar-prev">' . my_calendar_prev_link($c_year,$c_month,$format) . '</li>
1500
- <li class="my-calendar-next">' . my_calendar_next_link($c_year,$c_month,$format) . '</li>
1501
- </ul>
1502
- </div>
1503
- </div>';
1504
- $my_calendar_body .= "\n<table class=\"my-calendar-table\" summary=\"$category_label".__('Calendar','my-calendar')."\">\n";
1505
- $my_calendar_body .= '<caption class="my-calendar-month">'.$name_months[(int)$c_month].' '.$c_year.$caption_text."</caption>\n";
1506
- } else {
1507
- if ( get_option('my_calendar_show_heading') == 'true' ) {
1508
- $my_calendar_body .= "\n<h2 class=\"my-calendar-heading\">$category_label".__('Calendar','my-calendar')."</h2>\n";
1509
- }
1510
- // determine which header text to show depending on number of months displayed;
1511
- $my_calendar_body .= (get_option('my_calendar_show_months') <= 1)?'<h3 class="my-calendar-month">'.__('Events in','my-calendar').' '.$name_months[(int)$c_month].' '.$c_year.$caption_text."</h3>\n":'<h3 class="my-calendar-month">'.$name_months[(int)$c_month].'&thinsp;&ndash;&thinsp;'.$name_months[(int)$c_month+$num_months-1].' '.$c_year.$caption_text."</h3>\n";
1512
- $my_calendar_body .= '<div class="my-calendar-header">';
1513
- // We want to know if we should display the date switcher
1514
- $my_calendar_body .= ( get_option('display_jump') == 'true' )?mc_build_date_switcher():'';
1515
-
1516
- $my_calendar_body .= '
1517
- <div class="my-calendar-nav">
1518
- <ul>
1519
- <li class="my-calendar-prev">' . my_calendar_prev_link($c_year,$c_month,$format) . '</li>
1520
- <li class="my-calendar-next">' . my_calendar_next_link($c_year,$c_month,$format) . '</li>
1521
- </ul>
1522
- </div>
1523
- </div>';
1524
- }
1525
- // If in calendar format, print the headings of the days of the week
1526
- if ( $format == "calendar" || $format == "mini" ) {
1527
- $my_calendar_body .= "<thead>\n<tr>\n";
1528
- for ($i=0; $i<=6; $i++) {
1529
- // Colors need to be different if the starting day of the week is different
1530
- if (get_option('start_of_week') == 0) {
1531
- $my_calendar_body .= '<th scope="col" class="'.($i<6&&$i>0?'day-heading':'weekend-heading').'">'.$name_days[$i]."</th>\n";
1532
- } else {
1533
- $my_calendar_body .= '<th scope="col" class="'.($i<5?'day-heading':'weekend-heading').'">'.$name_days[$i]."</th>\n";
1534
- }
1535
- }
1536
- $my_calendar_body .= "</tr>\n</thead>\n<tbody>";
1537
-
1538
- for ($i=1; $i<=$days_in_month;) {
1539
- $process_date = date_i18n('Y-m-d',mktime(0,0,0,$c_month,$i,$c_year));
1540
- $my_calendar_body .= '<tr>';
1541
- for ($ii=0; $ii<=6; $ii++) {
1542
- if ($ii==$first_weekday && $i==1) {
1543
- $go = TRUE;
1544
- } elseif ($i > $days_in_month ) {
1545
- $go = FALSE;
1546
- }
1547
 
1548
- if ($go) {
1549
- // Colors again, this time for the day numbers
1550
- $grabbed_events = my_calendar_grab_events($c_year,$c_month,$i,$category);
1551
- $events_class = '';
1552
- if (!count($grabbed_events)) {
1553
- $events_class = ' no-events';
1554
- $element = 'span';
1555
- $trigger = '';
1556
- } else {
1557
- $events_class = ' has-events';
1558
- if ($format == 'mini') {
1559
- $element = 'a href="#"';
1560
- $trigger = ' trigger';
1561
- } else {
1562
- $element = 'span';
1563
- $trigger = '';
1564
- }
1565
- }
1566
- if (get_option('start_of_week') == 0) {
1567
- $my_calendar_body .= '<td class="'.(date("Ymd", mktime (0,0,0,$c_month,$i,$c_year))==date_i18n("Ymd",time()+$offset)?'current-day':'day-with-date').$events_class.'">'."\n <$element class='mc-date ".($ii<6&&$ii>0?"$trigger":"weekend$trigger")."'>".$i++."</$element>\n ". my_calendar_draw_events($grabbed_events, $format, $process_date) . "\n</td>\n";
1568
- } else {
1569
- $my_calendar_body .= '<td class="'.(date("Ymd", mktime (0,0,0,$c_month,$i,$c_year))==date_i18n("Ymd",time()+$offset)?'current-day':'day-with-date').$events_class.'">'."\n <$element class='mc-date ".($ii<5?"$trigger":"weekend$trigger'")."'>".$i++."</$element>\n ". my_calendar_draw_events($grabbed_events, $format, $process_date) . "\n</td>\n";
1570
- }
1571
- } else {
1572
- $my_calendar_body .= "<td class='day-without-date'>&nbsp;</td>\n";
1573
- }
1574
- }
1575
- $my_calendar_body .= "</tr>";
1576
- }
1577
- $my_calendar_body .= "\n</tbody>\n</table>";
1578
- } else if ($format == "list") {
1579
- $my_calendar_body .= "<ul id=\"calendar-list\">";
1580
- // show calendar as list
1581
- $date_format = ( get_option('my_calendar_date_format') != '' ) ? ( get_option('my_calendar_date_format') ) : ( get_option( 'date_format' ) );
1582
- $num_months = get_option('my_calendar_show_months');
1583
- $num_events = 0;
1584
- for ($m=0;$m<$num_months;$m++) {
1585
- if ($m == 0) {
1586
- $add_month = 0;
1587
- } else {
1588
- $add_month = 1;
1589
- }
1590
- $c_month = (int) $c_month + $add_month;
1591
- for ($i=1; $i<=31; $i++) {
1592
- $process_date = date_i18n('Y-m-d',mktime(0,0,0,$c_month,$i,$c_year));
1593
- $grabbed_events = my_calendar_grab_events($c_year,$c_month,$i,$category);
1594
- if (count($grabbed_events)) {
1595
- if ( get_option('list_javascript') != 1) {
1596
- $is_anchor = "<a href='#'>";
1597
- $is_close_anchor = "</a>";
1598
- } else {
1599
- $is_anchor = $is_close_anchor = "";
1600
- }
1601
- $my_calendar_body .= "<li class='$class".(date("Ymd", mktime (0,0,0,$c_month,$i,$c_year))==date("Ymd",time()+($offset))?' current-day':'')."'><strong class=\"event-date\">$is_anchor".date_i18n($date_format,mktime(0,0,0,$c_month,$i,$c_year))."$is_close_anchor</strong>".my_calendar_draw_events($grabbed_events, $format, $process_date)."</li>";
1602
- $num_events++;
1603
- }
1604
- $class = (my_calendar_is_odd($num_events))?"odd":"even";
1605
- }
1606
- }
1607
- if ($num_events == 0) {
1608
- $my_calendar_body .= "<li class='no-events'>".__('There are no events scheduled during this period.','my-calendar') . "</li>";
1609
- }
1610
- $my_calendar_body .= "</ul>";
1611
- } else {
1612
- $my_calendar_body .= "Unrecognized calendar format.";
1613
- }
1614
- if ($showkey != 'no') {
1615
- $sql = "SELECT * FROM " . MY_CALENDAR_CATEGORIES_TABLE . " ORDER BY category_name ASC";
1616
- $cat_details = $wpdb->get_results($sql);
1617
- $my_calendar_body .= '<div class="category-key">
1618
- <h3>'.__('Category Key','my-calendar')."</h3>\n<ul>\n";
1619
-
1620
- if ( file_exists( WP_PLUGIN_DIR . '/my-calendar-custom/' ) ) {
1621
- $path = '/my-calendar-custom';
1622
- } else {
1623
- $path = '/my-calendar/icons';
1624
- }
1625
- foreach($cat_details as $cat_detail) {
1626
-
1627
- if ($cat_detail->category_icon != "" && get_option('my_calendar_hide_icons')!='true') {
1628
- $my_calendar_body .= '<li><span class="category-color-sample"><img src="'.WP_PLUGIN_URL.$path.'/'.$cat_detail->category_icon.'" alt="" style="background:'.$cat_detail->category_color.';" /></span>'.$cat_detail->category_name."</li>\n";
1629
- } else {
1630
- $my_calendar_body .= '<li><span class="category-color-sample no-icon" style="background:'.$cat_detail->category_color.';"> &nbsp; </span>'.$cat_detail->category_name."</li>\n";
1631
- }
1632
- }
1633
- $my_calendar_body .= "</ul>\n</div>";
1634
- }
1635
- //$my_calendar_body .= $wpdb->num_queries; // total number of queries
1636
-
1637
- $my_calendar_body .= "\n</div>";
1638
- // The actual printing is done by the shortcode function.
1639
- return $my_calendar_body;
1640
- }
1641
 
1642
  function my_calendar_is_odd( $int ) {
1643
  return( $int & 1 );
1644
  }
1645
 
1646
-
1647
  function mc_can_edit_event($author_id) {
1648
  global $user_ID;
1649
  get_currentuserinfo();
@@ -1674,7 +1386,7 @@ $event = event_as_array($details);
1674
  if ( get_option('mc_event_mail') == 'true' ) {
1675
  $to = get_option('mc_event_mail_to');
1676
  $subject = get_option('mc_event_mail_subject');
1677
- $message = jd_draw_widget_event( $event, get_option('mc_event_mail_message') );
1678
  $mail = wp_mail($to, $subject, $message);
1679
  }
1680
  }
5
  Description: Accessible WordPress event calendar plugin. Show events from multiple calendars on pages, in posts, or in widgets.
6
  Author: Joseph C Dolson
7
  Author URI: http://www.joedolson.com
8
+ Version: 1.6.3
9
  */
10
  /* Copyright 2009-2010 Joe Dolson (email : joe@joedolson.com)
11
 
46
  // Add the widgets if we are using version 2.8
47
  add_action('widgets_init', 'init_my_calendar_today');
48
  add_action('widgets_init', 'init_my_calendar_upcoming');
49
+ // custom user actions
50
+ add_action( 'show_user_profile', 'mc_user_profile' );
51
+ add_action( 'edit_user_profile', 'mc_user_profile' );
52
+ add_action( 'profile_update', 'mc_user_save_profile');
53
 
54
  register_activation_hook( __FILE__, 'check_my_calendar' );
55
  // add filters to text widgets which will process shortcodes
70
  include(dirname(__FILE__).'/my-calendar-help.php' );
71
  include(dirname(__FILE__).'/my-calendar-event-manager.php' );
72
  include(dirname(__FILE__).'/my-calendar-styles.php' );
73
+ include(dirname(__FILE__).'/my-calendar-behaviors.php' );
74
  include(dirname(__FILE__).'/my-calendar-widgets.php' );
75
  include(dirname(__FILE__).'/date-utilities.php' );
76
  include(dirname(__FILE__).'/my-calendar-install.php' );
77
  include(dirname(__FILE__).'/my-calendar-upgrade-db.php' );
78
+ include(dirname(__FILE__).'/my-calendar-user.php' );
79
+ include(dirname(__FILE__).'/my-calendar-output.php' );
80
+ include(dirname(__FILE__).'/my-calendar-templates.php' );
81
 
82
+ if ( version_compare( get_bloginfo( 'version' ) , '3.0' , '<' ) && is_ssl() ) {
83
+ $wp_content_url = str_replace( 'http://' , 'https://' , get_option( 'siteurl' ) );
84
+ } else {
85
+ $wp_content_url = get_option( 'siteurl' );
86
+ }
87
+ $wp_content_url .= '/wp-content';
88
+ $wp_content_dir = ABSPATH . 'wp-content';
89
+ $wp_plugin_url = $wp_content_url . '/plugins';
90
+ $wp_plugin_dir = $wp_content_dir . '/plugins';
91
+ $wpmu_plugin_url = $wp_content_url . '/mu-plugins';
92
+ $wpmu_plugin_dir = $wp_content_dir . '/mu-plugins';
93
 
94
  // Before we get on with the functions, we need to define the initial style used for My Calendar
95
 
164
  <style type=\"text/css\">
165
  <!--
166
  .js #jd-calendar .details { display: none; }
167
+ // Styles from My Calendar 1.6.3 - Joseph C Dolson http://www.joedolson.com/
168
  $styles
169
 
170
  $category_styles
171
+
172
+ .mc-event-visible {
173
+ display: block!important;
174
+ }
175
  -->
176
  </style>";
177
 
203
  add_submenu_page('my-calendar', __('Manage Locations','my-calendar'), __('Manage Locations','my-calendar'), 'manage_options', 'my-calendar-locations', 'my_calendar_manage_locations');
204
  add_submenu_page('my-calendar', __('Settings','my-calendar'), __('Settings','my-calendar'), 'manage_options', 'my-calendar-config', 'edit_my_calendar_config');
205
  add_submenu_page('my-calendar', __('Style Editor','my-calendar'), __('Style Editor','my-calendar'), 'manage_options', 'my-calendar-styles', 'edit_my_calendar_styles');
206
+ add_submenu_page('my-calendar', __('Behavior Editor','my-calendar'), __('Behavior Editor','my-calendar'), 'manage_options', 'my-calendar-behaviors', 'edit_my_calendar_behaviors');
207
  add_submenu_page('my-calendar', __('My Calendar Help','my-calendar'), __('Help','my-calendar'), 'manage_options', 'my-calendar-help', 'my_calendar_help');
208
  }
209
  }
240
  }
241
  add_action('init','my_calendar_add_display_javascript');
242
 
243
+
244
  function my_calendar_fouc() {
245
  global $wp_query;
246
  if ( get_option('calendar_javascript') != 1 || get_option('list_javascript') != 1 || get_option('mini_javascript') != 1 ) {
247
  $scripting = "\n<script type='text/javascript'>\n";
248
+ $scripting .= "jQuery('html').addClass('js');\n";
249
+ $scripting .= "jQuery(document).ready(function($) { \$('html').removeClass('js') });\n";
 
250
  $scripting .= "</script>\n";
251
  $this_post = $wp_query->get_queried_object();
252
  if (is_object($this_post)) {
253
  $id = $this_post->ID;
254
  }
255
+ if ( get_option( 'my_calendar_show_js' ) != '' ) {
256
+ $array = explode( ",",get_option( 'my_calendar_show_js' ) );
257
  if (!is_array($array)) {
258
  $array = array();
259
  }
260
  }
261
+ if ( @in_array( $id, $array ) || trim ( get_option( 'my_calendar_show_js' ) ) == '' ) {
262
  echo $scripting;
263
  }
264
+ }
265
  }
266
 
267
  function my_calendar_calendar_javascript() {
268
+ global $wpdb, $wp_query, $wp_plugin_url;
269
 
270
+ if ( get_option('calendar_javascript') != 1 || get_option('list_javascript') != 1 || get_option('mini_javascript') != 1 || get_option('ajax_javascript') != 1 ) {
271
 
272
  $list_js = stripcslashes( get_option( 'my_calendar_listjs' ) );
273
  $cal_js = stripcslashes( get_option( 'my_calendar_caljs' ) );
274
  $mini_js = stripcslashes( get_option( 'my_calendar_minijs' ) );
275
+ $ajax_js = stripcslashes( get_option( 'my_calendar_ajaxjs' ) );
276
+
277
  $this_post = $wp_query->get_queried_object();
278
  if (is_object($this_post)) {
279
  $id = $this_post->ID;
280
  }
281
+ if ( get_option( 'my_calendar_show_js' ) != '' ) {
282
+ $array = explode( ",",get_option( 'my_calendar_show_js' ) );
283
  if (!is_array($array)) {
284
  $array = array();
285
  }
286
  }
287
+ if ( @in_array( $id, $array ) || get_option( 'my_calendar_show_js' ) == '' ) {
288
  $scripting = "<script type='text/javascript'>\n";
289
  if ( get_option('calendar_javascript') != 1 ) { $scripting .= "\n".$cal_js; }
290
  if ( get_option('list_javascript') != 1 ) { $scripting .= "\n".$list_js; }
291
  if ( get_option('mini_javascript') != 1 ) { $scripting .= "\n".$mini_js; }
292
+ if ( get_option('ajax_javascript') != 1 ) { $scripting .= "\n".$ajax_js; }
293
  $scripting .= "</script>";
294
  echo $scripting;
295
  }
299
  add_action('wp_head','my_calendar_fouc');
300
 
301
  function my_calendar_add_styles() {
302
+ if ($_GET['page'] == 'my-calendar' || $_GET['page'] == 'my-calendar-categories' || $_GET['page'] == 'my-calendar-locations' || $_GET['page'] == 'my-calendar-config' || $_GET['page'] == 'my-calendar-styles' || $_GET['page'] == 'my-calendar-help' || $_GET['page'] == 'my-calendar-behaviors' ) {
303
  echo '<link type="text/css" rel="stylesheet" href="'.WP_PLUGIN_URL.'/my-calendar/js/ui.datepicker.css" />';
304
  echo '<link type="text/css" rel="stylesheet" href="'.WP_PLUGIN_URL.'/my-calendar/mc-styles.css" />';
305
  }
310
  'name' => 'all',
311
  'format' => 'calendar',
312
  'category' => 'all',
313
+ 'showkey' => 'yes',
314
+ 'shownav' => 'yes'
315
  ), $atts));
316
  if ( isset($_GET['format']) ) {
317
  $format = mysql_real_escape_string($_GET['format']);
318
  }
319
+ return my_calendar($name,$format,$category,$showkey,$shownav);
320
  }
321
 
322
  function my_calendar_insert_upcoming($atts) {
338
  return my_calendar_todays_events($category, $template);
339
  }
340
 
341
+ function my_calendar_locations($atts) {
342
+ extract(shortcode_atts(array(
343
+ 'show' => 'list',
344
+ 'type' => 'saved',
345
+ 'datatype' => 'name'
346
+ ), $atts));
347
+ return my_calendar_locations_list($show,$type,$datatype);
348
+ }
349
 
350
+ function get_current_url() {
351
+ $pageURL = 'http';
352
+ if ($_SERVER["HTTPS"] == "on") {$pageURL .= "s";}
353
+ $pageURL .= "://";
354
+ if ($_SERVER["SERVER_PORT"] != "80") {
355
+ $pageURL .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"];
356
+ } else {
357
+ $pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"];
358
+ }
359
+ return $pageURL;
360
+ }
361
  // add shortcode interpreter
362
  add_shortcode('my_calendar','my_calendar_insert');
363
  add_shortcode('my_calendar_upcoming','my_calendar_insert_upcoming');
364
  add_shortcode('my_calendar_today','my_calendar_insert_today');
365
+ add_shortcode('my_calendar_locations','my_calendar_locations');
366
 
367
  // Function to check what version of My Calendar is installed and install if needed
368
  function check_my_calendar() {
369
+ global $wpdb, $initial_style, $initial_listjs, $initial_caljs, $initial_minijs, $initial_ajaxjs, $mini_styles;
370
  $current_version = get_option('my_calendar_version');
371
  // If current version matches, don't bother running this.
372
+ if ($current_version == '1.6.3') {
373
  return true;
374
  }
375
 
405
  $upgrade_path[] = "1.4.8";
406
  } else if ( version_compare( $current_version, "1.5.0", "<" ) ) {
407
  $upgrade_path[] = "1.5.0";
408
+ } else if ( version_compare( $current_version, "1.6.0", "<" ) ) {
409
+ $upgrade_path[] = "1.6.0";
410
+ } else if ( version_compare( $current_version, "1.6.2", "<" ) ) {
411
+ $upgrade_path[] = "1.6.2";
412
+ } else if ( version_compare( $current_version, "1.6.3", "<" ) ) {
413
+ $upgrade_path[] = "1.6.3";
414
  }
415
 
416
  // having determined upgrade path, assign new version number
417
+ update_option( 'my_calendar_version' , '1.6.3' );
418
 
419
  // Now we've determined what the current install is or isn't
420
  if ( $new_install == true ) {
467
  add_option('mc_event_approve_perms','manage_options');
468
  add_option('mc_no_fifth_week','true');
469
  upgrade_db();
470
+ break;
471
+ case '1.6.0':
472
+ add_option('mc_user_settings_enabled',false);
473
+ add_option('mc_user_location_type','state');
474
+ add_option('my_calendar_show_js',get_option('my_calendar_show_css') );
475
+ upgrade_db();
476
+ break;
477
+ case '1.6.2':
478
+ $mc_user_settings = array(
479
+ 'my_calendar_tz_default'=>array(
480
+ 'enabled'=>'on',
481
+ 'label'=>'My Calendar Default Timezone',
482
+ 'values'=>array(
483
+ "-12" => "(GMT -12:00) Eniwetok, Kwajalein",
484
+ "-11" => "(GMT -11:00) Midway Island, Samoa",
485
+ "-10" => "(GMT -10:00) Hawaii",
486
+ "-9.5" => "(GMT -9:30) Marquesas Islands",
487
+ "-9" => "(GMT -9:00) Alaska",
488
+ "-8" => "(GMT -8:00) Pacific Time (US &amp; Canada)",
489
+ "-7" => "(GMT -7:00) Mountain Time (US &amp; Canada)",
490
+ "-6" => "(GMT -6:00) Central Time (US &amp; Canada), Mexico City",
491
+ "-5" => "(GMT -5:00) Eastern Time (US &amp; Canada), Bogota, Lima",
492
+ "-4.5" => "(GMT -4:30) Venezuela",
493
+ "-4" => "(GMT -4:00) Atlantic Time (Canada), Caracas, La Paz",
494
+ "-3.5" => "(GMT -3:30) Newfoundland",
495
+ "-3" => "(GMT -3:00) Brazil, Buenos Aires, Georgetown",
496
+ "-2" => "(GMT -2:00) Mid-Atlantic",
497
+ "-1" => "(GMT -1:00 hour) Azores, Cape Verde Islands",
498
+ "0" => "(GMT) Western Europe Time, London, Lisbon, Casablanca",
499
+ "1" => "(GMT +1:00 hour) Brussels, Copenhagen, Madrid, Paris",
500
+ "2" => "(GMT +2:00) Kaliningrad, South Africa",
501
+ "3" => "(GMT +3:00) Baghdad, Riyadh, Moscow, St. Petersburg",
502
+ "3.5" => "(GMT +3:30) Tehran",
503
+ "4" => "(GMT +4:00) Abu Dhabi, Muscat, Baku, Tbilisi",
504
+ "4.5" => "(GMT +4:30) Afghanistan",
505
+ "5" => "(GMT +5:00) Ekaterinburg, Islamabad, Karachi, Tashkent",
506
+ "5.5" => "(GMT +5:30) Bombay, Calcutta, Madras, New Delhi",
507
+ "5.75" => "(GMT +5:45) Nepal",
508
+ "6" => "(GMT +6:00) Almaty, Dhaka, Colombo",
509
+ "6.5" => "(GMT +6:30) Myanmar, Cocos Islands",
510
+ "7" => "(GMT +7:00) Bangkok, Hanoi, Jakarta",
511
+ "8" => "(GMT +8:00) Beijing, Perth, Singapore, Hong Kong",
512
+ "9" => "(GMT +9:00) Tokyo, Seoul, Osaka, Sapporo, Yakutsk",
513
+ "9.5" => "(GMT +9:30) Adelaide, Darwin",
514
+ "10" => "(GMT +10:00) Eastern Australia, Guam, Vladivostok",
515
+ "10.5" => "(GMT +10:30) Lord Howe Island",
516
+ "11" => "(GMT +11:00) Magadan, Solomon Islands, New Caledonia",
517
+ "11.5" => "(GMT +11:30) Norfolk Island",
518
+ "12" => "(GMT +12:00) Auckland, Wellington, Fiji, Kamchatka",
519
+ "12.75" => "(GMT +12:45) Chatham Islands",
520
+ "13" => "(GMT +13:00) Tonga",
521
+ "14" => "(GMT +14:00) Line Islands"
522
+ ),
523
+ ),
524
+ 'my_calendar_location_default'=>array(
525
+ 'enabled'=>'on',
526
+ 'label'=>'My Calendar Default Location',
527
+ 'values'=>array(
528
+ 'AL'=>"Alabama",
529
+ 'AK'=>"Alaska",
530
+ 'AZ'=>"Arizona",
531
+ 'AR'=>"Arkansas",
532
+ 'CA'=>"California",
533
+ 'CO'=>"Colorado",
534
+ 'CT'=>"Connecticut",
535
+ 'DE'=>"Delaware",
536
+ 'DC'=>"District Of Columbia",
537
+ 'FL'=>"Florida",
538
+ 'GA'=>"Georgia",
539
+ 'HI'=>"Hawaii",
540
+ 'ID'=>"Idaho",
541
+ 'IL'=>"Illinois",
542
+ 'IN'=>"Indiana",
543
+ 'IA'=>"Iowa",
544
+ 'KS'=>"Kansas",
545
+ 'KY'=>"Kentucky",
546
+ 'LA'=>"Louisiana",
547
+ 'ME'=>"Maine",
548
+ 'MD'=>"Maryland",
549
+ 'MA'=>"Massachusetts",
550
+ 'MI'=>"Michigan",
551
+ 'MN'=>"Minnesota",
552
+ 'MS'=>"Mississippi",
553
+ 'MO'=>"Missouri",
554
+ 'MT'=>"Montana",
555
+ 'NE'=>"Nebraska",
556
+ 'NV'=>"Nevada",
557
+ 'NH'=>"New Hampshire",
558
+ 'NJ'=>"New Jersey",
559
+ 'NM'=>"New Mexico",
560
+ 'NY'=>"New York",
561
+ 'NC'=>"North Carolina",
562
+ 'ND'=>"North Dakota",
563
+ 'OH'=>"Ohio",
564
+ 'OK'=>"Oklahoma",
565
+ 'OR'=>"Oregon",
566
+ 'PA'=>"Pennsylvania",
567
+ 'RI'=>"Rhode Island",
568
+ 'SC'=>"South Carolina",
569
+ 'SD'=>"South Dakota",
570
+ 'TN'=>"Tennessee",
571
+ 'TX'=>"Texas",
572
+ 'UT'=>"Utah",
573
+ 'VT'=>"Vermont",
574
+ 'VA'=>"Virginia",
575
+ 'WA'=>"Washington",
576
+ 'WV'=>"West Virginia",
577
+ 'WI'=>"Wisconsin",
578
+ 'WY'=>"Wyoming"),
579
+ )
580
+ );
581
+ update_option('mc_user_settings',$mc_user_settings);
582
+ break;
583
+ case '1.6.3':
584
+ add_option( 'my_calendar_ajaxjs',$initial_ajaxjs );
585
+ add_option( 'ajax_javascript', 1 );
586
+ add_option( 'my_calendar_templates', array(
587
+ 'title'=>'{title}'
588
+ ));
589
+ break;
590
  default:
591
  break;
592
  }
606
  }
607
  }
608
 
609
+ function jd_cal_checkCheckbox( $theFieldname,$theValue,$theArray='' ){
610
+ if (!is_array( get_option( $theFieldname ) ) ) {
611
  if( get_option( $theFieldname ) == $theValue ){
612
  echo 'checked="checked"';
613
  }
614
+ } else {
615
+ $theSetting = get_option( $theFieldname );
616
+ if ( $theSetting[$theArray]['enabled'] == $theValue ) {
617
+ echo 'checked="checked"';
618
+ }
619
+ }
620
  }
621
+ function jd_cal_checkSelect( $theFieldname,$theValue,$theArray='' ){
622
+ if (!is_array( get_option( $theFieldname ) ) ) {
623
+ if( get_option( $theFieldname ) == $theValue ){
624
+ echo 'selected="selected"';
625
+ }
626
+ } else {
627
+ $theSetting = get_option( $theFieldname );
628
+ if ( $theSetting[$theArray]['enabled'] == $theValue ) {
629
+ echo 'selected="selected"';
630
+ }
631
  }
632
  }
633
 
634
+ // Function to return a prefix which will allow the correct placement of arguments into the query string.
 
635
  function my_calendar_permalink_prefix() {
636
  // Get the permalink structure from WordPress
637
  $p_link = get_permalink();
672
  return $link_part;
673
  }
674
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
675
  function mc_select_category($category, $type='event') {
676
  global $wpdb;
677
  if ($category == 'all' ) {
708
  $i++;
709
  }
710
  }
711
+ } else {
712
  if (is_numeric($category)) {
713
  $select_category = ($type=='all')?" WHERE event_category = $category":" event_category = $category AND";
714
  } else {
728
  // used to generate upcoming events lists
729
  function mc_get_all_events($category) {
730
  global $wpdb;
731
+ if ( $category!='default' ) {
732
  $select_category = mc_select_category($category,'all');
733
+ } else {
734
  $select_category = "";
735
+ }
736
+ $limit_string = mc_limit_string('all');
737
+
738
+ $events = $wpdb->get_results("SELECT * FROM " . MY_CALENDAR_TABLE . " JOIN " . MY_CALENDAR_CATEGORIES_TABLE . " ON (event_category=category_id) $select_category $limit_string");
739
  $offset = (60*60*get_option('gmt_offset'));
740
  $date = date('Y', time()+($offset)).'-'.date('m', time()+($offset)).'-'.date('d', time()+($offset));
741
  if (!empty($events)) {
1051
  }
1052
  return $arr_events;
1053
  }
1054
+
1055
+
1056
+ function mc_limit_string($type='') {
1057
+ global $user_ID;
1058
+ $user_settings = get_option('mc_user_settings');
1059
+ $limit_string = "";
1060
+ if ( get_option('mc_user_settings_enabled') == 'true' && $user_settings['my_calendar_location_default']['enabled'] == 'on' || isset($_GET['loc']) && isset($_GET['ltype']) ) {
1061
+ if ( is_user_logged_in() ) {
1062
+ if (!isset($_GET['loc']) && !isset($_GET['ltype'])) {
1063
+ get_currentuserinfo();
1064
+ $current_settings = get_usermeta( $user_ID, 'my_calendar_user_settings' );
1065
+ $current_location = $current_settings['my_calendar_location_default'];
1066
+ $location_type = get_option('mc_location_type');
1067
+ } else {
1068
+ $current_location = urldecode($_GET['loc']);
1069
+ $location = urldecode($_GET['ltype']);
1070
+ switch ($location) {
1071
+ case "name":$location_type = "event_label";
1072
+ break;
1073
+ case "city":$location_type = "event_city";
1074
+ break;
1075
+ case "state":$location_type = "event_state";
1076
+ break;
1077
+ case "zip":$location_type = "event_postcode";
1078
+ break;
1079
+ case "country":$location_type = "event_country";
1080
+ break;
1081
+ default:$location_type = "event_label";
1082
+ break;
1083
+ }
1084
+ }
1085
+ if ($current_location != 'none') {
1086
+ if ($select_category == "") {
1087
+ $limit_string = "$location_type='$current_location'";
1088
+ $limit_string .= ($type=='all')?'':" AND";
1089
+ } else {
1090
+ $limit_string = "AND $location_type='$current_location'";
1091
+ $limit_string .= ($type=='all')?'':" AND";
1092
+ }
1093
+ }
1094
+ }
1095
+ }
1096
+ return $limit_string;
1097
+ }
1098
+
1099
+ function mc_user_timezone($type='') {
1100
+ global $user_ID;
1101
+ $user_settings = get_option('mc_user_settings');
1102
+ if ( get_option('mc_user_settings_enabled') == 'true' && $user_settings['my_calendar_tz_default']['enabled'] == 'on' ) {
1103
+ if ( is_user_logged_in() ) {
1104
+ get_currentuserinfo();
1105
+ $current_settings = get_usermeta( $user_ID, 'my_calendar_user_settings' );
1106
+ $tz = $current_settings['my_calendar_tz_default'];
1107
+ } else {
1108
+ $tz = '';
1109
+ }
1110
+ }
1111
+ if ($tz == get_option('gmt_offset') || $tz == 'none' || $tz == '' ) {
1112
+ $gtz = '';
1113
+ } else if ( $tz < get_option('gmt_offset') ) {
1114
+ $gtz = -(abs( get_option('gmt_offset') - $tz ) );
1115
+ } else {
1116
+ $gtz = (abs( get_option('gmt_offset') - $tz ) );
1117
+ }
1118
+ return $gtz;
1119
+ }
1120
  // Grab all events for the requested date from calendar
1121
  function my_calendar_grab_events($y,$m,$d,$category=null) {
1122
 
1134
 
1135
  // set the date format
1136
  $date = $y . '-' . $m . '-' . $d;
1137
+
1138
+ $limit_string = mc_limit_string();
1139
+
1140
+ echo $current_settings['my_calendar_location_default'];
1141
+ // First we check for conventional events. These will form the first instance of a recurring event
1142
+ // or the only instance of a one-off event
1143
  $events = $wpdb->get_results("
1144
+ SELECT * FROM " . MY_CALENDAR_TABLE . " JOIN " . MY_CALENDAR_CATEGORIES_TABLE . " ON (event_category=category_id) WHERE $select_category $limit_string event_begin <= '$date' AND event_end >= '$date' AND event_recur = 'S' ORDER BY event_id");
1145
+ if (!empty($events)) {
1146
+ foreach($events as $event) {
1147
  $arr_events[]=$event;
1148
+ }
1149
+ }
1150
+
1151
  $events = $wpdb->get_results("
1152
+ SELECT *,event_begin AS event_original_begin FROM " . MY_CALENDAR_TABLE . " JOIN " . MY_CALENDAR_CATEGORIES_TABLE . " ON (event_category=category_id) WHERE $select_category $limit_string event_recur = 'Y' AND EXTRACT(YEAR FROM '$date') >= EXTRACT(YEAR FROM event_begin)
1153
  UNION ALL
1154
+ SELECT *,event_begin AS event_original_begin FROM " . MY_CALENDAR_TABLE . " JOIN " . MY_CALENDAR_CATEGORIES_TABLE . " ON (event_category=category_id) WHERE $select_category $limit_string event_recur = 'M' AND EXTRACT(YEAR FROM '$date') >= EXTRACT(YEAR FROM event_begin) AND event_repeats = 0
1155
  UNION ALL
1156
+ SELECT *,event_begin AS event_original_begin FROM " . MY_CALENDAR_TABLE . " JOIN " . MY_CALENDAR_CATEGORIES_TABLE . " ON (event_category=category_id) WHERE $select_category $limit_string event_recur = 'M' AND EXTRACT(YEAR FROM '$date') >= EXTRACT(YEAR FROM event_begin) AND event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '$date'),EXTRACT(YEAR_MONTH FROM event_begin))) <= event_repeats
1157
  UNION ALL
1158
+ SELECT *,event_begin AS event_original_begin FROM " . MY_CALENDAR_TABLE . " JOIN " . MY_CALENDAR_CATEGORIES_TABLE . " ON (event_category=category_id) WHERE $select_category $limit_string event_recur = 'U' AND EXTRACT(YEAR FROM '$date') >= EXTRACT(YEAR FROM event_begin) AND event_repeats = 0
1159
  UNION ALL
1160
+ SELECT *,event_begin AS event_original_begin FROM " . MY_CALENDAR_TABLE . " JOIN " . MY_CALENDAR_CATEGORIES_TABLE . " ON (event_category=category_id) WHERE $select_category $limit_string event_recur = 'U' AND EXTRACT(YEAR FROM '$date') >= EXTRACT(YEAR FROM event_begin) AND event_repeats != 0 AND (PERIOD_DIFF(EXTRACT(YEAR_MONTH FROM '$date'),EXTRACT(YEAR_MONTH FROM event_begin))) <= event_repeats
1161
  UNION ALL
1162
+ SELECT *,event_begin AS event_original_begin FROM " . MY_CALENDAR_TABLE . " JOIN " . MY_CALENDAR_CATEGORIES_TABLE . " ON (event_category=category_id) WHERE $select_category $limit_string event_recur = 'B' AND '$date' >= event_begin AND event_repeats = 0
1163
  UNION ALL
1164
+ SELECT *,event_begin AS event_original_begin FROM " . MY_CALENDAR_TABLE . " JOIN " . MY_CALENDAR_CATEGORIES_TABLE . " ON (event_category=category_id) WHERE $select_category $limit_string event_recur = 'B' AND '$date' >= event_begin AND event_repeats != 0 AND (event_repeats*14) >= (TO_DAYS('$date') - TO_DAYS(event_end))
1165
  UNION ALL
1166
+ SELECT *,event_begin AS event_original_begin FROM " . MY_CALENDAR_TABLE . " JOIN " . MY_CALENDAR_CATEGORIES_TABLE . " ON (event_category=category_id) WHERE $select_category $limit_string event_recur = 'W' AND '$date' >= event_begin AND event_repeats = 0
1167
  UNION ALL
1168
+ SELECT *,event_begin AS event_original_begin FROM " . MY_CALENDAR_TABLE . " JOIN " . MY_CALENDAR_CATEGORIES_TABLE . " ON (event_category=category_id) WHERE $select_category $limit_string event_recur = 'W' AND '$date' >= event_begin AND event_repeats != 0 AND (event_repeats*7) >= (TO_DAYS('$date') - TO_DAYS(event_end))
1169
  UNION ALL
1170
+ SELECT *,event_begin AS event_original_begin FROM " . MY_CALENDAR_TABLE . " JOIN " . MY_CALENDAR_CATEGORIES_TABLE . " ON (event_category=category_id) WHERE $select_category $limit_string event_recur = 'D' AND '$date' >= event_begin AND event_repeats = 0
1171
  UNION ALL
1172
+ SELECT *,event_begin AS event_original_begin FROM " . MY_CALENDAR_TABLE . " JOIN " . MY_CALENDAR_CATEGORIES_TABLE . " ON (event_category=category_id) WHERE $select_category $limit_string event_recur = 'D' AND '$date' >= event_begin AND event_repeats != 0 AND (event_repeats) >= (TO_DAYS('$date') - TO_DAYS(event_end))
1173
  ORDER BY event_id");
1174
+
1175
  if (!empty($events)) {
1176
  foreach($events as $event) {
1177
  switch ($event->event_recur) {
1247
  }
1248
  }
1249
  }
1250
+
 
 
 
 
 
 
1251
  if ( my_calendar_date_comp($event->event_begin,$date) ) {
1252
  if ( ($current_day == $day_of_event && $current_week == $week_of_event) || ($current_date >= $date_of_event_this_month && $current_date <= $date_of_event_this_month+$day_diff && $date_of_event_this_month != '' ) ) {
1253
  if ($month_begin == $month_end) {
1350
  return ' selected="selected"';
1351
  }
1352
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1353
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1354
 
1355
  function my_calendar_is_odd( $int ) {
1356
  return( $int & 1 );
1357
  }
1358
 
 
1359
  function mc_can_edit_event($author_id) {
1360
  global $user_ID;
1361
  get_currentuserinfo();
1386
  if ( get_option('mc_event_mail') == 'true' ) {
1387
  $to = get_option('mc_event_mail_to');
1388
  $subject = get_option('mc_event_mail_subject');
1389
+ $message = jd_draw_template( $event, get_option('mc_event_mail_message') );
1390
  $mail = wp_mail($to, $subject, $message);
1391
  }
1392
  }
my-calendar.pot CHANGED
@@ -1,120 +1,37 @@
1
- # Translation of the WordPress plugin My Calendar 1.5.0 by Joseph C Dolson.
2
- # Copyright (C) 2010 Joseph C Dolson
3
  # This file is distributed under the same license as the My Calendar package.
4
- # FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
5
- #
6
- #, fuzzy
7
  msgid ""
8
  msgstr ""
9
- "Project-Id-Version: My Calendar 1.5.0\n"
10
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/my-calendar\n"
11
- "POT-Creation-Date: 2010-10-05 19:19+0000\n"
 
 
 
12
  "PO-Revision-Date: 2010-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
- "MIME-Version: 1.0\n"
16
- "Content-Type: text/plain; charset=utf-8\n"
17
- "Content-Transfer-Encoding: 8bit\n"
18
-
19
- #: my-calendar-categories.php:41
20
- msgid "Category added successfully"
21
- msgstr ""
22
-
23
- #: my-calendar-categories.php:43
24
- msgid "Category addition failed."
25
- msgstr ""
26
-
27
- #: my-calendar-categories.php:53
28
- msgid "Category deleted successfully. Categories in calendar updated."
29
- msgstr ""
30
-
31
- #: my-calendar-categories.php:55
32
- msgid "Category deleted successfully. Categories in calendar not updated."
33
- msgstr ""
34
-
35
- #: my-calendar-categories.php:57
36
- msgid "Category not deleted. Categories in calendar updated."
37
- msgstr ""
38
-
39
- #: my-calendar-categories.php:66
40
- msgid "Category edited successfully"
41
- msgstr ""
42
-
43
- #: my-calendar-categories.php:88 my-calendar-categories.php:112
44
- #: my-calendar-categories.php:130
45
- msgid "Add Category"
46
- msgstr ""
47
-
48
- #: my-calendar-categories.php:90 my-calendar-categories.php:112
49
- msgid "Edit Category"
50
- msgstr ""
51
-
52
- #: my-calendar-categories.php:97
53
- msgid "Category Editor"
54
- msgstr ""
55
-
56
- #: my-calendar-categories.php:113 my-calendar-categories.php:156
57
- msgid "Category Name"
58
- msgstr ""
59
-
60
- #: my-calendar-categories.php:114
61
- msgid "Category Color (Hex format)"
62
- msgstr ""
63
-
64
- #: my-calendar-categories.php:115 my-calendar-categories.php:158
65
- msgid "Category Icon"
66
- msgstr ""
67
-
68
- #: my-calendar-categories.php:130 my-calendar-locations.php:121
69
- msgid "Save Changes"
70
- msgstr ""
71
-
72
- #: my-calendar-categories.php:143 my-calendar.php:179
73
- msgid "Manage Categories"
74
- msgstr ""
75
-
76
- #: my-calendar-categories.php:155 my-calendar-event-manager.php:643
77
- #: my-calendar-locations.php:147
78
- msgid "ID"
79
- msgstr ""
80
 
81
- #: my-calendar-categories.php:157
82
- msgid "Category Color"
83
- msgstr ""
84
-
85
- #: my-calendar-categories.php:159 my-calendar-categories.php:173
86
- #: my-calendar-event-manager.php:704 my-calendar-locations.php:149
87
- #: my-calendar-locations.php:161
88
- msgid "Edit"
89
- msgstr ""
90
-
91
- #: my-calendar-categories.php:160 my-calendar-categories.php:179
92
- #: my-calendar-event-manager.php:73 my-calendar-event-manager.php:704
93
- #: my-calendar-locations.php:150 my-calendar-locations.php:162
94
- msgid "Delete"
95
- msgstr ""
96
-
97
- #: my-calendar-categories.php:176 my-calendar-event-manager.php:685
98
- #: my-calendar-settings.php:228 my-calendar.php:652
99
- msgid "N/A"
100
  msgstr ""
101
 
102
- #: my-calendar-categories.php:179 my-calendar-locations.php:162
103
- msgid "Are you sure you want to delete this category?"
104
  msgstr ""
105
 
106
- #: my-calendar-categories.php:190
107
- msgid "There are no categories in the database - something has gone wrong!"
108
  msgstr ""
109
 
110
- #: my-calendar-event-manager.php:27 my-calendar-settings.php:351
111
  msgid ""
112
  "My Calendar has identified that you have the Calendar plugin by Kieran "
113
  "O'Shea installed. You can import those events and categories into the My "
114
  "Calendar database. Would you like to import these events?"
115
  msgstr ""
116
 
117
- #: my-calendar-event-manager.php:33 my-calendar-settings.php:357
118
  msgid "Import from Calendar"
119
  msgstr ""
120
 
@@ -134,24 +51,30 @@ msgstr ""
134
  msgid "Are you sure you want to delete this event?"
135
  msgstr ""
136
 
 
 
 
 
 
 
137
  #: my-calendar-event-manager.php:81
138
  msgid "You do not have permission to delete that event."
139
  msgstr ""
140
 
141
- #: my-calendar-event-manager.php:96 my-calendar-event-manager.php:209
142
  msgid "You do not have permission to approve that event."
143
  msgstr ""
144
 
145
- #: my-calendar-event-manager.php:110 my-calendar-event-manager.php:223
146
  msgid "You do not have permission to reject that event."
147
  msgstr ""
148
 
149
- #: my-calendar-event-manager.php:133 my-calendar-event-manager.php:154
150
- #: my-calendar-event-manager.php:178 my-calendar-event-manager.php:193
151
- #: my-calendar-event-manager.php:833 my-calendar-event-manager.php:838
152
- #: my-calendar-event-manager.php:843 my-calendar-event-manager.php:855
153
- #: my-calendar-event-manager.php:865 my-calendar-event-manager.php:873
154
- #: my-calendar-event-manager.php:882 my-calendar-event-manager.php:890
155
  msgid "Error"
156
  msgstr ""
157
 
@@ -163,1348 +86,1654 @@ msgstr ""
163
  msgid "Event added. It will now show in your calendar."
164
  msgstr ""
165
 
166
- #: my-calendar-event-manager.php:154
167
  msgid "Your event was not updated."
168
  msgstr ""
169
 
170
- #: my-calendar-event-manager.php:158
171
  msgid "Nothing was changed in that update."
172
  msgstr ""
173
 
174
- #: my-calendar-event-manager.php:162
175
  msgid "Event updated successfully"
176
  msgstr ""
177
 
178
- #: my-calendar-event-manager.php:168
179
  msgid "You do not have sufficient permissions to edit that event."
180
  msgstr ""
181
 
182
- #: my-calendar-event-manager.php:178
183
  msgid "You can't delete an event if you haven't submitted an event id"
184
  msgstr ""
185
 
186
- #: my-calendar-event-manager.php:189
187
  msgid "Event deleted successfully"
188
  msgstr ""
189
 
190
- #: my-calendar-event-manager.php:193
191
  msgid ""
192
  "Despite issuing a request to delete, the event still remains in the "
193
  "database. Please investigate."
194
  msgstr ""
195
 
196
- #: my-calendar-event-manager.php:240 my-calendar-event-manager.php:343
197
  msgid "Edit Event"
198
  msgstr ""
199
 
200
- #: my-calendar-event-manager.php:244 my-calendar-event-manager.php:253
201
  msgid "You must provide an event id in order to edit it"
202
  msgstr ""
203
 
204
- #: my-calendar-event-manager.php:249 my-calendar-event-manager.php:343
205
  msgid "Copy Event"
206
  msgstr ""
207
 
208
- #: my-calendar-event-manager.php:259
209
  msgid "Add Event"
210
  msgstr ""
211
 
212
- #: my-calendar-event-manager.php:264
213
  msgid "Manage Events"
214
  msgstr ""
215
 
216
- #: my-calendar-event-manager.php:315
217
  msgid "Sorry! That's an invalid event key."
218
  msgstr ""
219
 
220
- #: my-calendar-event-manager.php:320
221
  msgid "Sorry! We couldn't find an event with that ID."
222
  msgstr ""
223
 
224
- #: my-calendar-event-manager.php:343
225
  msgid "Add an Event"
226
  msgstr ""
227
 
228
- #: my-calendar-event-manager.php:347
229
  msgid "This event must be approved in order for it to appear on the calendar."
230
  msgstr ""
231
 
232
- #: my-calendar-event-manager.php:362
233
  msgid "Enter your Event Information"
234
  msgstr ""
235
 
236
- #: my-calendar-event-manager.php:364
237
  msgid "Event Title"
238
  msgstr ""
239
 
240
- #: my-calendar-event-manager.php:367
241
  msgid "Publish"
242
  msgstr ""
243
 
244
- #: my-calendar-event-manager.php:367
245
  msgid "You must approve this event to promote it to the calendar."
246
  msgstr ""
247
 
248
- #: my-calendar-event-manager.php:369
249
  msgid "An administrator must approve your new event."
250
  msgstr ""
251
 
252
- #: my-calendar-event-manager.php:377
253
  msgid ""
254
  "Event Description (<abbr title=\"hypertext markup language\">HTML</abbr> "
255
  "allowed)"
256
  msgstr ""
257
 
258
- #: my-calendar-event-manager.php:382
259
  msgid ""
260
  "Event Short Description (<abbr title=\"hypertext markup language\">HTML</"
261
  "abbr> allowed)"
262
  msgstr ""
263
 
264
- #: my-calendar-event-manager.php:387
 
 
 
 
265
  msgid "Event Category"
266
  msgstr ""
267
 
268
- #: my-calendar-event-manager.php:412
269
  msgid "Event Link (Optional)"
270
  msgstr ""
271
 
272
- #: my-calendar-event-manager.php:412
273
  msgid "This link will expire when the event passes."
274
  msgstr ""
275
 
276
- #: my-calendar-event-manager.php:416
277
  msgid "Start Date (YYYY-MM-DD)"
278
  msgstr ""
279
 
280
- #: my-calendar-event-manager.php:419
281
  msgid "End Date (YYYY-MM-DD) (Optional)"
282
  msgstr ""
283
 
284
- #: my-calendar-event-manager.php:422
285
  msgid "Time (hh:mm)"
286
  msgstr ""
287
 
288
- #: my-calendar-event-manager.php:434
289
  msgid ""
290
  "Optional, set blank if your event is an all-day event or does not happen at "
291
  "a specific time."
292
  msgstr ""
293
 
294
- #: my-calendar-event-manager.php:434
295
  msgid "Current time difference from GMT is "
296
  msgstr ""
297
 
298
- #: my-calendar-event-manager.php:434
299
  msgid " hour(s)"
300
  msgstr ""
301
 
302
- #: my-calendar-event-manager.php:437
303
  msgid "End Time (hh:mm)"
304
  msgstr ""
305
 
306
- #: my-calendar-event-manager.php:447
307
  msgid ""
308
  "Optional. End times will not be displayed on events where this is not set."
309
  msgstr ""
310
 
311
- #: my-calendar-event-manager.php:452
312
  msgid "Recurring Events"
313
  msgstr ""
314
 
315
- #: my-calendar-event-manager.php:455
316
  msgid "Repeats for"
317
  msgstr ""
318
 
319
- #: my-calendar-event-manager.php:456
320
  msgid "Units"
321
  msgstr ""
322
 
323
- #: my-calendar-event-manager.php:457
324
  msgid "Does not recur"
325
  msgstr ""
326
 
327
- #: my-calendar-event-manager.php:458 my-calendar-event-manager.php:677
328
  msgid "Daily"
329
  msgstr ""
330
 
331
- #: my-calendar-event-manager.php:459 my-calendar-event-manager.php:678
332
  msgid "Weekly"
333
  msgstr ""
334
 
335
- #: my-calendar-event-manager.php:460
336
  msgid "Bi-weekly"
337
  msgstr ""
338
 
339
- #: my-calendar-event-manager.php:461
340
  msgid "Date of Month (e.g., the 24th of each month)"
341
  msgstr ""
342
 
343
- #: my-calendar-event-manager.php:462
344
  msgid "Day of Month (e.g., the 3rd Monday of each month)"
345
  msgstr ""
346
 
347
- #: my-calendar-event-manager.php:463
348
  msgid "Annually"
349
  msgstr ""
350
 
351
- #: my-calendar-event-manager.php:465
352
  msgid ""
353
  "Entering 0 means forever, if a unit is selected. If the recurrence unit is "
354
  "left at \"Does not recur,\" the event will not reoccur."
355
  msgstr ""
356
 
357
- #: my-calendar-event-manager.php:476
358
  msgid "Event Registration Status"
359
  msgstr ""
360
 
361
- #: my-calendar-event-manager.php:478
362
  msgid "Open"
363
  msgstr ""
364
 
365
- #: my-calendar-event-manager.php:479
366
  msgid "Closed"
367
  msgstr ""
368
 
369
- #: my-calendar-event-manager.php:480
370
  msgid "Does not apply"
371
  msgstr ""
372
 
373
- #: my-calendar-event-manager.php:483
374
  msgid ""
375
  "If this event recurs, it can only be registered for as a complete series."
376
  msgstr ""
377
 
378
- #: my-calendar-event-manager.php:493 my-calendar-locations.php:81
379
  msgid "Event Location"
380
  msgstr ""
381
 
382
- #: my-calendar-event-manager.php:502
383
  msgid "Choose a preset location:"
384
  msgstr ""
385
 
386
- #: my-calendar-event-manager.php:516
387
  msgid "Add recurring locations for later use."
388
  msgstr ""
389
 
390
- #: my-calendar-event-manager.php:525 my-calendar-locations.php:83
391
  msgid ""
392
  "All location fields are optional: <em>insufficient information may result in "
393
  "an inaccurate map</em>."
394
  msgstr ""
395
 
396
- #: my-calendar-event-manager.php:528 my-calendar-locations.php:86
397
  msgid "Name of Location (e.g. <em>Joe's Bar and Grill</em>)"
398
  msgstr ""
399
 
400
- #: my-calendar-event-manager.php:531 my-calendar-locations.php:89
401
  msgid "Street Address"
402
  msgstr ""
403
 
404
- #: my-calendar-event-manager.php:534 my-calendar-locations.php:92
405
  msgid "Street Address (2)"
406
  msgstr ""
407
 
408
- #: my-calendar-event-manager.php:537 my-calendar-locations.php:95
 
409
  msgid "City"
410
  msgstr ""
411
 
412
- #: my-calendar-event-manager.php:537 my-calendar-locations.php:95
 
413
  msgid "State/Province"
414
  msgstr ""
415
 
416
- #: my-calendar-event-manager.php:537 my-calendar-locations.php:95
 
417
  msgid "Postal Code"
418
  msgstr ""
419
 
420
- #: my-calendar-event-manager.php:540 my-calendar-locations.php:98
 
421
  msgid "Country"
422
  msgstr ""
423
 
424
- #: my-calendar-event-manager.php:543 my-calendar-locations.php:101
425
  msgid "Initial Zoom"
426
  msgstr ""
427
 
428
- #: my-calendar-event-manager.php:545 my-calendar-locations.php:103
429
  msgid "Neighborhood"
430
  msgstr ""
431
 
432
- #: my-calendar-event-manager.php:546 my-calendar-locations.php:104
433
  msgid "Small City"
434
  msgstr ""
435
 
436
- #: my-calendar-event-manager.php:547 my-calendar-locations.php:105
437
  msgid "Large City"
438
  msgstr ""
439
 
440
- #: my-calendar-event-manager.php:548 my-calendar-locations.php:106
441
  msgid "Greater Metro Area"
442
  msgstr ""
443
 
444
- #: my-calendar-event-manager.php:549 my-calendar-locations.php:107
445
  msgid "State"
446
  msgstr ""
447
 
448
- #: my-calendar-event-manager.php:550 my-calendar-locations.php:108
449
  msgid "Region"
450
  msgstr ""
451
 
452
- #: my-calendar-event-manager.php:554 my-calendar-locations.php:112
453
  msgid "GPS Coordinates (optional)"
454
  msgstr ""
455
 
456
- #: my-calendar-event-manager.php:556
457
  msgid ""
458
  "If you supply GPS coordinates for your location, they will be used in place "
459
  "of any other address information to provide your map link."
460
  msgstr ""
461
 
462
- #: my-calendar-event-manager.php:559 my-calendar-locations.php:117
463
  msgid "Longitude"
464
  msgstr ""
465
 
466
- #: my-calendar-event-manager.php:559 my-calendar-locations.php:117
467
  msgid "Latitude"
468
  msgstr ""
469
 
470
- #: my-calendar-event-manager.php:567
471
  msgid "Save Event"
472
  msgstr ""
473
 
474
- #: my-calendar-event-manager.php:644 my-calendar-widgets.php:37
 
 
 
 
 
475
  #: my-calendar-widgets.php:122
476
  msgid "Title"
477
  msgstr ""
478
 
479
- #: my-calendar-event-manager.php:645
480
  msgid "Link"
481
  msgstr ""
482
 
483
- #: my-calendar-event-manager.php:646 my-calendar-locations.php:148
484
  msgid "Location"
485
  msgstr ""
486
 
487
- #: my-calendar-event-manager.php:647
488
  msgid "Description"
489
  msgstr ""
490
 
491
- #: my-calendar-event-manager.php:648
492
  msgid "Start Date"
493
  msgstr ""
494
 
495
- #: my-calendar-event-manager.php:649
496
  msgid "Recurs"
497
  msgstr ""
498
 
499
- #: my-calendar-event-manager.php:650 my-calendar-settings.php:204
500
- #: my-calendar-settings.php:213
501
  msgid "Author"
502
  msgstr ""
503
 
504
- #: my-calendar-event-manager.php:651
505
  msgid "Category"
506
  msgstr ""
507
 
508
- #: my-calendar-event-manager.php:652
509
  msgid "Edit / Delete"
510
  msgstr ""
511
 
512
- #: my-calendar-event-manager.php:676
513
  msgid "Never"
514
  msgstr ""
515
 
516
- #: my-calendar-event-manager.php:679
517
  msgid "Bi-Weekly"
518
  msgstr ""
519
 
520
- #: my-calendar-event-manager.php:680
521
  msgid "Monthly (by date)"
522
  msgstr ""
523
 
524
- #: my-calendar-event-manager.php:681
525
  msgid "Monthly (by day)"
526
  msgstr ""
527
 
528
- #: my-calendar-event-manager.php:682
529
  msgid "Yearly"
530
  msgstr ""
531
 
532
- #: my-calendar-event-manager.php:686
 
 
 
 
 
533
  msgid "Forever"
534
  msgstr ""
535
 
536
- #: my-calendar-event-manager.php:687
537
  msgid "Times"
538
  msgstr ""
539
 
540
- #: my-calendar-event-manager.php:702
541
  msgid "Copy"
542
  msgstr ""
543
 
544
- #: my-calendar-event-manager.php:705
 
 
 
 
 
 
545
  msgid "Not editable."
546
  msgstr ""
547
 
548
- #: my-calendar-event-manager.php:711
549
  msgid "Reject"
550
  msgstr ""
551
 
552
- #: my-calendar-event-manager.php:713
553
  msgid "Approve"
554
  msgstr ""
555
 
556
- #: my-calendar-event-manager.php:718
557
  msgid "Approved"
558
  msgstr ""
559
 
560
- #: my-calendar-event-manager.php:720
561
  msgid "Rejected"
562
  msgstr ""
563
 
564
- #: my-calendar-event-manager.php:733
 
 
 
 
565
  msgid "There are no events in the database!"
566
  msgstr ""
567
 
568
- #: my-calendar-event-manager.php:833
569
  msgid ""
570
  "Your event end date must be either after or the same as your event begin date"
571
  msgstr ""
572
 
573
- #: my-calendar-event-manager.php:838
574
  msgid ""
575
  "Your date formatting is correct but one or more of your dates is invalid. "
576
  "Check for number of days in month and leap year related errors."
577
  msgstr ""
578
 
579
- #: my-calendar-event-manager.php:843
580
  msgid "Both start and end dates must be in the format YYYY-MM-DD"
581
  msgstr ""
582
 
583
- #: my-calendar-event-manager.php:855
584
  msgid "The time field must either be blank or be entered in the format hh:mm"
585
  msgstr ""
586
 
587
- #: my-calendar-event-manager.php:865
588
  msgid ""
589
  "The end time field must either be blank or be entered in the format hh:mm"
590
  msgstr ""
591
 
592
- #: my-calendar-event-manager.php:873
593
  msgid ""
594
  "The URL entered must either be prefixed with http:// or be completely blank"
595
  msgstr ""
596
 
597
- #: my-calendar-event-manager.php:882
598
  msgid "The event title must be between 1 and 255 characters in length."
599
  msgstr ""
600
 
601
- #: my-calendar-event-manager.php:890
602
  msgid "The repetition value must be 0 unless a type of recurrence is selected."
603
  msgstr ""
604
 
605
- #: my-calendar-help.php:6
606
- msgid "How to use My Calendar"
607
  msgstr ""
608
 
609
- #: my-calendar-help.php:11
610
- msgid "Shortcode Syntax"
611
  msgstr ""
612
 
613
- #: my-calendar-help.php:14
614
- msgid "These shortcodes can be used in Posts, Pages, or in text widgets."
615
  msgstr ""
616
 
617
- #: my-calendar-help.php:18
618
- msgid ""
619
- "This basic shortcode will show the calendar on a post or page including all "
620
- "categories and the category key, in a traditional month-by-month format."
621
  msgstr ""
622
 
623
- #: my-calendar-help.php:21
624
- msgid ""
625
- "The shortcode supports three attributes, <code>category</code>, "
626
- "<code>format</code> and <code>showkey</code>. There two alternate option for "
627
- "<code>format</code> &mdash; <code>list</code> &mdash; which will show the "
628
- "calendar in a list format, skipping dates without any events, and "
629
- "<code>mini</code>, which will display the calendar in a form more suitable "
630
- "to being displayed in smaller spaces, such as the sidebar. The "
631
- "<code>category</code> attribute requires either the name of or ID number one "
632
- "of your event categories (the name is case-sensitive). This will show a "
633
- "calendar only including events in that category. Multiple categories can be "
634
- "specified by separating the category names or IDs using the pipe character: "
635
- "<code>|</code>. Setting <code>showkey</code> to <code>no</code> will prevent "
636
- "the category key from being displayed &mdash; this can be useful with single-"
637
- "category output."
638
- msgstr ""
639
-
640
- #: my-calendar-help.php:24
641
- msgid ""
642
- "This shortcode displays the output of the Upcoming Events widget. Without "
643
- "attributes, it will display using the settings in your widget; the "
644
- "attributes are used to override the widget settings. The <code>before</code> "
645
- "and <code>after</code> attributes should be numbers; the <code>type</code> "
646
- "attribute can be either \"event\" or \"days\", and the <code>category</code> "
647
- "attribute works the same way as the category attribute on the main calendar "
648
- "shortcode. Templates work using the template codes listed below."
649
  msgstr ""
650
 
651
- #: my-calendar-help.php:27
652
- msgid ""
653
- "Predictably enough, this shortcode displays the output of the Today's Events "
654
- "widget, with two configurable attributes: category and template."
655
  msgstr ""
656
 
657
- #: my-calendar-help.php:34
658
- msgid "Category Icons"
659
  msgstr ""
660
 
661
- #: my-calendar-help.php:37
662
- msgid ""
663
- "My Calendar is designed to manage multiple calendars. The basis for these "
664
- "calendars are categories; you can easily setup a calendar page which "
665
- "includes all categories, or you can dedicate separate pages to calendars in "
666
- "each category. For an example, this might be useful for you in managing the "
667
- "tour calendars for multiple bands; event calendars for a variety of "
668
- "locations, etc."
669
  msgstr ""
670
 
671
- #: my-calendar-help.php:40
672
- msgid ""
673
- "The pre-installed category icons may not be especially useful for your needs "
674
- "or design. I'm assuming that you're going to upload your own icons -- all "
675
- "you need to do is upload them to the plugin's icons folder, and they'll be "
676
- "available for immediate use, or place them in a folder at \"my-calendar-"
677
- "custom\" to avoid having them overwritten by upgrades."
678
  msgstr ""
679
 
680
- #: my-calendar-help.php:40
681
- msgid "Your icons folder is:"
682
  msgstr ""
683
 
684
- #: my-calendar-help.php:40
685
- msgid "You can alternately place icons in:"
686
  msgstr ""
687
 
688
- #: my-calendar-help.php:48
689
- msgid "Widget Templating"
690
  msgstr ""
691
 
692
- #: my-calendar-help.php:51
693
- msgid ""
694
- "These codes are available in calendar widgets to create your own custom "
695
- "calendar format."
696
  msgstr ""
697
 
698
- #: my-calendar-help.php:55
699
- msgid "Displays the name of the category the event is in."
700
  msgstr ""
701
 
702
- #: my-calendar-help.php:58
703
- msgid "Displays the title of the event."
704
  msgstr ""
705
 
706
- #: my-calendar-help.php:61
707
- msgid "Displays the start time for the event."
708
  msgstr ""
709
 
710
- #: my-calendar-help.php:64
711
- msgid "Displays the date on which the event begins."
712
  msgstr ""
713
 
714
- #: my-calendar-help.php:67
715
- msgid "Displays the date on which the event ends."
716
  msgstr ""
717
 
718
- #: my-calendar-help.php:70
719
- msgid "Displays the time at which the event ends."
720
  msgstr ""
721
 
722
- #: my-calendar-help.php:73
723
- msgid "Displays the WordPress author who posted the event."
724
  msgstr ""
725
 
726
- #: my-calendar-help.php:76
727
- msgid "Displays the URL provided for the event."
728
  msgstr ""
729
 
730
- #: my-calendar-help.php:79
731
- msgid "Displays the description of the event."
732
  msgstr ""
733
 
734
- #: my-calendar-help.php:82
735
- msgid ""
736
- "Displays title of the event as a link if a URL is present, or the title "
737
- "alone if no URL is available."
738
  msgstr ""
739
 
740
- #: my-calendar-help.php:85
741
- msgid "Displays the name of the location of the event."
742
  msgstr ""
743
 
744
- #: my-calendar-help.php:88
745
- msgid "Displays the first line of the site address."
746
  msgstr ""
747
 
748
- #: my-calendar-help.php:91
749
- msgid "Displays the second line of the site address."
750
  msgstr ""
751
 
752
- #: my-calendar-help.php:94
753
- msgid "Displays the city for the event."
754
  msgstr ""
755
 
756
- #: my-calendar-help.php:97
757
- msgid "Displays the state for the event."
758
  msgstr ""
759
 
760
- #: my-calendar-help.php:100
761
- msgid "Displays the postcode for the event."
762
  msgstr ""
763
 
764
- #: my-calendar-help.php:103
765
- msgid "Displays the country for the event location."
766
  msgstr ""
767
 
768
- #: my-calendar-help.php:106
769
- msgid ""
770
- "Displays the event address in <a href=\"http://microformats.org/wiki/hcard"
771
- "\">hcard</a> format."
772
  msgstr ""
773
 
774
- #: my-calendar-help.php:109
775
- msgid ""
776
- "Displays a link to a Google Map of the event, if sufficient address "
777
- "information is available. If not, will be empty."
778
  msgstr ""
779
 
780
- #: my-calendar-help.php:112
781
- msgid ""
782
- "Displays text indicating whether registration for the event is currently "
783
- "open or closed; displays nothing if that choice is selected in the event."
784
  msgstr ""
785
 
786
- #: my-calendar-help.php:115
787
- msgid "Displays the short version of the event description."
788
  msgstr ""
789
 
790
- #: my-calendar-help.php:118
791
  msgid ""
792
- "Displays the current status of the event: either \"Published\" or \"Reserved"
793
- "\" - primary used in email templates."
 
794
  msgstr ""
795
 
796
- #: my-calendar-locations.php:22
797
- msgid "Location added successfully"
798
  msgstr ""
799
 
800
- #: my-calendar-locations.php:24
801
- msgid "Location could not be added to database"
802
  msgstr ""
803
 
804
- #: my-calendar-locations.php:30
805
- msgid "Location deleted successfully"
806
  msgstr ""
807
 
808
- #: my-calendar-locations.php:32
809
- msgid "Location could not be deleted"
810
  msgstr ""
811
 
812
- #: my-calendar-locations.php:43
813
- msgid "Location could not be edited."
814
  msgstr ""
815
 
816
- #: my-calendar-locations.php:45
817
- msgid "Location was not changed."
818
  msgstr ""
819
 
820
- #: my-calendar-locations.php:47
821
- msgid "Location edited successfully"
822
  msgstr ""
823
 
824
- #: my-calendar-locations.php:59
825
- msgid "Add New Location"
826
  msgstr ""
827
 
828
- #: my-calendar-locations.php:61
829
- msgid "Edit Location"
830
  msgstr ""
831
 
832
- #: my-calendar-locations.php:66
833
- msgid "Location Editor"
 
 
834
  msgstr ""
835
 
836
- #: my-calendar-locations.php:114
 
 
 
 
 
 
 
 
 
 
 
 
837
  msgid ""
838
- "If you supply GPS coordinates for your location, they will be used in place "
839
- "of any other address information to pinpoint your location."
840
  msgstr ""
841
 
842
- #: my-calendar-locations.php:121
843
- msgid "Add Location"
844
  msgstr ""
845
 
846
- #: my-calendar-locations.php:135 my-calendar.php:180
847
- msgid "Manage Locations"
848
  msgstr ""
849
 
850
- #: my-calendar-locations.php:170
851
- msgid "There are no locations in the database yet!"
852
  msgstr ""
853
 
854
- #: my-calendar-locations.php:174
855
  msgid ""
856
- "Please note: editing or deleting locations stored for re-use will have no "
857
- "effect on any event previously scheduled at that location. The location "
858
- "database exists purely as a shorthand method to enter frequently used "
859
- "locations into event records."
860
  msgstr ""
861
 
862
- #: my-calendar-settings.php:67
863
- msgid "Categories imported successfully."
864
  msgstr ""
865
 
866
- #: my-calendar-settings.php:69
867
- msgid "Categories not imported."
 
 
868
  msgstr ""
869
 
870
- #: my-calendar-settings.php:72
871
- msgid "Events imported successfully."
 
 
872
  msgstr ""
873
 
874
- #: my-calendar-settings.php:74
875
- msgid "Events not imported."
876
  msgstr ""
877
 
878
- #: my-calendar-settings.php:165
879
- msgid "Settings saved"
880
  msgstr ""
881
 
882
- #: my-calendar-settings.php:188
883
- msgid "My Calendar Options"
884
  msgstr ""
885
 
886
- #: my-calendar-settings.php:195
887
- msgid "Calendar Settings"
888
  msgstr ""
889
 
890
- #: my-calendar-settings.php:199
891
- msgid "Calendar Options: Management"
892
  msgstr ""
893
 
894
- #: my-calendar-settings.php:201
895
- msgid "Choose the lowest user group that may create events"
896
  msgstr ""
897
 
898
- #: my-calendar-settings.php:202 my-calendar-settings.php:211
899
- msgid "Subscriber"
900
  msgstr ""
901
 
902
- #: my-calendar-settings.php:203 my-calendar-settings.php:212
903
- msgid "Contributor"
904
  msgstr ""
905
 
906
- #: my-calendar-settings.php:205 my-calendar-settings.php:214
907
- msgid "Editor"
908
  msgstr ""
909
 
910
- #: my-calendar-settings.php:206 my-calendar-settings.php:215
911
- msgid "Administrator"
912
  msgstr ""
913
 
914
- #: my-calendar-settings.php:210
915
- msgid "Choose the lowest user group that may approve events"
916
  msgstr ""
917
 
918
- #: my-calendar-settings.php:219
919
- msgid "Enable approval options."
920
  msgstr ""
921
 
922
- #: my-calendar-settings.php:223
923
- msgid "Calendar Options: Customize Text"
924
  msgstr ""
925
 
926
- #: my-calendar-settings.php:225
927
- msgid "Show Heading for Calendar"
928
  msgstr ""
929
 
930
- #: my-calendar-settings.php:228
931
- msgid "Label for events without a specific time"
932
  msgstr ""
933
 
934
- #: my-calendar-settings.php:231
935
- msgid "Previous events link text"
936
  msgstr ""
937
 
938
- #: my-calendar-settings.php:231
939
- msgid "Previous Events"
940
  msgstr ""
941
 
942
- #: my-calendar-settings.php:234
943
- msgid "Next events link text"
944
  msgstr ""
945
 
946
- #: my-calendar-settings.php:234
947
- msgid "Next Events"
948
  msgstr ""
949
 
950
- #: my-calendar-settings.php:237
951
- msgid "Text when events are open"
952
  msgstr ""
953
 
954
- #: my-calendar-settings.php:237
955
- msgid "Registration is open"
956
  msgstr ""
957
 
958
- #: my-calendar-settings.php:240
959
- msgid "Text when events are closed"
960
  msgstr ""
961
 
962
- #: my-calendar-settings.php:240
963
- msgid "Registration is closed"
964
  msgstr ""
965
 
966
- #: my-calendar-settings.php:243
967
- msgid "Additional caption text"
968
  msgstr ""
969
 
970
- #: my-calendar-settings.php:243
971
- msgid ""
972
- "The calendar caption is the text containing the displayed month and year in "
973
- "either list or calendar format. This text will be displayed following that "
974
- "existing text."
975
  msgstr ""
976
 
977
- #: my-calendar-settings.php:247
978
- msgid "Calendar Options: Output"
979
  msgstr ""
980
 
981
- #: my-calendar-settings.php:249
982
- msgid "In list mode, show how many months of events at a time:"
983
  msgstr ""
984
 
985
- #: my-calendar-settings.php:252
986
- msgid "Date format in list mode"
987
  msgstr ""
988
 
989
- #: my-calendar-settings.php:253
990
  msgid ""
991
- "Date format uses the same syntax as the <a href=\"http://php.net/date\">PHP "
992
- "<code>date()</code> function</a>. Save options to update sample output."
993
  msgstr ""
994
 
995
- #: my-calendar-settings.php:256
996
- msgid "Do you want to display the author name on events?"
997
  msgstr ""
998
 
999
- #: my-calendar-settings.php:259
1000
- msgid "Display a jumpbox for changing month and year quickly?"
 
 
 
 
1001
  msgstr ""
1002
 
1003
- #: my-calendar-settings.php:262
1004
- msgid "Hide category icons in output"
1005
  msgstr ""
1006
 
1007
- #: my-calendar-settings.php:265
1008
- msgid ""
1009
- "Show Link to Google Map (when sufficient address information is available.)"
1010
  msgstr ""
1011
 
1012
- #: my-calendar-settings.php:268
1013
- msgid "Show Event Address in Details"
1014
  msgstr ""
1015
 
1016
- #: my-calendar-settings.php:271
1017
- msgid "Show short description field on calendar."
1018
  msgstr ""
1019
 
1020
- #: my-calendar-settings.php:274
1021
- msgid "Show full description field on calendar."
1022
  msgstr ""
1023
 
1024
- #: my-calendar-settings.php:277
1025
  msgid ""
1026
- "Links associated with events will automatically expire after the event has "
1027
- "passed."
 
1028
  msgstr ""
1029
 
1030
- #: my-calendar-settings.php:280
1031
- msgid "Show current availability status of events."
1032
  msgstr ""
1033
 
1034
- #: my-calendar-settings.php:283
1035
- msgid ""
1036
- "If a recurring event is scheduled for a date which doesn't exist (such as "
1037
- "the 5th Wednesday in February), move it back one week."
1038
  msgstr ""
1039
 
1040
- #: my-calendar-settings.php:284
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1041
  msgid ""
1042
- "If this option is unchecked, recurring events which fall on dates which "
1043
- "don't exist will simply not be shown on the calendar."
1044
  msgstr ""
1045
 
1046
- #: my-calendar-settings.php:288
1047
- msgid "Calendar Options: Input"
1048
  msgstr ""
1049
 
1050
- #: my-calendar-settings.php:291
1051
- msgid "Show Event Location Dropdown Menu"
1052
  msgstr ""
1053
 
1054
- #: my-calendar-settings.php:291
1055
- msgid "Show Event Short Description field"
1056
  msgstr ""
1057
 
1058
- #: my-calendar-settings.php:291
1059
- msgid "Show Event Description Field"
1060
  msgstr ""
1061
 
1062
- #: my-calendar-settings.php:291
1063
- msgid "Show Event Category field"
1064
  msgstr ""
1065
 
1066
- #: my-calendar-settings.php:291
1067
- msgid "Show Event Link field"
1068
  msgstr ""
1069
 
1070
- #: my-calendar-settings.php:291
1071
- msgid "Show Event Recurrence Options"
1072
  msgstr ""
1073
 
1074
- #: my-calendar-settings.php:291
1075
- msgid "Show event registration options"
 
1076
  msgstr ""
1077
 
1078
- #: my-calendar-settings.php:291
1079
- msgid "Show event location fields"
1080
  msgstr ""
1081
 
1082
- #: my-calendar-settings.php:300
1083
- msgid "Administrators see all input options"
1084
  msgstr ""
1085
 
1086
- #: my-calendar-settings.php:304
1087
- msgid "Calendar Options: Style"
1088
  msgstr ""
1089
 
1090
- #: my-calendar-settings.php:306
1091
- msgid "Default usage of category colors."
1092
  msgstr ""
1093
 
1094
- #: my-calendar-settings.php:307
1095
- msgid "Apply category colors to event titles as a font color."
1096
  msgstr ""
1097
 
1098
- #: my-calendar-settings.php:308
1099
- msgid "Apply category colors to event titles as a background color."
1100
  msgstr ""
1101
 
1102
- #: my-calendar-settings.php:313
1103
- msgid "Calendar Options: Email Notifications"
1104
  msgstr ""
1105
 
1106
- #: my-calendar-settings.php:317
1107
- msgid "Send Email Notifications when new events are scheduled or reserved."
1108
  msgstr ""
1109
 
1110
- #: my-calendar-settings.php:323
1111
- msgid "Notification messages are sent to: "
1112
  msgstr ""
1113
 
1114
- #: my-calendar-settings.php:327
1115
- msgid "Email subject"
1116
  msgstr ""
1117
 
1118
- #: my-calendar-settings.php:327
1119
- msgid "New event Added"
1120
  msgstr ""
1121
 
1122
- #: my-calendar-settings.php:331
1123
- msgid "Message Body"
1124
  msgstr ""
1125
 
1126
- #: my-calendar-settings.php:331
1127
- msgid "New Event:"
1128
  msgstr ""
1129
 
1130
- #: my-calendar-settings.php:332
1131
- msgid "Shortcode Help"
1132
  msgstr ""
1133
 
1134
- #: my-calendar-settings.php:332
1135
- msgid "All template shortcodes are available."
1136
  msgstr ""
1137
 
1138
- #: my-calendar-settings.php:341
1139
- msgid "Save Settings"
1140
  msgstr ""
1141
 
1142
- #: my-calendar-styles.php:46
1143
- msgid "Style Settings saved"
1144
  msgstr ""
1145
 
1146
- #: my-calendar-styles.php:70
1147
- msgid "My Calendar Styles"
1148
  msgstr ""
1149
 
1150
- #: my-calendar-styles.php:74
1151
- msgid "Calendar Style Settings"
 
 
1152
  msgstr ""
1153
 
1154
- #: my-calendar-styles.php:78
1155
- msgid ""
1156
- "Show CSS &amp; JavaScript only on these pages (comma separated page IDs)"
1157
  msgstr ""
1158
 
1159
- #: my-calendar-styles.php:81
1160
- msgid "CSS Style Options"
1161
  msgstr ""
1162
 
1163
- #: my-calendar-styles.php:83
1164
- msgid "Reset the My Calendar stylesheet to the default"
1165
  msgstr ""
1166
 
1167
- #: my-calendar-styles.php:83
1168
- msgid "Disable My Calendar Stylesheet"
1169
  msgstr ""
1170
 
1171
- #: my-calendar-styles.php:86
1172
- msgid "Edit the stylesheet for My Calendar"
1173
  msgstr ""
1174
 
1175
- #: my-calendar-styles.php:89 my-calendar-styles.php:101
1176
- #: my-calendar-styles.php:113 my-calendar-styles.php:125
1177
- msgid "Save"
 
 
 
 
 
 
 
1178
  msgstr ""
1179
 
1180
- #: my-calendar-styles.php:93
1181
  msgid "Calendar Behaviors: Calendar View"
1182
  msgstr ""
1183
 
1184
- #: my-calendar-styles.php:95
1185
  msgid "Reset the My Calendar Calendar Javascript"
1186
  msgstr ""
1187
 
1188
- #: my-calendar-styles.php:95
1189
  msgid "Disable Calendar Javascript Effects"
1190
  msgstr ""
1191
 
1192
- #: my-calendar-styles.php:98
1193
  msgid "Edit the jQuery scripts for My Calendar in Calendar format"
1194
  msgstr ""
1195
 
1196
- #: my-calendar-styles.php:105
 
 
 
 
 
 
1197
  msgid "Calendar Behaviors: List View"
1198
  msgstr ""
1199
 
1200
- #: my-calendar-styles.php:107
1201
  msgid "Reset the My Calendar List Javascript"
1202
  msgstr ""
1203
 
1204
- #: my-calendar-styles.php:107
1205
  msgid "Disable List Javascript Effects"
1206
  msgstr ""
1207
 
1208
- #: my-calendar-styles.php:110
1209
  msgid "Edit the jQuery scripts for My Calendar in List format"
1210
  msgstr ""
1211
 
1212
- #: my-calendar-styles.php:117
1213
  msgid "Calendar Behaviors: Mini Calendar View"
1214
  msgstr ""
1215
 
1216
- #: my-calendar-styles.php:119
1217
  msgid "Reset the My Calendar Mini Format Javascript"
1218
  msgstr ""
1219
 
1220
- #: my-calendar-styles.php:119
1221
  msgid "Disable Mini Javascript Effects"
1222
  msgstr ""
1223
 
1224
- #: my-calendar-styles.php:122
1225
  msgid "Edit the jQuery scripts for My Calendar in Mini Calendar format"
1226
  msgstr ""
1227
 
1228
- #: my-calendar-upgrade-db.php:19
1229
- msgid "The My Calendar database needs to be updated."
1230
  msgstr ""
1231
 
1232
- #: my-calendar-upgrade-db.php:20 my-calendar-upgrade-db.php:34
1233
- msgid "Update now"
1234
  msgstr ""
1235
 
1236
- #: my-calendar-upgrade-db.php:33
1237
- msgid ""
1238
- "You haven't entered any events, so My Calendar can't tell whether your "
1239
- "database is up to date. If you can't add events, upgrade your database!"
1240
  msgstr ""
1241
 
1242
- #: my-calendar-upgrade-db.php:44
1243
- msgid "My Calendar Database is updated."
1244
  msgstr ""
1245
 
1246
- #: my-calendar-widgets.php:11 my-calendar-widgets.php:51
1247
- #: my-calendar-widgets.php:52
1248
- msgid "Today's Events"
1249
  msgstr ""
1250
 
1251
- #: my-calendar-widgets.php:41 my-calendar-widgets.php:126
1252
- msgid "Template"
1253
  msgstr ""
1254
 
1255
- #: my-calendar-widgets.php:45
1256
- msgid "Show this text if there are no events today:"
1257
  msgstr ""
1258
 
1259
- #: my-calendar-widgets.php:65 my-calendar-widgets.php:152
1260
- #: my-calendar-widgets.php:153
1261
- msgid "Upcoming Events"
1262
  msgstr ""
1263
 
1264
- #: my-calendar-widgets.php:130
1265
- msgid "Widget Options"
1266
- msgstr ""
1267
-
1268
- #: my-calendar-widgets.php:132
1269
- msgid "Display upcoming events by:"
1270
- msgstr ""
1271
-
1272
- #: my-calendar-widgets.php:133
1273
- msgid "Events (e.g. 2 past, 3 future)"
1274
- msgstr ""
1275
-
1276
- #: my-calendar-widgets.php:134
1277
- msgid "Dates (e.g. 4 days past, 5 forward)"
1278
- msgstr ""
1279
-
1280
- #: my-calendar-widgets.php:138
1281
- msgid "events into the future;"
1282
- msgstr ""
1283
-
1284
- #: my-calendar-widgets.php:139
1285
- msgid "events from the past"
1286
- msgstr ""
1287
-
1288
- #: my-calendar-widgets.php:142
1289
- msgid "days into the future;"
1290
- msgstr ""
1291
-
1292
- #: my-calendar-widgets.php:143
1293
- msgid "days from the past"
1294
- msgstr ""
1295
-
1296
- #: my-calendar-widgets.php:146
1297
- msgid "Show only this category:"
1298
- msgstr ""
1299
-
1300
- #: my-calendar-widgets.php:285
1301
- msgid "There are no events currently scheduled."
1302
- msgstr ""
1303
-
1304
- #: my-calendar-widgets.php:470
1305
- msgid "Published"
1306
- msgstr ""
1307
-
1308
- #: my-calendar-widgets.php:472
1309
- msgid "Reserved"
1310
- msgstr ""
1311
-
1312
- #: my-calendar.php:56 my-calendar.php:181
1313
- msgid "Settings"
1314
  msgstr ""
1315
 
1316
- #: my-calendar.php:57 my-calendar.php:183
1317
- msgid "Help"
1318
  msgstr ""
1319
 
1320
- #: my-calendar.php:81
1321
- msgid "Buy the Beginner's Guide"
1322
  msgstr ""
1323
 
1324
- #: my-calendar.php:82
1325
- msgid "Get Support"
1326
  msgstr ""
1327
 
1328
- #: my-calendar.php:83 my-calendar.php:183
1329
- msgid "My Calendar Help"
1330
  msgstr ""
1331
 
1332
- #: my-calendar.php:84
1333
- msgid "Make a Donation"
 
 
1334
  msgstr ""
1335
 
1336
- #. #-#-#-#-# plugin.pot (My Calendar 1.5.0) #-#-#-#-#
1337
- #. Plugin Name of the plugin/theme
1338
- #: my-calendar.php:172
1339
- msgid "My Calendar"
1340
  msgstr ""
1341
 
1342
- #: my-calendar.php:175
1343
- msgid "Add/Edit Events"
1344
  msgstr ""
1345
 
1346
- #: my-calendar.php:182
1347
- msgid "Style Editor"
 
 
 
 
1348
  msgstr ""
1349
 
1350
- #: my-calendar.php:633
1351
  msgid "Event Details"
1352
  msgstr ""
1353
 
1354
- #: my-calendar.php:642
1355
  msgid "Close"
1356
  msgstr ""
1357
 
1358
- #: my-calendar.php:652
 
 
 
 
1359
  msgid "Not Applicable"
1360
  msgstr ""
1361
 
1362
- #: my-calendar.php:664
1363
  msgid "Posted by"
1364
  msgstr ""
1365
 
1366
- #: my-calendar.php:710
1367
  msgid ""
1368
  "This class is part of a series. You must register for the first event in "
1369
  "this series to attend."
1370
  msgstr ""
1371
 
1372
- #: my-calendar.php:1340
1373
  msgid "Month"
1374
  msgstr ""
1375
 
1376
- #: my-calendar.php:1341 my-calendar.php:1427
1377
  msgid "January"
1378
  msgstr ""
1379
 
1380
- #: my-calendar.php:1342 my-calendar.php:1427
1381
  msgid "February"
1382
  msgstr ""
1383
 
1384
- #: my-calendar.php:1343 my-calendar.php:1427
1385
  msgid "March"
1386
  msgstr ""
1387
 
1388
- #: my-calendar.php:1344 my-calendar.php:1427
1389
  msgid "April"
1390
  msgstr ""
1391
 
1392
- #: my-calendar.php:1345 my-calendar.php:1427
1393
  msgid "May"
1394
  msgstr ""
1395
 
1396
- #: my-calendar.php:1346 my-calendar.php:1427
1397
  msgid "June"
1398
  msgstr ""
1399
 
1400
- #: my-calendar.php:1347 my-calendar.php:1427
1401
  msgid "July"
1402
  msgstr ""
1403
 
1404
- #: my-calendar.php:1348 my-calendar.php:1427
1405
  msgid "August"
1406
  msgstr ""
1407
 
1408
- #: my-calendar.php:1349 my-calendar.php:1427
1409
  msgid "September"
1410
  msgstr ""
1411
 
1412
- #: my-calendar.php:1350 my-calendar.php:1427
1413
  msgid "October"
1414
  msgstr ""
1415
 
1416
- #: my-calendar.php:1351 my-calendar.php:1427
1417
  msgid "November"
1418
  msgstr ""
1419
 
1420
- #: my-calendar.php:1352 my-calendar.php:1427
1421
  msgid "December"
1422
  msgstr ""
1423
 
1424
- #: my-calendar.php:1354
1425
  msgid "Year"
1426
  msgstr ""
1427
 
1428
- #: my-calendar.php:1379
1429
  msgid "Go"
1430
  msgstr ""
1431
 
1432
- #: my-calendar.php:1401
1433
  msgid "<abbr title=\"Sunday\">Sun</abbr>"
1434
  msgstr ""
1435
 
1436
- #: my-calendar.php:1402
1437
  msgid "<abbr title=\"Monday\">Mon</abbr>"
1438
  msgstr ""
1439
 
1440
- #: my-calendar.php:1403
1441
  msgid "<abbr title=\"Tuesday\">Tues</abbr>"
1442
  msgstr ""
1443
 
1444
- #: my-calendar.php:1404
1445
  msgid "<abbr title=\"Wednesday\">Wed</abbr>"
1446
  msgstr ""
1447
 
1448
- #: my-calendar.php:1405
1449
  msgid "<abbr title=\"Thursday\">Thur</abbr>"
1450
  msgstr ""
1451
 
1452
- #: my-calendar.php:1406
1453
  msgid "<abbr title=\"Friday\">Fri</abbr>"
1454
  msgstr ""
1455
 
1456
- #: my-calendar.php:1407
1457
  msgid "<abbr title=\"Saturday\">Sat</abbr>"
1458
  msgstr ""
1459
 
1460
- #: my-calendar.php:1412
1461
  msgid "<abbr title=\"Sunday\">S</abbr>"
1462
  msgstr ""
1463
 
1464
- #: my-calendar.php:1413
1465
  msgid "<abbr title=\"Monday\">M</abbr>"
1466
  msgstr ""
1467
 
1468
- #: my-calendar.php:1414
1469
  msgid "<abbr title=\"Tuesday\">T</abbr>"
1470
  msgstr ""
1471
 
1472
- #: my-calendar.php:1415
1473
  msgid "<abbr title=\"Wednesday\">W</abbr>"
1474
  msgstr ""
1475
 
1476
- #: my-calendar.php:1416
1477
  msgid "<abbr title=\"Thursday\">T</abbr>"
1478
  msgstr ""
1479
 
1480
- #: my-calendar.php:1417
1481
  msgid "<abbr title=\"Friday\">F</abbr>"
1482
  msgstr ""
1483
 
1484
- #: my-calendar.php:1418
1485
  msgid "<abbr title=\"Saturday\">S</abbr>"
1486
  msgstr ""
1487
 
1488
- #: my-calendar.php:1464
1489
  msgid "and"
1490
  msgstr ""
1491
 
1492
- #: my-calendar.php:1493 my-calendar.php:1497
1493
  msgid "Calendar"
1494
  msgstr ""
1495
 
1496
- #: my-calendar.php:1500
1497
  msgid "Events in"
1498
  msgstr ""
1499
 
1500
- #: my-calendar.php:1597
1501
  msgid "There are no events scheduled during this period."
1502
  msgstr ""
1503
 
1504
- #: my-calendar.php:1607
1505
  msgid "Category Key"
1506
  msgstr ""
1507
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1508
  #. Plugin URI of the plugin/theme
1509
  msgid "http://www.joedolson.com/articles/my-calendar/"
1510
  msgstr ""
1
+ # Copyright (C) 2010 My Calendar
 
2
  # This file is distributed under the same license as the My Calendar package.
 
 
 
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: My Calendar 1.6.3\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/my-calendar\n"
7
+ "POT-Creation-Date: 2010-12-23 19:33:22+00:00\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
  "PO-Revision-Date: 2010-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
 
15
+ #: my-calendar-templates.php:151
16
+ msgid "Published"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  msgstr ""
18
 
19
+ #: my-calendar-templates.php:153
20
+ msgid "Reserved"
21
  msgstr ""
22
 
23
+ #: my-calendar-user.php:39
24
+ msgid "My Calendar User Settings"
25
  msgstr ""
26
 
27
+ #: my-calendar-event-manager.php:27 my-calendar-settings.php:511
28
  msgid ""
29
  "My Calendar has identified that you have the Calendar plugin by Kieran "
30
  "O'Shea installed. You can import those events and categories into the My "
31
  "Calendar database. Would you like to import these events?"
32
  msgstr ""
33
 
34
+ #: my-calendar-event-manager.php:33 my-calendar-settings.php:517
35
  msgid "Import from Calendar"
36
  msgstr ""
37
 
51
  msgid "Are you sure you want to delete this event?"
52
  msgstr ""
53
 
54
+ #: my-calendar-event-manager.php:73 my-calendar-event-manager.php:743
55
+ #: my-calendar-categories.php:160 my-calendar-categories.php:179
56
+ #: my-calendar-locations.php:150 my-calendar-locations.php:162
57
+ msgid "Delete"
58
+ msgstr ""
59
+
60
  #: my-calendar-event-manager.php:81
61
  msgid "You do not have permission to delete that event."
62
  msgstr ""
63
 
64
+ #: my-calendar-event-manager.php:96 my-calendar-event-manager.php:211
65
  msgid "You do not have permission to approve that event."
66
  msgstr ""
67
 
68
+ #: my-calendar-event-manager.php:110 my-calendar-event-manager.php:225
69
  msgid "You do not have permission to reject that event."
70
  msgstr ""
71
 
72
+ #: my-calendar-event-manager.php:133 my-calendar-event-manager.php:156
73
+ #: my-calendar-event-manager.php:180 my-calendar-event-manager.php:195
74
+ #: my-calendar-event-manager.php:875 my-calendar-event-manager.php:880
75
+ #: my-calendar-event-manager.php:885 my-calendar-event-manager.php:897
76
+ #: my-calendar-event-manager.php:907 my-calendar-event-manager.php:915
77
+ #: my-calendar-event-manager.php:924 my-calendar-event-manager.php:932
78
  msgid "Error"
79
  msgstr ""
80
 
86
  msgid "Event added. It will now show in your calendar."
87
  msgstr ""
88
 
89
+ #: my-calendar-event-manager.php:156
90
  msgid "Your event was not updated."
91
  msgstr ""
92
 
93
+ #: my-calendar-event-manager.php:160
94
  msgid "Nothing was changed in that update."
95
  msgstr ""
96
 
97
+ #: my-calendar-event-manager.php:164
98
  msgid "Event updated successfully"
99
  msgstr ""
100
 
101
+ #: my-calendar-event-manager.php:170
102
  msgid "You do not have sufficient permissions to edit that event."
103
  msgstr ""
104
 
105
+ #: my-calendar-event-manager.php:180
106
  msgid "You can't delete an event if you haven't submitted an event id"
107
  msgstr ""
108
 
109
+ #: my-calendar-event-manager.php:191
110
  msgid "Event deleted successfully"
111
  msgstr ""
112
 
113
+ #: my-calendar-event-manager.php:195
114
  msgid ""
115
  "Despite issuing a request to delete, the event still remains in the "
116
  "database. Please investigate."
117
  msgstr ""
118
 
119
+ #: my-calendar-event-manager.php:242 my-calendar-event-manager.php:345
120
  msgid "Edit Event"
121
  msgstr ""
122
 
123
+ #: my-calendar-event-manager.php:246 my-calendar-event-manager.php:255
124
  msgid "You must provide an event id in order to edit it"
125
  msgstr ""
126
 
127
+ #: my-calendar-event-manager.php:251 my-calendar-event-manager.php:345
128
  msgid "Copy Event"
129
  msgstr ""
130
 
131
+ #: my-calendar-event-manager.php:261
132
  msgid "Add Event"
133
  msgstr ""
134
 
135
+ #: my-calendar-event-manager.php:266
136
  msgid "Manage Events"
137
  msgstr ""
138
 
139
+ #: my-calendar-event-manager.php:317
140
  msgid "Sorry! That's an invalid event key."
141
  msgstr ""
142
 
143
+ #: my-calendar-event-manager.php:322
144
  msgid "Sorry! We couldn't find an event with that ID."
145
  msgstr ""
146
 
147
+ #: my-calendar-event-manager.php:345
148
  msgid "Add an Event"
149
  msgstr ""
150
 
151
+ #: my-calendar-event-manager.php:349
152
  msgid "This event must be approved in order for it to appear on the calendar."
153
  msgstr ""
154
 
155
+ #: my-calendar-event-manager.php:364
156
  msgid "Enter your Event Information"
157
  msgstr ""
158
 
159
+ #: my-calendar-event-manager.php:366
160
  msgid "Event Title"
161
  msgstr ""
162
 
163
+ #: my-calendar-event-manager.php:370
164
  msgid "Publish"
165
  msgstr ""
166
 
167
+ #: my-calendar-event-manager.php:370
168
  msgid "You must approve this event to promote it to the calendar."
169
  msgstr ""
170
 
171
+ #: my-calendar-event-manager.php:372
172
  msgid "An administrator must approve your new event."
173
  msgstr ""
174
 
175
+ #: my-calendar-event-manager.php:384
176
  msgid ""
177
  "Event Description (<abbr title=\"hypertext markup language\">HTML</abbr> "
178
  "allowed)"
179
  msgstr ""
180
 
181
+ #: my-calendar-event-manager.php:389
182
  msgid ""
183
  "Event Short Description (<abbr title=\"hypertext markup language\">HTML</"
184
  "abbr> allowed)"
185
  msgstr ""
186
 
187
+ #: my-calendar-event-manager.php:405
188
+ msgid "Event Host"
189
+ msgstr ""
190
+
191
+ #: my-calendar-event-manager.php:426
192
  msgid "Event Category"
193
  msgstr ""
194
 
195
+ #: my-calendar-event-manager.php:451
196
  msgid "Event Link (Optional)"
197
  msgstr ""
198
 
199
+ #: my-calendar-event-manager.php:451
200
  msgid "This link will expire when the event passes."
201
  msgstr ""
202
 
203
+ #: my-calendar-event-manager.php:455
204
  msgid "Start Date (YYYY-MM-DD)"
205
  msgstr ""
206
 
207
+ #: my-calendar-event-manager.php:458
208
  msgid "End Date (YYYY-MM-DD) (Optional)"
209
  msgstr ""
210
 
211
+ #: my-calendar-event-manager.php:461
212
  msgid "Time (hh:mm)"
213
  msgstr ""
214
 
215
+ #: my-calendar-event-manager.php:473
216
  msgid ""
217
  "Optional, set blank if your event is an all-day event or does not happen at "
218
  "a specific time."
219
  msgstr ""
220
 
221
+ #: my-calendar-event-manager.php:473
222
  msgid "Current time difference from GMT is "
223
  msgstr ""
224
 
225
+ #: my-calendar-event-manager.php:473
226
  msgid " hour(s)"
227
  msgstr ""
228
 
229
+ #: my-calendar-event-manager.php:476
230
  msgid "End Time (hh:mm)"
231
  msgstr ""
232
 
233
+ #: my-calendar-event-manager.php:486
234
  msgid ""
235
  "Optional. End times will not be displayed on events where this is not set."
236
  msgstr ""
237
 
238
+ #: my-calendar-event-manager.php:491
239
  msgid "Recurring Events"
240
  msgstr ""
241
 
242
+ #: my-calendar-event-manager.php:494
243
  msgid "Repeats for"
244
  msgstr ""
245
 
246
+ #: my-calendar-event-manager.php:495
247
  msgid "Units"
248
  msgstr ""
249
 
250
+ #: my-calendar-event-manager.php:496
251
  msgid "Does not recur"
252
  msgstr ""
253
 
254
+ #: my-calendar-event-manager.php:497 my-calendar-event-manager.php:716
255
  msgid "Daily"
256
  msgstr ""
257
 
258
+ #: my-calendar-event-manager.php:498 my-calendar-event-manager.php:717
259
  msgid "Weekly"
260
  msgstr ""
261
 
262
+ #: my-calendar-event-manager.php:499
263
  msgid "Bi-weekly"
264
  msgstr ""
265
 
266
+ #: my-calendar-event-manager.php:500
267
  msgid "Date of Month (e.g., the 24th of each month)"
268
  msgstr ""
269
 
270
+ #: my-calendar-event-manager.php:501
271
  msgid "Day of Month (e.g., the 3rd Monday of each month)"
272
  msgstr ""
273
 
274
+ #: my-calendar-event-manager.php:502
275
  msgid "Annually"
276
  msgstr ""
277
 
278
+ #: my-calendar-event-manager.php:504
279
  msgid ""
280
  "Entering 0 means forever, if a unit is selected. If the recurrence unit is "
281
  "left at \"Does not recur,\" the event will not reoccur."
282
  msgstr ""
283
 
284
+ #: my-calendar-event-manager.php:515
285
  msgid "Event Registration Status"
286
  msgstr ""
287
 
288
+ #: my-calendar-event-manager.php:517
289
  msgid "Open"
290
  msgstr ""
291
 
292
+ #: my-calendar-event-manager.php:518
293
  msgid "Closed"
294
  msgstr ""
295
 
296
+ #: my-calendar-event-manager.php:519
297
  msgid "Does not apply"
298
  msgstr ""
299
 
300
+ #: my-calendar-event-manager.php:522
301
  msgid ""
302
  "If this event recurs, it can only be registered for as a complete series."
303
  msgstr ""
304
 
305
+ #: my-calendar-event-manager.php:532 my-calendar-locations.php:81
306
  msgid "Event Location"
307
  msgstr ""
308
 
309
+ #: my-calendar-event-manager.php:541
310
  msgid "Choose a preset location:"
311
  msgstr ""
312
 
313
+ #: my-calendar-event-manager.php:555
314
  msgid "Add recurring locations for later use."
315
  msgstr ""
316
 
317
+ #: my-calendar-event-manager.php:564 my-calendar-locations.php:83
318
  msgid ""
319
  "All location fields are optional: <em>insufficient information may result in "
320
  "an inaccurate map</em>."
321
  msgstr ""
322
 
323
+ #: my-calendar-event-manager.php:567 my-calendar-locations.php:86
324
  msgid "Name of Location (e.g. <em>Joe's Bar and Grill</em>)"
325
  msgstr ""
326
 
327
+ #: my-calendar-event-manager.php:570 my-calendar-locations.php:89
328
  msgid "Street Address"
329
  msgstr ""
330
 
331
+ #: my-calendar-event-manager.php:573 my-calendar-locations.php:92
332
  msgid "Street Address (2)"
333
  msgstr ""
334
 
335
+ #: my-calendar-event-manager.php:576 my-calendar-settings.php:490
336
+ #: my-calendar-locations.php:95
337
  msgid "City"
338
  msgstr ""
339
 
340
+ #: my-calendar-event-manager.php:576 my-calendar-settings.php:491
341
+ #: my-calendar-locations.php:95
342
  msgid "State/Province"
343
  msgstr ""
344
 
345
+ #: my-calendar-event-manager.php:576 my-calendar-settings.php:493
346
+ #: my-calendar-locations.php:95
347
  msgid "Postal Code"
348
  msgstr ""
349
 
350
+ #: my-calendar-event-manager.php:579 my-calendar-settings.php:492
351
+ #: my-calendar-locations.php:98
352
  msgid "Country"
353
  msgstr ""
354
 
355
+ #: my-calendar-event-manager.php:582 my-calendar-locations.php:101
356
  msgid "Initial Zoom"
357
  msgstr ""
358
 
359
+ #: my-calendar-event-manager.php:584 my-calendar-locations.php:103
360
  msgid "Neighborhood"
361
  msgstr ""
362
 
363
+ #: my-calendar-event-manager.php:585 my-calendar-locations.php:104
364
  msgid "Small City"
365
  msgstr ""
366
 
367
+ #: my-calendar-event-manager.php:586 my-calendar-locations.php:105
368
  msgid "Large City"
369
  msgstr ""
370
 
371
+ #: my-calendar-event-manager.php:587 my-calendar-locations.php:106
372
  msgid "Greater Metro Area"
373
  msgstr ""
374
 
375
+ #: my-calendar-event-manager.php:588 my-calendar-locations.php:107
376
  msgid "State"
377
  msgstr ""
378
 
379
+ #: my-calendar-event-manager.php:589 my-calendar-locations.php:108
380
  msgid "Region"
381
  msgstr ""
382
 
383
+ #: my-calendar-event-manager.php:593 my-calendar-locations.php:112
384
  msgid "GPS Coordinates (optional)"
385
  msgstr ""
386
 
387
+ #: my-calendar-event-manager.php:595
388
  msgid ""
389
  "If you supply GPS coordinates for your location, they will be used in place "
390
  "of any other address information to provide your map link."
391
  msgstr ""
392
 
393
+ #: my-calendar-event-manager.php:598 my-calendar-locations.php:117
394
  msgid "Longitude"
395
  msgstr ""
396
 
397
+ #: my-calendar-event-manager.php:598 my-calendar-locations.php:117
398
  msgid "Latitude"
399
  msgstr ""
400
 
401
+ #: my-calendar-event-manager.php:606
402
  msgid "Save Event"
403
  msgstr ""
404
 
405
+ #: my-calendar-event-manager.php:682 my-calendar-categories.php:155
406
+ #: my-calendar-locations.php:147
407
+ msgid "ID"
408
+ msgstr ""
409
+
410
+ #: my-calendar-event-manager.php:683 my-calendar-widgets.php:37
411
  #: my-calendar-widgets.php:122
412
  msgid "Title"
413
  msgstr ""
414
 
415
+ #: my-calendar-event-manager.php:684
416
  msgid "Link"
417
  msgstr ""
418
 
419
+ #: my-calendar-event-manager.php:685 my-calendar-locations.php:148
420
  msgid "Location"
421
  msgstr ""
422
 
423
+ #: my-calendar-event-manager.php:686
424
  msgid "Description"
425
  msgstr ""
426
 
427
+ #: my-calendar-event-manager.php:687
428
  msgid "Start Date"
429
  msgstr ""
430
 
431
+ #: my-calendar-event-manager.php:688
432
  msgid "Recurs"
433
  msgstr ""
434
 
435
+ #: my-calendar-event-manager.php:689 my-calendar-settings.php:250
436
+ #: my-calendar-settings.php:259
437
  msgid "Author"
438
  msgstr ""
439
 
440
+ #: my-calendar-event-manager.php:690
441
  msgid "Category"
442
  msgstr ""
443
 
444
+ #: my-calendar-event-manager.php:691
445
  msgid "Edit / Delete"
446
  msgstr ""
447
 
448
+ #: my-calendar-event-manager.php:715
449
  msgid "Never"
450
  msgstr ""
451
 
452
+ #: my-calendar-event-manager.php:718
453
  msgid "Bi-Weekly"
454
  msgstr ""
455
 
456
+ #: my-calendar-event-manager.php:719
457
  msgid "Monthly (by date)"
458
  msgstr ""
459
 
460
+ #: my-calendar-event-manager.php:720
461
  msgid "Monthly (by day)"
462
  msgstr ""
463
 
464
+ #: my-calendar-event-manager.php:721
465
  msgid "Yearly"
466
  msgstr ""
467
 
468
+ #: my-calendar-event-manager.php:724 my-calendar-settings.php:281
469
+ #: my-calendar-categories.php:176 my-calendar-output.php:115
470
+ msgid "N/A"
471
+ msgstr ""
472
+
473
+ #: my-calendar-event-manager.php:725
474
  msgid "Forever"
475
  msgstr ""
476
 
477
+ #: my-calendar-event-manager.php:726
478
  msgid "Times"
479
  msgstr ""
480
 
481
+ #: my-calendar-event-manager.php:741
482
  msgid "Copy"
483
  msgstr ""
484
 
485
+ #: my-calendar-event-manager.php:743 my-calendar-categories.php:159
486
+ #: my-calendar-categories.php:173 my-calendar-locations.php:149
487
+ #: my-calendar-locations.php:161
488
+ msgid "Edit"
489
+ msgstr ""
490
+
491
+ #: my-calendar-event-manager.php:744
492
  msgid "Not editable."
493
  msgstr ""
494
 
495
+ #: my-calendar-event-manager.php:750
496
  msgid "Reject"
497
  msgstr ""
498
 
499
+ #: my-calendar-event-manager.php:752
500
  msgid "Approve"
501
  msgstr ""
502
 
503
+ #: my-calendar-event-manager.php:757
504
  msgid "Approved"
505
  msgstr ""
506
 
507
+ #: my-calendar-event-manager.php:759
508
  msgid "Rejected"
509
  msgstr ""
510
 
511
+ #: my-calendar-event-manager.php:761
512
+ msgid "Awaiting Approval"
513
+ msgstr ""
514
+
515
+ #: my-calendar-event-manager.php:774
516
  msgid "There are no events in the database!"
517
  msgstr ""
518
 
519
+ #: my-calendar-event-manager.php:875
520
  msgid ""
521
  "Your event end date must be either after or the same as your event begin date"
522
  msgstr ""
523
 
524
+ #: my-calendar-event-manager.php:880
525
  msgid ""
526
  "Your date formatting is correct but one or more of your dates is invalid. "
527
  "Check for number of days in month and leap year related errors."
528
  msgstr ""
529
 
530
+ #: my-calendar-event-manager.php:885
531
  msgid "Both start and end dates must be in the format YYYY-MM-DD"
532
  msgstr ""
533
 
534
+ #: my-calendar-event-manager.php:897
535
  msgid "The time field must either be blank or be entered in the format hh:mm"
536
  msgstr ""
537
 
538
+ #: my-calendar-event-manager.php:907
539
  msgid ""
540
  "The end time field must either be blank or be entered in the format hh:mm"
541
  msgstr ""
542
 
543
+ #: my-calendar-event-manager.php:915
544
  msgid ""
545
  "The URL entered must either be prefixed with http:// or be completely blank"
546
  msgstr ""
547
 
548
+ #: my-calendar-event-manager.php:924
549
  msgid "The event title must be between 1 and 255 characters in length."
550
  msgstr ""
551
 
552
+ #: my-calendar-event-manager.php:932
553
  msgid "The repetition value must be 0 unless a type of recurrence is selected."
554
  msgstr ""
555
 
556
+ #: my-calendar-settings.php:80
557
+ msgid "Categories imported successfully."
558
  msgstr ""
559
 
560
+ #: my-calendar-settings.php:82
561
+ msgid "Categories not imported."
562
  msgstr ""
563
 
564
+ #: my-calendar-settings.php:85
565
+ msgid "Events imported successfully."
566
  msgstr ""
567
 
568
+ #: my-calendar-settings.php:87
569
+ msgid "Events not imported."
 
 
570
  msgstr ""
571
 
572
+ #: my-calendar-settings.php:112
573
+ msgid "Permissions Settings saved"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
574
  msgstr ""
575
 
576
+ #: my-calendar-settings.php:151
577
+ msgid "Output Settings saved"
 
 
578
  msgstr ""
579
 
580
+ #: my-calendar-settings.php:168
581
+ msgid "Input Settings saved"
582
  msgstr ""
583
 
584
+ #: my-calendar-settings.php:184
585
+ msgid "Custom text settings saved"
 
 
 
 
 
 
586
  msgstr ""
587
 
588
+ #: my-calendar-settings.php:197
589
+ msgid "Email notice settings saved"
 
 
 
 
 
590
  msgstr ""
591
 
592
+ #: my-calendar-settings.php:211
593
+ msgid "User custom settings saved"
594
  msgstr ""
595
 
596
+ #: my-calendar-settings.php:236
597
+ msgid "My Calendar Options"
598
  msgstr ""
599
 
600
+ #: my-calendar-settings.php:239
601
+ msgid "Calendar Settings"
602
  msgstr ""
603
 
604
+ #: my-calendar-settings.php:241
605
+ msgid "Calendar Management Settings"
 
 
606
  msgstr ""
607
 
608
+ #: my-calendar-settings.php:245
609
+ msgid "Calendar Options: Management"
610
  msgstr ""
611
 
612
+ #: my-calendar-settings.php:247
613
+ msgid "Choose the lowest user group that may create events"
614
  msgstr ""
615
 
616
+ #: my-calendar-settings.php:248 my-calendar-settings.php:257
617
+ msgid "Subscriber"
618
  msgstr ""
619
 
620
+ #: my-calendar-settings.php:249 my-calendar-settings.php:258
621
+ msgid "Contributor"
622
  msgstr ""
623
 
624
+ #: my-calendar-settings.php:251 my-calendar-settings.php:260
625
+ msgid "Editor"
626
  msgstr ""
627
 
628
+ #: my-calendar-settings.php:252 my-calendar-settings.php:261
629
+ msgid "Administrator"
630
  msgstr ""
631
 
632
+ #: my-calendar-settings.php:256
633
+ msgid "Choose the lowest user group that may approve events"
634
  msgstr ""
635
 
636
+ #: my-calendar-settings.php:265
637
+ msgid "Enable approval options."
638
  msgstr ""
639
 
640
+ #: my-calendar-settings.php:269
641
+ msgid "Save Approval Settings"
642
  msgstr ""
643
 
644
+ #: my-calendar-settings.php:275
645
+ msgid "Calendar Text Settings"
 
 
646
  msgstr ""
647
 
648
+ #: my-calendar-settings.php:279
649
+ msgid "Calendar Options: Customize Text"
650
  msgstr ""
651
 
652
+ #: my-calendar-settings.php:281
653
+ msgid "Label for events without a specific time"
654
  msgstr ""
655
 
656
+ #: my-calendar-settings.php:284
657
+ msgid "Previous events link text"
658
  msgstr ""
659
 
660
+ #: my-calendar-settings.php:284
661
+ msgid "Previous Events"
662
  msgstr ""
663
 
664
+ #: my-calendar-settings.php:287
665
+ msgid "Next events link text"
666
  msgstr ""
667
 
668
+ #: my-calendar-settings.php:287
669
+ msgid "Next Events"
670
  msgstr ""
671
 
672
+ #: my-calendar-settings.php:290
673
+ msgid "Text when events are open"
674
  msgstr ""
675
 
676
+ #: my-calendar-settings.php:290
677
+ msgid "Registration is open"
 
 
678
  msgstr ""
679
 
680
+ #: my-calendar-settings.php:293
681
+ msgid "Text when events are closed"
 
 
682
  msgstr ""
683
 
684
+ #: my-calendar-settings.php:293
685
+ msgid "Registration is closed"
 
 
686
  msgstr ""
687
 
688
+ #: my-calendar-settings.php:296
689
+ msgid "Additional caption text"
690
  msgstr ""
691
 
692
+ #: my-calendar-settings.php:296
693
  msgid ""
694
+ "The calendar caption is the text containing the displayed month and year in "
695
+ "either list or calendar format. This text will be displayed following that "
696
+ "existing text."
697
  msgstr ""
698
 
699
+ #: my-calendar-settings.php:300
700
+ msgid "Save Custom Text Settings"
701
  msgstr ""
702
 
703
+ #: my-calendar-settings.php:306
704
+ msgid "Calendar Output Settings"
705
  msgstr ""
706
 
707
+ #: my-calendar-settings.php:310
708
+ msgid "Calendar Options: Output"
709
  msgstr ""
710
 
711
+ #: my-calendar-settings.php:312
712
+ msgid "Event title template"
713
  msgstr ""
714
 
715
+ #: my-calendar-settings.php:314 my-calendar-settings.php:421
716
+ msgid "Shortcode Help"
717
  msgstr ""
718
 
719
+ #: my-calendar-settings.php:314 my-calendar-settings.php:421
720
+ msgid "All template shortcodes are available."
721
  msgstr ""
722
 
723
+ #: my-calendar-settings.php:317
724
+ msgid "Show Heading for Calendar"
725
  msgstr ""
726
 
727
+ #: my-calendar-settings.php:320
728
+ msgid "In list mode, show how many months of events at a time:"
729
  msgstr ""
730
 
731
+ #: my-calendar-settings.php:323
732
+ msgid "Date format in list mode"
733
  msgstr ""
734
 
735
+ #: my-calendar-settings.php:324
736
+ msgid ""
737
+ "Date format uses the same syntax as the <a href=\"http://php.net/date\">PHP "
738
+ "<code>date()</code> function</a>. Save options to update sample output."
739
  msgstr ""
740
 
741
+ #: my-calendar-settings.php:327
742
+ msgid "Do you want to display the author name on events?"
743
+ msgstr ""
744
+
745
+ #: my-calendar-settings.php:330
746
+ msgid "Display a jumpbox for changing month and year quickly?"
747
+ msgstr ""
748
+
749
+ #: my-calendar-settings.php:333
750
+ msgid "Hide category icons in output"
751
+ msgstr ""
752
+
753
+ #: my-calendar-settings.php:336
754
  msgid ""
755
+ "Show Link to Google Map (when sufficient address information is available.)"
 
756
  msgstr ""
757
 
758
+ #: my-calendar-settings.php:339
759
+ msgid "Show Event Address in Details"
760
  msgstr ""
761
 
762
+ #: my-calendar-settings.php:342
763
+ msgid "Show short description field on calendar."
764
  msgstr ""
765
 
766
+ #: my-calendar-settings.php:345
767
+ msgid "Show full description field on calendar."
768
  msgstr ""
769
 
770
+ #: my-calendar-settings.php:348
771
  msgid ""
772
+ "Links associated with events will automatically expire after the event has "
773
+ "passed."
 
 
774
  msgstr ""
775
 
776
+ #: my-calendar-settings.php:351
777
+ msgid "Show current availability status of events."
778
  msgstr ""
779
 
780
+ #: my-calendar-settings.php:354
781
+ msgid ""
782
+ "If a recurring event is scheduled for a date which doesn't exist (such as "
783
+ "the 5th Wednesday in February), move it back one week."
784
  msgstr ""
785
 
786
+ #: my-calendar-settings.php:355
787
+ msgid ""
788
+ "If this option is unchecked, recurring events which fall on dates which "
789
+ "don't exist will simply not be shown on the calendar."
790
  msgstr ""
791
 
792
+ #: my-calendar-settings.php:359
793
+ msgid "Calendar Options: Style"
794
  msgstr ""
795
 
796
+ #: my-calendar-settings.php:361
797
+ msgid "Default usage of category colors."
798
  msgstr ""
799
 
800
+ #: my-calendar-settings.php:362
801
+ msgid "Apply category colors to event titles as a font color."
802
  msgstr ""
803
 
804
+ #: my-calendar-settings.php:363
805
+ msgid "Apply category colors to event titles as a background color."
806
  msgstr ""
807
 
808
+ #: my-calendar-settings.php:367
809
+ msgid "Save Output Settings"
810
  msgstr ""
811
 
812
+ #: my-calendar-settings.php:373
813
+ msgid "Calendar Input Settings"
814
  msgstr ""
815
 
816
+ #: my-calendar-settings.php:377
817
+ msgid "Calendar Options: Input"
818
  msgstr ""
819
 
820
+ #: my-calendar-settings.php:382
821
+ msgid "Show Event Location Dropdown Menu"
822
  msgstr ""
823
 
824
+ #: my-calendar-settings.php:382
825
+ msgid "Show Event Short Description field"
826
  msgstr ""
827
 
828
+ #: my-calendar-settings.php:382
829
+ msgid "Show Event Description Field"
830
  msgstr ""
831
 
832
+ #: my-calendar-settings.php:382
833
+ msgid "Show Event Category field"
834
  msgstr ""
835
 
836
+ #: my-calendar-settings.php:382
837
+ msgid "Show Event Link field"
838
  msgstr ""
839
 
840
+ #: my-calendar-settings.php:382
841
+ msgid "Show Event Recurrence Options"
842
  msgstr ""
843
 
844
+ #: my-calendar-settings.php:382
845
+ msgid "Show event registration options"
846
  msgstr ""
847
 
848
+ #: my-calendar-settings.php:382
849
+ msgid "Show event location fields"
850
  msgstr ""
851
 
852
+ #: my-calendar-settings.php:391
853
+ msgid "Administrators see all input options"
854
  msgstr ""
855
 
856
+ #: my-calendar-settings.php:395
857
+ msgid "Save Input Settings"
858
  msgstr ""
859
 
860
+ #: my-calendar-settings.php:401
861
+ msgid "Calendar Email Settings"
862
  msgstr ""
863
 
864
+ #: my-calendar-settings.php:405
865
+ msgid "Calendar Options: Email Notifications"
866
  msgstr ""
867
 
868
+ #: my-calendar-settings.php:409
869
+ msgid "Send Email Notifications when new events are scheduled or reserved."
870
  msgstr ""
871
 
872
+ #: my-calendar-settings.php:412
873
+ msgid "Notification messages are sent to: "
874
  msgstr ""
875
 
876
+ #: my-calendar-settings.php:416
877
+ msgid "Email subject"
878
  msgstr ""
879
 
880
+ #: my-calendar-settings.php:416
881
+ msgid "New event Added"
882
  msgstr ""
883
 
884
+ #: my-calendar-settings.php:420
885
+ msgid "Message Body"
886
  msgstr ""
887
 
888
+ #: my-calendar-settings.php:420
889
+ msgid "New Event:"
 
 
 
890
  msgstr ""
891
 
892
+ #: my-calendar-settings.php:425
893
+ msgid "Save Email Settings"
894
  msgstr ""
895
 
896
+ #: my-calendar-settings.php:431
897
+ msgid "Calendar User Settings"
898
  msgstr ""
899
 
900
+ #: my-calendar-settings.php:437
901
+ msgid "My Calendar: User Settings"
902
  msgstr ""
903
 
904
+ #: my-calendar-settings.php:440
905
  msgid ""
906
+ "Allow registered users to provide timezone or location presets in their user "
907
+ "profiles."
908
  msgstr ""
909
 
910
+ #: my-calendar-settings.php:447
911
+ msgid "Timezone Settings"
912
  msgstr ""
913
 
914
+ #: my-calendar-settings.php:448
915
+ msgid ""
916
+ "These settings provide registered users with the ability to select a time "
917
+ "zone in their user profile. When they view your calendar, the times for "
918
+ "events will display the time the event happens in their time zone as well as "
919
+ "the entered value."
920
  msgstr ""
921
 
922
+ #: my-calendar-settings.php:450
923
+ msgid "Enable Timezone"
924
  msgstr ""
925
 
926
+ #: my-calendar-settings.php:453
927
+ msgid "Select Timezone Label"
 
928
  msgstr ""
929
 
930
+ #: my-calendar-settings.php:456
931
+ msgid "Timezone Options"
932
  msgstr ""
933
 
934
+ #: my-calendar-settings.php:456 my-calendar-settings.php:477
935
+ msgid "Value, Label; one per line"
936
  msgstr ""
937
 
938
+ #: my-calendar-settings.php:468
939
+ msgid "Location Settings"
940
  msgstr ""
941
 
942
+ #: my-calendar-settings.php:469
943
  msgid ""
944
+ "These settings provide registered users with the ability to select a "
945
+ "location in their user profile. When they view your calendar, their initial "
946
+ "view will be limited to locations which include that location parameter."
947
  msgstr ""
948
 
949
+ #: my-calendar-settings.php:471
950
+ msgid "Enable Location"
951
  msgstr ""
952
 
953
+ #: my-calendar-settings.php:474
954
+ msgid "Select Location Label"
 
 
955
  msgstr ""
956
 
957
+ #: my-calendar-settings.php:477
958
+ msgid "Location Options"
959
+ msgstr ""
960
+
961
+ #: my-calendar-settings.php:487
962
+ msgid "Location Type"
963
+ msgstr ""
964
+
965
+ #: my-calendar-settings.php:489
966
+ msgid "Location Name"
967
+ msgstr ""
968
+
969
+ #: my-calendar-settings.php:501
970
+ msgid "Save User Settings"
971
+ msgstr ""
972
+
973
+ #: my-calendar-upgrade-db.php:20
974
+ msgid "The My Calendar database needs to be updated."
975
+ msgstr ""
976
+
977
+ #: my-calendar-upgrade-db.php:21 my-calendar-upgrade-db.php:35
978
+ msgid "Update now"
979
+ msgstr ""
980
+
981
+ #: my-calendar-upgrade-db.php:34
982
  msgid ""
983
+ "You haven't entered any events, so My Calendar can't tell whether your "
984
+ "database is up to date. If you can't add events, upgrade your database!"
985
  msgstr ""
986
 
987
+ #: my-calendar-upgrade-db.php:45
988
+ msgid "My Calendar Database is updated."
989
  msgstr ""
990
 
991
+ #: my-calendar-categories.php:41
992
+ msgid "Category added successfully"
993
  msgstr ""
994
 
995
+ #: my-calendar-categories.php:43
996
+ msgid "Category addition failed."
997
  msgstr ""
998
 
999
+ #: my-calendar-categories.php:53
1000
+ msgid "Category deleted successfully. Categories in calendar updated."
1001
  msgstr ""
1002
 
1003
+ #: my-calendar-categories.php:55
1004
+ msgid "Category deleted successfully. Categories in calendar not updated."
1005
  msgstr ""
1006
 
1007
+ #: my-calendar-categories.php:57
1008
+ msgid "Category not deleted. Categories in calendar updated."
1009
  msgstr ""
1010
 
1011
+ #: my-calendar-categories.php:66
1012
+ msgid "Category edited successfully"
1013
  msgstr ""
1014
 
1015
+ #: my-calendar-categories.php:88 my-calendar-categories.php:112
1016
+ #: my-calendar-categories.php:130
1017
+ msgid "Add Category"
1018
  msgstr ""
1019
 
1020
+ #: my-calendar-categories.php:90 my-calendar-categories.php:112
1021
+ msgid "Edit Category"
1022
  msgstr ""
1023
 
1024
+ #: my-calendar-categories.php:97
1025
+ msgid "Category Editor"
1026
  msgstr ""
1027
 
1028
+ #: my-calendar-categories.php:113 my-calendar-categories.php:156
1029
+ msgid "Category Name"
1030
  msgstr ""
1031
 
1032
+ #: my-calendar-categories.php:114
1033
+ msgid "Category Color (Hex format)"
1034
  msgstr ""
1035
 
1036
+ #: my-calendar-categories.php:115 my-calendar-categories.php:158
1037
+ msgid "Category Icon"
1038
  msgstr ""
1039
 
1040
+ #: my-calendar-categories.php:130 my-calendar-locations.php:121
1041
+ msgid "Save Changes"
1042
  msgstr ""
1043
 
1044
+ #: my-calendar-categories.php:143 my-calendar.php:202
1045
+ msgid "Manage Categories"
1046
  msgstr ""
1047
 
1048
+ #: my-calendar-categories.php:157
1049
+ msgid "Category Color"
1050
  msgstr ""
1051
 
1052
+ #: my-calendar-categories.php:179 my-calendar-locations.php:162
1053
+ msgid "Are you sure you want to delete this category?"
1054
  msgstr ""
1055
 
1056
+ #: my-calendar-categories.php:190
1057
+ msgid "There are no categories in the database - something has gone wrong!"
1058
  msgstr ""
1059
 
1060
+ #: my-calendar-install.php:561
1061
+ msgid "My Calendar Default Timezone"
1062
  msgstr ""
1063
 
1064
+ #: my-calendar-install.php:606
1065
+ msgid "My Calendar Default Location"
1066
  msgstr ""
1067
 
1068
+ #: my-calendar.php:60 my-calendar.php:204
1069
+ msgid "Settings"
1070
  msgstr ""
1071
 
1072
+ #: my-calendar.php:61 my-calendar.php:207
1073
+ msgid "Help"
1074
  msgstr ""
1075
 
1076
+ #: my-calendar.php:100
1077
+ msgid "Buy the Beginner's Guide"
1078
  msgstr ""
1079
 
1080
+ #: my-calendar.php:101
1081
+ msgid "Get Support"
1082
  msgstr ""
1083
 
1084
+ #: my-calendar.php:102 my-calendar.php:207
1085
+ msgid "My Calendar Help"
1086
  msgstr ""
1087
 
1088
+ #: my-calendar.php:103
1089
+ msgid "Make a Donation"
1090
  msgstr ""
1091
 
1092
+ #. #-#-#-#-# plugin.pot (My Calendar 1.6.3) #-#-#-#-#
1093
+ #. Plugin Name of the plugin/theme
1094
+ #: my-calendar.php:195
1095
+ msgid "My Calendar"
1096
  msgstr ""
1097
 
1098
+ #: my-calendar.php:198
1099
+ msgid "Add/Edit Events"
 
1100
  msgstr ""
1101
 
1102
+ #: my-calendar.php:203 my-calendar-locations.php:135
1103
+ msgid "Manage Locations"
1104
  msgstr ""
1105
 
1106
+ #: my-calendar.php:205
1107
+ msgid "Style Editor"
1108
  msgstr ""
1109
 
1110
+ #: my-calendar.php:206
1111
+ msgid "Behavior Editor"
1112
  msgstr ""
1113
 
1114
+ #: my-calendar-behaviors.php:39
1115
+ msgid "Behavior Settings saved"
1116
  msgstr ""
1117
 
1118
+ #: my-calendar-behaviors.php:62
1119
+ msgid "My Calendar Behaviors"
1120
+ msgstr ""
1121
+
1122
+ #: my-calendar-behaviors.php:66
1123
+ msgid "Calendar Behavior Settings"
1124
+ msgstr ""
1125
+
1126
+ #: my-calendar-behaviors.php:70
1127
+ msgid "Apply JavaScript only on these pages (comma separated page IDs)"
1128
  msgstr ""
1129
 
1130
+ #: my-calendar-behaviors.php:73
1131
  msgid "Calendar Behaviors: Calendar View"
1132
  msgstr ""
1133
 
1134
+ #: my-calendar-behaviors.php:75
1135
  msgid "Reset the My Calendar Calendar Javascript"
1136
  msgstr ""
1137
 
1138
+ #: my-calendar-behaviors.php:75
1139
  msgid "Disable Calendar Javascript Effects"
1140
  msgstr ""
1141
 
1142
+ #: my-calendar-behaviors.php:78
1143
  msgid "Edit the jQuery scripts for My Calendar in Calendar format"
1144
  msgstr ""
1145
 
1146
+ #: my-calendar-behaviors.php:81 my-calendar-behaviors.php:93
1147
+ #: my-calendar-behaviors.php:105 my-calendar-behaviors.php:117
1148
+ #: my-calendar-styles.php:54
1149
+ msgid "Save"
1150
+ msgstr ""
1151
+
1152
+ #: my-calendar-behaviors.php:85
1153
  msgid "Calendar Behaviors: List View"
1154
  msgstr ""
1155
 
1156
+ #: my-calendar-behaviors.php:87
1157
  msgid "Reset the My Calendar List Javascript"
1158
  msgstr ""
1159
 
1160
+ #: my-calendar-behaviors.php:87 my-calendar-behaviors.php:111
1161
  msgid "Disable List Javascript Effects"
1162
  msgstr ""
1163
 
1164
+ #: my-calendar-behaviors.php:90
1165
  msgid "Edit the jQuery scripts for My Calendar in List format"
1166
  msgstr ""
1167
 
1168
+ #: my-calendar-behaviors.php:97
1169
  msgid "Calendar Behaviors: Mini Calendar View"
1170
  msgstr ""
1171
 
1172
+ #: my-calendar-behaviors.php:99
1173
  msgid "Reset the My Calendar Mini Format Javascript"
1174
  msgstr ""
1175
 
1176
+ #: my-calendar-behaviors.php:99
1177
  msgid "Disable Mini Javascript Effects"
1178
  msgstr ""
1179
 
1180
+ #: my-calendar-behaviors.php:102
1181
  msgid "Edit the jQuery scripts for My Calendar in Mini Calendar format"
1182
  msgstr ""
1183
 
1184
+ #: my-calendar-behaviors.php:109
1185
+ msgid "Calendar Behaviors: AJAX Navigation"
1186
  msgstr ""
1187
 
1188
+ #: my-calendar-behaviors.php:111
1189
+ msgid "Reset the My Calendar AJAX Javascript"
1190
  msgstr ""
1191
 
1192
+ #: my-calendar-behaviors.php:114
1193
+ msgid "Edit the jQuery scripts for My Calendar AJAX navigation"
 
 
1194
  msgstr ""
1195
 
1196
+ #: my-calendar-locations.php:22
1197
+ msgid "Location added successfully"
1198
  msgstr ""
1199
 
1200
+ #: my-calendar-locations.php:24
1201
+ msgid "Location could not be added to database"
 
1202
  msgstr ""
1203
 
1204
+ #: my-calendar-locations.php:30
1205
+ msgid "Location deleted successfully"
1206
  msgstr ""
1207
 
1208
+ #: my-calendar-locations.php:32
1209
+ msgid "Location could not be deleted"
1210
  msgstr ""
1211
 
1212
+ #: my-calendar-locations.php:43
1213
+ msgid "Location could not be edited."
 
1214
  msgstr ""
1215
 
1216
+ #: my-calendar-locations.php:45
1217
+ msgid "Location was not changed."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1218
  msgstr ""
1219
 
1220
+ #: my-calendar-locations.php:47
1221
+ msgid "Location edited successfully"
1222
  msgstr ""
1223
 
1224
+ #: my-calendar-locations.php:59
1225
+ msgid "Add New Location"
1226
  msgstr ""
1227
 
1228
+ #: my-calendar-locations.php:61
1229
+ msgid "Edit Location"
1230
  msgstr ""
1231
 
1232
+ #: my-calendar-locations.php:66
1233
+ msgid "Location Editor"
1234
  msgstr ""
1235
 
1236
+ #: my-calendar-locations.php:114
1237
+ msgid ""
1238
+ "If you supply GPS coordinates for your location, they will be used in place "
1239
+ "of any other address information to pinpoint your location."
1240
  msgstr ""
1241
 
1242
+ #: my-calendar-locations.php:121
1243
+ msgid "Add Location"
 
 
1244
  msgstr ""
1245
 
1246
+ #: my-calendar-locations.php:170
1247
+ msgid "There are no locations in the database yet!"
1248
  msgstr ""
1249
 
1250
+ #: my-calendar-locations.php:174
1251
+ msgid ""
1252
+ "Please note: editing or deleting locations stored for re-use will have no "
1253
+ "effect on any event previously scheduled at that location. The location "
1254
+ "database exists purely as a shorthand method to enter frequently used "
1255
+ "locations into event records."
1256
  msgstr ""
1257
 
1258
+ #: my-calendar-output.php:90
1259
  msgid "Event Details"
1260
  msgstr ""
1261
 
1262
+ #: my-calendar-output.php:99
1263
  msgid "Close"
1264
  msgstr ""
1265
 
1266
+ #: my-calendar-output.php:109
1267
+ msgid "in your time zone"
1268
+ msgstr ""
1269
+
1270
+ #: my-calendar-output.php:115
1271
  msgid "Not Applicable"
1272
  msgstr ""
1273
 
1274
+ #: my-calendar-output.php:127
1275
  msgid "Posted by"
1276
  msgstr ""
1277
 
1278
+ #: my-calendar-output.php:173
1279
  msgid ""
1280
  "This class is part of a series. You must register for the first event in "
1281
  "this series to attend."
1282
  msgstr ""
1283
 
1284
+ #: my-calendar-output.php:206
1285
  msgid "Month"
1286
  msgstr ""
1287
 
1288
+ #: my-calendar-output.php:207 my-calendar-output.php:289
1289
  msgid "January"
1290
  msgstr ""
1291
 
1292
+ #: my-calendar-output.php:208 my-calendar-output.php:289
1293
  msgid "February"
1294
  msgstr ""
1295
 
1296
+ #: my-calendar-output.php:209 my-calendar-output.php:289
1297
  msgid "March"
1298
  msgstr ""
1299
 
1300
+ #: my-calendar-output.php:210 my-calendar-output.php:289
1301
  msgid "April"
1302
  msgstr ""
1303
 
1304
+ #: my-calendar-output.php:211 my-calendar-output.php:289
1305
  msgid "May"
1306
  msgstr ""
1307
 
1308
+ #: my-calendar-output.php:212 my-calendar-output.php:289
1309
  msgid "June"
1310
  msgstr ""
1311
 
1312
+ #: my-calendar-output.php:213 my-calendar-output.php:289
1313
  msgid "July"
1314
  msgstr ""
1315
 
1316
+ #: my-calendar-output.php:214 my-calendar-output.php:289
1317
  msgid "August"
1318
  msgstr ""
1319
 
1320
+ #: my-calendar-output.php:215 my-calendar-output.php:289
1321
  msgid "September"
1322
  msgstr ""
1323
 
1324
+ #: my-calendar-output.php:216 my-calendar-output.php:289
1325
  msgid "October"
1326
  msgstr ""
1327
 
1328
+ #: my-calendar-output.php:217 my-calendar-output.php:289
1329
  msgid "November"
1330
  msgstr ""
1331
 
1332
+ #: my-calendar-output.php:218 my-calendar-output.php:289
1333
  msgid "December"
1334
  msgstr ""
1335
 
1336
+ #: my-calendar-output.php:220
1337
  msgid "Year"
1338
  msgstr ""
1339
 
1340
+ #: my-calendar-output.php:245
1341
  msgid "Go"
1342
  msgstr ""
1343
 
1344
+ #: my-calendar-output.php:263
1345
  msgid "<abbr title=\"Sunday\">Sun</abbr>"
1346
  msgstr ""
1347
 
1348
+ #: my-calendar-output.php:264
1349
  msgid "<abbr title=\"Monday\">Mon</abbr>"
1350
  msgstr ""
1351
 
1352
+ #: my-calendar-output.php:265
1353
  msgid "<abbr title=\"Tuesday\">Tues</abbr>"
1354
  msgstr ""
1355
 
1356
+ #: my-calendar-output.php:266
1357
  msgid "<abbr title=\"Wednesday\">Wed</abbr>"
1358
  msgstr ""
1359
 
1360
+ #: my-calendar-output.php:267
1361
  msgid "<abbr title=\"Thursday\">Thur</abbr>"
1362
  msgstr ""
1363
 
1364
+ #: my-calendar-output.php:268
1365
  msgid "<abbr title=\"Friday\">Fri</abbr>"
1366
  msgstr ""
1367
 
1368
+ #: my-calendar-output.php:269
1369
  msgid "<abbr title=\"Saturday\">Sat</abbr>"
1370
  msgstr ""
1371
 
1372
+ #: my-calendar-output.php:274
1373
  msgid "<abbr title=\"Sunday\">S</abbr>"
1374
  msgstr ""
1375
 
1376
+ #: my-calendar-output.php:275
1377
  msgid "<abbr title=\"Monday\">M</abbr>"
1378
  msgstr ""
1379
 
1380
+ #: my-calendar-output.php:276
1381
  msgid "<abbr title=\"Tuesday\">T</abbr>"
1382
  msgstr ""
1383
 
1384
+ #: my-calendar-output.php:277
1385
  msgid "<abbr title=\"Wednesday\">W</abbr>"
1386
  msgstr ""
1387
 
1388
+ #: my-calendar-output.php:278
1389
  msgid "<abbr title=\"Thursday\">T</abbr>"
1390
  msgstr ""
1391
 
1392
+ #: my-calendar-output.php:279
1393
  msgid "<abbr title=\"Friday\">F</abbr>"
1394
  msgstr ""
1395
 
1396
+ #: my-calendar-output.php:280
1397
  msgid "<abbr title=\"Saturday\">S</abbr>"
1398
  msgstr ""
1399
 
1400
+ #: my-calendar-output.php:323
1401
  msgid "and"
1402
  msgstr ""
1403
 
1404
+ #: my-calendar-output.php:358 my-calendar-output.php:362
1405
  msgid "Calendar"
1406
  msgstr ""
1407
 
1408
+ #: my-calendar-output.php:366
1409
  msgid "Events in"
1410
  msgstr ""
1411
 
1412
+ #: my-calendar-output.php:470
1413
  msgid "There are no events scheduled during this period."
1414
  msgstr ""
1415
 
1416
+ #: my-calendar-output.php:480
1417
  msgid "Category Key"
1418
  msgstr ""
1419
 
1420
+ #: my-calendar-output.php:626
1421
+ msgid "Show events in:"
1422
+ msgstr ""
1423
+
1424
+ #: my-calendar-output.php:653
1425
+ msgid "Submit"
1426
+ msgstr ""
1427
+
1428
+ #: my-calendar-styles.php:28
1429
+ msgid "Style Settings saved"
1430
+ msgstr ""
1431
+
1432
+ #: my-calendar-styles.php:35
1433
+ msgid "My Calendar Styles"
1434
+ msgstr ""
1435
+
1436
+ #: my-calendar-styles.php:39
1437
+ msgid "Calendar Style Settings"
1438
+ msgstr ""
1439
+
1440
+ #: my-calendar-styles.php:43
1441
+ msgid "Apply CSS only on these pages (comma separated page IDs)"
1442
+ msgstr ""
1443
+
1444
+ #: my-calendar-styles.php:46
1445
+ msgid "CSS Style Options"
1446
+ msgstr ""
1447
+
1448
+ #: my-calendar-styles.php:48
1449
+ msgid "Reset the My Calendar stylesheet to the default"
1450
+ msgstr ""
1451
+
1452
+ #: my-calendar-styles.php:48
1453
+ msgid "Disable My Calendar Stylesheet"
1454
+ msgstr ""
1455
+
1456
+ #: my-calendar-styles.php:51
1457
+ msgid "Edit the stylesheet for My Calendar"
1458
+ msgstr ""
1459
+
1460
+ #: my-calendar-help.php:6
1461
+ msgid "How to use My Calendar"
1462
+ msgstr ""
1463
+
1464
+ #: my-calendar-help.php:11
1465
+ msgid "Shortcode Syntax"
1466
+ msgstr ""
1467
+
1468
+ #: my-calendar-help.php:14
1469
+ msgid "These shortcodes can be used in Posts, Pages, or in text widgets."
1470
+ msgstr ""
1471
+
1472
+ #: my-calendar-help.php:18
1473
+ msgid ""
1474
+ "This basic shortcode will show the calendar on a post or page including all "
1475
+ "categories and the category key, in a traditional month-by-month format."
1476
+ msgstr ""
1477
+
1478
+ #: my-calendar-help.php:22
1479
+ msgid ""
1480
+ "The shortcode supports three attributes, <code>category</code>, "
1481
+ "<code>format</code> and <code>showkey</code>. There two alternate options "
1482
+ "for <code>format</code>: <code>list</code>, which will show the calendar in "
1483
+ "a list format, skipping dates without any events, and <code>mini</code>, "
1484
+ "which will display the calendar in a form more suitable to being displayed "
1485
+ "in smaller spaces, such as the sidebar. The <code>category</code> attribute "
1486
+ "requires either the name of or ID number one of your event categories (the "
1487
+ "name is case-sensitive). This will show a calendar only including events in "
1488
+ "that category. Multiple categories can be specified by separating the "
1489
+ "category names or IDs using the pipe character: <code>|</code>. Setting "
1490
+ "<code>showkey</code> to <code>no</code> will prevent the category key from "
1491
+ "being displayed &mdash; this can be useful with single-category output. "
1492
+ "Setting <code>shownav</code> to <code>no</code> will disable the Previous/"
1493
+ "Next links."
1494
+ msgstr ""
1495
+
1496
+ #: my-calendar-help.php:26
1497
+ msgid ""
1498
+ "This shortcode displays the output of the Upcoming Events widget. Without "
1499
+ "attributes, it will display using the settings in your widget; the "
1500
+ "attributes are used to override the widget settings. The <code>before</code> "
1501
+ "and <code>after</code> attributes should be numbers; the <code>type</code> "
1502
+ "attribute can be either \"event\" or \"days\", and the <code>category</code> "
1503
+ "attribute works the same way as the category attribute on the main calendar "
1504
+ "shortcode. Templates work using the template codes listed below."
1505
+ msgstr ""
1506
+
1507
+ #: my-calendar-help.php:29
1508
+ msgid ""
1509
+ "Predictably enough, this shortcode displays the output of the Today's Events "
1510
+ "widget, with two configurable attributes: category and template."
1511
+ msgstr ""
1512
+
1513
+ #: my-calendar-help.php:32
1514
+ msgid ""
1515
+ "This shortcode produces a list of event locations, either as a list of links "
1516
+ "or as a select dropdown form. The <code>show</code> attribute can either be "
1517
+ "<code>list</code> or <code>form</code>, <code>type</code> is either "
1518
+ "<code>saved</code> (to show items from your stored locations), or "
1519
+ "<code>custom</code> (to show the options configured in your user settings). "
1520
+ "<code>datatype</code> must be the type of data your limits are choosing "
1521
+ "from: <code>name</code> (business name), <code>city</code>, <code>state</"
1522
+ "code>, <code>country</code>, or <code>zip</code> (postal code)."
1523
+ msgstr ""
1524
+
1525
+ #: my-calendar-help.php:38
1526
+ msgid "Category Icons"
1527
+ msgstr ""
1528
+
1529
+ #: my-calendar-help.php:41
1530
+ msgid ""
1531
+ "My Calendar is designed to manage multiple calendars. The basis for these "
1532
+ "calendars are categories; you can easily setup a calendar page which "
1533
+ "includes all categories, or you can dedicate separate pages to calendars in "
1534
+ "each category. For an example, this might be useful for you in managing the "
1535
+ "tour calendars for multiple bands; event calendars for a variety of "
1536
+ "locations, etc."
1537
+ msgstr ""
1538
+
1539
+ #: my-calendar-help.php:44
1540
+ msgid ""
1541
+ "The pre-installed category icons may not be especially useful for your needs "
1542
+ "or design. I'm assuming that you're going to upload your own icons -- all "
1543
+ "you need to do is upload them to the plugin's icons folder, and they'll be "
1544
+ "available for immediate use, or place them in a folder at \"my-calendar-"
1545
+ "custom\" to avoid having them overwritten by upgrades."
1546
+ msgstr ""
1547
+
1548
+ #: my-calendar-help.php:44
1549
+ msgid "Your icons folder is:"
1550
+ msgstr ""
1551
+
1552
+ #: my-calendar-help.php:44
1553
+ msgid "You can alternately place icons in:"
1554
+ msgstr ""
1555
+
1556
+ #: my-calendar-help.php:52
1557
+ msgid "Widget Templating"
1558
+ msgstr ""
1559
+
1560
+ #: my-calendar-help.php:55
1561
+ msgid ""
1562
+ "These codes are available in calendar widgets to create your own custom "
1563
+ "calendar format."
1564
+ msgstr ""
1565
+
1566
+ #: my-calendar-help.php:59
1567
+ msgid "Displays the name of the category the event is in."
1568
+ msgstr ""
1569
+
1570
+ #: my-calendar-help.php:62
1571
+ msgid "Displays the title of the event."
1572
+ msgstr ""
1573
+
1574
+ #: my-calendar-help.php:65
1575
+ msgid "Displays the start time for the event."
1576
+ msgstr ""
1577
+
1578
+ #: my-calendar-help.php:68
1579
+ msgid ""
1580
+ "Displays the start time for the event adjusted to the current user's time "
1581
+ "zone settings. Blank output if user settings are disabled or the user has "
1582
+ "not selected a preferred time zone."
1583
+ msgstr ""
1584
+
1585
+ #: my-calendar-help.php:71
1586
+ msgid "Displays the date on which the event begins."
1587
+ msgstr ""
1588
+
1589
+ #: my-calendar-help.php:74
1590
+ msgid "Displays the date on which the event ends."
1591
+ msgstr ""
1592
+
1593
+ #: my-calendar-help.php:77
1594
+ msgid "Displays the time at which the event ends."
1595
+ msgstr ""
1596
+
1597
+ #: my-calendar-help.php:80
1598
+ msgid "Displays the WordPress author who posted the event."
1599
+ msgstr ""
1600
+
1601
+ #: my-calendar-help.php:83
1602
+ msgid "Displays the URL provided for the event."
1603
+ msgstr ""
1604
+
1605
+ #: my-calendar-help.php:86
1606
+ msgid "Displays the description of the event."
1607
+ msgstr ""
1608
+
1609
+ #: my-calendar-help.php:89
1610
+ msgid ""
1611
+ "Displays title of the event as a link if a URL is present, or the title "
1612
+ "alone if no URL is available."
1613
+ msgstr ""
1614
+
1615
+ #: my-calendar-help.php:92
1616
+ msgid "Displays the name of the location of the event."
1617
+ msgstr ""
1618
+
1619
+ #: my-calendar-help.php:95
1620
+ msgid "Displays the first line of the site address."
1621
+ msgstr ""
1622
+
1623
+ #: my-calendar-help.php:98
1624
+ msgid "Displays the second line of the site address."
1625
+ msgstr ""
1626
+
1627
+ #: my-calendar-help.php:101
1628
+ msgid "Displays the city for the event."
1629
+ msgstr ""
1630
+
1631
+ #: my-calendar-help.php:104
1632
+ msgid "Displays the state for the event."
1633
+ msgstr ""
1634
+
1635
+ #: my-calendar-help.php:107
1636
+ msgid "Displays the postcode for the event."
1637
+ msgstr ""
1638
+
1639
+ #: my-calendar-help.php:110
1640
+ msgid "Displays the country for the event location."
1641
+ msgstr ""
1642
+
1643
+ #: my-calendar-help.php:113
1644
+ msgid ""
1645
+ "Displays the event address in <a href=\"http://microformats.org/wiki/hcard"
1646
+ "\">hcard</a> format."
1647
+ msgstr ""
1648
+
1649
+ #: my-calendar-help.php:116
1650
+ msgid ""
1651
+ "Displays a link to a Google Map of the event, if sufficient address "
1652
+ "information is available. If not, will be empty."
1653
+ msgstr ""
1654
+
1655
+ #: my-calendar-help.php:119
1656
+ msgid ""
1657
+ "Displays text indicating whether registration for the event is currently "
1658
+ "open or closed; displays nothing if that choice is selected in the event."
1659
+ msgstr ""
1660
+
1661
+ #: my-calendar-help.php:122
1662
+ msgid "Displays the short version of the event description."
1663
+ msgstr ""
1664
+
1665
+ #: my-calendar-help.php:125
1666
+ msgid ""
1667
+ "Displays the current status of the event: either \"Published\" or \"Reserved"
1668
+ "\" - primary used in email templates."
1669
+ msgstr ""
1670
+
1671
+ #: my-calendar-help.php:128
1672
+ msgid "Produces the address of the current event's category icon."
1673
+ msgstr ""
1674
+
1675
+ #: my-calendar-help.php:131
1676
+ msgid "Produces the hex code for the current event's category color."
1677
+ msgstr ""
1678
+
1679
+ #: my-calendar-widgets.php:11 my-calendar-widgets.php:51
1680
+ #: my-calendar-widgets.php:52
1681
+ msgid "Today's Events"
1682
+ msgstr ""
1683
+
1684
+ #: my-calendar-widgets.php:41 my-calendar-widgets.php:126
1685
+ msgid "Template"
1686
+ msgstr ""
1687
+
1688
+ #: my-calendar-widgets.php:45
1689
+ msgid "Show this text if there are no events today:"
1690
+ msgstr ""
1691
+
1692
+ #: my-calendar-widgets.php:65 my-calendar-widgets.php:152
1693
+ #: my-calendar-widgets.php:153
1694
+ msgid "Upcoming Events"
1695
+ msgstr ""
1696
+
1697
+ #: my-calendar-widgets.php:130
1698
+ msgid "Widget Options"
1699
+ msgstr ""
1700
+
1701
+ #: my-calendar-widgets.php:132
1702
+ msgid "Display upcoming events by:"
1703
+ msgstr ""
1704
+
1705
+ #: my-calendar-widgets.php:133
1706
+ msgid "Events (e.g. 2 past, 3 future)"
1707
+ msgstr ""
1708
+
1709
+ #: my-calendar-widgets.php:134
1710
+ msgid "Dates (e.g. 4 days past, 5 forward)"
1711
+ msgstr ""
1712
+
1713
+ #: my-calendar-widgets.php:138
1714
+ msgid "events into the future;"
1715
+ msgstr ""
1716
+
1717
+ #: my-calendar-widgets.php:139
1718
+ msgid "events from the past"
1719
+ msgstr ""
1720
+
1721
+ #: my-calendar-widgets.php:142
1722
+ msgid "days into the future;"
1723
+ msgstr ""
1724
+
1725
+ #: my-calendar-widgets.php:143
1726
+ msgid "days from the past"
1727
+ msgstr ""
1728
+
1729
+ #: my-calendar-widgets.php:146
1730
+ msgid "Show only this category:"
1731
+ msgstr ""
1732
+
1733
+ #: my-calendar-widgets.php:285
1734
+ msgid "There are no events currently scheduled."
1735
+ msgstr ""
1736
+
1737
  #. Plugin URI of the plugin/theme
1738
  msgid "http://www.joedolson.com/articles/my-calendar/"
1739
  msgstr ""
readme.txt CHANGED
@@ -39,6 +39,7 @@ Languages available:
39
  * German (Roland P)
40
  * Dutch (Luud Heck)
41
  * Japanese ([Daisuke Abe](http://www.alter-ego.jp/))
 
42
 
43
  == Installation ==
44
 
@@ -61,6 +62,36 @@ Languages available:
61
 
62
  == Changelog ==
63
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
64
  = 1.5.4 =
65
 
66
  * Fixed: Bug with permissions in event approval process.
39
  * German (Roland P)
40
  * Dutch (Luud Heck)
41
  * Japanese ([Daisuke Abe](http://www.alter-ego.jp/))
42
+ * Italian ([Sabir Musta](http://mustaphasabir.altervista.org))
43
 
44
  == Installation ==
45
 
62
 
63
  == Changelog ==
64
 
65
+ = 1.6.3 =
66
+
67
+ * Updated jQuery to fix conflicts in previous versions and so behaviors would work with AJAX navigation. Not updated by upgrade; use Behaviors reset to apply.
68
+ * Incorporated option to enable AJAX navigation for next/previous navigation.
69
+ * Fixed bug with multi-month display in list format where January could not be displayed.
70
+ * Revised settings page for clarity.
71
+ * Fixed some default settings issues.
72
+ * Fixed a bug where the locations lists didn't respect the datatype parameter.
73
+ * Added templating to event titles for calendar grid or list output.
74
+
75
+ = 1.6.2 =
76
+
77
+ * Fixed broken style editor. (The way it was broken was awfully weird...kinda wonder how I did it!)
78
+ * Fixed missing div in calendar list output.
79
+ * Removed debugging call which had been left from testing.
80
+ * Fixed storage of initial settings for user settings (array did not store probably initially.)
81
+ * Added Italian translation by [Sabir Musta](http://mustaphasabir.altervista.org)
82
+
83
+ = 1.6.1 =
84
+
85
+ * Bug fix in event saving
86
+
87
+ = 1.6.0 =
88
+
89
+ * Feature: User profile defined time zone preference
90
+ * Feature: User profile defined location preference
91
+ * Feature: Define event host as separate from event author
92
+ * Feature: Added ability to hide Prev/Next links as shortcode attribute
93
+ * Change: Separated Style editing from JS editing
94
+
95
  = 1.5.4 =
96
 
97
  * Fixed: Bug with permissions in event approval process.
uninstall.php CHANGED
@@ -59,6 +59,19 @@ delete_option('mc_event_mail_message');
59
  delete_option('mc_event_approve');
60
  delete_option('mc_event_approve_perms');
61
  delete_option('mc_no_fifth_week');
 
 
 
 
 
 
 
 
 
 
 
 
 
62
 
63
  add_option('my_calendar_uninstalled','true');
64
  }
59
  delete_option('mc_event_approve');
60
  delete_option('mc_event_approve_perms');
61
  delete_option('mc_no_fifth_week');
62
+ delete_option('mc_user_settings');
63
+ delete_option( 'my_calendar_ajaxjs' );
64
+ delete_option( 'ajax_javascript' );
65
+ delete_option( 'my_calendar_templates');
66
+ delete_option( 'mc_user_settings_enabled');
67
+ delete_option( 'mc_user_location_type');
68
+ delete_option( 'my_calendar_show_js');
69
+ delete_option( 'mc_event_open');
70
+ delete_option( 'mc_event_closed');
71
+ delete_option( 'mc_event_registration');
72
+ delete_option( 'mc_short');
73
+ delete_option( 'mc_desc');
74
+ delete_option( 'mc_location_type');
75
 
76
  add_option('my_calendar_uninstalled','true');
77
  }