# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # This is the Swedish language file for Nermware's The Event # # Calendar. Use this file to change it's presentation and operation. # # Translation by Annika Nilsson # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # ########### Basic Configuration ############# # Every page has a meta comment indicating adapted from the original .. # Please change or comment this. $adaptcom = 'eventcalendar.pl Rev Whatever .. Whoever'; # Where you want people to email to $myemail = 'nerm@nermware.com'; # Use the above email address as a button on the month view page $usemyemail = 1; # Check my sanity. The sanity check process checks if all required files, # directories, and variables pointing to said, are set correctly. # If these files and variables are missing, it will attempt to create and # set accordingly, or warn you of mistakes. Set to 0 to disable. $sanitycheckok = 1; # Base url of all pages # Example .. $baseurl = 'http://www.nermware.com/'; # NOTE: .. Leave this unset to force this script to figure it out. # Set only if sanitycheck fails to. # $baseurl = 'http://www.???.com/'; # path to the cgi directory relative to your web page directory # probibly /cgi-bin or /bin # NOTE: .. Leave this unset to force this script to figure it out. # Set only if sanitycheck fails to. # $cgidir = '/cgi-bin'; # Note .. if when edit or view is selected, and link path is incorrect with # 'eventcalendar./eventcalendar.pl' in the path, then set the above $baseurl # and $cgidir as indicated. # Name of this script .. eventcalendar.pl if not changed # Set only if sanitycheck fails to. # $scriptname = "eventcalendar.pl"; # path to the master calendar database, relative to the cgi bin directory $majordbfile = './caldb/eventcaldb'; # Path to holiday database, relative to the cgi bin directory $holidaydbfile = './caldb/holidaydb'; # Enable holiday treatment of holidays .. i.e. holidays are entered into the holiday database # Else entered into the major databases. Holidays in holiday database are treated differently. The # entries are entered only if in the year 2000. # Note: To enter holidays into the holiday database, three things have to be true # 1. Holiday ok flag is set and $holidaydbfile is readable # 2. The subject is $holiday # 3. selected year is 2000 .. all holidays, excluding those like Easter, epoch in the year 2000 # This is so that earlier entries with repeats on the entered holiday don't overwrite it $holidayok = 1; # Europe ? $europe = 1; # change to 1 if europe week is to be viewed (starts # with monday & dates are viewed day/month/year) # Path to the local css style sheet. Comment out if no stylesheet. # $csspath = "./nermstyle.css"; # Show image of phase of the moon? $moonphaseok = 0; # Defined home page relative to base url $homepage = './index.html'; # Calculate Easter, Good Friday and Ash Wednesday ? $easterok = 1; ########## Titles and Names of Things ########## # Title of the today button $todaytitle = 'Denna månad'; # Text of the home link $hometext = 'Hem'; # Title of the goto column $gototitle = 'Gå till'; # Title of the select month column $selmonthtitle = 'Välj månad'; # Title of the select year column $selyeartitle = 'Välj år'; # Title of the view calendar column $viewcaltitle = "Visa kalender"; # Label of the view month button $vwmobutton = "Visa månad"; # Label of the view year button $vwyrbutton = "Visa år"; # Title of the return button $returntitle = "Tillbaka till månad"; # Title of the entry fields and such $titletitle = 'Händelse'; $occurstitle = 'Upprepa'; $commenttitle = 'Händelsetext'; $subjecttitle = 'Händelsetyp'; $theforword = 'varje'; # Annual event only text .. shown whenever an annual event only subject is selected $annualtext = 'Endast
årlig
händelse'; # As shown on the calendar, and used by the entry forms # hash mapping of the text background 'catagory' colors. Map color values to names # Syntax .. key value => label %titlebgmap = ( 'none' => 'Alla', '#33ffcc' => "IT", '#ccff66' => "PA", '#ff0033' => "Sälj", '#66cccc' => "F&U", '#ffff99' => "Marknad", '#66ccff' => "Ekonomi" ); # Sequence placement of value->lables using values in the prefered sequence # Note .. these values must match the keys of %titlebgmap. If they don't, the mismatching will # not be availible @titlebgvalues = ("none","#33ffcc","#ccff66","#ff0033","#66cccc","#ffff99","#66ccff"); # Repeatlabels are the labels in the occur menu. # Change these for other then English but keep the same order @repeatlabels = ('Endast en gång','Dagligen','Mån-Fre','Varannan Mån-Fre','Varje vecka','Varannan vecka','Varje månad samma datum','Varje månad samma veckodag','Varje månad sista veckodagen','Årligen samma datum','Årligen samma veckodag','Årligen sista veckodagen'); # %unittext is the text units shown for Day, Days, Weeks, Months, or # Years. Change according to language. %unittext = ( 'Day' => 'Dag', 'Days' => 'Dagar', 'Weeks' => 'Veckor', 'Months' => 'Månader', 'Years' => 'År' ); # Instructions for entry fields %instructions = ( $titletitle => "$titletitle som visas i kalendern.", $subjecttitle => "Välj en $subjecttitle från menyn. För $subjecttitle 'Övriga', använd $commenttitle-fältet.", $commenttitle => "Skriv in en $commenttitle om $subjecttitle eller 'Övriga' $subjecttitle", $occurstitle => "$occurstitle för inskrivet nummer av: " . join("\, ",@repeatlabels) . "" ); # Titles for the days of the week # Change for other languages but keep same order @weekdaytitles = qw(Söndag Måndag Tisdag Onsdag Torsdag Fredag Lördag); # Title for each month # Change for other languages but keep same order @monthtitles = qw(Januari Februari Mars April Maj Juni Juli Augusti September Oktober November December); # Title of the calendar page $calpgtitle = 'Månadskalender'; # Title of the calendar (not the page) $caltitle = ' Månadskalender'; # How To instructions at bottom of month view $monthhowto = "För att Visa händelseinformation för en dag, välj händelsen. För att ändra händelseinformation, välj datum."; # years to show in the menu @menuyears = qw(2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025); # Selection for subject menu @sbjlist = qw(Möte Resa Födelsedag Bröllopsdag Skolan Fest Träna Semester Helg Övrigt); # Always repeat these subjects .. annual events only @alwaysrepeat = qw(Höstlov Jullov Julafton Februarilov Påsklov Sommarlov Midsommar); # Default subject list selection $sbjdefault = 'Möte'; # Entry Page title $enpgtitle = 'Lägg till händelser i månadskalendern'; # Day view page title $dypgtitle = 'Dagliga händelser i månadskalendern'; # Year view page title $yrpgtitle = 'Årskalender '; # Entry page lables $applylabel = "Lägg till händelse"; $deletelabel = "Radera händelse"; $resetlabel = "Återställ händelse"; # Edit and view data phrases. Used in the month view's status section, and popup title $editphrase = 'Klicka för att ändra'; $viewphrase = 'Klicka för att visa'; $printertext = "Utskriftsanpassad sida"; # Your native word for Holiday $holiday = 'Helgdag'; # Words for moon images $moonword_new = 'Nymåne'; $moonword_first = 'Halvmåne'; $moonword_full = 'Fullmåne'; $moonword_last = 'Halvmåne i nedan'; # Native words for Easter $easter = 'Påsk'; $gfriday = 'Långfredag'; $ashwed = 'Askonsdag'; ######### Colors ######### # Title text foreground color $caltitlecolor = "navy"; # Color of the background row for the name of the days of the week $wkdbgcolor = "$caltitlecolor"; # Color of the text for the name of the days of the week $wkdfgcolor = "#fff0b0"; # Background color of all pages $pagebgcolor = "#e0e0ff"; # Calendar background color (not the page background color) $calbgcolor = "#d0d0f0"; # Regular day of month button number foreground color $dayfgcolor = "$caltitlecolor"; # Regular day of month button number background color $daybgcolor = "$pagebgcolor"; # Highlighted day of month number (fg) & button (bg) color $hdayfgcolor = "$wkdfgcolor"; $hdaybgcolor = "$wkdbgcolor"; # Calendar day data text color $ctxtfgcolor = "$caltitlecolor"; # Calendar day data text background color # If unset (commented out), background is the same as cell background. # Example: $ctxtbgcolor = 'white'; # $ctxtbgcolor = 'white'; # Catagory background color on/off # If 0, background colors representing catagory are not shown $catagorycoloron = 1; # Bottom menu cell background color $mnubgcolor = "$wkdbgcolor"; # Bottom menu text foreground color $mnufgcolor = "$wkdfgcolor"; # Weekend cell color $calwebgcolor = "#c0c0e0"; # Prev and Next buttons cell background color $pnbgcolor = "$wkdbgcolor"; # Prev and Next buttons text foreground color $pnfgcolor = "$wkdfgcolor"; # Month & Year calendar cell background color $myrbgcolor = "$wkdbgcolor"; # Month & Year text color $myrfgcolor = "$wkdfgcolor"; #### Enter day page #### # Caption text color $capfgcolor = "$caltitlecolor"; # Title cell background color $titlebgcolor = "#e6e6ff"; # Title text foreground color $titlefgcolor = "$caltitlecolor"; # Subject cell background color $sbjbgcolor = "$titlebgcolor"; # Subject text foreground color $sbjfgcolor = "$titlefgcolor"; # Comment cell background color $cmtbgcolor = "$titlebgcolor"; # Comment text foreground color $cmtfgcolor = "$titlefgcolor"; # Add/Change & Delete button cell background color $acdbgcolor = "$pnbgcolor"; # Add/Change & Delete button text foreground color $acdfgcolor = "$pnfgcolor"; # Instructions text foreground color $insfgcolor = "$titlefgcolor"; ########### Sizes and Limits ############ # The size of the bg labels as shown in the enterday form # This limits the size for better viewing on the entry page $titlebgsize = "5"; # Month view day number button size (x-small, small, medium, large, x-large, xx-large, smaller, larger) $buttonsize = 'large'; # Max length of the entered title that's viewed on the month view calendar # day cells $maxtitlelen = 16; # Max number of entries $maxentries = 9; # Max number of repeat occurences $maxrepeats = 100; # Set to 1 to return to the enter data page when entries are added, changed, or deleted # else 0 to return to calendar page $returnenterday = 0; # Set offset in minutes server time zone is ater (+) or before (-) gmt # Default is EST, 5 hours * 60 minutes, unless Europe, then 0 # This is so that correct day is shown for local time # Note that after the 1st eventcalendar page is shown, viewer's offset is read and used. # However, this will get you close to what your users expect. $gmtoffset = 300; $gmtoffset = 0 if($europe); ########### Over all fonts ############ # List of fonts families. # Note: style sheet defined in $csspath over writes this font stuff. $fontfamily = 'Verdana'; # Default font size $fontsize = '9pt'; ########### Images ############ # Where images are kept relative to base url $imagedir = '/eventcalimages'; # Background Image # Note: style sheet defined in $csspath over writes this background stuff. #$background = "$imagedir/bg4.jpeg"; # Placement of background image (fixed or scroll) $bgimgplace = "fixed"; # Repeat of background image (repeat, repeat-x, repeat-y or no-repeat) $bgimgrepeat = "repeat"; # Moon phase images directory $moonimgdir = $imagedir; # Button images $buttonimgdir = $imagedir; # # # # # # # # # # # # # # # # No More Variable Changes # # # # # # # # # # # # # # # #