diff options
author | jwangen <jwangen> | 2002-10-04 02:32:28 +0000 |
---|---|---|
committer | jwangen <jwangen> | 2002-10-04 02:32:28 +0000 |
commit | 3d3e022345611be7e3bb61dc5478873082b03d2a (patch) | |
tree | b0a28edb4af1627c64b46fa41e13aa9ce8efc180 | |
parent | d6958637d6263bf539bced5c0d2d73d58b0dc5c0 (diff) | |
download | phpicalendar-3d3e022345611be7e3bb61dc5478873082b03d2a.tar.gz phpicalendar-3d3e022345611be7e3bb61dc5478873082b03d2a.tar.bz2 phpicalendar-3d3e022345611be7e3bb61dc5478873082b03d2a.zip |
Modified event and init so HTTP_GET_VARS is explicitly called instead of
assuming vars are globally set. Modified language files so there are no
more double quotes.
-rw-r--r-- | config.inc.php | 2 | ||||
-rw-r--r-- | event.php | 44 | ||||
-rw-r--r-- | functions/ical_parser.php | 11 | ||||
-rw-r--r-- | functions/init.inc.php | 45 | ||||
-rw-r--r-- | languages/danish.inc.php | 94 | ||||
-rw-r--r-- | languages/dutch.inc.php | 94 | ||||
-rw-r--r-- | languages/english.inc.php | 94 | ||||
-rw-r--r-- | languages/french.inc.php | 96 | ||||
-rw-r--r-- | languages/german.inc.php | 94 | ||||
-rw-r--r-- | languages/italian.inc.php | 94 | ||||
-rw-r--r-- | languages/japanese.inc.php | 100 | ||||
-rw-r--r-- | languages/norwegian.inc.php | 96 | ||||
-rw-r--r-- | languages/polish.inc.php | 94 |
13 files changed, 500 insertions, 458 deletions
diff --git a/config.inc.php b/config.inc.php index 835b5c7..c26ff17 100644 --- a/config.inc.php +++ b/config.inc.php @@ -4,7 +4,7 @@ $style_sheet = "silver"; // Themes support $calendar_path = "./calendars"; // path to directory with calendars $default_view = "day"; // default view for calendars = "day", "week", "month" $default_cal = "Home"; // exact filename of calendar without .ics -$language = "english"; // Language support - "English", "Polish", "German", "French", "Dutch", "Danish", "Italian", "Japanese", "Norwegian" +$language = "japanese"; // Language support - "English", "Polish", "German", "French", "Dutch", "Danish", "Italian", "Japanese", "Norwegian" $week_start_day = "sunday"; // Day of the week your week starts on $use_sessions = "yes"; // For speedy performance on web servers, not good for localhost use. $day_start = "0700"; // Start time for day grid @@ -1,17 +1,45 @@ <?php -include ("./functions/init.inc.php"); +include ('./functions/init.inc.php'); + +if (isset($HTTP_GET_VARS['event']) && ($HTTP_GET_VARS['event'] !== '') ) { + $event = $HTTP_GET_VARS['event']; +} else { + $event = ''; +} +if (isset($HTTP_GET_VARS['description']) && ($HTTP_GET_VARS['description'] !== '') ) { + $description = $HTTP_GET_VARS['description']; +} else { + $description = ''; +} +if (isset($HTTP_GET_VARS['calendar_name']) && ($HTTP_GET_VARS['calendar_name'] !== '') ) { + $calendar_name = $HTTP_GET_VARS['calendar_name']; +} else { + $calendar_name = ''; +} + +if (isset($HTTP_GET_VARS['start']) && ($HTTP_GET_VARS['start'] !== '') ) { + $start = $HTTP_GET_VARS['start']; +} else { + $start = ''; +} +if (isset($HTTP_GET_VARS['end']) && ($HTTP_GET_VARS['end'] !== '') ) { + $end = $HTTP_GET_VARS['end']; +} else { + $end = ''; +} + $event = urldecode($event); $event = stripslashes($event); -$event = str_replace("\\", "", $event); +$event = str_replace('\\', '', $event); $event = htmlspecialchars($event); $description = urldecode($description); $description = stripslashes($description); -$description = str_replace("\\", "", $description); +$description = str_replace('\\', '', $description); //$description = htmlspecialchars($description); $calendar_name2 = urldecode($calendar_name); $calendar_name2 = stripslashes($calendar_name2); -$calendar_name2 = str_replace("\\", "", $calendar_name2); +$calendar_name2 = str_replace('\\', '', $calendar_name2); //$calendar_name2 = htmlspecialchars($calendar_name2); ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" @@ -19,7 +47,7 @@ $calendar_name2 = str_replace("\\", "", $calendar_name2); <html> <head> <meta http-equiv="content-type" content="text/html;charset=UTF-8"> - <title><?php echo "$calendar_name2"; ?></title> + <title><?php echo $calendar_name2; ?></title> <link rel="stylesheet" type="text/css" href="styles/<?php echo "$style_sheet"; ?>"> </head> <body bgcolor="#eeeeee"><center> @@ -35,16 +63,16 @@ $calendar_name2 = str_replace("\\", "", $calendar_name2); <tr> <td colspan="3"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> - <?php if (($start) && ($end)) $event_times = " - <font class=\"V9\">(<i>$start - $end</i>)</font>"; ?> + <?php if (($start) && ($end)) $event_times = ' - <font class="V9">(<i>'.$start.' - '.$end.'</i>)</font>'; ?> <tr> <td width="1%"><img src="images/spacer.gif" width="6" height="1"></td> - <td align="left" colspan="2" class="V12"><?php echo "$event $event_times<br><br>"; ?></td> + <td align="left" colspan="2" class="V12"><?php echo $event.' '.$event_times.'<br><br>'; ?></td> </tr> <?php if ($description) { ?> <tr> <td width="1%"><img src="images/spacer.gif" width="6" height="1"></td> - <td align="left" colspan="2" class="V12"><?php echo "$description"; ?></td> + <td align="left" colspan="2" class="V12"><?php echo $description; ?></td> </tr> <?php } ?> diff --git a/functions/ical_parser.php b/functions/ical_parser.php index 07c4a5f..ea234f9 100644 --- a/functions/ical_parser.php +++ b/functions/ical_parser.php @@ -42,20 +42,15 @@ $this_year = $day_array2[1]; // open the iCal file, read it into a string -$fp = @fopen($filename, "r"); -$contents = @fread ($fp, filesize ($filename)); -@fclose ($fp); - - -// turn that string into an array -$contents = ereg_replace("\n ", "", $contents); -$contents = split ("\n", $contents); +$contents = @file($filename); +if ($contents[0] != "BEGIN:VCALENDAR\n") exit(error("Calendar $filename is invalid. Please try a different calendar")); // auxiliary array for determining overlaps of events $overlap_array = array (); // parse our new array foreach($contents as $line) { + $line = trim($line); if (strstr($line, "BEGIN:VEVENT")) { $start_time = ""; $end_time = ""; diff --git a/functions/init.inc.php b/functions/init.inc.php index 7525fbc..f70bb64 100644 --- a/functions/init.inc.php +++ b/functions/init.inc.php @@ -8,6 +8,7 @@ if(phpversion() >= "4.2.0") } include('./config.inc.php'); +include('./functions/error.php'); // subscribe link prefix, doesn't need to be user configureable $fullpath = 'webcal://'.$HTTP_SERVER_VARS['SERVER_NAME'].dirname($HTTP_SERVER_VARS['PHP_SELF']).'/'.$calendar_path.'/'; @@ -26,28 +27,46 @@ if (file_exists($lang_file)) { include("../languages/english.inc.php"); } +if (isset($HTTP_GET_VARS['getdate']) && ($HTTP_GET_VARS['getdate'] !== '')) { + $getdate = $HTTP_GET_VARS['getdate']; +} else { + $getdate = date('Ymd'); +} + // $cal_displayname is $cal_filename with occurrences of "32" replaced with " " // $cal_filename should always be the filename of the calendar without .ics +$is_webcal = FALSE; if (isset($HTTP_GET_VARS["cal"])) { - $cal_filename = stripslashes(urldecode($HTTP_GET_VARS["cal"])); + if (substr($HTTP_GET_VARS["cal"], 0, 7) == "http://") { + $is_webcal = TRUE; + $cal_filename = $HTTP_GET_VARS["cal"]; + } else { + $cal_filename = stripslashes(urldecode($HTTP_GET_VARS["cal"])); + } } else { $cal_filename = $default_cal; } -$cal_displayname = str_replace("32", " ", $cal_filename); -$cal = urlencode($cal_filename); - -if (!isset($filename)) { - $filename = $calendar_path."/".$cal_filename.".ics"; - if (!file_exists($filename)) { - $dir_handle = @opendir($calendar_path) or die("Unable to open $calendar_path"); - while ($file = readdir($dir_handle)) { - if (substr($file, -4) == ".ics") { - $filename = $calendar_path."/".$file; - break; + +if ($is_webcal) { + $cal_displayname = substr(str_replace("32", " ", basename($cal_filename)), 0, -4); + $cal = $cal_filename; + $filename = $cal; +} else { + $cal_displayname = str_replace("32", " ", $cal_filename); + $cal = urlencode($cal_filename); + + if (!isset($filename)) { + $filename = $calendar_path."/".$cal_filename.".ics"; + if (!file_exists($filename)) { + $dir_handle = @opendir($calendar_path) or die("Unable to open $calendar_path"); + while ($file = readdir($dir_handle)) { + if (substr($file, -4) == ".ics") { + $filename = $calendar_path."/".$file; + break; + } } } } } - ?>
\ No newline at end of file diff --git a/languages/danish.inc.php b/languages/danish.inc.php index cd81e65..13840b6 100644 --- a/languages/danish.inc.php +++ b/languages/danish.inc.php @@ -9,50 +9,50 @@ -$day_lang = "Dag"; -$week_lang = "Uge"; -$month_lang = "Måned"; -$year_lang = "År"; -$calendar_lang = "Kalender"; -$next_day_lang = "Næste Dag"; -$next_month_lang = "Næste Måned"; -$next_week_lang = "Næste Uge"; -$next_year_lang = "Næste År"; -$last_day_lang = "Forrige Dag"; -$last_month_lang = "Forrige Måned"; -$last_week_lang = "Forrige Uge"; -$last_year_lang = "Forrige År"; -$subscribe_lang = "Abonnér"; -$download_lang = "Hent"; -$powered_by_lang = "Drevet af"; -$version_lang = "0.5"; -$event_lang = "Aftale"; -$event_start_lang = "Start Tidspunkt"; -$event_end_lang = "Slut Tidspunkt"; -$this_months_lang = "Denne Måneds Aftaler"; -$date_lang = "Dato"; -$summary_lang = "Opsummering"; +$day_lang = 'Dag'; +$week_lang = 'Uge'; +$month_lang = 'Måned'; +$year_lang = 'År'; +$calendar_lang = 'Kalender'; +$next_day_lang = 'Næste Dag'; +$next_month_lang = 'Næste Måned'; +$next_week_lang = 'Næste Uge'; +$next_year_lang = 'Næste År'; +$last_day_lang = 'Forrige Dag'; +$last_month_lang = 'Forrige Måned'; +$last_week_lang = 'Forrige Uge'; +$last_year_lang = 'Forrige År'; +$subscribe_lang = 'Abonnér'; +$download_lang = 'Hent'; +$powered_by_lang = 'Drevet af'; +$version_lang = '0.5'; +$event_lang = 'Aftale'; +$event_start_lang = 'Start Tidspunkt'; +$event_end_lang = 'Slut Tidspunkt'; +$this_months_lang = 'Denne Måneds Aftaler'; +$date_lang = 'Dato'; +$summary_lang = 'Opsummering'; // new since last translation -$all_day_lang = "All day event"; -$notes_lang = "Notes"; -$this_years_lang = "This Year's Events"; -$today_lang = "Today"; -$this_week_lang = "This Week"; -$this_month_lang = "This Month"; -$jump_lang = "Jump to"; -$tomorrows_lang = "Tomorrow's Events"; -$goday_lang = "Go to Today"; -$goweek_lang = "Go to This Week"; -$gomonth_lang = "Go to This Month"; -$goyear_lang = "Go to This Year"; +$all_day_lang = 'All day event'; +$notes_lang = 'Notes'; +$this_years_lang = 'This Year\'s Events'; +$today_lang = 'Today'; +$this_week_lang = 'This Week'; +$this_month_lang = 'This Month'; +$jump_lang = 'Jump to'; +$tomorrows_lang = 'Tomorrow\'s Events'; +$goday_lang = 'Go to Today'; +$goweek_lang = 'Go to This Week'; +$gomonth_lang = 'Go to This Month'; +$goyear_lang = 'Go to This Year'; // Date display since setlocale isnt perfect. -$daysofweek_lang = array ("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"); -$daysofweekshort_lang = array ("Sun","Mon","Tue","Wed","Thu","Fri","Sat"); -$daysofweekreallyshort_lang = array ("S","M","T","W","T","F","S"); -$monthsofyear_lang = array ("January","February","March","April","May","June","July","August","September","October","November","December"); -$monthsofyearshort_lang = array ("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"); +$daysofweek_lang = array ('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'); +$daysofweekshort_lang = array ('Sun','Mon','Tue','Wed','Thu','Fri','Sat'); +$daysofweekreallyshort_lang = array ('S','M','T','W','T','F','S'); +$monthsofyear_lang = array ('January','February','March','April','May','June','July','August','September','October','November','December'); +$monthsofyearshort_lang = array ('Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'); @@ -60,15 +60,15 @@ $monthsofyearshort_lang = array ("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug setlocale (LC_TIME, 'dk_DK'); // For time formatting, check out: http://www.php.net/manual/en/function.date.php -$timeFormat = "H:i"; +$timeFormat = 'H:i'; // For date formatting, see note below -$dateFormat_day = "%A, %B %e"; -$dateFormat_week = "%B %e"; -$dateFormat_week_list = "%a, %b %e"; -$dateFormat_week_jump = "%b %e"; // new since last translation -$dateFormat_month = "%B %Y"; -$dateFormat_month_list = "%A, %e %B"; +$dateFormat_day = '%A, %B %e'; +$dateFormat_week = '%B %e'; +$dateFormat_week_list = '%a, %b %e'; +$dateFormat_week_jump = '%b %e'; // new since last translation +$dateFormat_month = '%B %Y'; +$dateFormat_month_list = '%A, %e %B'; /* Notes about dateFormat_* diff --git a/languages/dutch.inc.php b/languages/dutch.inc.php index 6d61fea..eb67fa7 100644 --- a/languages/dutch.inc.php +++ b/languages/dutch.inc.php @@ -9,50 +9,50 @@ -$day_lang = "Dag"; -$week_lang = "Week"; -$month_lang = "Maand"; -$year_lang = "Jaar"; -$calendar_lang = "Kalender"; -$next_day_lang = "Volgende Dag"; -$next_month_lang = "Volgende Maand"; -$next_week_lang = "Volgende Week"; -$next_year_lang = "Volgend Jaar"; -$last_day_lang = "Vorige Dag"; -$last_month_lang = "Vorige Maand"; -$last_week_lang = "Vorige Week"; -$last_year_lang = "Vorig Jaar"; -$subscribe_lang = "Abonneer"; -$download_lang = "Download"; -$powered_by_lang = "Gemaakt met"; -$version_lang = "0.5"; -$event_lang = "Activiteit"; -$event_start_lang = "Start Tijd"; -$event_end_lang = "Eind Tijd"; -$this_months_lang = "Activiteiten Deze Maand"; -$date_lang = "Datum"; -$summary_lang = "Overzicht"; +$day_lang = 'Dag'; +$week_lang = 'Week'; +$month_lang = 'Maand'; +$year_lang = 'Jaar'; +$calendar_lang = 'Kalender'; +$next_day_lang = 'Volgende Dag'; +$next_month_lang = 'Volgende Maand'; +$next_week_lang = 'Volgende Week'; +$next_year_lang = 'Volgend Jaar'; +$last_day_lang = 'Vorige Dag'; +$last_month_lang = 'Vorige Maand'; +$last_week_lang = 'Vorige Week'; +$last_year_lang = 'Vorig Jaar'; +$subscribe_lang = 'Abonneer'; +$download_lang = 'Download'; +$powered_by_lang = 'Gemaakt met'; +$version_lang = '0.5'; +$event_lang = 'Activiteit'; +$event_start_lang = 'Start Tijd'; +$event_end_lang = 'Eind Tijd'; +$this_months_lang = 'Activiteiten Deze Maand'; +$date_lang = 'Datum'; +$summary_lang = 'Overzicht'; // new since last translation -$all_day_lang = "All day event"; -$notes_lang = "Notes"; -$this_years_lang = "This Year's Events"; -$today_lang = "Today"; -$this_week_lang = "This Week"; -$this_month_lang = "This Month"; -$jump_lang = "Jump to"; -$tomorrows_lang = "Tomorrow's Events"; -$goday_lang = "Go to Today"; -$goweek_lang = "Go to This Week"; -$gomonth_lang = "Go to This Month"; -$goyear_lang = "Go to This Year"; +$all_day_lang = 'All day event'; +$notes_lang = 'Notes'; +$this_years_lang = 'This Year\'s Events'; +$today_lang = 'Today'; +$this_week_lang = 'This Week'; +$this_month_lang = 'This Month'; +$jump_lang = 'Jump to'; +$tomorrows_lang = 'Tomorrow\'s Events'; +$goday_lang = 'Go to Today'; +$goweek_lang = 'Go to This Week'; +$gomonth_lang = 'Go to This Month'; +$goyear_lang = 'Go to This Year'; // Date display since setlocale isnt perfect. // new since last translation -$daysofweek_lang = array ("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"); -$daysofweekshort_lang = array ("Sun","Mon","Tue","Wed","Thu","Fri","Sat"); -$daysofweekreallyshort_lang = array ("S","M","T","W","T","F","S"); -$monthsofyear_lang = array ("January","February","March","April","May","June","July","August","September","October","November","December"); -$monthsofyearshort_lang = array ("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"); +$daysofweek_lang = array ('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'); +$daysofweekshort_lang = array ('Sun','Mon','Tue','Wed','Thu','Fri','Sat'); +$daysofweekreallyshort_lang = array ('S','M','T','W','T','F','S'); +$monthsofyear_lang = array ('January','February','March','April','May','June','July','August','September','October','November','December'); +$monthsofyearshort_lang = array ('Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'); @@ -60,15 +60,15 @@ $monthsofyearshort_lang = array ("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug setlocale (LC_TIME, 'nl_BE'); // For time formatting, check out: http://www.php.net/manual/en/function.date.php -$timeFormat = "G:i"; +$timeFormat = '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 = "%b %e";// new since last translation -$dateFormat_month = "%B %Y"; -$dateFormat_month_list = "%A %e %B"; +$dateFormat_day = '%A %e %B'; +$dateFormat_week = '%e %B'; +$dateFormat_week_list = '%a %e %b'; +$dateFormat_week_jump = '%b %e';// new since last translation +$dateFormat_month = '%B %Y'; +$dateFormat_month_list = '%A %e %B'; /* Notes about dateFormat_* diff --git a/languages/english.inc.php b/languages/english.inc.php index 8635571..0bd71b7 100644 --- a/languages/english.inc.php +++ b/languages/english.inc.php @@ -9,63 +9,63 @@ -$day_lang = "Day"; -$week_lang = "Week"; -$month_lang = "Month"; -$year_lang = "Year"; -$calendar_lang = "Calendar"; -$next_day_lang = "Next Day"; -$next_month_lang = "Next Month"; -$next_week_lang = "Next Week"; -$next_year_lang = "Next Year"; -$last_day_lang = "Previous Day"; -$last_month_lang = "Previous Month"; -$last_week_lang = "Previous Week"; -$last_year_lang = "Previous Year"; -$subscribe_lang = "Subscribe"; -$download_lang = "Download"; -$powered_by_lang = "Powered by"; -$version_lang = "0.6"; -$event_lang = "Event"; -$event_start_lang = "Start Time"; -$event_end_lang = "End Time"; -$this_months_lang = "This Month's Events"; -$date_lang = "Date"; -$summary_lang = "Summary"; -$all_day_lang = "All day event"; -$notes_lang = "Notes"; -$this_years_lang = "This Year's Events"; -$today_lang = "Today"; -$this_week_lang = "This Week"; -$this_month_lang = "This Month"; -$jump_lang = "Jump to"; -$tomorrows_lang = "Tomorrow's Events"; -$goday_lang = "Go to Today"; -$goweek_lang = "Go to This Week"; -$gomonth_lang = "Go to This Month"; -$goyear_lang = "Go to This Year"; +$day_lang = 'Day'; +$week_lang = 'Week'; +$month_lang = 'Month'; +$year_lang = 'Year'; +$calendar_lang = 'Calendar'; +$next_day_lang = 'Next Day'; +$next_month_lang = 'Next Month'; +$next_week_lang = 'Next Week'; +$next_year_lang = 'Next Year'; +$last_day_lang = 'Previous Day'; +$last_month_lang = 'Previous Month'; +$last_week_lang = 'Previous Week'; +$last_year_lang = 'Previous Year'; +$subscribe_lang = 'Subscribe'; +$download_lang = 'Download'; +$powered_by_lang = 'Powered by'; +$version_lang = '0.6'; +$event_lang = 'Event'; +$event_start_lang = 'Start Time'; +$event_end_lang = 'End Time'; +$this_months_lang = 'This Month\'s Events'; +$date_lang = 'Date'; +$summary_lang = 'Summary'; +$all_day_lang = 'All day event'; +$notes_lang = 'Notes'; +$this_years_lang = 'This Year\'s Events'; +$today_lang = 'Today'; +$this_week_lang = 'This Week'; +$this_month_lang = 'This Month'; +$jump_lang = 'Jump to'; +$tomorrows_lang = 'Tomorrow\'s Events'; +$goday_lang = 'Go to Today'; +$goweek_lang = 'Go to This Week'; +$gomonth_lang = 'Go to This Month'; +$goyear_lang = 'Go to This Year'; // Date display since setlocale isnt perfect. -$daysofweek_lang = array ("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"); -$daysofweekshort_lang = array ("Sun","Mon","Tue","Wed","Thu","Fri","Sat"); -$daysofweekreallyshort_lang = array ("S","M","T","W","T","F","S"); -$monthsofyear_lang = array ("January","February","March","April","May","June","July","August","September","October","November","December"); -$monthsofyearshort_lang = array ("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"); +$daysofweek_lang = array ('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'); +$daysofweekshort_lang = array ('Sun','Mon','Tue','Wed','Thu','Fri','Sat'); +$daysofweekreallyshort_lang = array ('S','M','T','W','T','F','S'); +$monthsofyear_lang = array ('January','February','March','April','May','June','July','August','September','October','November','December'); +$monthsofyearshort_lang = array ('Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'); // Set Location for date formatting, check out: http://www.php.net/manual/en/function.setlocale.php // These do not work on Mac OS X, but are fine on other builds of *nix. setlocale (LC_TIME, 'en_EN'); // For time formatting, check out: http://www.php.net/manual/en/function.date.php -$timeFormat = "g:i A"; +$timeFormat = 'g:i A'; // For date formatting, see note below -$dateFormat_day = "%A, %B %e"; -$dateFormat_week = "%B %e"; -$dateFormat_week_list = "%a, %b %e"; -$dateFormat_week_jump = "%b %e"; -$dateFormat_month = "%B %Y"; -$dateFormat_month_list = "%A, %B %e"; +$dateFormat_day = '%A, %B %e'; +$dateFormat_week = '%B %e'; +$dateFormat_week_list = '%a, %b %e'; +$dateFormat_week_jump = '%b %e'; +$dateFormat_month = '%B %Y'; +$dateFormat_month_list = '%A, %B %e'; /* Notes about dateFormat_* diff --git a/languages/french.inc.php b/languages/french.inc.php index c301517..01bdda8 100644 --- a/languages/french.inc.php +++ b/languages/french.inc.php @@ -9,66 +9,66 @@ -$day_lang = "Jour"; -$week_lang = "Semaine"; -$month_lang = "Mois"; -$year_lang = "Année"; -$calendar_lang = "Calendrier"; -$next_day_lang = "Jour suivant"; -$next_month_lang = "Mois suivant"; -$next_week_lang = "Semaine suivante"; -$next_year_lang = "Année suivante"; -$last_day_lang = "Jour précédent"; -$last_month_lang = "Mois précédent"; -$last_week_lang = "Semaine précédente"; -$last_year_lang = "Année précédente"; -$subscribe_lang = "Souscrire"; -$download_lang = "Télécharger"; -$powered_by_lang = "Produit avec"; -$version_lang = "0.5"; -$event_lang = "Événement"; -$event_start_lang = "Début"; -$event_end_lang = "Fin"; -$this_months_lang = "Événements de ce mois"; -$date_lang = "Date"; -$summary_lang = "Résumé"; +$day_lang = 'Jour'; +$week_lang = 'Semaine'; +$month_lang = 'Mois'; +$year_lang = 'Année'; +$calendar_lang = 'Calendrier'; +$next_day_lang = 'Jour suivant'; +$next_month_lang = 'Mois suivant'; +$next_week_lang = 'Semaine suivante'; +$next_year_lang = 'Année suivante'; +$last_day_lang = 'Jour précédent'; +$last_month_lang = 'Mois précédent'; +$last_week_lang = 'Semaine précédente'; +$last_year_lang = 'Année précédente'; +$subscribe_lang = 'Souscrire'; +$download_lang = 'Télécharger'; +$powered_by_lang = 'Produit avec'; +$version_lang = '0.5'; +$event_lang = 'Événement'; +$event_start_lang = 'Début'; +$event_end_lang = 'Fin'; +$this_months_lang = 'Événements de ce mois'; +$date_lang = 'Date'; +$summary_lang = 'Résumé'; // new since last translation -$all_day_lang = "All day event"; -$notes_lang = "Notes"; -$this_years_lang = "This Year's Events"; -$today_lang = "Today"; -$this_week_lang = "This Week"; -$this_month_lang = "This Month"; -$jump_lang = "Jump to"; -$tomorrows_lang = "Tomorrow's Events"; -$goday_lang = "Go to Today"; -$goweek_lang = "Go to This Week"; -$gomonth_lang = "Go to This Month"; -$goyear_lang = "Go to This Year"; +$all_day_lang = 'All day event'; +$notes_lang = 'Notes'; +$this_years_lang = 'This Year\'s Events'; +$today_lang = 'Today'; +$this_week_lang = 'This Week'; +$this_month_lang = 'This Month'; +$jump_lang = 'Jump to'; +$tomorrows_lang = 'Tomorrow\'s Events'; +$goday_lang = 'Go to Today'; +$goweek_lang = 'Go to This Week'; +$gomonth_lang = 'Go to This Month'; +$goyear_lang = 'Go to This Year'; // Date display since setlocale isnt perfect. // new since last translation -$daysofweek_lang = array ("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"); -$daysofweekshort_lang = array ("Sun","Mon","Tue","Wed","Thu","Fri","Sat"); -$daysofweekreallyshort_lang = array ("S","M","T","W","T","F","S"); -$monthsofyear_lang = array ("January","February","March","April","May","June","July","August","September","October","November","December"); -$monthsofyearshort_lang = array ("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"); +$daysofweek_lang = array ('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'); +$daysofweekshort_lang = array ('Sun','Mon','Tue','Wed','Thu','Fri','Sat'); +$daysofweekreallyshort_lang = array ('S','M','T','W','T','F','S'); +$monthsofyear_lang = array ('January','February','March','April','May','June','July','August','September','October','November','December'); +$monthsofyearshort_lang = array ('Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'); // Set Location for date formatting, check out: http://www.php.net/manual/fr/function.setlocale.php -setlocale (LC_TIME,"fr_FR"); +setlocale (LC_TIME,'fr_FR'); // For time formatting, check out: http://www.php.net/manual/fr/function.date.php -$timeFormat = "H:i"; +$timeFormat = 'H: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 = "%b %e";// new since last translation -$dateFormat_month = "%B %Y"; -$dateFormat_month_list = "%A %e %B"; +$dateFormat_day = '%A %e %B'; +$dateFormat_week = '%e %B'; +$dateFormat_week_list = '%a %e %b'; +$dateFormat_week_jump = '%b %e';// new since last translation +$dateFormat_month = '%B %Y'; +$dateFormat_month_list = '%A %e %B'; /* Notes about dateFormat_* diff --git a/languages/german.inc.php b/languages/german.inc.php index 867711d..c11d9d4 100644 --- a/languages/german.inc.php +++ b/languages/german.inc.php @@ -8,50 +8,50 @@ -$day_lang = "Tag"; -$week_lang = "Woche"; -$month_lang = "Monat"; -$year_lang = "Jahr"; -$calendar_lang = "Kalender"; -$next_day_lang = "Folgender Tag"; -$next_month_lang = "Folgender Monat"; -$next_week_lang = "Folgende Woche"; -$next_year_lang = "Folgendes Jahr"; -$last_day_lang = "Vorhergehender Tag"; -$last_month_lang = "Vorhergehender Monat"; -$last_week_lang = "Vorhergehende Woche"; -$last_year_lang = "Vorhergehendes Jahr"; -$subscribe_lang = "Abonnieren"; -$download_lang = "Herunterladen"; -$powered_by_lang = "Powered by"; -$version_lang = "0.5"; -$event_lang = "Eintrag"; -$event_start_lang = "Beginn"; -$event_end_lang = "Ende"; -$this_months_lang = "Alle Einträge in diesem Monat"; -$date_lang = "Datum"; -$summary_lang = "Beschreibung"; +$day_lang = 'Tag'; +$week_lang = 'Woche'; +$month_lang = 'Monat'; +$year_lang = 'Jahr'; +$calendar_lang = 'Kalender'; +$next_day_lang = 'Folgender Tag'; +$next_month_lang = 'Folgender Monat'; +$next_week_lang = 'Folgende Woche'; +$next_year_lang = 'Folgendes Jahr'; +$last_day_lang = 'Vorhergehender Tag'; +$last_month_lang = 'Vorhergehender Monat'; +$last_week_lang = 'Vorhergehende Woche'; +$last_year_lang = 'Vorhergehendes Jahr'; +$subscribe_lang = 'Abonnieren'; +$download_lang = 'Herunterladen'; +$powered_by_lang = 'Powered by'; +$version_lang = '0.5'; +$event_lang = 'Eintrag'; +$event_start_lang = 'Beginn'; +$event_end_lang = 'Ende'; +$this_months_lang = 'Alle Einträge in diesem Monat'; +$date_lang = 'Datum'; +$summary_lang = 'Beschreibung'; // new since last translation -$all_day_lang = "All day event"; -$notes_lang = "Notes"; -$this_years_lang = "This Year's Events"; -$today_lang = "Today"; -$this_week_lang = "This Week"; -$this_month_lang = "This Month"; -$jump_lang = "Jump to"; -$tomorrows_lang = "Tomorrow's Events"; -$goday_lang = "Go to Today"; -$goweek_lang = "Go to This Week"; -$gomonth_lang = "Go to This Month"; -$goyear_lang = "Go to This Year"; +$all_day_lang = 'All day event'; +$notes_lang = 'Notes'; +$this_years_lang = 'This Year\'s Events'; +$today_lang = 'Today'; +$this_week_lang = 'This Week'; +$this_month_lang = 'This Month'; +$jump_lang = 'Jump to'; +$tomorrows_lang = 'Tomorrow\'s Events'; +$goday_lang = 'Go to Today'; +$goweek_lang = 'Go to This Week'; +$gomonth_lang = 'Go to This Month'; +$goyear_lang = 'Go to This Year'; // Date display since setlocale isnt perfect. // new since last translation -$daysofweek_lang = array ("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"); -$daysofweekshort_lang = array ("Sun","Mon","Tue","Wed","Thu","Fri","Sat"); -$daysofweekreallyshort_lang = array ("S","M","T","W","T","F","S"); -$monthsofyear_lang = array ("January","February","March","April","May","June","July","August","September","October","November","December"); -$monthsofyearshort_lang = array ("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"); +$daysofweek_lang = array ('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'); +$daysofweekshort_lang = array ('Sun','Mon','Tue','Wed','Thu','Fri','Sat'); +$daysofweekreallyshort_lang = array ('S','M','T','W','T','F','S'); +$monthsofyear_lang = array ('January','February','March','April','May','June','July','August','September','October','November','December'); +$monthsofyearshort_lang = array ('Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'); // Set Location for date formatting, check out: http://www.php.net/manual/en/function.setlocale.php // for Switzerland @@ -62,15 +62,15 @@ setlocale (LC_TIME, 'ch_DE'); // setlocale (LC_TIME, 'at_DE'); // For time formatting, check out: http://www.php.net/manual/en/function.date.php -$timeFormat = "H:i"; +$timeFormat = 'H:i'; // For date formatting, see note below -$dateFormat_day = "%A, %e. %B"; -$dateFormat_week = "%B %e"; -$dateFormat_week_list = "%a, %e. %b"; -$dateFormat_week_jump = "%b %e";// new since last translation -$dateFormat_month = "%B %Y"; -$dateFormat_month_list = "%A, %e. %B"; +$dateFormat_day = '%A, %e. %B'; +$dateFormat_week = '%B %e'; +$dateFormat_week_list = '%a, %e. %b'; +$dateFormat_week_jump = '%b %e';// new since last translation +$dateFormat_month = '%B %Y'; +$dateFormat_month_list = '%A, %e. %B'; /* Notes about dateFormat_* diff --git a/languages/italian.inc.php b/languages/italian.inc.php index edf9f7a..72ec708 100644 --- a/languages/italian.inc.php +++ b/languages/italian.inc.php @@ -9,65 +9,65 @@ -$day_lang = "Giorno"; -$week_lang = "Settimana"; -$month_lang = "Mese"; -$year_lang = "Anno"; -$calendar_lang = "Calendario"; -$next_day_lang = "Giorno Successivo"; -$next_month_lang = "Mese Successivo"; -$next_week_lang = "Settimana Successiva"; -$next_year_lang = "Anno Successivo"; -$last_day_lang = "Giorno Precedente"; -$last_month_lang = "Mese Precedente"; -$last_week_lang = "Settimana Precedente"; -$last_year_lang = "Anno Precedente"; -$subscribe_lang = "Sottoscrivi"; -$download_lang = "Scarica"; -$powered_by_lang = "Powered by"; -$version_lang = "0.5"; -$event_lang = "Evento"; -$event_start_lang = "Inizio"; -$event_end_lang = "Fine"; -$this_months_lang = "Eventi di questo mese"; -$date_lang = "Data"; -$summary_lang = "Sommario"; +$day_lang = 'Giorno'; +$week_lang = 'Settimana'; +$month_lang = 'Mese'; +$year_lang = 'Anno'; +$calendar_lang = 'Calendario'; +$next_day_lang = 'Giorno Successivo'; +$next_month_lang = 'Mese Successivo'; +$next_week_lang = 'Settimana Successiva'; +$next_year_lang = 'Anno Successivo'; +$last_day_lang = 'Giorno Precedente'; +$last_month_lang = 'Mese Precedente'; +$last_week_lang = 'Settimana Precedente'; +$last_year_lang = 'Anno Precedente'; +$subscribe_lang = 'Sottoscrivi'; +$download_lang = 'Scarica'; +$powered_by_lang = 'Powered by'; +$version_lang = '0.5'; +$event_lang = 'Evento'; +$event_start_lang = 'Inizio'; +$event_end_lang = 'Fine'; +$this_months_lang = 'Eventi di questo mese'; +$date_lang = 'Data'; +$summary_lang = 'Sommario'; // new since last translation -$all_day_lang = "All day event"; -$notes_lang = "Notes"; -$this_years_lang = "This Year's Events"; -$today_lang = "Today"; -$this_week_lang = "This Week"; -$this_month_lang = "This Month"; -$jump_lang = "Jump to"; -$tomorrows_lang = "Tomorrow's Events"; -$goday_lang = "Go to Today"; -$goweek_lang = "Go to This Week"; -$gomonth_lang = "Go to This Month"; -$goyear_lang = "Go to This Year"; +$all_day_lang = 'All day event'; +$notes_lang = 'Notes'; +$this_years_lang = 'This Year\'s Events'; +$today_lang = 'Today'; +$this_week_lang = 'This Week'; +$this_month_lang = 'This Month'; +$jump_lang = 'Jump to'; +$tomorrows_lang = 'Tomorrow\'s Events'; +$goday_lang = 'Go to Today'; +$goweek_lang = 'Go to This Week'; +$gomonth_lang = 'Go to This Month'; +$goyear_lang = 'Go to This Year'; // Date display since setlocale isnt perfect. // new since last translation -$daysofweek_lang = array ("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"); -$daysofweekshort_lang = array ("Sun","Mon","Tue","Wed","Thu","Fri","Sat"); -$daysofweekreallyshort_lang = array ("S","M","T","W","T","F","S"); -$monthsofyear_lang = array ("January","February","March","April","May","June","July","August","September","October","November","December"); -$monthsofyearshort_lang = array ("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"); +$daysofweek_lang = array ('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'); +$daysofweekshort_lang = array ('Sun','Mon','Tue','Wed','Thu','Fri','Sat'); +$daysofweekreallyshort_lang = array ('S','M','T','W','T','F','S'); +$monthsofyear_lang = array ('January','February','March','April','May','June','July','August','September','October','November','December'); +$monthsofyearshort_lang = array ('Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'); // Set Location for date formatting, check out: http://www.php.net/manual/en/function.setlocale.php setlocale (LC_TIME, 'it_IT'); // For time formatting, check out: http://www.php.net/manual/en/function.date.php -$timeFormat = "G:i"; +$timeFormat = '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 = "%b %e";// new since last translation -$dateFormat_month = "%B %Y"; -$dateFormat_month_list = "%A, %e %B"; +$dateFormat_day = '%A, %e %B'; +$dateFormat_week = '%e %B'; +$dateFormat_week_list = '%a, %e %b'; +$dateFormat_week_jump = '%b %e';// new since last translation +$dateFormat_month = '%B %Y'; +$dateFormat_month_list = '%A, %e %B'; /* Notes about dateFormat_* diff --git a/languages/japanese.inc.php b/languages/japanese.inc.php index 2f212b8..4377536 100644 --- a/languages/japanese.inc.php +++ b/languages/japanese.inc.php @@ -10,68 +10,68 @@ -$day_lang = "日"; -$week_lang = "週"; -$month_lang = "月"; -$year_lang = "年"; -$calendar_lang = "カレンダー"; -$next_day_lang = "翌日"; -$next_month_lang = "来月"; -$next_week_lang = "来週"; -$next_year_lang = "明年"; -$last_day_lang = "前日"; -$last_month_lang = "先月"; -$last_week_lang = "先週"; -$last_year_lang = "去年"; -$subscribe_lang = "追加"; -$download_lang = "ダウンロード"; -$published_lang = "公開日:"; -$powered_by_lang = "Powered by"; +$day_lang = '日'; +$week_lang = '週'; +$month_lang = '月'; +$year_lang = '年'; +$calendar_lang = 'カレンダー'; +$next_day_lang = '翌日'; +$next_month_lang = '来月'; +$next_week_lang = '来週'; +$next_year_lang = '明年'; +$last_day_lang = '前日'; +$last_month_lang = '先月'; +$last_week_lang = '先週'; +$last_year_lang = '去年'; +$subscribe_lang = '追加'; +$download_lang = 'ダウンロード'; +$published_lang = '公開日:'; +$powered_by_lang = 'Powered by'; -$version_lang = "0.5"; -$event_lang = "件名"; -$event_start_lang = "開始日"; -$event_end_lang = "終了日"; -$date_lang = "日付"; -$summary_lang = "一覧"; -$all_day_lang = "終日イベント"; -$notes_lang = "注釈"; +$version_lang = '0.5'; +$event_lang = '件名'; +$event_start_lang = '開始日'; +$event_end_lang = '終了日'; +$date_lang = '日付'; +$summary_lang = '一覧'; +$all_day_lang = '終日イベント'; +$notes_lang = '注釈'; -$todays_lang = "今日今週の予定"; -$this_weeks_lang = "今週の予定"; -$this_months_lang = "今月の予定"; -$this_years_lang = "今年の予定"; -$today_lang = "今日"; -$this_week_lang = "今週"; -$this_month_lang = "今月"; -$this_year_lang = "今年"; +$todays_lang = '今日今週の予定'; +$this_weeks_lang = '今週の予定'; +$this_months_lang = '今月の予定'; +$this_years_lang = '今年の予定'; +$today_lang = '今日'; +$this_week_lang = '今週'; +$this_month_lang = '今月'; +$this_year_lang = '今年'; -$jump_lang = "Jump to"; -$tomorrows_lang = "Tomorrow's Events"; -$goday_lang = "Go to Today"; -$goweek_lang = "Go to This Week"; -$gomonth_lang = "Go to This Month"; -$goyear_lang = "Go to This Year"; +$jump_lang = 'Jump to'; +$tomorrows_lang = 'Tomorrow\'s Events'; +$goday_lang = 'Go to Today'; +$goweek_lang = 'Go to This Week'; +$gomonth_lang = 'Go to This Month'; +$goyear_lang = 'Go to This Year'; -$daysofweek_lang = array ("日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"); -$daysofweekshort_lang = array ("日曜","月曜","火曜","水曜","木曜","金曜","土曜"); -$daysofweekreallyshort_lang = array ("日","月","火","水","木","金","土"); -$monthsofyear_lang = array ("1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"); +$daysofweek_lang = array ('日曜日','月曜日','火曜日','水曜日','木曜日','金曜日','土曜日'); +$daysofweekshort_lang = array ('日曜','月曜','火曜','水曜','木曜','金曜','土曜'); +$daysofweekreallyshort_lang = array ('日','月','火','水','木','金','土'); +$monthsofyear_lang = array ('1月','2月','3月','4月','5月','6月','7月','8月','9月','10月','11月','12月'); $monthsofyearshort_lang = $monthsofyear_lang; // Set Location for date formatting, check out: http://www.php.net/manual/en/function.setlocale.php setlocale (LC_TIME, 'ja_JP'); // For time formatting, check out: http://www.php.net/manual/en/function.date.php -$timeFormat = "g:i A"; +$timeFormat = 'g:i A'; // For date formatting, see note below -$dateFormat_day = "%B %e日 %A"; -$dateFormat_week = "%B %e日"; -$dateFormat_week_list = "%b %e日 %a"; -$dateFormat_week_jump = "%b %e日"; -$dateFormat_month = "%Y年 %B"; -$dateFormat_month_list = "%B %e日 %A"; +$dateFormat_day = '%B %e日 %A'; +$dateFormat_week = '%B %e日'; +$dateFormat_week_list = '%b %e日 %a'; +$dateFormat_week_jump = '%b %e日'; +$dateFormat_month = '%Y年 %B'; +$dateFormat_month_list = '%B %e日 %A'; /* Notes about dateFormat_* diff --git a/languages/norwegian.inc.php b/languages/norwegian.inc.php index 557e00b..4cfd037 100644 --- a/languages/norwegian.inc.php +++ b/languages/norwegian.inc.php @@ -9,65 +9,65 @@ -$day_lang = "Dag"; -$week_lang = "Uke"; -$month_lang = "Måned"; -$year_lang = "år"; -$calendar_lang = "Kalender"; -$next_day_lang = "Neste Dag"; -$next_month_lang = "Neste Måned"; -$next_week_lang = "Neste Uke"; -$next_year_lang = "Neste År"; -$last_day_lang = "Forrige Dag"; -$last_month_lang = "Forrige Måned"; -$last_week_lang = "Forrige Uke"; -$last_year_lang = "Forrige År"; -$subscribe_lang = "Abonnér"; -$download_lang = "Last Ned"; -$powered_by_lang = "Powered by"; -$version_lang = "0.5"; -$event_lang = "Hendelse"; -$event_start_lang = "Start Tid"; -$event_end_lang = "Slutt Tid"; -$this_months_lang = "Denne Månedens Hendelser"; -$date_lang = "Dato"; -$summary_lang = "Sammendrag"; -$all_day_lang = "Hele dagen"; -$notes_lang = "Notater"; +$day_lang = 'Dag'; +$week_lang = 'Uke'; +$month_lang = 'Måned'; +$year_lang = 'år'; +$calendar_lang = 'Kalender'; +$next_day_lang = 'Neste Dag'; +$next_month_lang = 'Neste Måned'; +$next_week_lang = 'Neste Uke'; +$next_year_lang = 'Neste År'; +$last_day_lang = 'Forrige Dag'; +$last_month_lang = 'Forrige Måned'; +$last_week_lang = 'Forrige Uke'; +$last_year_lang = 'Forrige År'; +$subscribe_lang = 'Abonnér'; +$download_lang = 'Last Ned'; +$powered_by_lang = 'Powered by'; +$version_lang = '0.5'; +$event_lang = 'Hendelse'; +$event_start_lang = 'Start Tid'; +$event_end_lang = 'Slutt Tid'; +$this_months_lang = 'Denne Månedens Hendelser'; +$date_lang = 'Dato'; +$summary_lang = 'Sammendrag'; +$all_day_lang = 'Hele dagen'; +$notes_lang = 'Notater'; // new since last translation -$this_years_lang = "This Year's Events"; -$today_lang = "Today"; -$this_week_lang = "This Week"; -$this_month_lang = "This Month"; -$jump_lang = "Jump to"; -$tomorrows_lang = "Tomorrow's Events"; -$goday_lang = "Go to Today"; -$goweek_lang = "Go to This Week"; -$gomonth_lang = "Go to This Month"; -$goyear_lang = "Go to This Year"; +$this_years_lang = 'Hendelser dette året'; +$today_lang = 'I dag'; +$this_week_lang = 'Denne uken'; +$this_month_lang = 'Denne måneden'; +$jump_lang = 'Hopp til'; +$tomorrows_lang = 'Morgendagens hendelser'; +$goday_lang = 'Gå til i dag'; +$goweek_lang = 'Gå til denne uken'; +$gomonth_lang = 'Gå til denne måneden'; +$goyear_lang = 'Gå til dette året'; // Date display since setlocale isnt perfect. // new since last translation -$daysofweek_lang = array ("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"); -$daysofweekshort_lang = array ("Sun","Mon","Tue","Wed","Thu","Fri","Sat"); -$daysofweekreallyshort_lang = array ("S","M","T","W","T","F","S"); -$monthsofyear_lang = array ("January","February","March","April","May","June","July","August","September","October","November","December"); -$monthsofyearshort_lang = array ("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"); +$daysofweek_lang = array('Søndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','Lørdag'); +$daysofweekshort_lang = array ('Søn','Man','Tir','Ons','Tor','Fre','Lør'); +$daysofweekreallyshort_lang = array ('S','M','T','O','T','F','L'); +$monthsofyear_lang = array ('Januar','Februar','Mars','April','Mai','Juni','Juli','August','September','Oktober','November','Desember'); +$monthsofyearshort_lang = array ('Jan','Feb','Mar','Apr','Mai','Jun','Jul','Aug','Sep','Okt','Nov','Des'); // Set Location for date formatting, check out: http://www.php.net/manual/en/function.setlocale.php setlocale (LC_TIME, 'no_NO'); // For time formatting, check out: http://www.php.net/manual/en/function.date.php -$timeFormat = "H:i"; +$timeFormat = 'H: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 = "%b %e"; // new since last translation -$dateFormat_month = "%B %Y"; -$dateFormat_month_list = "%A, %e. %B"; +$dateFormat_day = '%A, %e. %B '; +$dateFormat_week = '%e. %B'; +$dateFormat_week_list = '%a, %e. %b'; +$dateFormat_week_jump = '%b %e'; // new since last translation +$dateFormat_month = '%B %Y'; +$dateFormat_month_list = '%A, %e. %B'; /* Notes about dateFormat_* @@ -85,4 +85,4 @@ Notes about dateFormat_* us know. We will be happy to modify this if needed. */ -?>
\ No newline at end of file +?> diff --git a/languages/polish.inc.php b/languages/polish.inc.php index bcfe001..5e94142 100644 --- a/languages/polish.inc.php +++ b/languages/polish.inc.php @@ -9,65 +9,65 @@ -$day_lang = "Dzień"; -$week_lang = "Tydzień"; -$month_lang = "Miesiąc"; -$year_lang = "Rok"; -$calendar_lang = "Kalendarz"; -$next_day_lang = "Następny dzień"; -$next_month_lang = "Przyszły miesiąc"; -$next_week_lang = "Przyszły tydzień"; -$next_year_lang = "Przyszły rok"; -$last_day_lang = "Poprzedni dzień"; -$last_month_lang = "Zeszły Miesiąc"; -$last_week_lang = "Zeszły tydzień"; -$last_year_lang = "Zeszły rok"; -$subscribe_lang = "Subskrybuj"; -$download_lang = "Pobież"; -$powered_by_lang = "Powered by"; -$version_lang = "0.5"; -$event_lang = "Zadanie"; -$event_start_lang = "Początek"; -$event_end_lang = "Koniec"; -$this_months_lang = "Zadania miesiąca"; -$date_lang = "Data"; -$summary_lang = "Info"; +$day_lang = 'Dzień'; +$week_lang = 'Tydzień'; +$month_lang = 'Miesiąc'; +$year_lang = 'Rok'; +$calendar_lang = 'Kalendarz'; +$next_day_lang = 'Następny dzień'; +$next_month_lang = 'Przyszły miesiąc'; +$next_week_lang = 'Przyszły tydzień'; +$next_year_lang = 'Przyszły rok'; +$last_day_lang = 'Poprzedni dzień'; +$last_month_lang = 'Zeszły Miesiąc'; +$last_week_lang = 'Zeszły tydzień'; +$last_year_lang = 'Zeszły rok'; +$subscribe_lang = 'Subskrybuj'; +$download_lang = 'Pobież'; +$powered_by_lang = 'Powered by'; +$version_lang = '0.5'; +$event_lang = 'Zadanie'; +$event_start_lang = 'Początek'; +$event_end_lang = 'Koniec'; +$this_months_lang = 'Zadania miesiąca'; +$date_lang = 'Data'; +$summary_lang = 'Info'; // new since last translation -$all_day_lang = "All day event"; -$notes_lang = "Notes"; -$this_years_lang = "This Year's Events"; -$today_lang = "Today"; -$this_week_lang = "This Week"; -$this_month_lang = "This Month"; -$jump_lang = "Jump to"; -$tomorrows_lang = "Tomorrow's Events"; -$goday_lang = "Go to Today"; -$goweek_lang = "Go to This Week"; -$gomonth_lang = "Go to This Month"; -$goyear_lang = "Go to This Year"; +$all_day_lang = 'All day event'; +$notes_lang = 'Notes'; +$this_years_lang = 'This Year\'s Events'; +$today_lang = 'Today'; +$this_week_lang = 'This Week'; +$this_month_lang = 'This Month'; +$jump_lang = 'Jump to'; +$tomorrows_lang = 'Tomorrow\'s Events'; +$goday_lang = 'Go to Today'; +$goweek_lang = 'Go to This Week'; +$gomonth_lang = 'Go to This Month'; +$goyear_lang = 'Go to This Year'; // Date display since setlocale isnt perfect. -$daysofweek_lang = array ("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"); -$daysofweekshort_lang = array ("Sun","Mon","Tue","Wed","Thu","Fri","Sat"); -$daysofweekreallyshort_lang = array ("S","M","T","W","T","F","S"); -$monthsofyear_lang = array ("January","February","March","April","May","June","July","August","September","October","November","December"); -$monthsofyearshort_lang = array ("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"); +$daysofweek_lang = array ('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'); +$daysofweekshort_lang = array ('Sun','Mon','Tue','Wed','Thu','Fri','Sat'); +$daysofweekreallyshort_lang = array ('S','M','T','W','T','F','S'); +$monthsofyear_lang = array ('January','February','March','April','May','June','July','August','September','October','November','December'); +$monthsofyearshort_lang = array ('Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'); // Set Location for date formatting, check out: http://www.php.net/manual/en/function.setlocale.php setlocale (LC_TIME, 'pl_PL'); // For time formatting, check out: http://www.php.net/manual/en/function.date.php -$timeFormat = "G:i"; +$timeFormat = '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 = "%b %e";// new since last translation -$dateFormat_month = "%B %Y"; -$dateFormat_month_list = "%A, %e %B"; +$dateFormat_day = '%A, %e %B'; +$dateFormat_week = '%e %B'; +$dateFormat_week_list = '%a, %e %b'; +$dateFormat_week_jump = '%b %e';// new since last translation +$dateFormat_month = '%B %Y'; +$dateFormat_month_list = '%A, %e %B'; /* Notes about $dateFormat_* |