# global stuff @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{custom_template_fail} = "Failed in attempt to load template file ###template### Using default calendar template instead."; $lang{default_template_fail} = "Default template file: ###template### does not appear to exist."; # stuff on calendars controls $lang{controls_change} = "Change!"; $lang{controls_start_month} = "Start month"; $lang{controls_num_months} = "Number of months to show:"; $lang{controls_calendar_label} = "Calendar:"; $lang{controls_display_label} = "Display:"; $lang{controls_calendar} = "Calendar"; $lang{controls_list} = "List of events"; # other stuff on calendars tab $lang{previous_month} = "< previous month"; $lang{previous_months} = "< previous ###num### months"; $lang{next_month} = "next month >"; $lang{next_months} = "next ###num### months >"; $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"; # custom calendar stuff $lang{custom_calendar_title} = "Custom Calendar"; $lang{custom_calendar_choose_calendar} = "Choose Calendar"; $lang{custom_calendar_choose_bg_calendar} = "Choose Background Calendar(s)"; $lang{custom_calendar_cal_or_list} = "Display as a calendar or a list?"; $lang{custom_calendar_time_range} = "Time range:"; $lang{custom_calendar_make_calendar} = "Make Calendar!"; $lang{context_menu_edit_event} = "Edit this event"; $lang{context_menu_delete_event} = "Delete this event"; # 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} = "(###num### in the file)"; $lang{tab2_select_a_calendar} = "Select a calendar:"; $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.
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 pop-up window size field had an invalid value (###size###)."; $lang{update_cal_error5} = "Error! The required field Calendar Title was blank!"; $lang{update_cal_error6} = "Warning! The Calendar Title field contained html. It was removed."; $lang{update_cal_error6_5} = "Error! The Date Format 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 not 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."; # other calendar stuff $lang{calendar_add_edit} = "Edit / Delete this calendar"; $lang{calendar_direct_link} = "Link directly to this calendar:"; # stuff relating to exporting events $lang{export} = "Export"; $lang{these_events_to} = "these events to:"; $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"; $lang{event_preview_title} = "Event Preview"; $lang{date_preview_title} = "Date Preview"; $lang{event_preview_computing} = "Computing Event Dates..."; # add/edit event stuff $lang{add_edit_events_tab0} = "Event Info"; $lang{add_edit_events_tab1} = "Recurrence"; $lang{add_or_edit1} = "Add an event"; $lang{add_or_edit2} = "Edit event"; $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{recurrence_type} = "Recurrence type"; $lang{same_day_of_month} = "On the same day of each month."; $lang{same_weekday} = "Or on the same weekday,"; $lang{every_x_days} = "Daily, every ###x### days"; $lang{every_x_weeks} = "Weekly, every ###x### weeks"; $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{fit_into_year} = "Fit event into year"; $lang{certain_months1} = "Only in certain months"; $lang{certain_months2} = "(You can choose multiple months)"; $lang{recurring_event_ends} = "The recurring event ends:"; $lang{generating_preview} = "Generating Preview..."; # added in version 5.4.4 $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.
(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{add_event2_update} = "(Please preview the event before updating it!)"; $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_add_successful} = "Event successfully added!"; $lang{update_event_update_successful} = "Event successfully updated!"; $lang{update_event_add_successful_recurring} = "Event successfully added to the following dates:"; $lang{update_event_add_successful_add_new} = "Add a new event"; $lang{update_event_back_to_calendar} = "Back to calendar"; $lang{update_event_err3} = "Error! The required field Calendar Title was blank!"; $lang{update_event_err4} = "Error! The required field Event Title was blank!"; $lang{update_event_err5} = "Error! The required field Event icon was blank! How on earth did that happen?"; $lang{update_event_err6} = "Error! The required field Calendar password was blank!"; $lang{update_event_err7} = "Warning! The Event title field contained html. It was removed."; $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!"; # date verify stuff $lang{date_verify_err0} = "The date (###date###) appears to be formatted incorrectly. It should be in the format ###format###!"; $lang{date_verify_err1} = "The event date was blank!"; $lang{date_verify_err2} = "The event length was blank!"; $lang{date_verify_err3} = "The event length must be a positive number!"; $lang{date_verify_err4} = "The month ###month### is not valid."; $lang{date_verify_err5} = "The day-of-month ###day### is not valid."; $lang{date_verify_err6} = "The year ###year### is not valid."; # date preview stuff $lang{date_preview_for_recurring_end_date} = "For the recurring event end date,"; $lang{date_preview_this_event_falls_on} = "This event falls on:"; $lang{date_preview_recurring_event_falls_on} = "This recurring event falls on:"; # event details stuff $lang{event_details_export_disable} = "Export this event (disabled)"; $lang{event_details_edit_disable} = "Edit this event (disabled)"; $lang{event_details_delete_disable} = "Delete this event (disabled)"; $lang{event_details_date_goes_here} = "Date goes here"; # added in 5.4.2 (LPD) # Online help for add/edit events $lang{help_evt_calendar1} = "Help: Event Calendar"; $lang{help_evt_calendar2} = < All events are associated with a calendar. There are two reasons for this:

1. The event can then link to information about the calendar. This is an easy way to get quick basic contact information.

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.

p1 $lang{help_evt_title1} = "Help: Event Title"; $lang{help_evt_title2} = < This is the event's headline--it should be descriptive, yet very short (it will likely share a calendar square with other events).

Events are automatically associated with calendars, so you don't need this information in the event title.

p1 $lang{help_evt_details1} = "Help: Event Details"; $lang{help_evt_details2} = < This is where all the details go--this can be as much information as you want.

Email addresses and URLs will automatically be converted to links. In addition, you can also write html in the event details.

Here's a template you can copy & paste. It has html for nice-looking formatting:

Details Details Details.
<ul>
<li> What
<li> Where
<li> Why
<li> How
<li> Who to contact
</ul>

p1 $lang{help_recurring_event1} = "Help: Recurring Events"; $lang{help_recurring_event2} = < A recurring event is slightly more complicated, but not much. Both single and multiple-day events can be recurring.

When you add a recurring event, Plans makes copies of the event for successsive days, weeks, or months, according to the pattern you specify.

Take care when creating a recurring event!

Use the "Preview Dates" link!

If you make a mistake, you must edit or delete each copy of the event individually.

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.

Basically, recurring events are for speeding up data entry.

p1 $lang{help_recurrence_type1} = "Help: Recurrence type"; $lang{help_recurrence_type2} = < You can choose how the event will repeat in within each month.

  • On the same day of each month

    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.

  • On the same weekday

    Most meetings follow this type of pattern. Events can be scheduled to occur on every week of the month, or on certain weeks.

Once Again, use the "Preview Dates" button!

Note--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.

Note--Some events occur other or every third week of the year. This type of recurring event is not supported.

p1 $lang{help_fit_into_year1} = "Help: Fit event into year"; $lang{help_fit_into_year2} = < You can choose how the event will repeat within the year(s).

  • Every month

    If this is selected, the event will repeat each month.

  • Only during certain months

    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).

p1 $lang{help_evt_cal_password1} = "Help: Calendar Password"; $lang{help_evt_cal_password2} = < 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.

p1 # Online help for add/edit calendars $lang{help_cal_title1} = "Help: Calendar Title"; $lang{help_cal_title2} = < The name of the calendar. Keep it short and sweet.

p1 $lang{help_cal_link1} = "Help: Calendar Link"; $lang{help_cal_link2} = < 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

If the calendar is for an organization with a homepage, this provides a 1-click connection between the event and the homepage.

p1 $lang{help_cal_details1} = "Help: Calendar Details"; $lang{help_cal_details2} = < You can supply additional details--some calendars won't use this field at all—leting the Calendar Link 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.

email addresses and URLs will automatically be converted to links.

Here is a handy template you can copy & paste. It has html for nice-looking formatting:

General Description
<ul>
<li> Contact information
<li> Meeting Time
<li> Meeting Location
</ul>

p1 $lang{help_new_cal_password1} = "Help: Calendar Password"; $lang{help_new_cal_password2} = < Oh no! Another password to remember!

Oh yes.

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.

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).

p1 $lang{help_current_cal_password1} = "Help: Current Calendar Password"; $lang{help_current_cal_password2} = < 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.

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

p1 $lang{help_cal_background_calendars1} = "Help: Background (merged) calendars"; $lang{help_cal_background_calendars2} = < You can show other calendars' events in the "background" of the calendar.

Hold the Ctrl key while clicking to toggle the calendars on/off individually.

p1 $lang{help_cal_selectable_calendars1} = "Help: Background (merged) calendars"; $lang{help_cal_selectable_calendars2} = < Each calendar can choose what other users can select from the dropdown on the main page. If no calendars are selected, the dropdown won't be displayed.

Sometimes, you might want to let the user select from just a few (or none) of the calendars hosted by an installation of plans.

Note that when you add a new calendar, it is not automatically added to other calendars' drop-down lists. This must be done manually.

Hold the Ctrl key while clicking to toggle the calendars on/off individually.

p1 $lang{help_cal_list_background_calendars_together1} = "Help: List Background Calendars Together"; $lang{help_cal_list_background_calendars_together2} = < 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.

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

p1 $lang{help_cal_max_months1} = "Help: Maximum number of months to display"; $lang{help_cal_max_months2} = < 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.

p1 $lang{help_cal_gmtime_diff1} = "Help: Timezone Offset"; $lang{help_cal_gmtime_diff2} = < How many hours is this calendar away from Greenwich Mean Time? Here's a chart for the US:

ATLESTCSTMSTPSTALAHAW
-4-5-6-78-9-10

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.

p1 $lang{help_cal_date_format1} = "Help: Date Format"; $lang{help_cal_date_format2} = < This option controls how dates are entered for adding or editing events.

It must contain "mm", "dd", and "yy", in any order, separated by "/" characters.

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

p1 $lang{help_cal_popup_window_size1} = "Help: Popup Window Size"; $lang{help_cal_popup_window_size2} = < Set the size of the popup window (used for event details, calendar details, previews, and other things).

Units are pixels, default is 400x400.

p1 $lang{help_cal_custom_stylesheet1} = "Help: Custom Stylesheet"; $lang{help_cal_custom_stylesheet2} = < You can define a custom .css file for each calendar.

This lets you customize the calendar's fonts, colors and backgrounds.

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).

A good place to start is with a copy of this calendar's default css file:

###css file###

p1 $lang{help_cal_custom_template1} = "Help: Custom Template"; $lang{help_cal_custom_template2} = < Similar to a custom css file, you can also define a custom template for each calendar.

The template file gives you greater control over the layout and structure of the calendar page.

A template file is just an html file with some ###special tags### that plans recognizes.

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).

A good place to start is with a copy of this calendar's default tempate file:

###template file###

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.

p1