aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Hu <jimhu@users.sourceforge.net>2008-12-20 00:11:55 +0000
committerJim Hu <jimhu@users.sourceforge.net>2008-12-20 00:11:55 +0000
commitedd9a9fd1a3451f7868400fcf9d2ebe0cf563c51 (patch)
tree18b9a217dcc678e2ae4600d25b55fc467a8a2c97
parent8ad2eb254717b68f4413da74e75639d48e648fab (diff)
downloadphpicalendar-edd9a9fd1a3451f7868400fcf9d2ebe0cf563c51.zip
phpicalendar-edd9a9fd1a3451f7868400fcf9d2ebe0cf563c51.tar.gz
phpicalendar-edd9a9fd1a3451f7868400fcf9d2ebe0cf563c51.tar.bz2
fix rss link and dates
-rw-r--r--AUTHORS70
-rw-r--r--README5
-rw-r--r--functions/ical_parser.php5
-rw-r--r--functions/init/cpaths.php3
-rw-r--r--languages/danish.inc.php304
-rw-r--r--languages/spanish.inc.php417
-rwxr-xr-xrss/rss1.0.php4
-rw-r--r--rss/rss2.0.php4
-rw-r--r--rss/rss_common.php4
9 files changed, 428 insertions, 388 deletions
diff --git a/AUTHORS b/AUTHORS
index 2d9070f..bff1ef3 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -1,41 +1,59 @@
AUTHORS
-------
This file is a list of all people who have contributed their time to the
-PHP iCalendar project. Each section is sorted alphabetically. Thanks to
-all who are listed here.
+PHP iCalendar project. Each section is sorted alphabetically dot Thanks to
+all who are listed here.
+
+PHP iCalendar was originally written and administered by Chad Little dot Jim Hu has been the main project admin since
PROJECT ADMINS
--------------
-Chad Little <chad at chadsdomain dot com>
-Patrick Crowley <patrick at icalshare dot com>
+Jim Hu <phpicalendar at gmail dot com>
DEVELOPERS
----------
-Patrick Berry <pberry at mac dot com>
-Bill Fenner <fenner at research dot att dot com>
-David Reindl <dre at andare dot ch>
-Jared Wangen <xeo at silter dot org>
+Patrick Berry <pberry at mac dot com>
+Patrick Crowley <patrick at icalshare dot com>
+Bill Fenner <fenner at research dot att dot com>
+Jim Hu <phpicalendar at gmail dot com>
+Chad Little <chad at chadsdomain dot com>
+David Reindl <dre at andare dot ch>
+Jared Wangen <xeo at silter dot org>
CODE CONTRIBUTORS
-----------------
-Greg Westin <phpicalendar at gregwestin dot com>
-Blaine Cook <lattice at resist dot ca>
-Mike Traum <mtraum at yahoo dot com>
+Greg Westin <phpicalendar at gregwestin dot com>
+Blaine Cook <lattice at resist dot ca>
+Mike Traum <mtraum at yahoo dot com>
TRANSLATORS
-----------
-Braz. Port. Bennet Wilton <suporte at bennetworks dot com dot br>
-Danish Henrik Højmark <styxx at worldonline dot dk>
- Jakob Peterhänsel <marook at creepers dot org>
-Dutch Lieven Gekiere <Lieven at gekiere dot com>
-English Chad Little <chad at chadsdomain dot com>
-Finnish Kari Somby <kari dot somby at ramk dot fi>
-French La Shampouineuse <info at lashampoo dot com>
-German David Reindl <dre at andare dot ch>
-Italian Luca Cacciagrano <clooka at clac dot it>
-Japanese Jared Wangen <jared at silter dot org>
-Norwegian Geir Kielland <geir dot kielland at jus dot uio dot no>
-Polish Stanislaw Cieslicki <stahoo at poczta dot onet dot pl>
-Portuguese Rui Costa <ruicosta at ubi dot pt>
-Spanish Javier Navarro <jnavarro at xips dot es>
-Swedish Jonas Hjelm <jonas at hnet dot se>
+Braz.Port. Bennet Wilton <suporte at bennetworks dot com dot br>
+Bulgarian Georgi Kodinov <kgeorge at progem dot bg
+Croation Tihomir Cvetkovic <tihomir dot cvetkovic at gmail dot com>
+Danish Henrik Højmark <styxx at worldonline dot dk>
+ Jakob Peterhänsel <marook at creepers dot org>
+ Franck <reply at fronck dot dk>
+Dutch Lieven Gekiere <Lieven at gekiere dot com>
+English Chad Little <chad at chadsdomain dot com>
+English (UK) Markus Kuhn <Markus dot Kuhn at cl dot cam dot ac dot uk>
+Estonian Mikk Lainvoo <mikk at digesto dot ee>
+Finnish Kari Somby <kari dot somby at ramk dot fi>
+French La Shampouineuse <info at lashampoo dot com>
+Galego Manel Rives <ceipsigueiro at mac dot com
+German David Reindl <dre at andare dot ch>
+ Markus Kuhn <Markus dot Kuhn at cl dot cam dot ac dot uk>
+Hungarian Gyula <meszaros dot gyula at mgyhardsoft dot hu>
+Italian Luca Cacciagrano <clooka at clac dot it>
+Indonesian Ronny as-Salafi <ronny dot assalafi at gmail dot com>
+Japanese Jared Wangen <jared at silter dot org>
+Korean Sang-un Chan <gomibak at gmail dot com>
+Norwegian Geir Kielland <geir dot kielland at jus dot uio dot no>
+Polish Stanislaw Cieslicki <stahoo at poczta dot onet dot pl>
+Portuguese Rui Costa <ruicosta at ubi dot pt>
+ Luciano Antonio Costa <bits dot e dot bytes at gmail dot com>
+Slovak Jan Michalicka contact@jimi.sk
+Spanish Javier Navarro <jnavarro at xips dot es>
+ Luis Fernando Rocha <ludwig_von_rocht at yahoo dot com>
+Russian Sergey <1c@3555686 dot com>
+Swedish Jonas Hjelm <jonas at hnet dot se>
diff --git a/README b/README
index 805034b..1602ffe 100644
--- a/README
+++ b/README
@@ -88,6 +88,11 @@ COPYING for more information about our license.
Changes:
--------
+2.3 Major changes to recurrence handling
+ Added more languages
+ Added login to month view
+ Consolidated common rss functions
+
2.24
Fix bug 1681711 - change how todo popups are handled
Fix bug 1632649 - year display
diff --git a/functions/ical_parser.php b/functions/ical_parser.php
index ce1f6b6..c52594d 100644
--- a/functions/ical_parser.php
+++ b/functions/ical_parser.php
@@ -463,7 +463,8 @@ $cal_displayname = urldecode(implode(', ', $cal_displaynames)); #reset this with
$template_started = getmicrotime();
//If you want to see the values in the arrays, uncomment below.
-//print '<pre>';
+#print '<pre>';
+#var_dump($phpiCal_config);
//print_r($master_array);
//print_r($overlap_array);
//print_r($day_array);
@@ -473,5 +474,5 @@ $template_started = getmicrotime();
//print_r($cal_displaynames);
//print_r($cal_filelist);
//print_r($tz_array);
-//print '</pre>';
+#print '</pre>';
?> \ No newline at end of file
diff --git a/functions/init/cpaths.php b/functions/init/cpaths.php
index dd6ae45..c1ab50b 100644
--- a/functions/init/cpaths.php
+++ b/functions/init/cpaths.php
@@ -1,7 +1,8 @@
<?php
# adjust paths in case they are incorrect
if ($phpiCal_config->default_path == '') {
- $phpiCal_config->setProperty('default_path', BASE);
+ $p = str_replace("/rss","","http://".$_SERVER['SERVER_NAME'].dirname($_SERVER['PHP_SELF']) );
+ $phpiCal_config->setProperty('default_path', $p);
}
#cpath modifies the calendar path based on the url or cookie values. This allows you to run multiple calendar subsets from a single phpicalendar installation. Operations on cpath are largely hidden from the end user.
diff --git a/languages/danish.inc.php b/languages/danish.inc.php
index 4503f3c..b017785 100644
--- a/languages/danish.inc.php
+++ b/languages/danish.inc.php
@@ -1,150 +1,161 @@
<?php
-// Danish language include
-// For version 1.0 PHP iCalendar
+// English language include
+// For version 2.0 PHP iCalendar
//
-// Translation by Henrik H�jmark (styxx@worldonline.dk)
-// and Jakob Peterh�nsel (marook@creepers.org)
+// Translation by Chad Little (chad@chadsdomain.com)
//
-// Submit new translations to chad@chadsdomain.com
-
-$day_lang = 'Dag';
-$week_lang = 'Uge';
-$month_lang = 'M&aring;ned';
-$year_lang = '&Aring;r';
-$calendar_lang = 'kalender';
-$next_day_lang = 'N&aelig;ste dag';
-$next_month_lang = 'N&aelig;ste m&aring;ned';
-$next_week_lang = 'N&aelig;ste uge';
-$next_year_lang = 'N&aelig;ste &aring;r';
-$last_day_lang = 'Forrige dag';
-$last_month_lang = 'Forrige m&aring;ned';
-$last_week_lang = 'Forrige uge';
-$last_year_lang = 'Forrige &aring;r';
-$subscribe_lang = 'Abonn&eacute;r';
-$download_lang = 'Hent';
-$powered_by_lang = 'Drevet af';
-$event_lang = 'Aftale';
-$event_start_lang = 'Start tidspunkt';
-$event_end_lang = 'Slut tidspunkt';
-$this_months_lang = 'Denne m&aring;neds aftaler';
-$date_lang = 'Dato';
-$summary_lang = 'Opsummering';
-$all_day_lang = 'Heldags aftale';
-$notes_lang = 'Noter';
-$this_years_lang = 'Dette &aring;s aftaler';
-$today_lang = 'I dag';
-$this_week_lang = 'Denne uge';
-$this_month_lang = 'Denne m&aring;ned';
-$jump_lang = 'G&aring; til';
-$tomorrows_lang = 'N&aelig;ste dags aftaler';
-$goday_lang = 'G&aring; til i dag';
-$goweek_lang = 'G&aring; til denne uge';
-$gomonth_lang = 'G&aring; til denne m&aring;ned';
-$goyear_lang = 'G&aring; til dette &aring;r';
-$search_lang = 'S&oslash;g'; // the verb
-$results_lang = 'S&oskash;ge resultater';
-$query_lang = 'S&oslash;gekriterier: '; // will be followed by the search query
-$no_results_lang = 'Der er ikke fundet nogen aftaler';
-$goprint_lang = 'Udskriftsvenligt';
-$time_lang = 'Tid';
-$summary_lang = 'Opsummering';
-$description_lang = 'Beskrivelse';
-$this_site_is_lang = 'Denne webadresse er';
-$no_events_day_lang = 'Ingen aftaler i dag.';
-$no_events_week_lang = 'Ingen aftaler i denne uge.';
-$no_events_month_lang = 'Ingen aftaler i denne m&aring;ned.';
-$rss_day_date = 'g:i A'; // Lists just the time
-$rss_week_date = '%b %e'; // Lists just the day
-$rss_month_date = '%b %e'; // Lists just the day
-$search_took_lang = 'S&oslash;gningen tog %s sekunder';
-$recurring_event_lang = 'Gentagen aftale';
-$exception_lang = 'Undtagelse';
-$no_query_lang = 'Der er ingen forsp&oslash;rgsel';
-$preferences_lang = 'Indstillinger';
-$printer_lang = 'Printer';
-$select_lang_lang = 'V&aelig;lg sprog:';
-$select_cal_lang = 'V&aelig;lg kalender:';
-$select_view_lang = 'V&aelig;lg visning:';
-$select_time_lang = 'V&aelig;lg starttidspunkt :';
-$select_day_lang = 'V&aelig;lg startdag:';
-$select_style_lang = 'V&aelig;lg stil :';
-$set_prefs_lang = 'Gem indstillinger';
-$completed_date_lang = 'Afsluttet p&aring;';
-$completed_lang = 'Afsluttet';
-$created_lang = 'Lavet:';
-$due_lang = 'Klar:';
-$priority_lang = 'Prioritet:';
-$priority_high_lang = 'H&oslash;j';
-$priority_low_lang = 'Lav';
-$priority_medium_lang = 'Medium';
-$priority_none_lang = 'Ingen';
-$status_lang = 'Status';
-$todo_lang = 'Ting der skal g&oslash;res';
-$unfinished_lang = 'Uafsluttet';
-$prefs_set_lang = 'Dine indstillinger er gemt.'; //Your preferences have been set.
-$prefs_unset_lang = 'Indstillinger fjernet. &AElig;ndringer er synlig ved n&aelig;ste sidevisning.'; //Preferences unset. Changes will take place next page load.
-$unset_prefs_lang = 'Unset preferences:';
-$organizer_lang = 'Organizer';
-$attendee_lang = 'Attendee';
-$location_lang = 'Location';
-$admin_header_lang = 'PHP iCalendar Administration';
-$username_lang = 'Username';
-$password_lang = 'Password';
-$login_lang = 'Login';
-$invalid_login_lang = 'Wrong username or password.';
-$addupdate_cal_lang = 'Add or Update a Calendar';
-$addupdate_desc_lang = 'Add a calendar by uploading a new file. Update a calendar by uploading a file of the same name.';
-$delete_cal_lang = 'Delete a Calendar';
-$logout_lang = 'Logout';
-$cal_file_lang = 'Calendar File';
-$php_error_lang = 'PHP Error';
-$upload_error_gen_lang = 'There was a problem with your upload.';
-$upload_error_lang[0] = 'There was a problem with your upload.';
-$upload_error_lang[1] = 'The file you are trying to upload is too big.';
-$upload_error_lang[2] = 'The file you are trying to upload is too big.';
-$upload_error_lang[3] = 'The file you are trying upload was only partially uploaded.';
-$upload_error_lang[4] = 'You must select a file for upload.';
-$upload_error_type_lang = 'Only .ics files may be uploaded.';
-$copy_error_lang = 'Failed to copy file';
-$delete_error_lang = 'Failed to delete file';
-$delete_success_lang = 'was deleted successfully.';
-$action_success_lang = 'Your action was successful.';
-$submit_lang = 'Submit';
-$delete_lang = 'Delete';
-
-// ----- New for 1.0
-$all_cal_comb_lang = 'All calendars combined';
+// Submit new translations to phpicalendar@gmail.com
+
+$lang['l_day'] = 'Dag';
+$lang['l_week'] = 'Uge';
+$lang['l_month'] = 'M&aring;ned';
+$lang['l_year'] = '&Aring;r';
+$lang['l_calendar'] = 'Kalender';
+$lang['l_next_day'] = 'N&aelig;ste dag';
+$lang['l_next_month'] = 'N&aelig;ste m&aring;ned';
+$lang['l_next_week'] = 'N&aelig;ste uge';
+$lang['l_next_year'] = 'N&aelig;ste &aring;r';
+$lang['l_last_day'] = 'Forrige dag';
+$lang['l_last_month'] = 'Forrige m&aring;ned';
+$lang['l_last_week'] = 'Forrige uge';
+$lang['l_last_year'] = 'Forrige &Aring;r';
+$lang['l_subscribe'] = 'Abonn&eacute;r';
+$lang['l_download'] = 'Download';
+$lang['l_powered_by'] = 'Powered by';
+$lang['l_event'] = 'Event';
+$lang['l_event_start'] = 'Starttid';
+$lang['l_event_end'] = 'Sluttid';
+$lang['l_this_months'] = 'Denne m&aring;neds events';
+$lang['l_date'] = 'Dato';
+$lang['l_summary'] = 'Summary';
+$lang['l_all_day'] = 'Heldags-event';
+$lang['l_notes'] = 'Noter';
+$lang['l_this_years'] = 'Dette &aring;rs events';
+$lang['l_today'] = 'Idag';
+$lang['l_this_week'] = 'Denne uge';
+$lang['l_this_month'] = 'Denne m&aring;ned';
+$lang['l_jump'] = 'G&aring; til';
+$lang['l_tomorrows'] = 'Events imorgen';
+$lang['l_goday'] = 'G&aring; til idag';
+$lang['l_goweek'] = 'G&aring; til denne uge';
+$lang['l_gomonth'] = 'G&aring; til denne m&aring;ned';
+$lang['l_goyear'] = 'G&aring; til dette &aring;r';
+$lang['l_search'] = 'S&oslash;g'; // the verb
+$lang['l_results'] = 'S&oslash;geresultater';
+$lang['l_pick_multiple'] = 'V&aelig;lg flere';
+$lang['l_query'] = 'Kriterie'; // will be followed by the search query
+$lang['l_no_results'] = 'Ingen events fundet';
+$lang['l_goprint'] = 'Printervenlig';
+$lang['l_time'] = 'Tid';
+$lang['l_summary'] = 'Summary';
+$lang['l_description'] = 'Beskrivelse';
+$lang['l_this_site_is'] = 'Dette site er';
+$lang['l_no_events_day'] = 'Ingen events idag.';
+$lang['l_no_events_week'] = 'Ingen events denne uge.';
+$lang['l_no_events_month'] = 'Ingen events denne m&aring;ned.';
+$lang['l_rss_day_date'] = 'g:i A'; // Lists just the time
+$lang['l_rss_week_date '] = '%b %e'; // Lists just the day
+$lang['l_rss_month_date '] = '%b %e'; // Lists just the day
+$lang['l_rss_language'] = 'en-us';
+$lang['l_search_took'] = 'S&oslash;gning tog %s sekunder';
+$lang['l_recurring_event'] = 'Tilbagevendende event';
+$lang['l_exception'] = 'Undtagelse';
+$lang['l_no_query'] = 'Ingen kriterier angivet';
+$lang['l_preferences'] = 'Indstillinger';
+$lang['l_printer'] = 'Printer';
+$lang['l_select_lang'] = 'V&aelig;lg dit standard-sprog';
+$lang['l_select_cal'] = 'V&aelig;lg din standard-kalender';
+$lang['l_select_view'] = 'V&aelig;lg dit standard-view';
+$lang['l_select_time'] = 'V&aelig;lg din standard-starttid';
+$lang['l_select_day'] = 'V&aelig;lg din f&oslash;rste dag i ugen';
+$lang['l_select_style'] = 'V&aelig;lg din standard-stil';
+$lang['l_set_prefs'] = 'Indstillinger';
+$lang['l_completed_date'] = 'Afsluttet d.';
+$lang['l_completed'] = 'Afsluttet';
+$lang['l_created'] = 'Oprettet';
+$lang['l_due'] = 'Forfald';
+$lang['l_priority'] = 'Prioritet';
+$lang['l_priority_high'] = 'H&oslash;j';
+$lang['l_priority_low'] = 'Lav';
+$lang['l_priority_medium'] = 'Medium';
+$lang['l_priority_none'] = 'Ingen';
+$lang['l_status'] = 'Status';
+$lang['l_status_confirmed'] = 'BEKR&AElig;FTET' ;
+$lang['l_status_cancelled'] = 'ANNULLERET';
+$lang['l_status_tentative'] = 'TENTATIV';
+$lang['l_todo'] = 'Todo-items';
+$lang['l_unfinished'] = 'Ikke afsluttet';
+$lang['l_prefs_set'] = 'Dine indstillinger er gemt.';
+$lang['l_prefs_unset'] = 'Indstillinger nulstillet. &AElig;ndringer vil tr&aelig;de i kraft n&aelig;ste gang siden indl&aelig;ses.';
+$lang['l_unset_prefs'] = 'Nulstil indstillinger';
+$lang['l_organizer'] = 'Organizer';
+$lang['l_attendee'] = 'Tilstede';
+$lang['l_location'] = 'Location';
+$lang['l_admin_header'] = 'PHP iCalendar-administration';
+$lang['l_username'] = 'Brugernavn';
+$lang['l_password'] = 'Password';
+$lang['l_login'] = 'Login';
+$lang['l_invalid_login'] = 'Forkert brugernavn eller password.';
+$lang['l_addupdate_cal'] = 'Tilf&oslash;j eller opdat&eacute;r en kalender';
+$lang['l_addupdate_desc'] = 'Tilf&oslash;j en kalender ved at uploade en ny fil. Opdat&eacute;r en kalender ved at uploade en fil med samme navn.';
+$lang['l_delete_cal'] = 'Slet en kalender';
+$lang['l_logout'] = 'Logout';
+$lang['l_cal_file'] = 'Kalenderfil';
+$lang['l_php_error'] = 'PHP-fejl';
+$upload_error_gen_lang = 'Der opstod et problem med din upload.';
+$upload_error_lang[0] = 'Der opstod et problem med din upload.';
+$upload_error_lang[1] = 'Den fil du fors&oslash;ger at uploade er for stor.';
+$upload_error_lang[2] = 'Den fil du fors&oslash;ger at uploade er for stor.';
+$upload_error_lang[3] = 'Den fil du fors&oslash;ger at uploade blev kun delvist uploaded.';
+$upload_error_lang[4] = 'Du skal v&aelig;lge en fil at uploade..';
+$lang['l_upload_error_type'] = 'Kun .ics-filer kan uploades.';
+$lang['l_copy_error'] = 'Kunne ikke kopiere fil';
+$lang['l_delete_error'] = 'Kunne ikke slette fil';
+$lang['l_delete_success'] = 'er blevet slettet.';
+$lang['l_action_success'] = 'Gennemf&oslash;rt.';
+$lang['l_submit'] = 'Submit';
+$lang['l_delete'] = 'Slet';
+$all_cal_comb_lang = 'Alle kombineret';
+
+// New for 2.0
+$lang['l_legend'] = 'Signaturer';
+$lang['l_admin_subhead'] = 'Administr&eacute;r dine kalendre fra denne side';
+$lang['l_prefs_subhead'] = 'Gemmer en cookie n&aring;r du beg&oslash;ger dette site';
+$lang['l_rss_info'] = 'RSS-information';
+$lang['l_rss_subhead'] = 'RSS-feeds for hver enkelt kalender';
+$lang['l_rss_notenabled'] = 'RSS er ikke tilg&aelig;ngeligt p&aring; dette site';
// - navigation
-$back_lang = 'Tilbage';
-$next_lang = 'N&aelig;ste';
-$prev_lang = 'Forrige';
-$day_view_lang = 'Vis Dag';
-$week_view_lang = 'Vis Uge';
-$month_view_lang = 'Vis M&aring;ned';
-$year_view_lang = 'Vis &Aring;r';
+$lang['l_back'] = 'Tilbage';
+$lang['l_next'] = 'N&aelig;ste';
+$lang['l_prev'] = 'Forrige';
+$lang['l_day_view'] = 'Dag-view';
+$lang['l_week_view'] = 'Uge-iew';
+$lang['l_month_view'] = 'M&aring;ned-view';
+$lang['l_year_view'] = '&Aring;r-view';
// ---------------------------------
+
// $format_recur, items enclosed in % will be substituted with variables
-$format_recur_lang['delimiter'] = ', '; // ie, 'one, two, three'
+$format_recur_lang['delimiter'] = ', '; // ie, 'one, two, three'
-$format_recur_lang['yearly'] = array('&aring;r','&aring;r'); // for these, put singular
-$format_recur_lang['monthly'] = array('m&aring;ned','m&aring;neder'); // and plural forms
-$format_recur_lang['weekly'] = array('uge','uger'); // these will be %freq%
+$format_recur_lang['yearly'] = array('&aring;r','&aring;r'); // for these, put singular
+$format_recur_lang['monthly'] = array('m^aring;ned','m&aring;neder'); // and plural forms
+$format_recur_lang['weekly'] = array('uge','uger'); // these will be %freq%
$format_recur_lang['daily'] = array('dag','dage'); // in the replacement below
$format_recur_lang['hourly'] = array('time','timer');
$format_recur_lang['minutely'] = array('minut','minutter');
$format_recur_lang['secondly'] = array('sekund','sekunder');
$format_recur_lang['start'] = 'Hver %int% %freq% %for%'; // ie, 'Every 1 day until January 4' or 'Every 1 day for a count of 5'
-$format_recur_lang['until'] = 'Indtil %date%'; // ie, 'until January 4'
-$format_recur_lang['count'] = '%int% gange'; // ie, 'for 5 times'
+$format_recur_lang['until'] = 'indtil %date%'; // ie, 'until January 4'
+$format_recur_lang['count'] = '%int% gange'; // ie, 'for 5 times'
-$format_recur_lang['bymonth'] = 'I m&aring;nderne: %list%'; // ie, 'In months: January, February, March'
-$format_recur_lang['bymonthday'] = 'P&aring; datoerne: %list%'; // ie, 'On dates: 1, 2, 3, 4'
-$format_recur_lang['byday'] = 'P&aring; dagene: %list%'; // ie, 'On days: Mon, Tues, Wed, Thurs'
+$format_recur_lang['bymonth'] = 'I m&aring;neder: %list%'; // ie, 'In months: January, February, March'
+$format_recur_lang['bymonthday'] = 'P&aring; datoer: %list%'; // ie, 'On dates: 1, 2, 3, 4'
+$format_recur_lang['byday'] = 'P&aring; dage: %list%'; // ie, 'On days: Mon, Tues, Wed, Thurs'
// ---------------------------------
@@ -155,18 +166,20 @@ $monthsofyear_lang = array ('Januar','Februar','Marts','April','Maj','Juni','J
$monthsofyearshort_lang = array ('Jan','Feb','Mar','Apr','Maj','Jun','Jul','Aug','Sep','Okt','Nov','Dec');
// For time formatting, check out: http://www.php.net/manual/en/function.date.php
-$timeFormat = 'H:i';
-$timeFormat_small = 'H:i';
+$timeFormat = 'G:i';
+$timeFormat_small = 'G:i';
// For date formatting, see note below
-$dateFormat_day = '%A, %e %B';
-$dateFormat_week = '%e %B';
-$dateFormat_week_list = '%a, %e %b';
-$dateFormat_week_jump = '%e %b';
+$dateFormat_day = '%A, %B %e';
+$dateFormat_week = '%B %e';
+//$dateFormat_week_list = '%a, %b %e';
+$dateFormat_week_list = '%a %e. %b';
+$dateFormat_week_jump = '%e. %b';
$dateFormat_month = '%B %Y';
-$dateFormat_month_list = '%A, %e %B';
+$dateFormat_month_list = '%A, %e. %B';
$dateFormat_year = '%Y';
+
/*
Notes about dateFormat_*
The pieces are similar to that of the PHP function strftime(),
@@ -184,14 +197,15 @@ Notes about dateFormat_*
*/
// Error messages - %s will be replaced with a variable
-$error_title_lang = 'Fejl!';
-$error_window_lang = 'Der opstod en fejl!';
-$error_calendar_lang = 'Kalenderen "%s" blev benyttet da fejlen opstod.';
-$error_path_lang = 'Kan ikke &aring;bne stien : "%s"';
-$error_back_lang = 'Brug venligst "Tilbage" knappen for at g&aring; tilbage.';
-$error_remotecal_lang = 'Denne server blokerer for eksterne kalendere der ikke er blevet godkendt';
-$error_restrictedcal_lang = 'Du har fors&oslash;gt at f&aring; adgang til en beskyttet kalender p&aring; denne server.';
-$error_invalidcal_lang = 'Kalenderen kan ikke l&aelig;ses. Pr&oslash;v en anden kalender.';
-
+$lang['l_error_title'] = 'Fejl!';
+$lang['l_error_window'] = 'Der opstod en fejl!';
+$lang['l_error_calendar'] = 'Kalenderen "%s" var under behandling da denne fejl opstod.';
+$lang['l_error_path'] = 'Kan ikke &aring;bne sti: "%s"';
+$lang['l_error_back'] = 'Brug "Tilbage"-knappen for at komme retur.';
+$lang['l_error_remotecal'] = 'Denne server blokerer remote-kalendre der ikke er godkendt.';
+$lang['l_error_restrictedcal'] = 'Du har ford&oslash;gt at tilg&aring; en kalender der er begr&arlig;nset adgang til p&aring; denne server.';
+$lang['l_error_invalidcal'] = 'Ugyldig kalender-fil. Pr&oslash;v venligst en anden kalender.';
+$lang['l_error_cantopen'] = 'Kan ikke &aring;bne kalender.';
+$lang['l_error_cache'] = 'Kan ikke skrive til cache-folder. Kontroll&eacute;r venligst ops&aelig;tningen.';
?>
diff --git a/languages/spanish.inc.php b/languages/spanish.inc.php
index 6d8a239..3d6f3e9 100644
--- a/languages/spanish.inc.php
+++ b/languages/spanish.inc.php
@@ -1,208 +1,209 @@
-<?php
-
-// English language include
-// For version 2.0 PHP iCalendar
-//
-// Translation by Juan carlos Negron(carich37@hotmail.com)
-//
-
-$lang['l_day'] = 'D&iacute;a';
-$lang['l_week'] = 'Semana';
-$lang['l_month'] = 'Mes';
-$lang['l_year'] = 'A&ntilde;o';
-$lang['l_calendar'] = 'Calendario';
-$lang['l_next_day'] = 'D&iacute;a siguiente';
-$lang['l_next_month'] = 'Mes siguiente';
-$lang['l_next_week'] = 'Semana siguiente';
-$lang['l_next_year'] = 'A&ntilde;o siguiente';
-$lang['l_last_day'] = 'D&iacute;a anterior';
-$lang['l_last_month'] = 'Mes anterior';
-$lang['l_last_week'] = 'Semana anterior';
-$lang['l_last_year'] = 'A&ntilde;o anterior';
-$lang['l_subscribe'] = 'Suscribir';
-$lang['l_download'] = 'Descargar';
-$lang['l_powered_by'] = 'Powered by';
-$lang['l_event'] = 'Evento';
-$lang['l_event_start'] = 'Inicio';
-$lang['l_event_end'] = 'Fin';
-$lang['l_this_months'] = 'Eventos de este mes';
-$lang['l_date'] = 'Fecha';
-$lang['l_summary'] = 'Descripci&oacute;n';
-$lang['l_all_day'] = 'todo el d&iacute;a';
-$lang['l_notes'] = 'Notas';
-$lang['l_this_years'] = 'Eventos de este a&ntilde;o';
-$lang['l_today'] = 'Hoy';
-$lang['l_this_week'] = 'Esta semana';
-$lang['l_this_month'] = 'Este mes';
-$lang['l_jump'] = 'Ir a';
-$lang['l_tomorrows'] = 'Eventos de ma&ntilde;ana';
-$lang['l_goday'] = 'Ir a Hoy';
-$lang['l_goweek'] = 'Ir a esta semana';
-$lang['l_gomonth'] = 'Ir a este Mes';
-$lang['l_goyear'] = 'Ir a este A&ntilde;o';
-$lang['l_search'] = 'Buscar'; // the verb
-$lang['l_results'] = 'Resultados de la b&uacute;squeda';
-$lang['l_pick_multiple'] = 'Pick multiple';
-$lang['l_query'] = 'Consulta: '; // will be followed by the search query
-$lang['l_no_results'] = 'Ning&uacute;n evento encontrado';
-$lang['l_goprint'] = 'Formato de impresi&oacute;n';
-$lang['l_time'] = 'Hora';
-$lang['l_summary'] = 'Resumen';
-$lang['l_description'] = 'Descripci&oacute;n';
-$lang['l_this_site_is'] = 'Esta p&aacute;gina es';
-$lang['l_no_events_day'] = 'No hay eventos para hoy.';
-$lang['l_no_events_week'] = 'No hay eventos para esta semana.';
-$lang['l_no_events_month'] = 'No hay eventos para este mes.';
-$lang['l_rss_day_date'] = 'g:i A'; // Lists just the time
-$lang['l_rss_week_date '] = '%e de %b'; // Lists just the day
-$lang['l_rss_month_date '] = '%e de %b'; // Lists just the day
-$lang['l_rss_language'] = 'es-es';
-$lang['l_search_took'] = 'La busqeda tard&oacute; %s segundos';
-$lang['l_recurring_event'] = 'Evento peri&ocaute;dico';
-$lang['l_exception'] = 'Excepci&oacute;n';
-$lang['l_no_query'] = 'falta la consulta';
-$lang['l_preferences'] = 'Preferencias';
-$lang['l_printer'] = 'Impresora';
-$lang['l_select_lang'] = 'Escoja su idioma por defecto:';
-$lang['l_select_cal'] = 'Escoja su calendario por defecto:';
-$lang['l_select_view'] = 'Elija su vista por defecto:';
-$lang['l_select_time'] = 'Elija su hora de inicio por defecto:';
-$lang['l_select_day'] = 'Escoja su d&aacute;a de la semana de inicio:';
-$lang['l_select_style'] = 'Seleccione su estilo por defecto:';
-$lang['l_set_prefs'] = 'Guardar preferencias';
-$lang['l_completed_date'] = 'Finalizado el';
-$lang['l_completed'] = 'Finalizado';
-$lang['l_created'] = 'Creado:';
-$lang['l_due'] = 'Fecha limite:';
-$lang['l_priority'] = 'Prioridad:';
-$lang['l_priority_high'] = 'Alta';
-$lang['l_priority_low'] = 'Baja';
-$lang['l_priority_medium'] = 'Media';
-$lang['l_priority_none'] = 'Ninguna';
-$lang['l_status'] = 'Estado';
-$lang['l_status_confirmed'] = 'CONFIRMED' ;
-$lang['l_status_cancelled'] = 'CANCELLED';
-$lang['l_status_tentative'] = 'TENTATIVE';
-$lang['l_todo'] = 'Por hacer';
-$lang['l_unfinished'] = 'Sin terminar';
-$lang['l_prefs_set'] = 'Sus preferencias han sido guardadas.';
-$lang['l_prefs_unset'] = 'Preferencias no activas. Los cambios se activaran al recargar la p&aacute;gina.';
-$lang['l_unset_prefs'] = 'Preferencias sin activar:';
-$lang['l_organizer'] = 'Organizador';
-$lang['l_attendee'] = 'Participante';
-$lang['l_location'] = 'Lugar';
-$lang['l_admin_header'] = 'Administraci&oacute;n de PHP iCalendar';
-$lang['l_username'] = 'Usuario';
-$lang['l_password'] = 'Contrase&ntilde;a';
-$lang['l_login'] = 'Registro';
-$lang['l_invalid_login'] = 'Usuario o contrase&ntilde;a incorrectos.';
-$lang['l_addupdate_cal'] = 'Agregar o actualizar un calendario';
-$lang['l_addupdate_desc'] = 'Agrega un calendario, enviando un archivo nuevo. Actualiza un calendario reemplazandolo con un archivo con el mismo nombre.';
-$lang['l_delete_cal'] = 'Borra un calendario';
-$lang['l_logout'] = 'Salir';
-$lang['l_cal_file'] = 'Archivo de Calendario';
-$lang['l_php_error'] = 'Error PHP';
-$upload_error_gen_lang = 'Hubo un problema con su env&iacute;o.';
-$upload_error_lang[0] = 'Hubo un problema con su env&iacute;o.';
-$upload_error_lang[1] = 'El archivo que intenta enviar es demasiado grande.';
-$upload_error_lang[2] = 'El archivo que intenta enviar es demasiado grande.';
-$upload_error_lang[3] = 'Solamente ha recibido una parte del archivo que intentaba enviar.';
-$upload_error_lang[4] = 'Debe elegir un archivo para enviar.';
-$lang['l_upload_error_type'] = 'Solo se aceptan archivos de calendario (.ics).';
-$lang['l_copy_error'] = 'Fall&oacute; la copia del archivo';
-$lang['l_delete_error'] = 'Fall&oacute; el borrado del archivo';
-$lang['l_delete_success'] = 'fue borrado exitosamente.';
-$lang['l_action_success'] = 'Su acci&oacute;n se realiz&oacute; con &eacute;xito.';
-$lang['l_submit'] = 'Enviar';
-$lang['l_delete'] = 'Borrar';
-$all_cal_comb_lang = 'Todos los calendarios combinados';
-
-// New for 2.0
-$lang['l_legend'] = 'Leyenda';
-$lang['l_admin_subhead'] = 'Administra los calendarios desde esta p&aacute;gina';
-$lang['l_prefs_subhead'] = 'Establece una cookie por vistar este sitio';
-$lang['l_rss_info'] = 'Informaci&oacute;n sobre RSS';
-$lang['l_rss_subhead'] = 'Fuentes RSS b&aacute;sicas estan disponibles para cada calendario';
-$lang['l_rss_notenabled'] = 'RSS no est&aacute; disponible en este sitio';
-
-// - navigation
-$lang['l_back'] = 'Atr&aacute;s';
-$lang['l_next'] = 'Siguiente';
-$lang['l_prev'] = 'Anterior';
-$lang['l_day_view'] = 'Vista diaria';
-$lang['l_week_view'] = 'Vista semanal';
-$lang['l_month_view'] = 'Vista mensual';
-$lang['l_year_view'] = 'Vista anual';
-
-// ---------------------------------
-
-
-// $format_recur, items enclosed in % will be substituted with variables
-$format_recur_lang['delimiter'] = ', '; // ie, 'one, two, three'
-
-$format_recur_lang['yearly'] = array('a&ntilde;o','a&ntilde;os'); // for these, put singular
-$format_recur_lang['monthly'] = array('mes','meses'); // and plural forms
-$format_recur_lang['weekly'] = array('semana','semanas'); // these will be %freq%
-$format_recur_lang['daily'] = array('d&iacute;a','dias'); // in the replacement below
-$format_recur_lang['hourly'] = array('hora','horas');
-$format_recur_lang['minutely'] = array('minuto','minutos');
-$format_recur_lang['secondly'] = array('segundo','segundos');
-
-$format_recur_lang['start'] = 'Cada %int% %freq% %for%'; // ie, 'Every 1 day until January 4' or 'Every 1 day for a count of 5'
-$format_recur_lang['until'] = 'hasta %date%'; // ie, 'until January 4'
-$format_recur_lang['count'] = 'durante %int% veces'; // ie, 'for 5 times'
-
-$format_recur_lang['bymonth'] = 'En los meses: %list%'; // ie, 'In months: January, February, March'
-$format_recur_lang['bymonthday'] = 'En los dias: %list%'; // ie, 'On dates: 1, 2, 3, 4'
-$format_recur_lang['byday'] = 'En los dias de la semana: %list%'; // ie, 'On days: Mon, Tues, Wed, Thurs'
-
-// ---------------------------------
-
-$daysofweek_lang = array ('Domingo','Lunes','Martes','Mi&eacute;rcoles','Jueves','Viernes','S&aacute;bado');
-$daysofweekshort_lang = array ('Dom','Lun','Mar','Mie','Jue','Vie','Sab');
-$daysofweekreallyshort_lang = array ('D','L','M','X','J','V','S');
-$monthsofyear_lang = array ('Enero','Febrero','Marzo','Abril','Mayo','Junio','Julio','Agosto','Septiembre','Octubre','Noviembre','Diciembre');
-$monthsofyearshort_lang = array ('Ene','Feb','Mar','Abr','May','Jun','Jul','Ago','Sep','Oct','Nov','Dic');
-
-// For time formatting, check out: http://www.php.net/manual/en/function.date.php
-$timeFormat = 'g:i A';
-$timeFormat_small = 'g:i';
-
-// For date formatting, see note below
-$dateFormat_day = '%A, %e de %B';
-$dateFormat_week = '%e de %B';
-$dateFormat_week_list = '%a, %e de %b';
-$dateFormat_week_jump = '%e de %b';
-$dateFormat_month = '%B de %Y';
-$dateFormat_month_list = '%A, %e de %B';
-$dateFormat_year = '%Y';
-
-/*
-Notes about dateFormat_*
- The pieces are similar to that of the PHP function strftime(),
- however only the following is supported at this time:
-
- %A - the full week day name as specified in $daysofweek_lang
- %a - the shortened week day name as specified in $daysofweekshort_lang
- %B - the full month name as specified in $monthsofyear_lang
- %b - the shortened month name as specified in $monthsofyearshort_lang
- %e - the day of the month as a decimal number (1 to 31)
- %Y - the 4-digit year
-
- If this causes problems with representing your language accurately, let
- us know. We will be happy to modify this if needed.
-*/
-
-// Error messages - %s will be replaced with a variable
-$lang['l_error_title'] = '&iexcl;Error!';
-$lang['l_error_window'] = '&iexcl;Hubo un error!';
-$lang['l_error_calendar'] = 'Cuando se produjo este error, se procesaba "%s" del calendario.';
-$lang['l_error_path'] = 'Incapaz de abrir la ruta a: "%s"';
-$lang['l_error_back'] = 'Por favor, use el bot&oacute;n "Atr&aacute;s" para volver.';
-$lang['l_error_remotecal'] = 'Este servidor bloquea calendarios remotos que no han sido aprobados.';
-$lang['l_error_restrictedcal'] = 'Usted ha intentado accesar a un calendario restringido en este servidor.';
-$lang['l_error_invalidcal'] = 'Archivo de calendario inv&aacute;lido. Por favor, pruebe con otro calendario.';
-$lang['l_error_cantopen'] = 'Unable to open calendar.';
-$lang['l_error_cache'] = 'Unable to write to cache directory. Please check your config.';
-
-?>
+<?php
+
+// Spanish language include
+// For version 2.0 PHP iCalendar
+//
+// Translation by Juan carlos Negron(carich37@hotmail.com)
+// Translation by Luis Fernando Rocha (ludwig_von_rocht@yahoo.com)
+//
+
+$lang['l_day'] = 'D&iacute;a';
+$lang['l_week'] = 'Semana';
+$lang['l_month'] = 'Mes';
+$lang['l_year'] = 'A&ntilde;o';
+$lang['l_calendar'] = 'Calendario';
+$lang['l_next_day'] = 'D&iacute;a siguiente';
+$lang['l_next_month'] = 'Mes siguiente';
+$lang['l_next_week'] = 'Semana siguiente';
+$lang['l_next_year'] = 'A&ntilde;o siguiente';
+$lang['l_last_day'] = 'D&iacute;a anterior';
+$lang['l_last_month'] = 'Mes anterior';
+$lang['l_last_week'] = 'Semana anterior';
+$lang['l_last_year'] = 'A&ntilde;o anterior';
+$lang['l_subscribe'] = 'Suscribir';
+$lang['l_download'] = 'Descargar';
+$lang['l_powered_by'] = 'Operaci&oacute;n por'; // Changed
+$lang['l_event'] = 'Evento';
+$lang['l_event_start'] = 'Inicio';
+$lang['l_event_end'] = 'Fin';
+$lang['l_this_months'] = 'Eventos de este mes';
+$lang['l_date'] = 'Fecha';
+$lang['l_summary'] = 'Descripci&oacute;n';
+$lang['l_all_day'] = 'todo el d&iacute;a';
+$lang['l_notes'] = 'Notas';
+$lang['l_this_years'] = 'Eventos de este a&ntilde;o';
+$lang['l_today'] = 'Hoy';
+$lang['l_this_week'] = 'Esta semana';
+$lang['l_this_month'] = 'Este mes';
+$lang['l_jump'] = 'Ir a';
+$lang['l_tomorrows'] = 'Eventos de ma&ntilde;ana';
+$lang['l_goday'] = 'Ir a Hoy';
+$lang['l_goweek'] = 'Ir a esta semana';
+$lang['l_gomonth'] = 'Ir a este Mes';
+$lang['l_goyear'] = 'Ir a este A&ntilde;o';
+$lang['l_search'] = 'Buscar'; // the verb
+$lang['l_results'] = 'Resultados de la b&uacute;squeda';
+$lang['l_pick_multiple'] = 'Seleccionar multiples'; // Changed
+$lang['l_query'] = 'Consulta: '; // will be followed by the search query
+$lang['l_no_results'] = 'Ning&uacute;n evento encontrado';
+$lang['l_goprint'] = 'Formato de impresi&oacute;n';
+$lang['l_time'] = 'Hora';
+$lang['l_summary'] = 'Resumen';
+$lang['l_description'] = 'Descripci&oacute;n';
+$lang['l_this_site_is'] = 'Esta p&aacute;gina es';
+$lang['l_no_events_day'] = 'No hay eventos para hoy.';
+$lang['l_no_events_week'] = 'No hay eventos para esta semana.';
+$lang['l_no_events_month'] = 'No hay eventos para este mes.';
+$lang['l_rss_day_date'] = 'g:i A'; // Lists just the time
+$lang['l_rss_week_date '] = '%e de %b'; // Lists just the day
+$lang['l_rss_month_date '] = '%e de %b'; // Lists just the day
+$lang['l_rss_language'] = 'es-es';
+$lang['l_search_took'] = 'La busqeda tard&oacute; %s segundos';
+$lang['l_recurring_event'] = 'Evento peri&ocaute;dico';
+$lang['l_exception'] = 'Excepci&oacute;n';
+$lang['l_no_query'] = 'falta la consulta';
+$lang['l_preferences'] = 'Preferencias';
+$lang['l_printer'] = 'Impresora';
+$lang['l_select_lang'] = 'Escoja su idioma principal:'; // Changed
+$lang['l_select_cal'] = 'Escoja su calendario principal:'; // Changed
+$lang['l_select_view'] = 'Elija su vista por defecto:'; // Changed
+$lang['l_select_time'] = 'Elija su hora de inicio principal:'; // Changed
+$lang['l_select_day'] = 'Escoja d&aacute;a para iniciar semana:'; // Changed
+$lang['l_select_style'] = 'Seleccione su estilo principal:'; // Changed
+$lang['l_set_prefs'] = 'Guardar preferencias';
+$lang['l_completed_date'] = 'Finalizado el';
+$lang['l_completed'] = 'Finalizado';
+$lang['l_created'] = 'Creado:';
+$lang['l_due'] = 'Fecha limite:';
+$lang['l_priority'] = 'Prioridad:';
+$lang['l_priority_high'] = 'Alta';
+$lang['l_priority_low'] = 'Baja';
+$lang['l_priority_medium'] = 'Media';
+$lang['l_priority_none'] = 'Ninguna';
+$lang['l_status'] = 'Estado';
+$lang['l_status_confirmed'] = 'CONFIRMADO' ; // Changed
+$lang['l_status_cancelled'] = 'CANCELADO'; // Changed
+$lang['l_status_tentative'] = 'PENDIENTE'; // Changed
+$lang['l_todo'] = 'Por hacer';
+$lang['l_unfinished'] = 'Sin terminar';
+$lang['l_prefs_set'] = 'Sus preferencias han sido guardadas.';
+$lang['l_prefs_unset'] = 'Preferencias no activas. Los cambios se activaran al recargar la p&aacute;gina.';
+$lang['l_unset_prefs'] = 'Preferencias sin activar:';
+$lang['l_organizer'] = 'Organizador';
+$lang['l_attendee'] = 'Participante';
+$lang['l_location'] = 'Lugar';
+$lang['l_admin_header'] = 'Administraci&oacute;n de PHP iCalendar';
+$lang['l_username'] = 'Usuario';
+$lang['l_password'] = 'Contrase&ntilde;a';
+$lang['l_login'] = 'Registro';
+$lang['l_invalid_login'] = 'Usuario o contrase&ntilde;a incorrectos.';
+$lang['l_addupdate_cal'] = 'Agregar o actualizar un calendario';
+$lang['l_addupdate_desc'] = 'Agrega un calendario, enviando un archivo nuevo. Actualiza un calendario reemplazandolo con un archivo con el mismo nombre.';
+$lang['l_delete_cal'] = 'Borra un calendario';
+$lang['l_logout'] = 'Salir';
+$lang['l_cal_file'] = 'Archivo de Calendario';
+$lang['l_php_error'] = 'Error PHP';
+$upload_error_gen_lang = 'Hubo un problema con su env&iacute;o.';
+$upload_error_lang[0] = 'Hubo un problema con su env&iacute;o.';
+$upload_error_lang[1] = 'El archivo que intenta enviar es demasiado grande.';
+$upload_error_lang[2] = 'El archivo que intenta enviar es demasiado grande.';
+$upload_error_lang[3] = 'Solamente ha recibido una parte del archivo que intentaba enviar.';
+$upload_error_lang[4] = 'Debe elegir un archivo para enviar.';
+$lang['l_upload_error_type'] = 'Solo se aceptan archivos de calendario (.ics).';
+$lang['l_copy_error'] = 'Fall&oacute; la copia del archivo';
+$lang['l_delete_error'] = 'Fall&oacute; el borrado del archivo';
+$lang['l_delete_success'] = 'fue borrado exitosamente.';
+$lang['l_action_success'] = 'Su acci&oacute;n se realiz&oacute; con &eacute;xito.';
+$lang['l_submit'] = 'Enviar';
+$lang['l_delete'] = 'Borrar';
+$all_cal_comb_lang = 'Todos los calendarios combinados';
+
+// New for 2.0
+$lang['l_legend'] = 'Leyenda';
+$lang['l_admin_subhead'] = 'Administra los calendarios desde esta p&aacute;gina';
+$lang['l_prefs_subhead'] = 'Establece una cookie por vistar este sitio';
+$lang['l_rss_info'] = 'Informaci&oacute;n sobre RSS';
+$lang['l_rss_subhead'] = 'Fuentes RSS b&aacute;sicas estan disponibles para cada calendario';
+$lang['l_rss_notenabled'] = 'RSS no est&aacute; disponible en este sitio';
+
+// - navigation
+$lang['l_back'] = 'Atr&aacute;s';
+$lang['l_next'] = 'Siguiente';
+$lang['l_prev'] = 'Anterior';
+$lang['l_day_view'] = 'Vista diaria';
+$lang['l_week_view'] = 'Vista semanal';
+$lang['l_month_view'] = 'Vista mensual';
+$lang['l_year_view'] = 'Vista anual';
+
+// ---------------------------------
+
+
+// $format_recur, items enclosed in % will be substituted with variables
+$format_recur_lang['delimiter'] = ', '; // ie, 'one, two, three'
+
+$format_recur_lang['yearly'] = array('a&ntilde;o','a&ntilde;os'); // for these, put singular
+$format_recur_lang['monthly'] = array('mes','meses'); // and plural forms
+$format_recur_lang['weekly'] = array('semana','semanas'); // these will be %freq%
+$format_recur_lang['daily'] = array('d&iacute;a','dias'); // in the replacement below
+$format_recur_lang['hourly'] = array('hora','horas');
+$format_recur_lang['minutely'] = array('minuto','minutos');
+$format_recur_lang['secondly'] = array('segundo','segundos');
+
+$format_recur_lang['start'] = 'Cada %int% %freq% %for%'; // ie, 'Every 1 day until January 4' or 'Every 1 day for a count of 5'
+$format_recur_lang['until'] = 'hasta %date%'; // ie, 'until January 4'
+$format_recur_lang['count'] = 'durante %int% veces'; // ie, 'for 5 times'
+
+$format_recur_lang['bymonth'] = 'En los meses: %list%'; // ie, 'In months: January, February, March'
+$format_recur_lang['bymonthday'] = 'En los dias: %list%'; // ie, 'On dates: 1, 2, 3, 4'
+$format_recur_lang['byday'] = 'En los dias de la semana: %list%'; // ie, 'On days: Mon, Tues, Wed, Thurs'
+
+// ---------------------------------
+
+$daysofweek_lang = array ('Domingo','Lunes','Martes','Mi&eacute;rcoles','Jueves','Viernes','S&aacute;bado');
+$daysofweekshort_lang = array ('Dom','Lun','Mar','Mie','Jue','Vie','Sab');
+$daysofweekreallyshort_lang = array ('D','L','M','X','J','V','S');
+$monthsofyear_lang = array ('Enero','Febrero','Marzo','Abril','Mayo','Junio','Julio','Agosto','Septiembre','Octubre','Noviembre','Diciembre');
+$monthsofyearshort_lang = array ('Ene','Feb','Mar','Abr','May','Jun','Jul','Ago','Sep','Oct','Nov','Dic');
+
+// For time formatting, check out: http://www.php.net/manual/en/function.date.php
+$timeFormat = 'g:i A';
+$timeFormat_small = 'g:i';
+
+// For date formatting, see note below
+$dateFormat_day = '%A, %e de %B';
+$dateFormat_week = '%e de %B';
+$dateFormat_week_list = '%a, %e de %b';
+$dateFormat_week_jump = '%e de %b';
+$dateFormat_month = '%B de %Y';
+$dateFormat_month_list = '%A, %e de %B';
+$dateFormat_year = '%Y';
+
+/*
+Notes about dateFormat_*
+ The pieces are similar to that of the PHP function strftime(),
+ however only the following is supported at this time:
+
+ %A - the full week day name as specified in $daysofweek_lang
+ %a - the shortened week day name as specified in $daysofweekshort_lang
+ %B - the full month name as specified in $monthsofyear_lang
+ %b - the shortened month name as specified in $monthsofyearshort_lang
+ %e - the day of the month as a decimal number (1 to 31)
+ %Y - the 4-digit year
+
+ If this causes problems with representing your language accurately, let
+ us know. We will be happy to modify this if needed.
+*/
+
+// Error messages - %s will be replaced with a variable
+$lang['l_error_title'] = '&iexcl;Error!';
+$lang['l_error_window'] = '&iexcl;Hubo un error!';
+$lang['l_error_calendar'] = 'Cuando se produjo este error, se procesaba "%s" del calendario.';
+$lang['l_error_path'] = 'Incapaz de abrir la ruta a: "%s"';
+$lang['l_error_back'] = 'Por favor, use el bot&oacute;n "Atr&aacute;s" para volver.';
+$lang['l_error_remotecal'] = 'Este servidor bloquea calendarios remotos que no han sido aprobados.';
+$lang['l_error_restrictedcal'] = 'Usted ha intentado accesar un calendario restringido en este servidor.'; // Changed
+$lang['l_error_invalidcal'] = 'Archivo de calendario inv&aacute;lido. Por favor, pruebe con otro calendario.';
+$lang['l_error_cantopen'] = 'Incapaz de abrir el calendario.'; // Changed
+$lang['l_error_cache'] = 'Incapaz de escribir al directorio de memoria. Verifique su configuraci&oacute;.'; // Changed
+
+?>
diff --git a/rss/rss1.0.php b/rss/rss1.0.php
index 265c8ab..78c5491 100755
--- a/rss/rss1.0.php
+++ b/rss/rss1.0.php
@@ -48,8 +48,8 @@ function rss_item(){
# $rss .= '<guid isPermaLink="false">'.$rss_link.$uid.'</guid>'."\n";
/* End guid modification */
$rss_item .= '<title>'.$rss_title.'</title>'."\n";
- $rss_item .= '<ev:startdate>'.date("Y-m-d", strtotime($thisdate)).'T'.date("h:m:s",$val["event_start"]).'</ev:startdate>'."\n";
- $rss_item .= '<ev:enddate>'.date("Y-m-d", strtotime($thisdate)).'T'.date("h:m:s",$val["event_start"]).'</ev:enddate>'."\n";
+ $rss .= '<ev:startdate>'.date("Y-m-d\TH:i:s", $val["start_unixtime"]).'</ev:startdate>'."\n";
+ $rss .= '<ev:enddate>'.date("Y-m-d\TH:i:s", $val["end_unixtime"]).'</ev:enddate>'."\n";
$rss_item .= '<link>'.$rss_link.'</link>'."\n";
$rss_item .= '<description>'.$rss_description.'</description>'."\n";
diff --git a/rss/rss2.0.php b/rss/rss2.0.php
index cd63ad0..05ac5ba 100644
--- a/rss/rss2.0.php
+++ b/rss/rss2.0.php
@@ -60,8 +60,8 @@ function rss_item(){
$rss .= '<guid isPermaLink="false">'.$rss_link.'&amp;uid='.$uid.'</guid>'."\n";
/* End guid modification */
$rss .= '<title>'.$rss_title.'</title>'."\n";
- $rss .= '<ev:startdate>'.date("Y-m-d", strtotime($thisdate)).'T'.date("h:m:s",$val["event_start"]).'</ev:startdate>'."\n";
- $rss .= '<ev:enddate>'.date("Y-m-d", strtotime($thisdate)).'T'.date("h:m:s",$val["event_start"]).'</ev:enddate>'."\n";
+ $rss .= '<ev:startdate>'.date("Y-m-d\TH:i:s", $val["start_unixtime"]).'</ev:startdate>'."\n";
+ $rss .= '<ev:enddate>'.date("Y-m-d\TH:i:s", $val["end_unixtime"]).'</ev:enddate>'."\n";
$rss .= '<link>'.$rss_link.'</link>'."\n";
$rss .= '<description>'.$rss_description.'</description>'."\n";
diff --git a/rss/rss_common.php b/rss/rss_common.php
index 0860f92..9a7fd4f 100644
--- a/rss/rss_common.php
+++ b/rss/rss_common.php
@@ -181,9 +181,9 @@ do {
$urlcal = rawurlencode ("$cal");
if (isset($rss_link_to_event) && $rss_link_to_event == 'yes'){
$event_data = urlencode(serialize($val));
- $rss_link = "$default_path/includes/event.php?getdate=$thisdate&amp;cal=$cal&amp;event_data=$event_data";
+ $rss_link = $phpiCal_config->default_path."/includes/event.php?getdate=$thisdate&amp;cal=$cal&amp;event_data=$event_data";
}else{
- $rss_link = ("$default_path/day.php?getdate=$thisdate&amp;cal=$urlcal");
+ $rss_link = ($phpiCal_config->default_path."/day.php?getdate=$thisdate&amp;cal=$urlcal");
}
if (isset($cpath) && $cpath !='') $rss_link.="&amp;cpath=$cpath";

© 2014-2020 Faster IT GmbH | imprint | privacy policy