
$lang{controls_change} = "Change!";
$lang{controls_start_month} = "Start month";
$lang{controls_num_months} = "Number of months to show:";

$lang{controls_calendar} = "Calendar";
$lang{controls_list} = "List of events";

@months_abv=("Jan.","Feb.","Mar.","Apr.","May","Jun.","Jul.","Aug.","Sept.","Oct.","Nov.","Dec.");
@months=("January","February","March","April","May","June","July","August","September","October","November","December");
@day_names = ("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday");

$lang{previous_month} = "&lt; previous month";
$lang{previous_months} = "&lt; previous ###num### months";

$lang{next_month} = "next month &gt;";
$lang{next_months} = "next ###num### months &gt;";

$lang{add_event_on_this_day} = "Add event on this day";
$lang{add_event_to_this_calendar} = "Add an event to this calendar";
$lang{edit_calendar_options} = "Edit calendar options";
$lang{make_custom_calendar} = "Make a custom calendar";

# stuff on add/edit calendars tab
$lang{tab2_view_calendar_details} = "View details for this calendar";
$lang{tab2_edit_delete} = "Edit / Delete this calendar";
$lang{tab2_add_new_calendar} = "Add a new calendar";
$lang{tab2_view_new_calendars} = "View new calendars pending approval";
$lang{tab2_no_new_calendars} = "(none right now)";
$lang{tab2_some_new_calendars} = "(<b>###num###</b> in the file)";

$lang{add_new_calendar} = "Add a New Calendar";
$lang{edit_calendar} = "Edit Calendar";
$lang{fields_text1} = "Fields";
$lang{fields_text2} = "this color";
$lang{fields_text3} = "are required.";

$lang{add_edit_calendars_tab0} = "Calendar Details";
$lang{add_edit_calendars_tab1} = "Other Calendars";
$lang{add_edit_calendars_tab2} = "Special Options";
$lang{help_on_this} = "help on this";

$lang{calendar_title} = "Calendar Title:";
$lang{calendar_link} = "Calendar Link:";
$lang{calendar_details} = "Calendar Details:";
$lang{preview_calendar_details} = "Preview Calendar Details";
$lang{background_calendars1} = "Background (merged) calendars:";
$lang{background_calendars2} = "(their events are displayed in the background)";

$lang{selectable_calendars1} = "Selectable other calendars:";
$lang{selectable_calendars2} = "(dropdown list on main page)";

$lang{bg_events_display_style1} = "Background events display style:";
$lang{bg_events_display_style2} = "Normal";
$lang{bg_events_display_style3} = "Single Color";
$lang{bg_events_display_style4} = "Faded";
$lang{bg_events_display_style5} = "Preview:";
$lang{bg_events_display_style6} = "Event";
$lang{bg_events_display_style7} = "Background Event";
$lang{bg_events_display_style8} = "List background calendars together?";

$lang{default_number_of_months} = "Default number of months to display:";
$lang{max_months} = "Maximum number of months to display:";
$lang{timezone_offset} = "Timezone offset (in hours):";
$lang{date_format} = "Date Format:";
$lang{week_start_day} = "Week start day:";
$lang{popup_window_size1} = "Pop-up window size:";
$lang{popup_window_size2} = "(in pixels)";
$lang{custom_template} = "Custom template:";
$lang{custom_stylesheet} = "Custom stylesheet:";

$lang{cal_password} = "Calendar Password:";
$lang{change_password} = "Change Password?";
$lang{new_password} = "New Password";
$lang{repeat_new_password} = "Repeat New Password";

$lang{password} = "Password";
$lang{choose_password} = "Choose Password";
$lang{repeat_password} = "Repeat Password";

$lang{add_calendar} = "Add Calendar";
$lang{update_cal_button} = "Update Calendar";
$lang{preview_warning} = "(You should preview the details first!)";
$lang{del_cal_button1} = "Delete this Calendar";
$lang{del_cal_button2} = "Last Chance!  Are you sure you want to delete the entire calendar?";
$lang{del_cal_button3} = "Deleting this calendar will also delete all events associated with it.<br>This is a fairly serious thing to do, and cannot be undone.";

$lang{Warning} = "Warning!";
$lang{Error} = "Error!";
$lang{update_cal_error1} = "Error! The given password does not match the password for";
$lang{update_cal_error2} = "Error! You are attempting to delete the primary calendar.  This is not allowed.";
$lang{update_cal_error3} = "Calendar ###title### successfully deleted!";
$lang{update_cal_error4} = "Error! The <b>pop-up window size</b> field had an invalid value (###size###).";
$lang{update_cal_error5} = "Error! The required field <b>Calendar Title</b> was blank!";
$lang{update_cal_error6} = "Warning! The <b>Calendar Title </b> field contained html. It was removed.";
$lang{update_cal_error6_5} = "Error! The <b>Date Format </b> field isn't legal!.";
$lang{update_cal_error7} = "Error! This appears to be an update of an calendar that does not exist!";
$lang{update_cal_error8} = "Error! Mismatch between the new password and the repeated new password!";
$lang{update_cal_success} = "calendar settings successfully updated!";
$lang{update_cal_failure} = "Calendar <b>not</b> updated!";
$lang{update_cal_error9} = "Error! Mismatch between the password and the repeated password!";
$lang{update_cal_error10} = "Error! Blank password not allowed!";
$lang{update_cal_dup} = "Error!  This add/edit appears to be a duplicate! (Perhaps due to a browser refresh?)";

$lang{add_cal_success1} = "Calendar successfully added!";
$lang{add_cal_success2} = "Please be aware that new calendars must be approved by the administrator for this website.  This is a one-time thing.";
$lang{add_cal_success3} = "List of calendars waiting for approval.";

$lang{view_pending_calendars1} = "View Pending Calendars";
$lang{view_pending_calendars2} = "At this time, there are no calendars waiting to be approved!";
$lang{view_pending_calendars3} = "Approve";
$lang{view_pending_calendars4} = "Delete";
$lang{view_pending_calendars5} = "Approve/Delete marked calendars";
$lang{view_pending_calendars6} = "Approve/Delete Results";
$lang{view_pending_calendars7} = "Error! The given password does not match the administrator password.";
$lang{view_pending_calendars8} = "Approved!";
$lang{view_pending_calendars9} = "Deleted!";
$lang{view_pending_calendars10} = "No action taken.";


# stuff relating to exporting events
$lang{plain_text} = "plain text";
$lang{csv_file} = "comma-separated values (csv) file";
$lang{export} = "Export";
$lang{this_event_to} = "this event as:";
$lang{text_option} = "plain text";
$lang{vcalendar_option} = "vCalendar (MS Outlook)";

# other event stuff

$lang{delete_event} = "Delete Event";
$lang{password} = "Password";

# add/edit event stuff
$lang{add_edit_events_tab0} = "Event Info";
$lang{add_edit_events_tab1} = "Recurrence";
$lang{event_calendar} = "This event is for:";
$lang{event_title} = "Event Title:";
$lang{event_details} = "Event Details:";
$lang{event_start} = "Start Date:";
$lang{event_length} = "Length (in Days):";
$lang{event_icon} = "Event Icon:";
$lang{event_unit_number} = "Unit Number:";
$lang{event_background_color} = "Background Color:";
$lang{event_background_colorcustom} = "custom";
$lang{recurrence_not_allowed} = "Recurrence can only be specified when an event is first added";
$lang{recurring_event} = "Recurring event";
$lang{fit_into_month} = "Fit event into month";
$lang{same_day_of_month} = "On the same day of each month.";
$lang{same_weekday} = "Or on the same weekday,";
$lang{on_every_week} = "on every week";
$lang{on_first_week} = "on the first week";
$lang{on_second_week} = "on the second week";
$lang{on_third_week} = "on the third week";
$lang{on_fourth_week} = "on the fourth week";
$lang{on_fifth_week} = "on the fifth week";
$lang{on_last_week} = "on the last week";
$lang{of_the_month} = "of the month";
$lang{every_momth} = "Every month";
$lang{certain_months1} = "Only in certain months";
$lang{certain_months2} = "(You can choose multiple months)";
$lang{recurring_event_ends} = "The recurring event ends:";
$lang{preview_event1}  = "Preview Event";
$lang{preview_event2}  = "(This shows what the event will look like)";
$lang{preview_dates1}  = "Preview Dates";
$lang{preview_dates2}  = "This shows the date(s) the event will fall on.<br/>(Highly recommended when adding recurring events)";
$lang{event_calendar_password}  = "Calendar Password:";
$lang{update_event}  = "Update Event";
$lang{delete_event1}  = "Delete this event";
$lang{delete_event2}  = "(This cannot be undone.)";
$lang{add_event1}  = "Add Event!";
$lang{add_event2}  = "(Please preview first!)";
$lang{update_event_err1}  = "Error! The given password does not match the password for ";
$lang{update_event_err2}  = "Error! The event does not match any existing event!";
$lang{update_event_delete_successful}  = "Event successfully deleted!";
$lang{update_event_err3}  = "Error! The required field <b>Calendar Title</b> was blank!";
$lang{update_event_err4}  = "Error! The required field <b>Event Title</b> was blank!";
$lang{update_event_err5}  = "Error! The required field <b>Event icon</b> was blank!  How on earth did that happen?";
$lang{update_event_err6}  = "Error! The required field <b>Calendar password</b> was blank!";
$lang{update_event_err7}  = "Warning! The <b>Event title</b> field contained html. It was removed.";
$lang{update_event_err8}  = "Error! The calendar does not match any known calendar.";
$lang{update_event_err8}  = "Error! The calendar does not match any known calendar.";
$lang{update_event_err9}  = "Error! Invalid Date:";
$lang{update_event_err10}  = "Error! Recurring date error:";
$lang{update_event_err11}  = "Warning! The event start date is in the past.";
$lang{update_event_err12}  = "Error!  This add/edit appears to be a duplicate! (Perhaps from a browser refresh?)";
$lang{update_event_err13}  = "Error! This appears to be an update of an event that does not exist!";





# Online help for add/edit events

$lang{help_evt_calendar1} = "Help: Event Calendar";
$lang{help_evt_calendar2} = <<p1;
<p>
All events are associated with a calendar.  There are two reasons for this:
</p><p>
1.  The event can then link to information about the calendar.  This is an easy way to get quick basic contact information.
</p><p>
2.  It is part of the security model--each event must be authenticated somehow.  An calendar's password allows the appropriate folks 
to add/update events for that calendar.
</p>
p1

$lang{help_evt_title1} = "Help: Event Title";
$lang{help_evt_title2} = <<p1;
<p>
This is the event's headline--it should be descriptive, yet very short 
(it will likely share a calendar square with other events).
</p><p>
Events are automatically associated with calendars, so you don't need 
this information in the event title.
</p>
p1

$lang{help_evt_details1} = "Help: Event Details";
$lang{help_evt_details2} = <<p1;
<p>
This is where all the details go--this can be as much information as you want.
</p><p>
Email addresses and URLs will automatically be converted to links.  In addition, 
you can also write html in the event details.
</p><p>
Here's a template  you can copy & paste.  It has html for nice-looking formatting:
</p><p style="margin-top:2em;">
<span class=highlight><i>
Details Details Details.
<br/>
&lt;ul&gt;<br/>
&lt;li&gt; What<br/>
&lt;li&gt; Where<br/>
&lt;li&gt; Why<br/>
&lt;li&gt; How<br/>
&lt;li&gt; Who to contact<br>
&lt;/ul&gt;<br/>
</i></span>
</p>

</p>
p1

$lang{help_recurring_event1} = "Help: Recurring Events";
$lang{help_recurring_event2} = <<p1;
<p>
A recurring event is slightly more complicated, but not much.  Both single and 
multiple-day events can be recurring.  
</p><p>
When you add a recurring event, Plans makes copies of the 
event for successsive days, weeks, or months, according to the pattern 
you specify.
</p><p>
<strong>Take care when creating a recurring event!</strong>
<br/><br/>
<strong>Use the "Preview Dates" link!</strong>
<br/><br/>
If you make a mistake, you must 
edit or delete each copy of the event individually.</b>
</p><p>
After adding a recurring event, you can modify or delete the copies individually.
You cannot manage them as a group.  Once created, they are not tied together in any way.
</p><p>
Basically, recurring events are for speeding up data entry.
</p>
p1

$lang{help_fit_into_month1} = "Help: Fit event into month";
$lang{help_fit_into_month2} = <<p1;
<p>
You can choose how the event will repeat in within each month.
</p>
<ul>
<li><strong>On the same day of each month</strong><p>
If this is selected, the event will occur only once a month, on the same day (or range of days).
Most of the events that follow this kind of pattern are holidays.</p></li>
<li><strong>On the same weekday</strong><p>
Most meetings follow this type of pattern.  Events can be scheduled to occur on every week of the 
month, or on certain weeks.</p></li>
</ul>
<p>
Once Again, use the "Preview Dates" button!
</p><p>
<strong>Note</strong>--Some events occur on more than one week of every month (the first and third week, 
for instance).  This type of pattern cannot be selected, but can be created by adding the event 
twice--once for the first week and once for third week, for the above example.
</p><p>
<strong>Note</strong>--Some events occur other or every third week of the year.  This type of 
recurring event is not supported.
</p>
p1

$lang{help_fit_into_year1} = "Help: Fit event into year";
$lang{help_fit_into_year2} = <<p1;
<p>
You can choose how the event will repeat within the year(s).
</p>
<ul>
<li><strong>Every month</strong><p>
If this is selected, the event will repeat each month.</p></li>
<li><strong>Only during certain months</strong><p>
Here you can choose which months the event will occur in.  This is useful for 
events that stop for a period (like during the summer).</p></li>
</ul>
p1

$lang{help_evt_cal_password1} = "Help: Calendar Password";
$lang{help_evt_cal_password2} = <<p1;
<p>
Each calendar has its own password.  This password must be entered 
each time an event is added or changed.  There is a "master"  
password, which can be used to add/edit events for any calendar.
</p>
p1

# Online help for add/edit calendars

$lang{help_cal_title1} = "Help: Calendar Title";
$lang{help_cal_title2} = <<p1;
<p>
The name of the calendar.  Keep it short and sweet.
</p>
p1

$lang{help_cal_link1} = "Help: Calendar Link";
$lang{help_cal_link2} = <<p1;
<p>
You can supply an URL (web address) that will be applied to the calendar title, 
in the event details window. (The event pop-up window always   
</p><p>
If the calendar is for an organization 
with a homepage, this provides a 1-click connection between the 
event and the homepage.
</p>
p1


$lang{help_cal_details1} = "Help: Calendar Details";
$lang{help_cal_details2} = <<p1;
<p>
You can supply additional details--some calendars won't 
use this field at all&#151;leting the <b>Calendar Link</b> field 
point users to the calendar's homepage instead.  But you may want to include 
some details that users might need immediately--a contact email address, for 
instance.
</p><p>
email addresses and URLs will automatically be converted to links.
</p><p>
Here is a handy template  you can copy & paste.  It has html for nice-looking formatting:
</p><p>
<span class="highlight">
General Description
<br/>
&lt;ul&gt;<br/>
&lt;li&gt; Contact information<br/>
&lt;li&gt; Meeting Time<br/>
&lt;li&gt; Meeting Location<br/>
&lt;/ul&gt;<br/>
</span>
</p>
p1




$lang{help_new_cal_password1} = "Help: Calendar Password";
$lang{help_new_cal_password2} = <<p1;
<p>
Oh no! Another password to remember!
</p><p>
Oh yes.
</p><p>
The calendar password should be easy to remember and easy to tell to others.  Not 
much need for passwords like "Dxk&2+15^N" or "p\$\$9EM}L".  
We're not talking about national security here--just enough to keep out the rifraff.
</p><p>
When entering a password for the first time or changing it, you are asked to type it twice.  
This guards against typos (if you make a typo when entering a new password, it's tough to 
fix).
</p>

p1
$lang{help_current_cal_password1} = "Help: Current Calendar Password";
$lang{help_current_cal_password2} = <<p1;
<p>
This password allows people to add or change events 
on the calendar.  If you know the master password for 
this installation of Plans, you can use it in place of any 
other calendar password.
</p>
p1

$lang{help_change_cal_password1} = "Help: Change Calendar Password";
$lang{help_change_cal_password2} = <<p1;
<p>
You can change the calendar password if you like.  Enter it twice, just like 
when the calendar was first added.
</p>
p1

$lang{help_cal_background_calendars1} = "Help: Background (merged) calendars";
$lang{help_cal_background_calendars2} = <<p1;
<p>
You can show other calendars' events in the "background" of 
the calendar.  
</p><p>
Hold the <b>Ctrl</b> key while clicking to toggle the 
calendars on/off individually.
</p>
p1

$lang{help_cal_list_background_calendars_together1} = "Help: List Background Calendars Together";
$lang{help_cal_list_background_calendars_together2} = <<p1;
<p>
This option affects the list view.  If selected, plans will not draw 
separate boxes each calendar.  
All the background events will be listed with the main calendar events in a single box.
</p>
p1

$lang{help_cal_number_of_months1} = "Help: Default number of months to display";
$lang{help_cal_number_of_months2} = <<p1;
<p>
When someone first visits the calendar page, how many months should be shown?
</p>
p1

$lang{help_cal_max_months1} = "Help: Maximum number of months to display";
$lang{help_cal_max_months2} = <<p1;
<p>
The calendar can display dates from  1902 to 2037.  You may want to limit the range 
of dates a user can display with a single request.
</p>
p1

$lang{help_cal_gmtime_diff1} = "Help: Timezone Offset";
$lang{help_cal_gmtime_diff2} = <<p1;
<p>
How many hours is this calendar away from Greenwich Mean Time?
Here's a chart for the US:
</p>
<table style="width:100%;border:solid 1px #000;border-collapse:collapse;table-spacing:5px;">
<tr><td>ATL</td><td>EST</td><td>CST</td><td>MST</td><td>PST</td><td>ALA</td><td>HAW</td></tr>
<tr><td>-4</td><td>-5</td><td>-6</td><td>-7</td><td>8</td><td>-9</td><td>-10</td></tr>
</table>
<p>

Right now, this setting doesn't do much, since all events in Plans are all-day events.
But when plans does support specific times, this setting will matter.
</p>
p1


$lang{help_cal_date_format1} = "Help: Date Format";
$lang{help_cal_date_format2} = <<p1;
<p>
This option controls how dates are entered for adding or editing events.  
</p><p>
It must contain "mm", "dd", and "yy", in any order, separated by "/" characters.
</p>
p1



$lang{help_cal_week_start_day1} = "Help: Week Start Day";
$lang{help_cal_week_start_day2} = <<p1;
<p>
Select the day of the week you'd like the calendar to start with.
</p>
p1

$lang{help_cal_custom_stylesheet1} = "Help: Custom Stylesheet";
$lang{help_cal_custom_stylesheet2} = <<p1;
<p>
You can define a custom .css file for each calendar.
</p><p>
This lets you customize the calendar's fonts, colors and backgrounds.
</p><p>
This .css file must be publicly accessuble through the internet 
(in other words, you should be able to access it by pointing your browser at an URL).
</p><p>
A good place to start is with a copy of this calendar's default css file:
</p><p>
<b><a href="###css file###">###css file###</a></b>
</p>
p1

$lang{help_cal_custom_template1} = "Help: Custom Template";
$lang{help_cal_custom_template2} = <<p1;
<p>
Similar to a custom css file, you can also define a custom template for each calendar.
</p><p>
The template file gives you greater control over the layout and structure of the calendar page.
</p><p>
A template file is just an html file with some ###special tags### that plans recognizes.
</p><p>
Your custom template file must be publicly accessuble through the internet 
(in other words, you should be able to access it file by pointing your browser at an URL).
</p><p>
A good place to start is with a copy of this calendar's default tempate file:
</p><p>
<b><a href="###template file###">###template file###</a></b>
</p><p>
If you make a typo in the template address, plans will simply use its default template and print a warning at 
the very bottom of the calendar.
</p>
p1










