OverviewVariables in the module: - dayNames - list of weekday names
- monthNames - list of month names
Functions: - set_language(language="en") - sets the language of all calendars being generated to language
- today(smallify=False) - generates a calendar with the only event being "Today" that obviously occurs on today's date
Functionsset_languageSets the language used by the language code language. This changes the months and day names lists to their proper language. Languages supported: - en - English
- fr - French
- es - Spanish
- pt - Portuguese (translations contributed by Benjamin Hinrichs)
- de - German (translations contributed by Benjamin Hinrichs)
Uses GNU gettext files for translations. In the source package, these are located in the locale directory. When eventcal is installed on the system, the locale system can be found in a system-wide location which eventcal will search through. todayReturns a string that is created by a month-view Calendar. The HTML calendar shows the events of the current month and the only event on the calendar is today's date with the label "Today". If smallify is True, the day names on the calendar will be shrunk down to three characters, and if smallify is False, the day names will be fully displayed.
|