This commit is contained in:
mikep%oeone.com 2003-06-27 12:55:31 +00:00
Родитель 3e43c932ff
Коммит ca065c620d
3 изменённых файлов: 16 добавлений и 6 удалений

Просмотреть файл

@ -164,6 +164,11 @@
var confirmDeleteEvent = "&calendar.confirm.deleteevent;";
var confirmDeleteUntitledEvent = "&calendar.confirm.deleteuntitledevent;";
var defaultCalendarFileName = "&calendar.file.default.name;";
var unifinderAlldayLabel = "&calendar.unifinder.allday.label;";
var unifinderTitleLabel = "&calendar.unifinder.title.label;";
var unifinderStartLabel = "&calendar.unifinder.start.label;";
var unifinderEndLabel = "&calendar.unifinder.end.label;";
var unifinderDescriptionLabel = "&calendar.unifinder.description.label;";
</script>
<!-- Javascript includes -->

Просмотреть файл

@ -536,7 +536,7 @@ var treeView =
var startDate = formatUnifinderEventDate( eventStartDate );
if( calendarEvent.allDay )
{
startText = "All day " + startDate;
startText = unifinderAlldayLabel + " " + startDate;
}
else
{
@ -553,7 +553,7 @@ var treeView =
var endDate = formatUnifinderEventDate( eventEndDate );
if( calendarEvent.allDay )
{
endText = "All day " + endDate;
endText = unifinderAlldayLabel + " " + endDate;
}
else
{
@ -765,27 +765,27 @@ function getPreviewText( calendarEvent )
if (calendarEvent.title)
{
var TitleHtml = document.createElement( "description" );
var TitleText = document.createTextNode( "Title: "+calendarEvent.title );
var TitleText = document.createTextNode( unifinderTitleLabel+calendarEvent.title );
TitleHtml.appendChild( TitleText );
HolderBox.appendChild( TitleHtml );
}
var DateHtml = document.createElement( "description" );
var startDate = new Date( calendarEvent.start.getTime() );
var DateText = document.createTextNode( "Start: "+gCalendarWindow.dateFormater.getFormatedDate( startDate )+" "+gCalendarWindow.dateFormater.getFormatedTime( startDate ) );
var DateText = document.createTextNode( unifinderStartLabel+gCalendarWindow.dateFormater.getFormatedDate( startDate )+" "+gCalendarWindow.dateFormater.getFormatedTime( startDate ) );
DateHtml.appendChild( DateText );
HolderBox.appendChild( DateHtml );
DateHtml = document.createElement( "description" );
var endDate = new Date( calendarEvent.end.getTime() );
DateText = document.createTextNode( "End: "+gCalendarWindow.dateFormater.getFormatedDate( endDate )+" "+gCalendarWindow.dateFormater.getFormatedTime( endDate ) );
DateText = document.createTextNode( unifinderEndLabel+gCalendarWindow.dateFormater.getFormatedDate( endDate )+" "+gCalendarWindow.dateFormater.getFormatedTime( endDate ) );
DateHtml.appendChild( DateText );
HolderBox.appendChild( DateHtml );
if (calendarEvent.description)
{
var DescriptionHtml = document.createElement( "description" );
var DescriptionText = document.createTextNode( "Description: "+calendarEvent.description );
var DescriptionText = document.createTextNode( unifinderDescriptionLabel+calendarEvent.description );
DescriptionHtml.appendChild( DescriptionText );
HolderBox.appendChild( DescriptionHtml );
}

Просмотреть файл

@ -190,6 +190,11 @@
<!ENTITY calendar.unifinder.todayandfuture.label "Hide Past Events" >
<!ENTITY calendar.unifinder.todoitems.label "Tasks" >
<!ENTITY calendar.unifinder.hidecompletedtodos.label "Hide Completed Tasks">
<!ENTITY calendar.unifinder.allday.label "All day" >
<!ENTITY calendar.unifinder.title.label "Title: " >
<!ENTITY calendar.unifinder.start.label "Start: " >
<!ENTITY calendar.unifinder.end.label "End: " >
<!ENTITY calendar.unifinder.description.label "Description: " >
<!ENTITY calendar.calendartab.label "Calendar">
<!ENTITY calendar.listofcalendarstab.label "Calendars">