зеркало из https://github.com/mozilla/gecko-dev.git
Moving text to dtd.
This commit is contained in:
Родитель
2cc43e63b8
Коммит
872e423e93
|
@ -38,6 +38,12 @@
|
|||
|
||||
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
||||
|
||||
<!-- DTD File with all strings specific to the file -->
|
||||
<!DOCTYPE window
|
||||
[
|
||||
<!ENTITY % dtd1 SYSTEM "chrome://calendar/locale/calendarPrefs.dtd" > %dtd1;
|
||||
]>
|
||||
|
||||
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="parent.initPanel('chrome://calendar/content/pref/calendarPref.xul');"
|
||||
headertitle="Calendar">
|
||||
|
@ -53,22 +59,15 @@
|
|||
]]>
|
||||
</script>
|
||||
|
||||
<!-- SAMPLE PREFS
|
||||
Check out http://lxr.mozilla.org/seamonkey/source/xpfe/components/prefwindow/resources/content/nsPrefWindow.js
|
||||
for more information
|
||||
|
||||
<checkbox id="someid" type="checkbox" pref="true" preftype="bool"
|
||||
prefattribute="checked" prefstring="calendar.preferencename"
|
||||
label="Label" />
|
||||
-->
|
||||
<vbox>
|
||||
<description>When an alarm goes off:</description>
|
||||
<groupbox orient="vertical">
|
||||
<caption label="&pref.mainbox.caption;"/>
|
||||
<description>&pref.alarmgoesoff.label;</description>
|
||||
<checkbox id="alarmplaysound" type="checkbox" pref="true" preftype="bool"
|
||||
prefattribute="checked" prefstring="calendar.alarms.playsound"
|
||||
label="Play a sound" />
|
||||
label="&pref.playasound;" />
|
||||
|
||||
<checkbox id="alarmshow" type="checkbox" pref="true" preftype="bool"
|
||||
prefattribute="checked" prefstring="calendar.alarms.show"
|
||||
label="Show an alarm box" />
|
||||
</vbox>
|
||||
label="&pref.showalarmbox;" />
|
||||
</groupbox>
|
||||
</page>
|
||||
|
|
|
@ -37,6 +37,7 @@ calendar.jar:
|
|||
locale/en-US/calendar/calendarMenu.dtd (locale/en-US/calendarMenu.dtd)
|
||||
locale/en-US/calendar/calendarMenuOverlay.dtd (locale/en-US/calendarMenuOverlay.dtd)
|
||||
locale/en-US/calendar/calendarOverlay.dtd (locale/en-US/calendarOverlay.dtd)
|
||||
locale/en-US/calendar/calendarPrefs.dtd (locale/en-US/calendarPrefs.dtd)
|
||||
locale/en-US/calendar/contents.rdf (locale/en-US/contents.rdf)
|
||||
locale/en-US/calendar/dateFormat.properties (locale/en-US/dateFormat.properties)
|
||||
locale/en-US/calendar/global.dtd (locale/en-US/global.dtd)
|
||||
|
|
|
@ -0,0 +1,41 @@
|
|||
|
||||
<!-- ***** 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>
|
||||
-
|
||||
- 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 ***** -->
|
||||
|
||||
<!ENTITY pref.mainbox.caption "General Settings" >
|
||||
<!ENTITY pref.alarmgoesoff.label "When an alarm goes off:">
|
||||
<!ENTITY pref.playasound "Play a sound" >
|
||||
<!ENTITY pref.showalarmbox "Show an alarm box" >
|
|
@ -0,0 +1,41 @@
|
|||
|
||||
<!-- ***** 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>
|
||||
-
|
||||
- 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 ***** -->
|
||||
|
||||
<!ENTITY pref.mainbox.caption "General Settings" >
|
||||
<!ENTITY pref.alarmgoesoff.label "When an alarm goes off:">
|
||||
<!ENTITY pref.playasound "Play a sound" >
|
||||
<!ENTITY pref.showalarmbox "Show an alarm box" >
|
Загрузка…
Ссылка в новой задаче