mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 20:47:44 +00:00
272 lines
12 KiB
XML
272 lines
12 KiB
XML
<?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>
|
|
- Eric Belhaire <belhaire@ief.u-psud.fr>
|
|
-
|
|
- 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 -->
|
|
<!DOCTYPE overlay
|
|
[
|
|
<!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">
|
|
|
|
<!-- 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>
|
|
|
|
<!-- Repeat -->
|
|
<vbox id="repeat-outer-box">
|
|
<hbox id="repeat-box" align="center">
|
|
<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 )"/>
|
|
|
|
<menulist crop="none"
|
|
oncommand="repeatUnitCommand( this )"
|
|
labelnumber="labelplural"
|
|
id="repeat-length-units"
|
|
disable-controller="repeat">
|
|
<menupopup>
|
|
<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" />
|
|
</menupopup>
|
|
</menulist>
|
|
</hbox>
|
|
|
|
|
|
<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" />
|
|
</hbox>
|
|
|
|
|
|
<hbox id="repeat-extenstions-month"
|
|
disabled="true"
|
|
collapsed="true"
|
|
align="center">
|
|
<vbox align="center">
|
|
<radiogroup id="advanced-repeat-month" disable-controller="repeat">
|
|
<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"/>
|
|
</radiogroup>
|
|
</vbox>
|
|
</hbox>
|
|
|
|
<spacer height="10" />
|
|
|
|
<hbox align="center">
|
|
<spacer class="repeat-left-spacer" />
|
|
<radiogroup id="repeat-until-group" disable-controller="repeat">
|
|
<radio id="repeat-forever-radio"
|
|
disable-controller="repeat"
|
|
label="&newevent.forever.label;"
|
|
oncommand="commandUntil()"/>
|
|
<hbox id="repeat-end-box" align="center">
|
|
<vbox>
|
|
<hbox>
|
|
<radio id="repeat-until-radio"
|
|
disable-controller="repeat"
|
|
label="&newevent.until.label;"
|
|
oncommand="commandUntil()"/>
|
|
<spacer id="until-spacer"/>
|
|
<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"/>
|
|
</hbox>
|
|
<label id="repeat-time-warning"
|
|
class="warning-text-class"
|
|
value="&newevent.recurend.warning;"
|
|
collapsed="true"/>
|
|
</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">
|
|
<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"/>
|
|
</hbox>
|
|
<button id="exception-add-button"
|
|
label="&newevent.addexceptions.label;"
|
|
disable-controller="repeat"
|
|
oncommand="addException()"/>
|
|
</row>
|
|
<row>
|
|
<listbox id="exception-dates-listbox"
|
|
disable-controller="repeat"
|
|
rows="4"/>
|
|
<vbox>
|
|
<button label="&newevent.deleteexceptions.label;"
|
|
disable-controller="repeat"
|
|
oncommand="removeSelectedExceptionDate()"/>
|
|
</vbox>
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
</groupbox>
|
|
</hbox>
|
|
</vbox>
|
|
<!-- /Repeat -->
|
|
|
|
</overlay>
|