2002-08-26 15:20:53 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
|
|
|
<!-- ***** BEGIN LICENSE BLOCK *****
|
|
|
|
- Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
|
|
|
-
|
|
|
|
- The contents of this file are subject to the Mozilla Public License Version
|
|
|
|
- 1.1 (the "License"); you may not use this file except in compliance with
|
|
|
|
- the License. You may obtain a copy of the License at
|
|
|
|
- http://www.mozilla.org/MPL/
|
|
|
|
-
|
|
|
|
- Software distributed under the License is distributed on an "AS IS" basis,
|
|
|
|
- WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
|
|
|
- for the specific language governing rights and limitations under the
|
|
|
|
- License.
|
|
|
|
-
|
|
|
|
- The Original Code is OEone Calendar Code, released October 31st, 2001.
|
|
|
|
-
|
|
|
|
- The Initial Developer of the Original Code is
|
|
|
|
- OEone Corporation.
|
|
|
|
- Portions created by the Initial Developer are Copyright (C) 2001
|
|
|
|
- the Initial Developer. All Rights Reserved.
|
|
|
|
-
|
|
|
|
- Contributor(s): Mike Potter <mikep@oeone.com>
|
2003-06-26 13:38:55 +00:00
|
|
|
- Eric Belhaire <belhaire@ief.u-psud.fr>
|
2002-08-26 15:20:53 +00:00
|
|
|
-
|
|
|
|
- Alternatively, the contents of this file may be used under the terms of
|
|
|
|
- either the GNU General Public License Version 2 or later (the "GPL"), or
|
|
|
|
- the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
|
|
- in which case the provisions of the GPL or the LGPL are applicable instead
|
|
|
|
- of those above. If you wish to allow use of your version of this file only
|
|
|
|
- under the terms of either the GPL or the LGPL, and not to allow others to
|
|
|
|
- use your version of this file under the terms of the MPL, indicate your
|
|
|
|
- decision by deleting the provisions above and replace them with the notice
|
|
|
|
- and other provisions required by the LGPL or the GPL. If you do not delete
|
|
|
|
- the provisions above, a recipient may use your version of this file under
|
|
|
|
- the terms of any one of the MPL, the GPL or the LGPL.
|
|
|
|
-
|
|
|
|
- ***** END LICENSE BLOCK ***** -->
|
|
|
|
|
|
|
|
<!-- DTD File with all strings specific to the calendar -->
|
2002-09-03 19:36:20 +00:00
|
|
|
<!DOCTYPE overlay
|
2002-08-26 15:20:53 +00:00
|
|
|
[
|
|
|
|
<!ENTITY % dtd1 SYSTEM "chrome://calendar/locale/calendar.dtd" > %dtd1;
|
|
|
|
]>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- This is the overlay that addes repeating information to the event and task dialogs. -->
|
|
|
|
|
|
|
|
<overlay id="calendarRepeatOverlay"
|
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
|
|
|
|
2003-06-26 13:38:55 +00:00
|
|
|
<!-- Javascript DTD To Variable -->
|
|
|
|
<script type="application/x-javascript">
|
|
|
|
var repeatOfthemonthLabel = "&newevent.advanced.repeat.ofthemonth.label;";
|
|
|
|
var repeatOntheLabel = "&newevent.advanced.repeat.onthe.label;";
|
|
|
|
var repeatLastLabel = "&newevent.advanced.repeat.last.label;";
|
|
|
|
var firstLabel = "&newevent.advanced.repeat.first.label;";
|
|
|
|
var secondLabel = "&newevent.advanced.repeat.second.label;";
|
|
|
|
var thirdLabel = "&newevent.advanced.repeat.third.label;";
|
|
|
|
var fourthLabel = "&newevent.advanced.repeat.fourth.label;";
|
|
|
|
var lastLabel = "&newevent.advanced.repeat.last.label;";
|
|
|
|
var firstExtension = "&newevent.advanced.repeat.first.extension;";
|
|
|
|
var secondExtension = "&newevent.advanced.repeat.second.extension;";
|
|
|
|
var thirdExtension = "&newevent.advanced.repeat.third.extension;";
|
|
|
|
var nthExtension = "&newevent.advanced.repeat.nth.extension;";
|
|
|
|
</script>
|
|
|
|
|
2002-08-26 15:20:53 +00:00
|
|
|
<!-- Repeat -->
|
|
|
|
<vbox id="repeat-outer-box">
|
|
|
|
<hbox id="repeat-box" align="center">
|
2003-10-03 15:19:45 +00:00
|
|
|
<checkbox id="repeat-checkbox"
|
|
|
|
class="proper-align"
|
|
|
|
label="&newevent.repeat.label;"
|
|
|
|
checked="false"
|
|
|
|
oncommand="commandRepeat()"/>
|
|
|
|
<textbox id="repeat-length-field"
|
|
|
|
class="cursor-pointer"
|
|
|
|
disable-controller="repeat"
|
|
|
|
value="1"
|
|
|
|
oninput="repeatLengthKeyDown( this )"/>
|
2002-08-26 15:20:53 +00:00
|
|
|
|
2003-10-03 15:19:45 +00:00
|
|
|
<menulist crop="none"
|
|
|
|
oncommand="repeatUnitCommand( this )"
|
|
|
|
labelnumber="labelplural"
|
|
|
|
id="repeat-length-units"
|
|
|
|
disable-controller="repeat">
|
2002-08-26 15:20:53 +00:00
|
|
|
<menupopup>
|
2003-10-03 15:19:45 +00:00
|
|
|
<menuitem label="&repeat.units.days;"
|
|
|
|
labelplural="&repeat.units.days;"
|
|
|
|
labelsingular="&repeat.units.days.singular;"
|
|
|
|
id="repeat-length-days"
|
|
|
|
value="days" />
|
|
|
|
<menuitem label="&repeat.units.weeks;"
|
|
|
|
labelplural="&repeat.units.weeks;"
|
|
|
|
labelsingular="&repeat.units.weeks.singular;"
|
|
|
|
id="repeat-length-weeks"
|
|
|
|
value="weeks"/>
|
|
|
|
<menuitem label="&repeat.units.months;"
|
|
|
|
labelplural="&repeat.units.months;"
|
|
|
|
labelsingular="&repeat.units.months.singular;"
|
|
|
|
id="repeat-length-months"
|
|
|
|
value="months"/>
|
|
|
|
<menuitem label="&repeat.units.years;"
|
|
|
|
labelplural="&repeat.units.years;"
|
|
|
|
labelsingular="&repeat.units.years.singular;"
|
|
|
|
id="repeat-length-years"
|
|
|
|
value="years" />
|
2002-08-26 15:20:53 +00:00
|
|
|
</menupopup>
|
|
|
|
</menulist>
|
|
|
|
</hbox>
|
|
|
|
|
|
|
|
|
2003-10-03 15:19:45 +00:00
|
|
|
<hbox id="repeat-extenstions-week"
|
|
|
|
disabled="true"
|
|
|
|
disable-controller="repeat"
|
|
|
|
collapsed="false"
|
|
|
|
align="center">
|
|
|
|
<checkbox disable-controller="repeat"
|
|
|
|
class="repeat-day-class"
|
|
|
|
label="&day.1.Ddd;"
|
|
|
|
id="advanced-repeat-week-0"
|
|
|
|
value="0"
|
|
|
|
checked="false" />
|
|
|
|
<checkbox disable-controller="repeat"
|
|
|
|
class="repeat-day-class"
|
|
|
|
label="&day.2.Ddd;"
|
|
|
|
id="advanced-repeat-week-1"
|
|
|
|
value="1"
|
|
|
|
checked="false" />
|
|
|
|
<checkbox disable-controller="repeat"
|
|
|
|
class="repeat-day-class"
|
|
|
|
label="&day.3.Ddd;"
|
|
|
|
id="advanced-repeat-week-2"
|
|
|
|
value="2"
|
|
|
|
checked="false" />
|
|
|
|
<checkbox disable-controller="repeat"
|
|
|
|
class="repeat-day-class"
|
|
|
|
label="&day.4.Ddd;"
|
|
|
|
id="advanced-repeat-week-3"
|
|
|
|
value="3"
|
|
|
|
checked="false" />
|
|
|
|
<checkbox disable-controller="repeat"
|
|
|
|
class="repeat-day-class"
|
|
|
|
label="&day.5.Ddd;"
|
|
|
|
id="advanced-repeat-week-4"
|
|
|
|
value="4"
|
|
|
|
checked="false" />
|
|
|
|
|
|
|
|
<checkbox disable-controller="repeat"
|
|
|
|
class="repeat-day-class"
|
|
|
|
label="&day.6.Ddd;"
|
|
|
|
id="advanced-repeat-week-5"
|
|
|
|
value="5"
|
|
|
|
checked="false" />
|
|
|
|
<checkbox disable-controller="repeat"
|
|
|
|
class="repeat-day-class"
|
|
|
|
label="&day.7.Ddd;"
|
|
|
|
id="advanced-repeat-week-6"
|
|
|
|
value="6"
|
|
|
|
checked="false" />
|
2002-08-26 15:20:53 +00:00
|
|
|
</hbox>
|
|
|
|
|
|
|
|
|
2003-10-03 15:19:45 +00:00
|
|
|
<hbox id="repeat-extenstions-month"
|
2003-10-03 20:45:05 +00:00
|
|
|
disabled="true"
|
2003-10-03 15:19:45 +00:00
|
|
|
collapsed="true"
|
|
|
|
align="center">
|
2002-08-26 15:20:53 +00:00
|
|
|
<vbox align="center">
|
|
|
|
<radiogroup id="advanced-repeat-month" disable-controller="repeat">
|
2003-10-03 15:19:45 +00:00
|
|
|
<radio disable-controller="repeat"
|
|
|
|
id="advanced-repeat-dayofmonth"
|
|
|
|
label="On the xth day of the month"
|
|
|
|
selected="true"/>
|
|
|
|
<radio disable-controller="repeat"
|
|
|
|
id="advanced-repeat-dayofweek"
|
|
|
|
label="4th Tuesday of the month"/>
|
|
|
|
<radio disable-controller="repeat"
|
|
|
|
id="advanced-repeat-dayofweek-last"
|
|
|
|
label="Last Tuesday of the month"
|
|
|
|
disabled="true"/>
|
2002-08-26 15:20:53 +00:00
|
|
|
</radiogroup>
|
|
|
|
</vbox>
|
|
|
|
</hbox>
|
|
|
|
|
|
|
|
<spacer height="10" />
|
|
|
|
|
|
|
|
<hbox align="center">
|
|
|
|
<spacer class="repeat-left-spacer" />
|
|
|
|
<radiogroup id="repeat-until-group" disable-controller="repeat">
|
2003-10-03 15:19:45 +00:00
|
|
|
<radio id="repeat-forever-radio"
|
|
|
|
disable-controller="repeat"
|
|
|
|
label="&newevent.forever.label;"
|
|
|
|
oncommand="commandUntil()"/>
|
2002-08-26 15:20:53 +00:00
|
|
|
<hbox id="repeat-end-box" align="center">
|
|
|
|
<vbox>
|
|
|
|
<hbox>
|
2003-10-03 15:19:45 +00:00
|
|
|
<radio id="repeat-until-radio"
|
|
|
|
disable-controller="repeat"
|
|
|
|
label="&newevent.until.label;"
|
|
|
|
oncommand="commandUntil()"/>
|
2002-08-26 15:20:53 +00:00
|
|
|
<spacer id="until-spacer"/>
|
2003-10-03 15:19:45 +00:00
|
|
|
<textbox id="repeat-end-date-text"
|
|
|
|
readonly="true"
|
|
|
|
value=""
|
|
|
|
onmousedown="prepareDatePicker('repeat-end-date-text')"
|
|
|
|
popup="oe-date-picker-popup"
|
|
|
|
position="before_start"/>
|
|
|
|
<image class="event-date-button-class"
|
|
|
|
id="repeat-end-date-button"
|
|
|
|
onmousedown="prepareDatePicker('repeat-end-date-text')"
|
|
|
|
popup="oe-date-picker-popup"
|
|
|
|
position="before_start"/>
|
2002-08-26 15:20:53 +00:00
|
|
|
</hbox>
|
2003-10-03 15:19:45 +00:00
|
|
|
<label id="repeat-time-warning"
|
|
|
|
class="warning-text-class"
|
|
|
|
value="&newevent.recurend.warning;"
|
|
|
|
collapsed="true"/>
|
2002-08-26 15:20:53 +00:00
|
|
|
</vbox>
|
|
|
|
</hbox>
|
|
|
|
</radiogroup>
|
|
|
|
</hbox>
|
|
|
|
|
|
|
|
<hbox align="center">
|
|
|
|
<spacer class="repeat-left-spacer" />
|
|
|
|
<groupbox>
|
|
|
|
<caption label="&newevent.exceptions.caption;"/>
|
|
|
|
<grid>
|
|
|
|
<columns>
|
|
|
|
<column flex="1"/>
|
|
|
|
<column/>
|
|
|
|
</columns>
|
|
|
|
<rows>
|
|
|
|
<row>
|
|
|
|
<hbox align="center">
|
2003-10-03 15:19:45 +00:00
|
|
|
<textbox id="exception-dates-text"
|
|
|
|
disable-controller="repeat"
|
|
|
|
readonly="true"
|
|
|
|
value=""
|
|
|
|
onmousedown="prepareDatePicker('exception-dates-text')"
|
|
|
|
popup="oe-date-picker-popup"
|
|
|
|
position="before_start"/>
|
|
|
|
<image class="event-date-button-class"
|
|
|
|
disable-controller="repeat"
|
|
|
|
id="exception-dates-button"
|
|
|
|
onmousedown="prepareDatePicker('exception-dates-text')"
|
|
|
|
popup="oe-date-picker-popup"
|
|
|
|
position="before_start"/>
|
2002-08-26 15:20:53 +00:00
|
|
|
</hbox>
|
2003-10-03 15:19:45 +00:00
|
|
|
<button id="exception-add-button"
|
|
|
|
label="&newevent.addexceptions.label;"
|
|
|
|
disable-controller="repeat"
|
|
|
|
oncommand="addException()"/>
|
2002-08-26 15:20:53 +00:00
|
|
|
</row>
|
|
|
|
<row>
|
2003-10-03 15:19:45 +00:00
|
|
|
<listbox id="exception-dates-listbox"
|
|
|
|
disable-controller="repeat"
|
|
|
|
rows="4"/>
|
2002-08-26 15:20:53 +00:00
|
|
|
<vbox>
|
2003-10-03 15:19:45 +00:00
|
|
|
<button label="&newevent.deleteexceptions.label;"
|
|
|
|
disable-controller="repeat"
|
|
|
|
oncommand="removeSelectedExceptionDate()"/>
|
2002-08-26 15:20:53 +00:00
|
|
|
</vbox>
|
|
|
|
</row>
|
|
|
|
</rows>
|
|
|
|
</grid>
|
|
|
|
</groupbox>
|
|
|
|
</hbox>
|
|
|
|
</vbox>
|
|
|
|
<!-- /Repeat -->
|
|
|
|
|
|
|
|
</overlay>
|