aboutsummaryrefslogtreecommitdiffstats
path: root/languages
diff options
context:
space:
mode:
authorjwangen <jwangen>2002-10-05 07:10:10 +0000
committerjwangen <jwangen>2002-10-05 07:10:10 +0000
commit0d9dd6372798c485234bcb071d797843eb43094f (patch)
treecda31d766017ede39b672f6036c90ab9bcb37b2a /languages
parent305ebf2eed3fda0fc8df67d73d89781d8455d181 (diff)
downloadphpicalendar-0d9dd6372798c485234bcb071d797843eb43094f.tar.gz
phpicalendar-0d9dd6372798c485234bcb071d797843eb43094f.tar.bz2
phpicalendar-0d9dd6372798c485234bcb071d797843eb43094f.zip
Added saving parsed cals to a file for quicker processing.
Prepared language files for translation.
Diffstat (limited to 'languages')
-rw-r--r--languages/danish.inc.php22
-rw-r--r--languages/dutch.inc.php22
-rw-r--r--languages/english.inc.php13
-rw-r--r--languages/french.inc.php20
-rw-r--r--languages/german.inc.php13
-rw-r--r--languages/italian.inc.php62
-rw-r--r--languages/japanese.inc.php25
-rw-r--r--languages/norwegian.inc.php23
-rw-r--r--languages/polish.inc.php19
-rw-r--r--languages/spanish.inc.php94
10 files changed, 228 insertions, 85 deletions
diff --git a/languages/danish.inc.php b/languages/danish.inc.php
index 13840b6..fc3c27e 100644
--- a/languages/danish.inc.php
+++ b/languages/danish.inc.php
@@ -1,7 +1,7 @@
<?
// Danish language include
-// For version 0.5 PHP iCalendar
+// For version 0.6 PHP iCalendar
//
// Translation by Henrik H¿jmark (styxx@worldonline.dk)
//
@@ -25,7 +25,7 @@ $last_year_lang = 'Forrige &Aring;r';
$subscribe_lang = 'Abonn&eacute;r';
$download_lang = 'Hent';
$powered_by_lang = 'Drevet af';
-$version_lang = '0.5';
+$version_lang = '0.6';
$event_lang = 'Aftale';
$event_start_lang = 'Start Tidspunkt';
$event_end_lang = 'Slut Tidspunkt';
@@ -47,18 +47,13 @@ $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');
-
-
-// Set Location for date formatting, check out: http://www.php.net/manual/en/function.setlocale.php
-setlocale (LC_TIME, 'dk_DK');
-
// For time formatting, check out: http://www.php.net/manual/en/function.date.php
$timeFormat = 'H:i';
@@ -86,4 +81,15 @@ Notes about dateFormat_*
us know. We will be happy to modify this if needed.
*/
+// Error messages - %s will be replaced with a variable
+$error_title_lang = 'Error!';
+$error_window_lang = 'There was an error!';
+$error_calendar_lang = 'The calendar "%s" was being processed when this error occurred.';
+$error_path_lang = 'Unable to open the path: "%s"';
+$error_back_lang = 'Please use the "Back" button to return.';
+$error_remotecal_lang = 'This server blocks remote calendars which have not been approved.';
+$error_restrictedcal_lang = 'You have tried to access a calendar that is restricted on this server.';
+$error_invalidcal_lang = 'Invalid calendar file. Please try a different calendar.';
+
+
?> \ No newline at end of file
diff --git a/languages/dutch.inc.php b/languages/dutch.inc.php
index eb67fa7..5abec6f 100644
--- a/languages/dutch.inc.php
+++ b/languages/dutch.inc.php
@@ -1,7 +1,7 @@
<?php
// Dutch language include
-// For version 0.5 PHP iCalendar
+// For version 0.6 PHP iCalendar
//
// Translation by Lieven Gekiere (Lieven@gekiere.com)
//
@@ -25,7 +25,7 @@ $last_year_lang = 'Vorig Jaar';
$subscribe_lang = 'Abonneer';
$download_lang = 'Download';
$powered_by_lang = 'Gemaakt met';
-$version_lang = '0.5';
+$version_lang = '0.6';
$event_lang = 'Activiteit';
$event_start_lang = 'Start Tijd';
$event_end_lang = 'Eind Tijd';
@@ -47,18 +47,13 @@ $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
+// 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');
-
-
-// Set Location for date formatting, check out: http://www.php.net/manual/en/function.setlocale.php
-setlocale (LC_TIME, 'nl_BE');
-
// For time formatting, check out: http://www.php.net/manual/en/function.date.php
$timeFormat = 'G:i';
@@ -86,4 +81,15 @@ Notes about dateFormat_*
us know. We will be happy to modify this if needed.
*/
+// Error messages - %s will be replaced with a variable
+$error_title_lang = 'Error!';
+$error_window_lang = 'There was an error!';
+$error_calendar_lang = 'The calendar "%s" was being processed when this error occurred.';
+$error_path_lang = 'Unable to open the path: "%s"';
+$error_back_lang = 'Please use the "Back" button to return.';
+$error_remotecal_lang = 'This server blocks remote calendars which have not been approved.';
+$error_restrictedcal_lang = 'You have tried to access a calendar that is restricted on this server.';
+$error_invalidcal_lang = 'Invalid calendar file. Please try a different calendar.';
+
+
?> \ No newline at end of file
diff --git a/languages/english.inc.php b/languages/english.inc.php
index dfd7f6c..d347f5a 100644
--- a/languages/english.inc.php
+++ b/languages/english.inc.php
@@ -45,17 +45,12 @@ $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');
-// 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';
@@ -86,11 +81,11 @@ Notes about dateFormat_*
// Error messages - %s will be replaced with a variable
$error_title_lang = 'Error!';
$error_window_lang = 'There was an error!';
-$error_calendar_lang = 'The calendar %s caused this error.';
-$error_path_lang = 'Unable to open the path: %s';
+$error_calendar_lang = 'The calendar "%s" was being processed when this error occurred.';
+$error_path_lang = 'Unable to open the path: "%s"';
$error_back_lang = 'Please use the "Back" button to return.';
-$error_remotecal_lang = 'You cannot view remote calendars on this server which are not approved.';
-$error_restrictedcal_lang = 'You have tried to access calendar that is restricted on this server.';
+$error_remotecal_lang = 'This server blocks remote calendars which have not been approved.';
+$error_restrictedcal_lang = 'You have tried to access a calendar that is restricted on this server.';
$error_invalidcal_lang = 'Invalid calendar file. Please try a different calendar.';
?> \ No newline at end of file
diff --git a/languages/french.inc.php b/languages/french.inc.php
index 01bdda8..a3ade1e 100644
--- a/languages/french.inc.php
+++ b/languages/french.inc.php
@@ -1,7 +1,7 @@
<?php
// French language include
-// For version 0.5 PHP iCalendar
+// For version 0.6 PHP iCalendar
//
// Translation by La Shampouineuse (info@lashampoo.com)
//
@@ -25,7 +25,7 @@ $last_year_lang = 'Ann&eacute;e pr&eacute;c&eacute;dente';
$subscribe_lang = 'Souscrire';
$download_lang = 'T&eacute;l&eacute;charger';
$powered_by_lang = 'Produit avec';
-$version_lang = '0.5';
+$version_lang = '0.6';
$event_lang = '&Eacute;v&eacute;nement';
$event_start_lang = 'D&eacute;but';
$event_end_lang = 'Fin';
@@ -54,11 +54,6 @@ $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');
-
// For time formatting, check out: http://www.php.net/manual/fr/function.date.php
$timeFormat = 'H:i';
@@ -86,4 +81,15 @@ Notes about dateFormat_*
us know. We will be happy to modify this if needed.
*/
+// Error messages - %s will be replaced with a variable
+$error_title_lang = 'Error!';
+$error_window_lang = 'There was an error!';
+$error_calendar_lang = 'The calendar "%s" was being processed when this error occurred.';
+$error_path_lang = 'Unable to open the path: "%s"';
+$error_back_lang = 'Please use the "Back" button to return.';
+$error_remotecal_lang = 'This server blocks remote calendars which have not been approved.';
+$error_restrictedcal_lang = 'You have tried to access a calendar that is restricted on this server.';
+$error_invalidcal_lang = 'Invalid calendar file. Please try a different calendar.';
+
+
?>
diff --git a/languages/german.inc.php b/languages/german.inc.php
index c11d9d4..4378e6d 100644
--- a/languages/german.inc.php
+++ b/languages/german.inc.php
@@ -1,7 +1,7 @@
<?
// German language include
-// For version 0.5 PHP iCalendar
+// For version 0.6 PHP iCalendar
//
// Translation by David Reindl (dre@andare.ch)
//
@@ -24,7 +24,7 @@ $last_year_lang = 'Vorhergehendes Jahr';
$subscribe_lang = 'Abonnieren';
$download_lang = 'Herunterladen';
$powered_by_lang = 'Powered by';
-$version_lang = '0.5';
+$version_lang = '0.6';
$event_lang = 'Eintrag';
$event_start_lang = 'Beginn';
$event_end_lang = 'Ende';
@@ -88,5 +88,14 @@ Notes about dateFormat_*
us know. We will be happy to modify this if needed.
*/
+// Error messages - %s will be replaced with a variable
+$error_title_lang = 'Error!';
+$error_window_lang = 'There was an error!';
+$error_calendar_lang = 'The calendar "%s" was being processed when this error occurred.';
+$error_path_lang = 'Unable to open the path: "%s"';
+$error_back_lang = 'Please use the "Back" button to return.';
+$error_remotecal_lang = 'This server blocks remote calendars which have not been approved.';
+$error_restrictedcal_lang = 'You have tried to access a calendar that is restricted on this server.';
+$error_invalidcal_lang = 'Invalid calendar file. Please try a different calendar.';
?> \ No newline at end of file
diff --git a/languages/italian.inc.php b/languages/italian.inc.php
index 72ec708..a99185d 100644
--- a/languages/italian.inc.php
+++ b/languages/italian.inc.php
@@ -1,9 +1,10 @@
<?
// Italian language include
-// For version 0.5 PHP iCalendar
+// For version 0.6 PHP iCalendar
//
-// Translation by Luca Cacciagrano (clooka@clac.it)
+// First translation by Luca Cacciagrano (clooka@clac.it)
+// Updated translation by Daniele Nicolucci (jollino@discussioni.org)
//
// Submit new translations to chad@chadsdomain.com
@@ -25,38 +26,32 @@ $last_year_lang = 'Anno Precedente';
$subscribe_lang = 'Sottoscrivi';
$download_lang = 'Scarica';
$powered_by_lang = 'Powered by';
-$version_lang = '0.5';
+$version_lang = '0.6';
$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 = 'Eventi giornalieri';
+$notes_lang = 'Note';
+$this_years_lang = 'Eventi di quest\'anno';
+$today_lang = 'Oggi';
+$this_week_lang = 'Questa settimana';
+$this_month_lang = 'Questo mese';
+$jump_lang = 'Vai a';
+$tomorrows_lang = 'Eventi di domani';
+$goday_lang = 'Vai a oggi';
+$goweek_lang = 'Vai a questa settimana';
+$gomonth_lang = 'Vai a questo mese';
+$goyear_lang = 'Vai a quest\'anno';
// 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');
-
-
-// Set Location for date formatting, check out: http://www.php.net/manual/en/function.setlocale.php
-setlocale (LC_TIME, 'it_IT');
+$daysofweek_lang = array ('Domenica','Luned&iacute;','Marted&igrave;','Mercoled&igrave;','Gioved&igrave;','Venerd&igrave;','Sabato');
+$daysofweekshort_lang = array ('Dom','Lun','Mar','Mer','Gio','Ven','Sab');
+$daysofweekreallyshort_lang = array ('D','L','M','M','G','V','S');
+$monthsofyear_lang = array ('Gennaio','Febbraio','Marzo','Aprile','Maggio','Giugno','Luglio','Agosto','Settembre','Ottobre','Novembre','Dicembre');
+$monthsofyearshort_lang = array ('Gen','Feb','Mar','Apr','Mag','Giu','Lug','Ago','Set','Ott','Nov','Dic');
// For time formatting, check out: http://www.php.net/manual/en/function.date.php
$timeFormat = 'G:i';
@@ -65,7 +60,7 @@ $timeFormat = 'G:i';
$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_week_jump = '%e %B';
$dateFormat_month = '%B %Y';
$dateFormat_month_list = '%A, %e %B';
@@ -85,4 +80,15 @@ Notes about dateFormat_*
us know. We will be happy to modify this if needed.
*/
-?> \ No newline at end of file
+// Error messages - %s will be replaced with a variable
+$error_title_lang = 'Error!';
+$error_window_lang = 'There was an error!';
+$error_calendar_lang = 'The calendar "%s" was being processed when this error occurred.';
+$error_path_lang = 'Unable to open the path: "%s"';
+$error_back_lang = 'Please use the "Back" button to return.';
+$error_remotecal_lang = 'This server blocks remote calendars which have not been approved.';
+$error_restrictedcal_lang = 'You have tried to access a calendar that is restricted on this server.';
+$error_invalidcal_lang = 'Invalid calendar file. Please try a different calendar.';
+
+
+?>
diff --git a/languages/japanese.inc.php b/languages/japanese.inc.php
index 4377536..0af3d78 100644
--- a/languages/japanese.inc.php
+++ b/languages/japanese.inc.php
@@ -1,7 +1,7 @@
<?php
// English language include
-// For version 0.5 PHP iCalendar
+// For version 0.6 PHP iCalendar
//
// Translation by Jared Wangen (jared@silter.org)
// With the help of Eri Hayashiguchi
@@ -28,7 +28,7 @@ $download_lang = 'ダウンロード';
$published_lang = '公開日:';
$powered_by_lang = 'Powered by';
-$version_lang = '0.5';
+$version_lang = '0.6';
$event_lang = '件å';
$event_start_lang = '開始日';
$event_end_lang = '終了日';
@@ -47,11 +47,11 @@ $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';
+$tomorrows_lang = '翌日ã®äºˆå®š';
+$goday_lang = '今日ã«è¡Œã';
+$goweek_lang = '今週ã«è¡Œã';
+$gomonth_lang = '今月ã«è¡Œã';
+$goyear_lang = '今年ã«è¡Œã';
$daysofweek_lang = array ('日曜日','月曜日','ç«æ›œæ—¥','水曜日','木曜日','金曜日','土曜日');
$daysofweekshort_lang = array ('日曜','月曜','ç«æ›œ','水曜','木曜','金曜','土曜');
@@ -89,4 +89,15 @@ Notes about dateFormat_*
us know. We will be happy to modify this if needed.
*/
+// Error messages - %s will be replaced with a variable
+$error_title_lang = 'Error!';
+$error_window_lang = 'é–“é•ã„ãŒã‚ã£ãŸ!';
+$error_calendar_lang = 'The calendar "%s" was being processed when this error occurred.';
+$error_path_lang = 'Unable to open the path: "%s"';
+$error_back_lang = 'Please use the "Back" button to return.';
+$error_remotecal_lang = 'ã“ã®ã‚µãƒ¼ãƒãƒ¼ã¯é éš”カレンダーを妨ã’る承èªã•ã‚Œãªã‹ã£ãŸã€‚';
+$error_restrictedcal_lang = 'ã‚ãªãŸã¯ã‚«ãƒ¬ãƒ³ãƒ€ãƒ¼ã«ã‚¢ã‚¯ã‚»ã‚¹ã™ã‚‹ã“ã¨ã‚’試ã¿ãŸã“ã®ã‚µãƒ¼ãƒãƒ¼ã§ é™ã‚‰ã‚Œã¦ã„ã‚‹';
+$error_invalidcal_lang = 'カレンダーファイルã¯ç„¡åŠ¹ã§ã‚ã‚‹ã“ã¨ã€‚ 別ã®ã‚«ãƒ¬ãƒ³ãƒ€ãƒ¼ã‚’試ã¿ãªã•ã„。';
+
+
?> \ No newline at end of file
diff --git a/languages/norwegian.inc.php b/languages/norwegian.inc.php
index 4cfd037..e60bbf8 100644
--- a/languages/norwegian.inc.php
+++ b/languages/norwegian.inc.php
@@ -1,7 +1,7 @@
<?php
// Norwegian language include
-// For version 0.5 PHP iCalendar
+// For version 0.6 PHP iCalendar
//
// Translation by Geir Kielland (geir.kielland@jus.uio.no)
//
@@ -25,7 +25,7 @@ $last_year_lang = 'Forrige &Aring;r';
$subscribe_lang = 'Abonn&eacute;r';
$download_lang = 'Last Ned';
$powered_by_lang = 'Powered by';
-$version_lang = '0.5';
+$version_lang = '0.6';
$event_lang = 'Hendelse';
$event_start_lang = 'Start Tid';
$event_end_lang = 'Slutt Tid';
@@ -34,8 +34,6 @@ $date_lang = 'Dato';
$summary_lang = 'Sammendrag';
$all_day_lang = 'Hele dagen';
$notes_lang = 'Notater';
-
-// new since last translation
$this_years_lang = 'Hendelser dette &aring;ret';
$today_lang = 'I dag';
$this_week_lang = 'Denne uken';
@@ -47,7 +45,6 @@ $goweek_lang = 'G&aring; til denne uken';
$gomonth_lang = 'G&aring; til denne m&aring;neden';
$goyear_lang = 'G&aring; til dette &aring;ret';
-// Date display since setlocale isnt perfect. // new since last translation
$daysofweek_lang = array('S&oslash;ndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','L&oslash;rdag');
$daysofweekshort_lang = array ('S&oslash;n','Man','Tir','Ons','Tor','Fre','L&oslash;r');
$daysofweekreallyshort_lang = array ('S','M','T','O','T','F','L');
@@ -55,9 +52,6 @@ $monthsofyear_lang = array ('Januar','Februar','Mars','April','Mai','Juni','Ju
$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';
@@ -65,7 +59,7 @@ $timeFormat = 'H:i';
$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_week_jump = '%b %e';
$dateFormat_month = '%B %Y';
$dateFormat_month_list = '%A, %e. %B';
@@ -85,4 +79,15 @@ Notes about dateFormat_*
us know. We will be happy to modify this if needed.
*/
+// Error messages - %s will be replaced with a variable
+$error_title_lang = 'Error!';
+$error_window_lang = 'There was an error!';
+$error_calendar_lang = 'The calendar "%s" was being processed when this error occurred.';
+$error_path_lang = 'Unable to open the path: "%s"';
+$error_back_lang = 'Please use the "Back" button to return.';
+$error_remotecal_lang = 'This server blocks remote calendars which have not been approved.';
+$error_restrictedcal_lang = 'You have tried to access a calendar that is restricted on this server.';
+$error_invalidcal_lang = 'Invalid calendar file. Please try a different calendar.';
+
+
?>
diff --git a/languages/polish.inc.php b/languages/polish.inc.php
index 5e94142..c837646 100644
--- a/languages/polish.inc.php
+++ b/languages/polish.inc.php
@@ -1,7 +1,7 @@
<?
// Polish language include
-// For version 0.5 PHP iCalendar
+// For version 0.6 PHP iCalendar
//
// Translation by Stanislaw Cieslicki (stahoo@poczta.onet.pl)
//
@@ -25,7 +25,7 @@ $last_year_lang = 'Zeszły rok';
$subscribe_lang = 'Subskrybuj';
$download_lang = 'Pobież';
$powered_by_lang = 'Powered by';
-$version_lang = '0.5';
+$version_lang = '0.6';
$event_lang = 'Zadanie';
$event_start_lang = 'PoczÄ…tek';
$event_end_lang = 'Koniec';
@@ -47,17 +47,12 @@ $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');
-
-// 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';
@@ -85,4 +80,14 @@ Notes about $dateFormat_*
us know. We will be happy to modify this if needed.
*/
+// Error messages - %s will be replaced with a variable
+$error_title_lang = 'Error!';
+$error_window_lang = 'There was an error!';
+$error_calendar_lang = 'The calendar "%s" was being processed when this error occurred.';
+$error_path_lang = 'Unable to open the path: "%s"';
+$error_back_lang = 'Please use the "Back" button to return.';
+$error_remotecal_lang = 'This server blocks remote calendars which have not been approved.';
+$error_restrictedcal_lang = 'You have tried to access a calendar that is restricted on this server.';
+$error_invalidcal_lang = 'Invalid calendar file. Please try a different calendar.';
+
?> \ No newline at end of file
diff --git a/languages/spanish.inc.php b/languages/spanish.inc.php
new file mode 100644
index 0000000..2889897
--- /dev/null
+++ b/languages/spanish.inc.php
@@ -0,0 +1,94 @@
+<?
+
+// Spanish language include
+// For version 0.6 PHP iCalendar
+//
+// Translation by XIPS (buzon@xips.es)
+//
+// Submit new translations to chad@chadsdomain.com
+
+
+
+$day_lang = "D&iacute;a";
+$week_lang = "Semana";
+$month_lang = "Mes";
+$year_lang = "A&ntilde;o";
+$calendar_lang = "Calendario";
+$next_day_lang = "D&iacute;a siguiente";
+$next_month_lang = "Mes siguiente";
+$next_week_lang = "Semana siguiente";
+$next_year_lang = "A&ntilde;o siguiente";
+$last_day_lang = "D&iacute;a anterior";
+$last_month_lang = "Mes anterior";
+$last_week_lang = "Semana anterior";
+$last_year_lang = "A&ntilde;o anterior";
+$subscribe_lang = "Suscribir";
+$download_lang = "Descargar";
+$powered_by_lang = "Powered by";
+$version_lang = "0.6";
+
+// from here down, translate
+$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';
+
+$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');
+
+// For time formatting, check out: http://www.php.net/manual/en/function.date.php
+$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';
+
+/*
+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
+$error_title_lang = 'Error!';
+$error_window_lang = 'There was an error!';
+$error_calendar_lang = 'The calendar "%s" was being processed when this error occurred.';
+$error_path_lang = 'Unable to open the path: "%s"';
+$error_back_lang = 'Please use the "Back" button to return.';
+$error_remotecal_lang = 'This server blocks remote calendars which have not been approved.';
+$error_restrictedcal_lang = 'You have tried to access a calendar that is restricted on this server.';
+$error_invalidcal_lang = 'Invalid calendar file. Please try a different calendar.';
+
+
+?>

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