My Calendar - Version 1.2.1

Version Description

  • Corrected a typo which broke the upcoming events widget.
Download this release

Release Info

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

Code changes from version 1.1.0 to 1.2.1

my-calendar-categories.php CHANGED
@@ -1,8 +1,7 @@
1
<?php
2
// Function to handle the management of categories
3
4
- function my_dirlist() {
5
- $directory = dirname(__FILE__).'/icons/';
6
// create an array to hold directory list
7
$results = array();
8
// create a handler for the directory
@@ -63,14 +62,21 @@ function my_calendar_manage_categories() {
63
<label for="category_color"><?php _e('Category Color (Hex format)','my-calendar'); ?>:</label> <input type="text" id="category_color" name="category_color" class="input" size="10" maxlength="7" value="<?php echo $cur_cat->category_color ?>" /><br />
64
<label for="category_icon"><?php _e('Category Icon','my-calendar'); ?>:</label> <select name="category_icon" id="category_icon">
65
<?php
66
- $files = my_dirlist();
67
foreach ($files as $value) {
68
if ($cur_cat->category_icon == $value) {
69
$selected = " selected='selected'";
70
} else {
71
$selected = "";
72
}
73
- echo "<option value='$value'$selected style='background: url(".WP_PLUGIN_URL."/my-calendar/icons/$value) left 50% no-repeat;'>$value</option>";
74
}
75
?>
76
</select>
@@ -109,9 +115,16 @@ if ($cur_cat->category_icon == $value) {
109
<label for="category_color"><?php _e('Category Color (Hex format)','my-calendar'); ?>:</label> <input type="text" id="category_color" name="category_color" class="input" size="10" maxlength="7" value="#" /><br />
110
<label for="category_icon"><?php _e('Category Icon','my-calendar'); ?>:</label> <select name="category_icon" id="category_icon">
111
<?php
112
- $files = my_dirlist();
113
foreach ($files as $value) {
114
- echo "<option value='$value' style='background: url(".WP_PLUGIN_URL."/my-calendar/icons/$value) no-repeat;'>$value</option>";
115
}
116
?>
117
</select>
@@ -152,7 +165,7 @@ foreach ($files as $value) {
152
<th scope="row"><?php echo $category->category_id; ?></th>
153
<td><?php echo $category->category_name; ?></td>
154
<td style="background-color:<?php echo $category->category_color; ?>;">&nbsp;</td>
155
- <td style="background-color:<?php echo $category->category_color; ?>;"><img src="<?php echo WP_PLUGIN_URL; ?>/my-calendar/icons/<?php echo $category->category_icon; ?>" alt="" /></td>
156
<td><a href="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar-categories&amp;mode=edit&amp;category_id=<?php echo $category->category_id;?>" class='edit'><?php echo __('Edit','my-calendar'); ?></a></td>
157
<?php
158
if ($category->category_id == 1) {
1
<?php
2
// Function to handle the management of categories
3
4
+ function my_dirlist($directory) {
5
// create an array to hold directory list
6
$results = array();
7
// create a handler for the directory
62
<label for="category_color"><?php _e('Category Color (Hex format)','my-calendar'); ?>:</label> <input type="text" id="category_color" name="category_color" class="input" size="10" maxlength="7" value="<?php echo $cur_cat->category_color ?>" /><br />
63
<label for="category_icon"><?php _e('Category Icon','my-calendar'); ?>:</label> <select name="category_icon" id="category_icon">
64
<?php
65
+ if ( file_exists( WP_PLUGIN_DIR . '/my-calendar-custom/' ) ) {
66
+ $directory = WP_PLUGIN_DIR . '/my-calendar-custom/';
67
+ $path = '/my-calendar-custom';
68
+ } else {
69
+ $directory = dirname(__FILE__).'/icons/';
70
+ $path = '/my-calendar/icons';
71
+ }
72
+ $files = my_dirlist($directory);
73
foreach ($files as $value) {
74
if ($cur_cat->category_icon == $value) {
75
$selected = " selected='selected'";
76
} else {
77
$selected = "";
78
}
79
+ echo "<option value='$value'$selected style='background: url(".WP_PLUGIN_URL."$path/$value) left 50% no-repeat;'>$value</option>";
80
}
81
?>
82
</select>
115
<label for="category_color"><?php _e('Category Color (Hex format)','my-calendar'); ?>:</label> <input type="text" id="category_color" name="category_color" class="input" size="10" maxlength="7" value="#" /><br />
116
<label for="category_icon"><?php _e('Category Icon','my-calendar'); ?>:</label> <select name="category_icon" id="category_icon">
117
<?php
118
+ if ( file_exists( WP_PLUGIN_DIR . '/my-calendar-custom/' ) ) {
119
+ $directory = WP_PLUGIN_DIR . '/my-calendar-custom/';
120
+ $path = '/my-calendar-custom';
121
+ } else {
122
+ $directory = dirname(__FILE__).'/icons/';
123
+ $path = '/my-calendar/icons';
124
+ }
125
+ $files = my_dirlist($directory);
126
foreach ($files as $value) {
127
+ echo "<option value='$value' style='background: url(".WP_PLUGIN_URL."$path/$value) no-repeat;'>$value</option>";
128
}
129
?>
130
</select>
165
<th scope="row"><?php echo $category->category_id; ?></th>
166
<td><?php echo $category->category_name; ?></td>
167
<td style="background-color:<?php echo $category->category_color; ?>;">&nbsp;</td>
168
+ <td style="background-color:<?php echo $category->category_color; ?>;"><img src="<?php echo WP_PLUGIN_URL . $path; ?>/<?php echo $category->category_icon; ?>" alt="" /></td>
169
<td><a href="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar-categories&amp;mode=edit&amp;category_id=<?php echo $category->category_id;?>" class='edit'><?php echo __('Edit','my-calendar'); ?></a></td>
170
<?php
171
if ($category->category_id == 1) {
my-calendar-event-manager.php CHANGED
@@ -46,8 +46,8 @@ check_my_calendar();
46
47
if ($_GET['action'] == 'delete') {
48
$sql = "SELECT event_title, event_author FROM " . MY_CALENDAR_TABLE . " WHERE event_id=" . (int) $_GET['event_id'];
49
- $result = $wpdb->get_results($sql);
50
- if ( mc_can_edit_event( $result[1] ) ) {
51
?>
52
<div class="error">
53
<p><strong><?php _e('Delete Event','my-calendar'); ?>:</strong> <?php _e('Are you sure you want to delete this event?','my-calendar'); ?></p>
@@ -55,7 +55,7 @@ if ($_GET['action'] == 'delete') {
55
<div>
56
<input type="hidden" value="delete" name="action" />
57
<input type="hidden" value="<?php echo (int) $_GET['event_id']; ?>" name="event_id" />
58
- <input type="submit" name="submit" class="button-primary" value="<?php _e('Delete','my-calendar'); echo " &quot;".$result[0]->event_title."&quot;"; ?>" />
59
</div>
60
</form>
61
</div>
46
47
if ($_GET['action'] == 'delete') {
48
$sql = "SELECT event_title, event_author FROM " . MY_CALENDAR_TABLE . " WHERE event_id=" . (int) $_GET['event_id'];
49
+ $result = $wpdb->get_results( $sql, ARRAY_A );
50
+ if ( mc_can_edit_event( $result[0]['event_author'] ) ) {
51
?>
52
<div class="error">
53
<p><strong><?php _e('Delete Event','my-calendar'); ?>:</strong> <?php _e('Are you sure you want to delete this event?','my-calendar'); ?></p>
55
<div>
56
<input type="hidden" value="delete" name="action" />
57
<input type="hidden" value="<?php echo (int) $_GET['event_id']; ?>" name="event_id" />
58
+ <input type="submit" name="submit" class="button-primary" value="<?php _e('Delete','my-calendar'); echo " &quot;".$result[0]['event_title']."&quot;"; ?>" />
59
</div>
60
</form>
61
</div>
my-calendar-help.php CHANGED
@@ -18,6 +18,12 @@ function my_calendar_help() {
18
<li><code>[my_calendar category="General" format="list" showkey="no"]</code><br />
19
<?php _e('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.','my-calendar'); ?>
20
</li>
21
</ul>
22
</div>
23
</div>
@@ -30,7 +36,7 @@ function my_calendar_help() {
30
<?php _e('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.','my-calendar'); ?>
31
</p>
32
<p>
33
- <?php _e('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.','my-calendar'); ?> <?php _e('Your icons folder is:','my-calendar'); ?> <code><?php echo WP_PLUGIN_DIR; ?>/my-calendar/icons/</code>
34
</p>
35
</div>
36
</div>
18
<li><code>[my_calendar category="General" format="list" showkey="no"]</code><br />
19
<?php _e('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.','my-calendar'); ?>
20
</li>
21
+ <li><code>[my_calendar_upcoming before="3" after="3" type="event" category="General"]</code><br />
22
+ <?php _e('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 "date", and the <code>category</code> attribute works the same way as the category attribute on the main calendar shortcode.','my-calendar'); ?>
23
+ </li>
24
+ <li><code>[my_calendar_today category="General"]</code><br />
25
+ <?php _e('Predictably enough, this shortcode displays the output of the Today\'s Events widget, with one configurable category attribute.','my-calendar'); ?>
26
+ </li>
27
</ul>
28
</div>
29
</div>
36
<?php _e('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.','my-calendar'); ?>
37
</p>
38
<p>
39
+ <?php _e('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.','my-calendar'); ?> <?php _e('Your icons folder is:','my-calendar'); ?> <code><?php echo WP_PLUGIN_DIR; ?>/my-calendar/icons/</code> <?php _e('You can alternately place icons in:','my-calendar'); ?> <code><?php echo WP_PLUGIN_DIR; ?>/my-calendar-custom/</code>
40
</p>
41
</div>
42
</div>
my-calendar-pt_BR.mo ADDED
Binary file
my-calendar-pt_BR.po ADDED
@@ -0,0 +1,864 @@
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 - Há 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, há 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 há 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 há 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/"
851
+ 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"
863
+ msgstr "http://www.joedolson.com"
864
+
my-calendar-widgets.php CHANGED
@@ -74,6 +74,9 @@ function init_my_calendar_upcoming() {
74
if (isset($_POST['my_calendar_upcoming_title'])) {
75
update_option('my_calendar_upcoming_title',strip_tags($_POST['my_calendar_upcoming_title']));
76
}
77
if (isset($_POST['my_calendar_upcoming_template'])) {
78
update_option('my_calendar_upcoming_template',$_POST['my_calendar_upcoming_template']);
79
}
@@ -116,9 +119,9 @@ function init_my_calendar_upcoming() {
116
<legend><?php _e('Widget Options','my-calendar'); ?></legend>
117
<p>
118
<label for="display_upcoming_type"><?php _e('Display upcoming events by:','my-calendar'); ?></label> <select id="display_upcoming_type" name="display_upcoming_type">
119
- <option value="events" <?php jd_cal_checkSelect('display_upcoming_type','events'); ?>><?php _e('Events (e.g. 2 past, 3 future)','my-calendar') ?></option>
120
- <option value="days" <?php jd_cal_checkSelect('display_upcoming_type','days'); ?>><?php _e('Dates (e.g. 4 days past, 5 forward)','my-calendar') ?></option>
121
- </select>
122
</p>
123
<p>
124
<input type="text" id="display_upcoming_events" name="display_upcoming_events" value="<?php if(isset($_POST['display_upcoming_events'])){echo $_POST['display_upcoming_events']; } else { echo $upcoming_events; } ?>" size="1" maxlength="2" /> <label for="display_upcoming_events"><?php _e('events into the future;','my-calendar'); ?></label><br />
@@ -128,6 +131,9 @@ function init_my_calendar_upcoming() {
128
<input type="text" id="display_upcoming_days" name="display_upcoming_days" value="<?php if(isset($_POST['display_upcoming_days'])){echo $_POST['display_upcoming_days']; } else { echo $upcoming_days; } ?>" size="1" maxlength="2" /> <label for="display_upcoming_days"><?php _e('days into the future;','my-calendar'); ?></label><br />
129
<input type="text" id="display_past_days" name="display_past_days" value="<?php if(isset($_POST['display_past_days'])){echo $_POST['display_past_days']; } else { echo $past_days; } ?>" size="1" maxlength="2" /> <label for="display_past_days"><?php _e('days from the past','my-calendar'); ?></label>
130
</p>
131
</fieldset>
132
<?php
133
}
@@ -138,29 +144,51 @@ function init_my_calendar_upcoming() {
138
139
140
// Widget upcoming events
141
- function my_calendar_upcoming_events() {
142
global $wpdb;
143
144
// This function cannot be called unless calendar is up to date
145
- check_my_calendar();
146
- $template = get_option('my_calendar_upcoming_template');
147
- $display_upcoming_type = get_option('display_upcoming_type');
148
- $today = date('Y').'-'.date('m').'-'.date('d');
149
150
// Get number of days we should go into the future
151
- $future_days = get_option('display_upcoming_days');
152
- // Get number of days we should go into the past
153
- $past_days = get_option('display_past_days');
154
- $future_events = get_option('display_past_events');
155
- $past_events = get_option('display_upcoming_events');
156
-
157
$day_count = -($past_days);
158
$output = "<ul>";
159
-
160
if ($display_upcoming_type == "date") {
161
while ($day_count < $future_days+1) {
162
list($y,$m,$d) = split("-",date("Y-m-d",mktime($day_count*24,0,0,date("m"),date("d"),date("Y"))));
163
- $events = my_calendar_grab_events( $y,$m,$d );
164
165
@usort($events, "my_calendar_time_cmp");
166
foreach($events as $event) {
@@ -170,7 +198,7 @@ function my_calendar_upcoming_events() {
170
$day_count = $day_count+1;
171
}
172
} else {
173
- $events = mc_get_all_events(); // grab all events WITHIN reasonable proximity
174
$past = 1;
175
$future = 1;
176
@usort( $events, "my_calendar_timediff_cmp" );// sort all events by proximity to current date
@@ -322,27 +350,27 @@ $date_end = date(get_option('date_format'),strtotime($event->event_end));
322
323
324
$details = array();
325
- $details['category'] = $category_name->category_name;
326
- $details['title'] = $event->event_title;
327
$details['time'] = date(get_option('time_format'),strtotime($event->event_time));
328
$details['author'] = $e->display_name;
329
$details['link'] = $event->event_link;
330
- $details['description'] = $event->event_desc;
331
if ($event->event_link != '') {
332
- $details['link_title'] = "<a href='".$event->event_link."'>".$event->event_title."</a>";
333
} else {
334
- $details['link_title'] = $event->event_title;
335
}
336
$details['date'] = $date;
337
$details['enddate'] = $date_end;
338
- $details['location'] = $event->event_label;
339
- $details['street'] = $event->event_street;
340
- $details['street2'] = $event->event_street2;
341
- $details['city'] = $event->event_city;
342
- $details['state'] = $event->event_state;
343
- $details['postcode'] = $event->event_postcode;
344
- $details['country'] = $event->event_country;
345
- $details['hcard'] = $hcard;
346
$details['link_map'] = $map;
347
348
return $details;
74
if (isset($_POST['my_calendar_upcoming_title'])) {
75
update_option('my_calendar_upcoming_title',strip_tags($_POST['my_calendar_upcoming_title']));
76
}
77
+ if (isset($_POST['display_in_category'])) {
78
+ update_option('display_in_category',$_POST['display_in_category']);
79
+ }
80
if (isset($_POST['my_calendar_upcoming_template'])) {
81
update_option('my_calendar_upcoming_template',$_POST['my_calendar_upcoming_template']);
82
}
119
<legend><?php _e('Widget Options','my-calendar'); ?></legend>
120
<p>
121
<label for="display_upcoming_type"><?php _e('Display upcoming events by:','my-calendar'); ?></label> <select id="display_upcoming_type" name="display_upcoming_type">
122
+ <option value="events" <?php jd_cal_checkSelect('display_upcoming_type','events'); ?>><?php _e('Events (e.g. 2 past, 3 future)','my-calendar') ?></option>
123
+ <option value="days" <?php jd_cal_checkSelect('display_upcoming_type','days'); ?>><?php _e('Dates (e.g. 4 days past, 5 forward)','my-calendar') ?></option>
124
+ </select>
125
</p>
126
<p>
127
<input type="text" id="display_upcoming_events" name="display_upcoming_events" value="<?php if(isset($_POST['display_upcoming_events'])){echo $_POST['display_upcoming_events']; } else { echo $upcoming_events; } ?>" size="1" maxlength="2" /> <label for="display_upcoming_events"><?php _e('events into the future;','my-calendar'); ?></label><br />
131
<input type="text" id="display_upcoming_days" name="display_upcoming_days" value="<?php if(isset($_POST['display_upcoming_days'])){echo $_POST['display_upcoming_days']; } else { echo $upcoming_days; } ?>" size="1" maxlength="2" /> <label for="display_upcoming_days"><?php _e('days into the future;','my-calendar'); ?></label><br />
132
<input type="text" id="display_past_days" name="display_past_days" value="<?php if(isset($_POST['display_past_days'])){echo $_POST['display_past_days']; } else { echo $past_days; } ?>" size="1" maxlength="2" /> <label for="display_past_days"><?php _e('days from the past','my-calendar'); ?></label>
133
</p>
134
+ <p>
135
+ <label for="display_in_category"><?php _e('Show only this category:','my-calendar'); ?></label><br />
136
+ <input type="text" id="display_in_category" name="display_in_category" value="<?php if(isset($_POST['display_in_category'])){echo $_POST['display_in_category']; } else { echo $display_in_category; } ?>" class="widefat" />
137
</fieldset>
138
<?php
139
}
144
145
146
// Widget upcoming events
147
+ function my_calendar_upcoming_events($before='default',$after='default',$type='default',$category='default') {
148
global $wpdb;
149
150
// This function cannot be called unless calendar is up to date
151
+ check_my_calendar();
152
+ $template = get_option('my_calendar_upcoming_template');
153
+ $offset = get_option('gmt_offset');
154
+ $today = date('Y',time()+(60*60*$offset)).'-'.date('m',time()+(60*60*$offset)).'-'.date('d',time()+(60*60*$offset));
155
+
156
+ if ($type == 'default') {
157
+ $display_upcoming_type = get_option('display_upcoming_type');
158
+ } else {
159
+ $display_upcoming_type = $type;
160
+ }
161
162
// Get number of days we should go into the future
163
+ if ($after == 'default') {
164
+ $future_days = get_option('display_upcoming_days');
165
+ $future_events = get_option('display_upcoming_events');
166
+ } else {
167
+ $future_days = $after;
168
+ $future_events = $after;
169
+ }
170
+ // Get number of days we should go into the past
171
+ if ($before == 'default') {
172
+ $past_days = get_option('display_past_days');
173
+ $past_events = get_option('display_past_events');
174
+ } else {
175
+ $past_days = $before;
176
+ $past_events = $before;
177
+ }
178
+
179
+ if ($category == 'default') {
180
+ $category = get_option('display_in_category');
181
+ } else {
182
+ $category = $category;
183
+ }
184
+
185
$day_count = -($past_days);
186
$output = "<ul>";
187
+
188
if ($display_upcoming_type == "date") {
189
while ($day_count < $future_days+1) {
190
list($y,$m,$d) = split("-",date("Y-m-d",mktime($day_count*24,0,0,date("m"),date("d"),date("Y"))));
191
+ $events = my_calendar_grab_events( $y,$m,$d,$category );
192
193
@usort($events, "my_calendar_time_cmp");
194
foreach($events as $event) {
198
$day_count = $day_count+1;
199
}
200
} else {
201
+ $events = mc_get_all_events($category); // grab all events WITHIN reasonable proximity
202
$past = 1;
203
$future = 1;
204
@usort( $events, "my_calendar_timediff_cmp" );// sort all events by proximity to current date
350
351
352
$details = array();
353
+ $details['category'] = stripslashes($category_name->category_name);
354
+ $details['title'] = stripslashes($event->event_title);
355
$details['time'] = date(get_option('time_format'),strtotime($event->event_time));
356
$details['author'] = $e->display_name;
357
$details['link'] = $event->event_link;
358
+ $details['description'] = stripslashes($event->event_desc);
359
if ($event->event_link != '') {
360
+ $details['link_title'] = "<a href='".$event->event_link."'>".stripslashes($event->event_title)."</a>";
361
} else {
362
+ $details['link_title'] = stripslashes($event->event_title);
363
}
364
$details['date'] = $date;
365
$details['enddate'] = $date_end;
366
+ $details['location'] = stripslashes($event->event_label);
367
+ $details['street'] = stripslashes($event->event_street);
368
+ $details['street2'] = stripslashes($event->event_street2);
369
+ $details['city'] = stripslashes($event->event_city);
370
+ $details['state'] = stripslashes($event->event_state);
371
+ $details['postcode'] = stripslashes($event->event_postcode);
372
+ $details['country'] = stripslashes($event->event_country);
373
+ $details['hcard'] = stripslashes($hcard);
374
$details['link_map'] = $map;
375
376
return $details;
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.1.0
9
*/
10
/* Copyright 2009 Joe Dolson (email : joe@joedolson.com)
11
@@ -291,8 +291,32 @@ function my_calendar_insert($atts) {
291
), $atts));
292
return my_calendar($name,$format,$category,$showkey);
293
}
294
// add shortcode interpreter
295
add_shortcode('my_calendar','my_calendar_insert');
296
297
// Function to check what version of My Calendar is installed and install if needed
298
function check_my_calendar() {
@@ -316,7 +340,7 @@ background: #fff;
316
#jd-calendar caption, #jd-calendar .my-calendar-date-switcher {
317
background: #edf7ff;
318
border: 1px solid #a9e3ff;
319
- margin: 0;
320
font-weight:700;
321
padding:2px 0;
322
}
@@ -495,9 +519,6 @@ clear:left;
495
background: #fff;
496
}
497
#jd-calendar {
498
- -moz-border-radius: 5px;
499
- -webkit-border-radius: 5px;
500
- border-radius: 5px;
501
position: relative;
502
}
503
#jd-calendar img {
@@ -508,11 +529,11 @@ margin-right: 5px;
508
vertical-align: top;
509
}
510
.my-calendar-nav {
511
- height: 2.25em;
512
- border-bottom: 1px solid #ac6;
513
}
514
515
#jd-calendar .my-calendar-nav ul {
516
list-style-type:none;
517
margin:0;
518
padding:0;
@@ -526,19 +547,10 @@ list-style-type: none;
526
#jd-calendar .my-calendar-nav li:before {
527
content:'';
528
}
529
-
530
- my-calendar-nav .my-calendar-next {
531
- text-align:right;
532
- }
533
-
534
#jd-calendar .my-calendar-nav li a {
535
display:block;
536
background:#fff;
537
border:1px solid #9b5;
538
- -moz-border-radius:5px 5px 0 0;
539
- -webkit-border-radius:5px 5px 0 0;
540
- border-radius:5px 5px 0 0;
541
- border-bottom:none;
542
text-align:center;
543
padding:1px 20px;
544
color: #243f82;
@@ -548,10 +560,26 @@ color: #243f82;
548
background:#a9e3ff;
549
color:#000;
550
border: 1px solid #243f82;
551
- border-bottom: none;
552
}
553
#jd-calendar .my-calendar-next {
554
- margin-left: 1px;
555
}
556
#jd-calendar .day-without-date {
557
background: #fafafa;
@@ -791,7 +819,12 @@ function my_calendar_draw_event($event, $type="calendar") {
791
$cat_details = $wpdb->get_row($sql);
792
$style = "background-color:".$cat_details->category_color.";";
793
if ($cat_details->category_icon != "") {
794
- $image = '<img src="'.WP_PLUGIN_URL.'/my-calendar/icons/'.$cat_details->category_icon.'" alt="" class="category-icon" style="background:'.$cat_details->category_color.';" />';
795
} else {
796
$image = "";
797
}
@@ -804,25 +837,25 @@ function my_calendar_draw_event($event, $type="calendar") {
804
if ($display_address == 'true' && strlen($location_string) > 5) {
805
$address .= "<div class=\"adr\">";
806
if ($event->event_label != "") {
807
- $address .= "<strong class=\"org\">".$event->event_label."</strong><br />";
808
}
809
if ($event->event_street != "") {
810
- $address .= "<div class=\"street-address\">".$event->event_street."</div>";
811
}
812
if ($event->event_street2 != "") {
813
- $address .= "<div class=\"street-address\">".$event->event_street2."</div>";
814
}
815
if ($event->event_city != "") {
816
- $address .= "<span class=\"locality\">".$event->event_city.",</span>";
817
}
818
if ($event->event_state != "") {
819
- $address .= " <span class=\"region\">".$event->event_state."</span> ";
820
}
821
if ($event->event_postcode != "") {
822
- $address .= " <span class=\"postal-code\">".$event->event_postcode."</span>";
823
}
824
if ($event->event_country != "") {
825
- $address .= "<div class=\"country-name\">".$event->event_country."</div>";
826
}
827
$address .= "</div>";
828
}
@@ -830,9 +863,9 @@ function my_calendar_draw_event($event, $type="calendar") {
830
if (strlen($location_string) > 5) {
831
$map_string = str_replace(" ","+",$map_string);
832
if ($event->event_label != "") {
833
- $map_label = $event->event_label;
834
} else {
835
- $map_label = $event->event_title;
836
}
837
$map = "<a href=\"http://maps.google.com/maps?f=q&amp;z=15&amp;q=$map_string\">Map<span> to $map_label</span></a>";
838
$address .= "<div class=\"url map\">$map</div>";
@@ -845,7 +878,7 @@ $my_calendar_directory = get_bloginfo( 'wpurl' ) . '/' . PLUGINDIR . '/' . dirna
845
846
$header_details .= "\n<div class='$type-event'>\n";
847
if ($type == "calendar") {
848
- $header_details .= "<h3 class='event-title'>$image".$event->event_title." <a href='#'><img src='$my_calendar_directory/images/event-details.png' alt='".__('Event Details','my-calendar')."' /></a></h3>\n";
849
}
850
$header_details .= "<div class='details'>";
851
if ($event->event_time != "00:00:00") {
@@ -855,7 +888,7 @@ $my_calendar_directory = get_bloginfo( 'wpurl' ) . '/' . PLUGINDIR . '/' . dirna
855
}
856
$header_details .= "<div class='sub-details'>";
857
if ($type != "calendar") {
858
- $header_details .= "<h3 class='event-title'>$image".$event->event_title."</h3>\n";
859
}
860
if ($display_author == 'true') {
861
$e = get_userdata($event->event_author);
@@ -867,16 +900,32 @@ $my_calendar_directory = get_bloginfo( 'wpurl' ) . '/' . PLUGINDIR . '/' . dirna
867
868
if ($event->event_link != '') { $linky = $event->event_link; } else { $linky = '#'; }
869
if ($linky != "#") {
870
- $details = "\n". $header_details . '' . wpautop($event->event_desc,1) . '<p><a href="'.$linky.'" class="event-link">' . $event->event_title . '&raquo; </a></p>'."</div></div></div>\n";
871
} else {
872
- $details = "\n". $header_details . '' . wpautop($event->event_desc,1) . "</div></div></div>\n";
873
}
874
return $details;
875
}
876
// used to generate upcoming events lists
877
- function mc_get_all_events() {
878
global $wpdb;
879
- $events = $wpdb->get_results("SELECT * FROM " . MY_CALENDAR_TABLE);
880
$offset = get_option('gmt_offset');
881
$date = date('Y', time()+(60*60*$offset)).'-'.date('m', time()+(60*60*$offset)).'-'.date('d', time()+(60*60*$offset));
882
if (!empty($events)) {
@@ -1729,9 +1778,14 @@ if ($date_format == "") {
1729
$cat_details = $wpdb->get_results($sql);
1730
$my_calendar_body .= '<div class="category-key">
1731
<h3>'.__('Category Key','my-calendar')."</h3>\n<ul>\n";
1732
foreach($cat_details as $cat_detail) {
1733
if ($cat_detail->category_icon != "") {
1734
- $my_calendar_body .= '<li><span class="category-color-sample"><img src="'.WP_PLUGIN_URL.'/my-calendar/icons/'.$cat_detail->category_icon.'" alt="" style="background:'.$cat_detail->category_color.';" /></span>'.$cat_detail->category_name."</li>\n";
1735
} else {
1736
$my_calendar_body .= '<li><span class="category-color-sample" style="background:'.$cat_detail->category_color.';"> &nbsp; </span>'.$cat_detail->category_name."</li>\n";
1737
}
@@ -1753,7 +1807,7 @@ function mc_can_edit_event($author_id) {
1753
get_currentuserinfo();
1754
$user = get_userdata($user_ID);
1755
1756
- if ($user->user_level == 10) {
1757
return true;
1758
} elseif ( $user_ID == $author_id ) {
1759
return true;
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.2.1
9
*/
10
/* Copyright 2009 Joe Dolson (email : joe@joedolson.com)
11
291
), $atts));
292
return my_calendar($name,$format,$category,$showkey);
293
}
294
+
295
+ function my_calendar_insert_upcoming($atts) {
296
+ extract(shortcode_atts(array(
297
+ 'before' => 'default',
298
+ 'after' => 'default',
299
+ 'type' => 'default',
300
+ 'category' => 'default'
301
+ ), $atts));
302
+ return my_calendar_upcoming_events($before, $after, $type, $category);
303
+ }
304
+
305
+ function my_calendar_insert_today($atts) {
306
+ extract(shortcode_atts(array(
307
+ 'before' => '',
308
+ 'after' => '',
309
+ 'type' => '',
310
+ 'category' => ''
311
+ ), $atts));
312
+ return my_calendar_today_events($before, $after, $type, $category);
313
+ }
314
+
315
+
316
// add shortcode interpreter
317
add_shortcode('my_calendar','my_calendar_insert');
318
+ add_shortcode('my_calendar_upcoming','my_calendar_insert_upcoming');
319
+ add_shortcode('my_calendar_today','my_calendar_insert_today');
320
321
// Function to check what version of My Calendar is installed and install if needed
322
function check_my_calendar() {
340
#jd-calendar caption, #jd-calendar .my-calendar-date-switcher {
341
background: #edf7ff;
342
border: 1px solid #a9e3ff;
343
+ margin: 2px 0;
344
font-weight:700;
345
padding:2px 0;
346
}
519
background: #fff;
520
}
521
#jd-calendar {
522
position: relative;
523
}
524
#jd-calendar img {
529
vertical-align: top;
530
}
531
.my-calendar-nav {
532
+
533
}
534
535
#jd-calendar .my-calendar-nav ul {
536
+ height: 2.95em;
537
list-style-type:none;
538
margin:0;
539
padding:0;
547
#jd-calendar .my-calendar-nav li:before {
548
content:'';
549
}
550
#jd-calendar .my-calendar-nav li a {
551
display:block;
552
background:#fff;
553
border:1px solid #9b5;
554
text-align:center;
555
padding:1px 20px;
556
color: #243f82;
560
background:#a9e3ff;
561
color:#000;
562
border: 1px solid #243f82;
563
}
564
#jd-calendar .my-calendar-next {
565
+ margin-left: 4px;
566
+ text-align:right;
567
+ }
568
+ #jd-calendar .my-calendar-next a {
569
+ -webkit-border-top-right-radius: 8px;
570
+ -webkit-border-bottom-right-radius: 8px;
571
+ -moz-border-radius-topright: 8px;
572
+ -moz-border-radius-bottomright: 8px;
573
+ border-top-right-radius: 8px;
574
+ border-bottom-right-radius: 8px;
575
+ }
576
+ #jd-calendar .my-calendar-prev a {
577
+ -webkit-border-top-left-radius: 8px;
578
+ -webkit-border-bottom-left-radius: 8px;
579
+ -moz-border-radius-topleft: 8px;
580
+ -moz-border-radius-bottomleft: 8px;
581
+ border-top-left-radius: 8px;
582
+ border-bottom-left-radius: 8px;
583
}
584
#jd-calendar .day-without-date {
585
background: #fafafa;
819
$cat_details = $wpdb->get_row($sql);
820
$style = "background-color:".$cat_details->category_color.";";
821
if ($cat_details->category_icon != "") {
822
+ if ( file_exists( WP_PLUGIN_DIR . '/my-calendar-custom/' ) ) {
823
+ $path = '/my-calendar-custom';
824
+ } else {
825
+ $path = '/my-calendar/icons';
826
+ }
827
+ $image = '<img src="'.WP_PLUGIN_URL.$path.'/'.$cat_details->category_icon.'" alt="" class="category-icon" style="background:'.$cat_details->category_color.';" />';
828
} else {
829
$image = "";
830
}
837
if ($display_address == 'true' && strlen($location_string) > 5) {
838
$address .= "<div class=\"adr\">";
839
if ($event->event_label != "") {
840
+ $address .= "<strong class=\"org\">".stripslashes($event->event_label)."</strong><br />";
841
}
842
if ($event->event_street != "") {
843
+ $address .= "<div class=\"street-address\">".stripslashes($event->event_street)."</div>";
844
}
845
if ($event->event_street2 != "") {
846
+ $address .= "<div class=\"street-address\">".stripslashes($event->event_street2)."</div>";
847
}
848
if ($event->event_city != "") {
849
+ $address .= "<span class=\"locality\">".stripslashes($event->event_city).",</span>";
850
}
851
if ($event->event_state != "") {
852
+ $address .= " <span class=\"region\">".stripslashes($event->event_state)."</span> ";
853
}
854
if ($event->event_postcode != "") {
855
+ $address .= " <span class=\"postal-code\">".stripslashes($event->event_postcode)."</span>";
856
}
857
if ($event->event_country != "") {
858
+ $address .= "<div class=\"country-name\">".stripslashes($event->event_country)."</div>";
859
}
860
$address .= "</div>";
861
}
863
if (strlen($location_string) > 5) {
864
$map_string = str_replace(" ","+",$map_string);
865
if ($event->event_label != "") {
866
+ $map_label = stripslashes($event->event_label);
867
} else {
868
+ $map_label = stripslashes($event->event_title);
869
}
870
$map = "<a href=\"http://maps.google.com/maps?f=q&amp;z=15&amp;q=$map_string\">Map<span> to $map_label</span></a>";
871
$address .= "<div class=\"url map\">$map</div>";
878
879
$header_details .= "\n<div class='$type-event'>\n";
880
if ($type == "calendar") {
881
+ $header_details .= "<h3 class='event-title'>$image".stripslashes($event->event_title)." <a href='#'><img src='$my_calendar_directory/images/event-details.png' alt='".__('Event Details','my-calendar')."' /></a></h3>\n";
882
}
883
$header_details .= "<div class='details'>";
884
if ($event->event_time != "00:00:00") {
888
}
889
$header_details .= "<div class='sub-details'>";
890
if ($type != "calendar") {
891
+ $header_details .= "<h3 class='event-title'>$image".stripslashes($event->event_title)."</h3>\n";
892
}
893
if ($display_author == 'true') {
894
$e = get_userdata($event->event_author);
900
901
if ($event->event_link != '') { $linky = $event->event_link; } else { $linky = '#'; }
902
if ($linky != "#") {
903
+ $details = "\n". $header_details . '' . wpautop(stripslashes($event->event_desc),1) . '<p><a href="'.$linky.'" class="event-link">' . stripslashes($event->event_title) . '&raquo; </a></p>'."</div></div></div>\n";
904
} else {
905
+ $details = "\n". $header_details . '' . wpautop(stripslashes($event->event_desc),1) . "</div></div></div>\n";
906
}
907
return $details;
908
}
909
// used to generate upcoming events lists
910
+ function mc_get_all_events($category) {
911
global $wpdb;
912
+ if ( $category!='default' ) {
913
+ if (is_numeric($category)) {
914
+ $select_category = " WHERE event_category = $category";
915
+ } else {
916
+ $cat = $wpdb->get_row("SELECT category_id FROM " . MY_CALENDAR_CATEGORIES_TABLE . " WHERE category_name = '$category'");
917
+ $category_id = $cat->category_id;
918
+ if (!$category_id) {
919
+ //if the requested category doesn't exist, fail silently
920
+ $select_category = "";
921
+ } else {
922
+ $select_category = " WHERE event_category = $category_id";
923
+ }
924
+ }
925
+ } else {
926
+ $select_category = "";
927
+ }
928
+ $events = $wpdb->get_results("SELECT * FROM " . MY_CALENDAR_TABLE . "$select_category");
929
$offset = get_option('gmt_offset');
930
$date = date('Y', time()+(60*60*$offset)).'-'.date('m', time()+(60*60*$offset)).'-'.date('d', time()+(60*60*$offset));
931
if (!empty($events)) {
1778
$cat_details = $wpdb->get_results($sql);
1779
$my_calendar_body .= '<div class="category-key">
1780
<h3>'.__('Category Key','my-calendar')."</h3>\n<ul>\n";
1781
+ if ( file_exists( WP_PLUGIN_DIR . '/my-calendar-custom/' ) ) {
1782
+ $path = '/my-calendar-custom';
1783
+ } else {
1784
+ $path = '/my-calendar/icons';
1785
+ }
1786
foreach($cat_details as $cat_detail) {
1787
if ($cat_detail->category_icon != "") {
1788
+ $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";
1789
} else {
1790
$my_calendar_body .= '<li><span class="category-color-sample" style="background:'.$cat_detail->category_color.';"> &nbsp; </span>'.$cat_detail->category_name."</li>\n";
1791
}
1807
get_currentuserinfo();
1808
$user = get_userdata($user_ID);
1809
1810
+ if ( current_user_can('create_users') ) {
1811
return true;
1812
} elseif ( $user_ID == $author_id ) {
1813
return true;
my-calendar.pot CHANGED
@@ -1,4 +1,4 @@
1
- # Translation of the WordPress plugin My Calendar 1.0.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.
@@ -6,9 +6,9 @@
6
#, fuzzy
7
msgid ""
8
msgstr ""
9
- "Project-Id-Version: My Calendar 1.0.2\n"
10
"Report-Msgid-Bugs-To: http://wordpress.org/tag/my-calendar\n"
11
- "POT-Creation-Date: 2010-04-17 17:49+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"
@@ -16,85 +16,85 @@ msgstr ""
16
"Content-Type: text/plain; charset=utf-8\n"
17
"Content-Transfer-Encoding: 8bit\n"
18
19
- #: my-calendar-categories.php:38
20
msgid "Category added successfully"
21
msgstr ""
22
23
- #: my-calendar-categories.php:44
24
msgid "Category deleted successfully"
25
msgstr ""
26
27
- #: my-calendar-categories.php:49 my-calendar-categories.php:61
28
msgid "Edit Category"
29
msgstr ""
30
31
- #: my-calendar-categories.php:53
32
msgid "Category Editor"
33
msgstr ""
34
35
- #: my-calendar-categories.php:62 my-calendar-categories.php:108
36
- #: my-calendar-categories.php:139
37
msgid "Category Name"
38
msgstr ""
39
40
- #: my-calendar-categories.php:63 my-calendar-categories.php:109
41
msgid "Category Color (Hex format)"
42
msgstr ""
43
44
- #: my-calendar-categories.php:64 my-calendar-categories.php:110
45
- #: my-calendar-categories.php:141
46
msgid "Category Icon"
47
msgstr ""
48
49
- #: my-calendar-categories.php:79
50
msgid "Save Changes"
51
msgstr ""
52
53
- #: my-calendar-categories.php:89
54
msgid "Category edited successfully"
55
msgstr ""
56
57
- #: my-calendar-categories.php:95 my-calendar-categories.php:107
58
- #: my-calendar-categories.php:120
59
msgid "Add Category"
60
msgstr ""
61
62
- #: my-calendar-categories.php:99
63
msgid "Add New Category"
64
msgstr ""
65
66
- #: my-calendar-categories.php:126 my-calendar.php:127
67
msgid "Manage Categories"
68
msgstr ""
69
70
- #: my-calendar-categories.php:138 my-calendar-event-manager.php:616
71
msgid "ID"
72
msgstr ""
73
74
- #: my-calendar-categories.php:140
75
msgid "Category Color"
76
msgstr ""
77
78
- #: my-calendar-categories.php:142 my-calendar-categories.php:156
79
- #: my-calendar-event-manager.php:664
80
msgid "Edit"
81
msgstr ""
82
83
- #: my-calendar-categories.php:143 my-calendar-categories.php:162
84
- #: my-calendar-event-manager.php:57 my-calendar-event-manager.php:664
85
msgid "Delete"
86
msgstr ""
87
88
- #: my-calendar-categories.php:159 my-calendar-event-manager.php:652
89
- #: my-calendar.php:805
90
msgid "N/A"
91
msgstr ""
92
93
- #: my-calendar-categories.php:162
94
msgid "Are you sure you want to delete this category?"
95
msgstr ""
96
97
- #: my-calendar-categories.php:173
98
msgid "There are no categories in the database - something has gone wrong!"
99
msgstr ""
100
@@ -113,301 +113,323 @@ msgid ""
113
"\"http://www.joedolson.com/contact.php\">please contact me</a>!"
114
msgstr ""
115
116
- #: my-calendar-event-manager.php:52
117
msgid "Delete Event"
118
msgstr ""
119
120
- #: my-calendar-event-manager.php:52
121
msgid "Are you sure you want to delete this event?"
122
msgstr ""
123
124
- #: my-calendar-event-manager.php:123 my-calendar-event-manager.php:128
125
- #: my-calendar-event-manager.php:133 my-calendar-event-manager.php:143
126
- #: my-calendar-event-manager.php:151 my-calendar-event-manager.php:159
127
- #: my-calendar-event-manager.php:167 my-calendar-event-manager.php:198
128
- #: my-calendar-event-manager.php:289 my-calendar-event-manager.php:294
129
- #: my-calendar-event-manager.php:299 my-calendar-event-manager.php:309
130
- #: my-calendar-event-manager.php:317 my-calendar-event-manager.php:325
131
- #: my-calendar-event-manager.php:333 my-calendar-event-manager.php:398
132
- #: my-calendar-event-manager.php:413
133
msgid "Error"
134
msgstr ""
135
136
- #: my-calendar-event-manager.php:123 my-calendar-event-manager.php:289
137
msgid ""
138
"Your event end date must be either after or the same as your event begin date"
139
msgstr ""
140
141
- #: my-calendar-event-manager.php:128 my-calendar-event-manager.php:294
142
msgid ""
143
"Your date formatting is correct but one or more of your dates is invalid. "
144
"Check for number of days in month and leap year related errors."
145
msgstr ""
146
147
- #: my-calendar-event-manager.php:133 my-calendar-event-manager.php:299
148
msgid ""
149
"Both start and end dates must be entered and be in the format YYYY-MM-DD"
150
msgstr ""
151
152
- #: my-calendar-event-manager.php:143 my-calendar-event-manager.php:309
153
msgid "The time field must either be blank or be entered in the format hh:mm"
154
msgstr ""
155
156
- #: my-calendar-event-manager.php:151 my-calendar-event-manager.php:317
157
msgid ""
158
"The URL entered must either be prefixed with http:// or be completely blank"
159
msgstr ""
160
161
- #: my-calendar-event-manager.php:159 my-calendar-event-manager.php:325
162
- msgid ""
163
- "The event title must be between 1 and 60 characters in length. Some "
164
- "punctuation characters may not be allowed."
165
msgstr ""
166
167
- #: my-calendar-event-manager.php:167 my-calendar-event-manager.php:333
168
msgid ""
169
"The repetition value must be 0 unless a type of recurrance is selected in "
170
"which case the repetition value must be 0 or higher"
171
msgstr ""
172
173
- #: my-calendar-event-manager.php:198
174
msgid ""
175
"An event with the details you submitted could not be found in the database. "
176
"This may indicate a problem with your database or the way in which it is "
177
"configured."
178
msgstr ""
179
180
- #: my-calendar-event-manager.php:202
181
msgid "Event added. It will now show in your calendar."
182
msgstr ""
183
184
- #: my-calendar-event-manager.php:266 my-calendar-event-manager.php:365
185
msgid "Failure"
186
msgstr ""
187
188
- #: my-calendar-event-manager.php:266
189
msgid "You can't update an event if you haven't submitted an event id"
190
msgstr ""
191
192
- #: my-calendar-event-manager.php:365
193
msgid ""
194
"The database failed to return data to indicate the event has been updated "
195
"sucessfully. This may indicate a problem with your database or the way in "
196
"which it is configured."
197
msgstr ""
198
199
- #: my-calendar-event-manager.php:369
200
msgid "Event updated successfully"
201
msgstr ""
202
203
- #: my-calendar-event-manager.php:398
204
msgid "You can't delete an event if you haven't submitted an event id"
205
msgstr ""
206
207
- #: my-calendar-event-manager.php:409
208
msgid "Event deleted successfully"
209
msgstr ""
210
211
- #: my-calendar-event-manager.php:413
212
msgid ""
213
"Despite issuing a request to delete, the event still remains in the "
214
"database. Please investigate."
215
msgstr ""
216
217
- #: my-calendar-event-manager.php:428 my-calendar-event-manager.php:482
218
msgid "Edit Event"
219
msgstr ""
220
221
- #: my-calendar-event-manager.php:432
222
msgid "You must provide an event id in order to edit it"
223
msgstr ""
224
225
- #: my-calendar-event-manager.php:438
226
msgid "Add Event"
227
msgstr ""
228
229
- #: my-calendar-event-manager.php:443
230
msgid "Manage Events"
231
msgstr ""
232
233
- #: my-calendar-event-manager.php:460
234
msgid "Sorry! That's an invalid event key."
235
msgstr ""
236
237
- #: my-calendar-event-manager.php:465
238
msgid "Sorry! We couldn't find an event with that ID."
239
msgstr ""
240
241
- #: my-calendar-event-manager.php:482
242
msgid "Add an Event"
243
msgstr ""
244
245
- #: my-calendar-event-manager.php:490
246
msgid "Enter your Event Information"
247
msgstr ""
248
249
- #: my-calendar-event-manager.php:492
250
msgid "Event Title"
251
msgstr ""
252
253
- #: my-calendar-event-manager.php:495
254
msgid ""
255
"Event Description (<abbr title=\"hypertext markup language\">HTML</abbr> "
256
"allowed)"
257
msgstr ""
258
259
- #: my-calendar-event-manager.php:498
260
msgid "Event Category"
261
msgstr ""
262
263
- #: my-calendar-event-manager.php:517
264
msgid "Event Link (Optional)"
265
msgstr ""
266
267
- #: my-calendar-event-manager.php:520
268
msgid "Start Date (YYYY-MM-DD)"
269
msgstr ""
270
271
- #: my-calendar-event-manager.php:523
272
msgid "End Date (YYYY-MM-DD) (Optional)"
273
msgstr ""
274
275
- #: my-calendar-event-manager.php:526
276
msgid "Time (hh:mm)"
277
msgstr ""
278
279
- #: my-calendar-event-manager.php:537
280
msgid ""
281
"Optional, set blank if your event is an all-day event or does not happen at "
282
"a specific time."
283
msgstr ""
284
285
- #: my-calendar-event-manager.php:537
286
msgid "Current time difference from GMT is "
287
msgstr ""
288
289
- #: my-calendar-event-manager.php:537
290
msgid " hour(s)"
291
msgstr ""
292
293
- #: my-calendar-event-manager.php:541
294
msgid "Recurring Events"
295
msgstr ""
296
297
- #: my-calendar-event-manager.php:560
298
msgid "Repeats for"
299
msgstr ""
300
301
- #: my-calendar-event-manager.php:561
302
msgid "Units"
303
msgstr ""
304
305
- #: my-calendar-event-manager.php:568
306
msgid ""
307
"Entering 0 means forever, if a unit is selected. If the recurrance unit is "
308
"left at \"Does not recur,\" the event will not reoccur."
309
msgstr ""
310
311
- #: my-calendar-event-manager.php:575
312
msgid ""
313
"All location fields are optional: <em>insufficient information may result in "
314
"an inaccurate map</em>."
315
msgstr ""
316
317
- #: my-calendar-event-manager.php:578
318
msgid "Name of Location (e.g. <em>Joe's Bar and Grill</em>)"
319
msgstr ""
320
321
- #: my-calendar-event-manager.php:581
322
msgid "Street Address"
323
msgstr ""
324
325
- #: my-calendar-event-manager.php:584
326
msgid "Street Address (2)"
327
msgstr ""
328
329
- #: my-calendar-event-manager.php:587
330
msgid "City"
331
msgstr ""
332
333
- #: my-calendar-event-manager.php:587
334
msgid "State/Province"
335
msgstr ""
336
337
- #: my-calendar-event-manager.php:587
338
msgid "Postal Code"
339
msgstr ""
340
341
- #: my-calendar-event-manager.php:590
342
msgid "Country"
343
msgstr ""
344
345
- #: my-calendar-event-manager.php:595
346
msgid "Save Event"
347
msgstr ""
348
349
- #: my-calendar-event-manager.php:617 my-calendar-widgets.php:32
350
- #: my-calendar-widgets.php:108
351
msgid "Title"
352
msgstr ""
353
354
- #: my-calendar-event-manager.php:618
355
msgid "Description"
356
msgstr ""
357
358
- #: my-calendar-event-manager.php:619
359
msgid "Start Date"
360
msgstr ""
361
362
- #: my-calendar-event-manager.php:621
363
msgid "Recurs"
364
msgstr ""
365
366
- #: my-calendar-event-manager.php:622
367
msgid "Repeats"
368
msgstr ""
369
370
- #: my-calendar-event-manager.php:623 my-calendar-settings.php:152
371
msgid "Author"
372
msgstr ""
373
374
- #: my-calendar-event-manager.php:624
375
msgid "Category"
376
msgstr ""
377
378
- #: my-calendar-event-manager.php:625
379
msgid "Edit / Delete"
380
msgstr ""
381
382
- #: my-calendar-event-manager.php:642
383
msgid "Never"
384
msgstr ""
385
386
- #: my-calendar-event-manager.php:643
387
- msgid "Daily"
388
- msgstr ""
389
-
390
- #: my-calendar-event-manager.php:644
391
- msgid "Weekly"
392
- msgstr ""
393
-
394
- #: my-calendar-event-manager.php:645
395
- msgid "Monthly"
396
msgstr ""
397
398
- #: my-calendar-event-manager.php:646
399
msgid "Yearly"
400
msgstr ""
401
402
- #: my-calendar-event-manager.php:653
403
msgid "Forever"
404
msgstr ""
405
406
- #: my-calendar-event-manager.php:654
407
msgid "Times"
408
msgstr ""
409
410
- #: my-calendar-event-manager.php:672
411
msgid "There are no events in the database!"
412
msgstr ""
413
@@ -438,11 +460,28 @@ msgid ""
438
"being displayed &mdash; this can be useful with single-category output."
439
msgstr ""
440
441
- #: my-calendar-help.php:27
442
msgid "Category Icons"
443
msgstr ""
444
445
- #: my-calendar-help.php:30
446
msgid ""
447
"My Calendar is designed to manage multiple calendars. The basis for these "
448
"calendars are categories; you can easily setup a calendar page which "
@@ -452,101 +491,106 @@ msgid ""
452
"locations, etc."
453
msgstr ""
454
455
- #: my-calendar-help.php:33
456
msgid ""
457
"The pre-installed category icons may not be especially useful for your needs "
458
"or design. I'm assuming that you're going to upload your own icons -- all "
459
"you need to do is upload them to the plugin's icons folder, and they'll be "
460
- "available for immediate use."
461
msgstr ""
462
463
- #: my-calendar-help.php:33
464
msgid "Your icons folder is:"
465
msgstr ""
466
467
- #: my-calendar-help.php:41
468
msgid "Widget Templating"
469
msgstr ""
470
471
- #: my-calendar-help.php:44
472
msgid ""
473
"These codes are available in calendar widgets to create your own custom "
474
"calendar format."
475
msgstr ""
476
477
- #: my-calendar-help.php:48
478
msgid "Displays the name of the category the event is in."
479
msgstr ""
480
481
- #: my-calendar-help.php:51
482
msgid "Displays the title of the event."
483
msgstr ""
484
485
- #: my-calendar-help.php:54
486
msgid "Displays the start time for the event."
487
msgstr ""
488
489
- #: my-calendar-help.php:57
490
msgid "Displays the date on which the event begins."
491
msgstr ""
492
493
- #: my-calendar-help.php:60
494
msgid "Displays the date on which the event ends."
495
msgstr ""
496
497
- #: my-calendar-help.php:63
498
msgid "Displays the WordPress author who posted the event."
499
msgstr ""
500
501
- #: my-calendar-help.php:66
502
msgid "Displays the URL provided for the event."
503
msgstr ""
504
505
- #: my-calendar-help.php:69
506
msgid "Displays the description of the event."
507
msgstr ""
508
509
- #: my-calendar-help.php:72
510
msgid ""
511
"Displays title of the event as a link if a URL is present, or the title "
512
"alone if no URL is available."
513
msgstr ""
514
515
- #: my-calendar-help.php:75
516
msgid "Displays the name of the location of the event."
517
msgstr ""
518
519
- #: my-calendar-help.php:78
520
msgid "Displays the first line of the site address."
521
msgstr ""
522
523
- #: my-calendar-help.php:81
524
msgid "Displays the second line of the site address."
525
msgstr ""
526
527
- #: my-calendar-help.php:84
528
msgid "Displays the city for the event."
529
msgstr ""
530
531
- #: my-calendar-help.php:87
532
msgid "Displays the state for the event."
533
msgstr ""
534
535
- #: my-calendar-help.php:90
536
msgid "Displays the postcode for the event."
537
msgstr ""
538
539
- #: my-calendar-help.php:93
540
msgid "Displays the country for the event location."
541
msgstr ""
542
543
- #: my-calendar-help.php:96
544
msgid ""
545
"Displays the event address in <a href=\"http://microformats.org/wiki/hcard"
546
"\">hcard</a> format."
547
msgstr ""
548
549
- #: my-calendar-help.php:99
550
msgid ""
551
"Displays a link to a Google Map of the event, if sufficient address "
552
"information is available. If not, will be empty."
@@ -680,47 +724,55 @@ msgstr ""
680
msgid "Today's Events"
681
msgstr ""
682
683
- #: my-calendar-widgets.php:36 my-calendar-widgets.php:112
684
msgid "Template"
685
msgstr ""
686
687
- #: my-calendar-widgets.php:56 my-calendar-widgets.php:135
688
- #: my-calendar-widgets.php:136
689
msgid "Upcoming Events"
690
msgstr ""
691
692
- #: my-calendar-widgets.php:116
693
msgid "Widget Options"
694
msgstr ""
695
696
- #: my-calendar-widgets.php:118
697
msgid "Display upcoming events by:"
698
msgstr ""
699
700
- #: my-calendar-widgets.php:119
701
msgid "Events (e.g. 2 past, 3 future)"
702
msgstr ""
703
704
- #: my-calendar-widgets.php:120
705
msgid "Dates (e.g. 4 days past, 5 forward)"
706
msgstr ""
707
708
- #: my-calendar-widgets.php:124
709
msgid "events into the future;"
710
msgstr ""
711
712
- #: my-calendar-widgets.php:125
713
msgid "events from the past"
714
msgstr ""
715
716
- #: my-calendar-widgets.php:128
717
msgid "days into the future;"
718
msgstr ""
719
720
- #: my-calendar-widgets.php:129
721
msgid "days from the past"
722
msgstr ""
723
724
#: my-calendar.php:46 my-calendar.php:128
725
msgid "Settings"
726
msgstr ""
@@ -733,7 +785,7 @@ msgstr ""
733
msgid "Make a Donation"
734
msgstr ""
735
736
- #. #-#-#-#-# plugin.pot (My Calendar 1.0.2) #-#-#-#-#
737
#. Plugin Name of the plugin/theme
738
#: my-calendar.php:120
739
msgid "My Calendar"
@@ -751,129 +803,129 @@ msgstr ""
751
msgid "Help"
752
msgstr ""
753
754
- #: my-calendar.php:671 my-calendar.php:675 my-calendar.php:685
755
- #: my-calendar.php:687
756
msgid "Next Events"
757
msgstr ""
758
759
- #: my-calendar.php:700 my-calendar.php:704 my-calendar.php:714
760
- #: my-calendar.php:716
761
msgid "Previous Events"
762
msgstr ""
763
764
- #: my-calendar.php:799
765
msgid "Event Details"
766
msgstr ""
767
768
- #: my-calendar.php:805
769
msgid "Not Applicable"
770
msgstr ""
771
772
- #: my-calendar.php:813
773
msgid "Posted by"
774
msgstr ""
775
776
- #: my-calendar.php:1297
777
msgid "Month"
778
msgstr ""
779
780
- #: my-calendar.php:1298 my-calendar.php:1361
781
msgid "January"
782
msgstr ""
783
784
- #: my-calendar.php:1299 my-calendar.php:1361
785
msgid "February"
786
msgstr ""
787
788
- #: my-calendar.php:1300 my-calendar.php:1361
789
msgid "March"
790
msgstr ""
791
792
- #: my-calendar.php:1301 my-calendar.php:1361
793
msgid "April"
794
msgstr ""
795
796
- #: my-calendar.php:1302 my-calendar.php:1361
797
msgid "May"
798
msgstr ""
799
800
- #: my-calendar.php:1303 my-calendar.php:1361
801
msgid "June"
802
msgstr ""
803
804
- #: my-calendar.php:1304 my-calendar.php:1361
805
msgid "July"
806
msgstr ""
807
808
- #: my-calendar.php:1305 my-calendar.php:1361
809
msgid "August"
810
msgstr ""
811
812
- #: my-calendar.php:1306 my-calendar.php:1361
813
msgid "September"
814
msgstr ""
815
816
- #: my-calendar.php:1307 my-calendar.php:1361
817
msgid "October"
818
msgstr ""
819
820
- #: my-calendar.php:1308 my-calendar.php:1361
821
msgid "November"
822
msgstr ""
823
824
- #: my-calendar.php:1309 my-calendar.php:1361
825
msgid "December"
826
msgstr ""
827
828
- #: my-calendar.php:1311
829
msgid "Year"
830
msgstr ""
831
832
- #: my-calendar.php:1336
833
msgid "Go"
834
msgstr ""
835
836
- #: my-calendar.php:1354 my-calendar.php:1357
837
msgid "<abbr title=\"Sunday\">Sun</abbr>"
838
msgstr ""
839
840
- #: my-calendar.php:1354 my-calendar.php:1357
841
msgid "<abbr title=\"Monday\">Mon</abbr>"
842
msgstr ""
843
844
- #: my-calendar.php:1354 my-calendar.php:1357
845
msgid "<abbr title=\"Tuesday\">Tues</abbr>"
846
msgstr ""
847
848
- #: my-calendar.php:1354 my-calendar.php:1357
849
msgid "<abbr title=\"Wednesday\">Wed</abbr>"
850
msgstr ""
851
852
- #: my-calendar.php:1354 my-calendar.php:1357
853
msgid "<abbr title=\"Thursday\">Thur</abbr>"
854
msgstr ""
855
856
- #: my-calendar.php:1354 my-calendar.php:1357
857
msgid "<abbr title=\"Friday\">Fri</abbr>"
858
msgstr ""
859
860
- #: my-calendar.php:1354 my-calendar.php:1357
861
msgid "<abbr title=\"Saturday\">Sat</abbr>"
862
msgstr ""
863
864
- #: my-calendar.php:1443 my-calendar.php:1446
865
msgid "Calendar"
866
msgstr ""
867
868
- #: my-calendar.php:1450
869
msgid "Events in"
870
msgstr ""
871
872
- #: my-calendar.php:1559
873
msgid "There are no events scheduled during this period."
874
msgstr ""
875
876
- #: my-calendar.php:1569
877
msgid "Category Key"
878
msgstr ""
879
1
+ # Translation of the WordPress plugin My Calendar 1.1.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.
6
#, fuzzy
7
msgid ""
8
msgstr ""
9
+ "Project-Id-Version: My Calendar 1.1.0\n"
10
"Report-Msgid-Bugs-To: http://wordpress.org/tag/my-calendar\n"
11
+ "POT-Creation-Date: 2010-05-10 18:21+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"
16
"Content-Type: text/plain; charset=utf-8\n"
17
"Content-Transfer-Encoding: 8bit\n"
18
19
+ #: my-calendar-categories.php:37
20
msgid "Category added successfully"
21
msgstr ""
22
23
+ #: my-calendar-categories.php:43
24
msgid "Category deleted successfully"
25
msgstr ""
26
27
+ #: my-calendar-categories.php:48 my-calendar-categories.php:60
28
msgid "Edit Category"
29
msgstr ""
30
31
+ #: my-calendar-categories.php:52
32
msgid "Category Editor"
33
msgstr ""
34
35
+ #: my-calendar-categories.php:61 my-calendar-categories.php:114
36
+ #: my-calendar-categories.php:152
37
msgid "Category Name"
38
msgstr ""
39
40
+ #: my-calendar-categories.php:62 my-calendar-categories.php:115
41
msgid "Category Color (Hex format)"
42
msgstr ""
43
44
+ #: my-calendar-categories.php:63 my-calendar-categories.php:116
45
+ #: my-calendar-categories.php:154
46
msgid "Category Icon"
47
msgstr ""
48
49
+ #: my-calendar-categories.php:85
50
msgid "Save Changes"
51
msgstr ""
52
53
+ #: my-calendar-categories.php:95
54
msgid "Category edited successfully"
55
msgstr ""
56
57
+ #: my-calendar-categories.php:101 my-calendar-categories.php:113
58
+ #: my-calendar-categories.php:133
59
msgid "Add Category"
60
msgstr ""
61
62
+ #: my-calendar-categories.php:105
63
msgid "Add New Category"
64
msgstr ""
65
66
+ #: my-calendar-categories.php:139 my-calendar.php:127
67
msgid "Manage Categories"
68
msgstr ""
69
70
+ #: my-calendar-categories.php:151 my-calendar-event-manager.php:643
71
msgid "ID"
72
msgstr ""
73
74
+ #: my-calendar-categories.php:153
75
msgid "Category Color"
76
msgstr ""
77
78
+ #: my-calendar-categories.php:155 my-calendar-categories.php:169
79
+ #: my-calendar-event-manager.php:695
80
msgid "Edit"
81
msgstr ""
82
83
+ #: my-calendar-categories.php:156 my-calendar-categories.php:175
84
+ #: my-calendar-event-manager.php:58 my-calendar-event-manager.php:695
85
msgid "Delete"
86
msgstr ""
87
88
+ #: my-calendar-categories.php:172 my-calendar-event-manager.php:681
89
+ #: my-calendar.php:883
90
msgid "N/A"
91
msgstr ""
92
93
+ #: my-calendar-categories.php:175
94
msgid "Are you sure you want to delete this category?"
95
msgstr ""
96
97
+ #: my-calendar-categories.php:186
98
msgid "There are no categories in the database - something has gone wrong!"
99
msgstr ""
100
113
"\"http://www.joedolson.com/contact.php\">please contact me</a>!"
114
msgstr ""
115
116
+ #: my-calendar-event-manager.php:53
117
msgid "Delete Event"
118
msgstr ""
119
120
+ #: my-calendar-event-manager.php:53
121
msgid "Are you sure you want to delete this event?"
122
msgstr ""
123
124
+ #: my-calendar-event-manager.php:66
125
+ msgid "You do not have permission to delete that event."
126
+ msgstr ""
127
+
128
+ #: my-calendar-event-manager.php:131 my-calendar-event-manager.php:136
129
+ #: my-calendar-event-manager.php:141 my-calendar-event-manager.php:151
130
+ #: my-calendar-event-manager.php:159 my-calendar-event-manager.php:168
131
+ #: my-calendar-event-manager.php:176 my-calendar-event-manager.php:207
132
+ #: my-calendar-event-manager.php:302 my-calendar-event-manager.php:307
133
+ #: my-calendar-event-manager.php:312 my-calendar-event-manager.php:322
134
+ #: my-calendar-event-manager.php:330 my-calendar-event-manager.php:339
135
+ #: my-calendar-event-manager.php:347 my-calendar-event-manager.php:419
136
+ #: my-calendar-event-manager.php:434
137
msgid "Error"
138
msgstr ""
139
140
+ #: my-calendar-event-manager.php:131 my-calendar-event-manager.php:302
141
msgid ""
142
"Your event end date must be either after or the same as your event begin date"
143
msgstr ""
144
145
+ #: my-calendar-event-manager.php:136 my-calendar-event-manager.php:307
146
msgid ""
147
"Your date formatting is correct but one or more of your dates is invalid. "
148
"Check for number of days in month and leap year related errors."
149
msgstr ""
150
151
+ #: my-calendar-event-manager.php:141 my-calendar-event-manager.php:312
152
msgid ""
153
"Both start and end dates must be entered and be in the format YYYY-MM-DD"
154
msgstr ""
155
156
+ #: my-calendar-event-manager.php:151 my-calendar-event-manager.php:322
157
msgid "The time field must either be blank or be entered in the format hh:mm"
158
msgstr ""
159
160
+ #: my-calendar-event-manager.php:159 my-calendar-event-manager.php:330
161
msgid ""
162
"The URL entered must either be prefixed with http:// or be completely blank"
163
msgstr ""
164
165
+ #: my-calendar-event-manager.php:168 my-calendar-event-manager.php:339
166
+ msgid "The event title must be between 1 and 60 characters in length."
167
msgstr ""
168
169
+ #: my-calendar-event-manager.php:176 my-calendar-event-manager.php:347
170
msgid ""
171
"The repetition value must be 0 unless a type of recurrance is selected in "
172
"which case the repetition value must be 0 or higher"
173
msgstr ""
174
175
+ #: my-calendar-event-manager.php:207
176
msgid ""
177
"An event with the details you submitted could not be found in the database. "
178
"This may indicate a problem with your database or the way in which it is "
179
"configured."
180
msgstr ""
181
182
+ #: my-calendar-event-manager.php:211
183
msgid "Event added. It will now show in your calendar."
184
msgstr ""
185
186
+ #: my-calendar-event-manager.php:279 my-calendar-event-manager.php:378
187
msgid "Failure"
188
msgstr ""
189
190
+ #: my-calendar-event-manager.php:279
191
msgid "You can't update an event if you haven't submitted an event id"
192
msgstr ""
193
194
+ #: my-calendar-event-manager.php:378
195
msgid ""
196
"The database failed to return data to indicate the event has been updated "
197
"sucessfully. This may indicate a problem with your database or the way in "
198
"which it is configured."
199
msgstr ""
200
201
+