source: trunk/hiptop/pester/locale/en_US/Pester.rsrc@ 244

Last change on this file since 244 was 244, checked in by Nicholas Riley, 18 years ago

Audio support.

File size: 4.4 KB
Line 
1# -*- coding: utf-8 -*-
2
3package "net.sabi.pester"
4
5interface "{source}net/sabi/pester/Resources.java"
6events "{source}net/sabi/pester/Commands.java"
7
8string ID_APP_NAME "Pester"
9string ID_APP_CLASS "net.sabi.pester.Pester"
10string ID_APP_FLAGS ""
11string ID_LOCALE "en_US"
12
13bitmap ID_LARGE_ICON "{base}LargeIcon.png"
14bitmap ID_SMALL_ICON "{base}SmallIcon.png"
15
16bitmap ID_SPLASH_SCREEN_NO_TITLE "{base}SplashScreenTransparent.png"
17
18string ID_VERSION "V@APP_VERSION_MAJOR@.@APP_VERSION_MINOR@"
19
20splashScreen ID_SPLASH_SCREEN_RESOURCE
21 image
22 bitmap = ID_SPLASH_SCREEN_NO_TITLE
23 alignWithParentTop = 0
24 alignWithParentLeft = 0
25 staticTextBox
26 text = ID_APP_NAME
27 alignWithParentLeft = 2
28 alignWithParentTop = 0
29 fillToRight = 2
30 transparent
31 doesNotHaveBorder
32endSplashScreen
33
34menu ID_ALARM_LIST_MENU
35 menuItem
36 title = "New Alarm"
37 shortcut = 'N'
38 icon = soundIcon
39 event = EVENT_NEW_ALARM
40
41 divider
42
43 menuItem
44 id = ID_DISCARD_ITEM
45 title = "Discard"
46 shortcut = deleteKey
47 event = EVENT_DISCARD_ALARM
48endMenu
49screen ID_ALARM_LIST_SCREEN
50 title = "Pester"
51 actionMenu = ID_ALARM_LIST_MENU
52 className = "net.sabi.pester.AlarmListWindow"
53 icon = ID_SMALL_ICON
54
55 activeListView
56 fillToBottom = 0
57 id = ID_ALARM_LIST_VIEW
58 alignWithParentLeft = 0
59 alignWithParentTop = 0
60 initialFocus
61 widthPct = 100
62 itemHeight = 12
63 className = "net.sabi.pester.AlarmListView"
64
65endScreen
66
67menu ID_PERIOD_UNITS_MENU
68 menuItem
69 id = ID_PERIOD_SECONDS
70 title = "second(s)"
71 event = EVENT_PERIOD_UNIT
72 eventData = 1
73 menuItem
74 id = ID_PERIOD_MINUTES
75 title = "minute(s)"
76 event = EVENT_PERIOD_UNIT
77 eventData = 60
78 menuItem
79 id = ID_PERIOD_HOURS
80 title = "hour(s)"
81 event = EVENT_PERIOD_UNIT
82 eventData = 3600
83endMenu
84
85dialog ID_ALARM_SET_DIALOG
86 title = "Set Alarm"
87 showCancel
88# className = "net.sabi.pester.AlarmSetDialog"
89 widthPct = 100
90 centerUnderTitleBar
91
92 staticText
93 text = "Message"
94 id = ID_MESSAGE_LABEL
95 alignWithParentTop = 3
96 alignWithParentLeft = 5
97 justifyRight
98 font = boldSysFont
99
100 typeAheadTextField
101 id = ID_MESSAGE_FIELD
102 autoCap
103 initiallySelectAll
104 initialFocus
105 alignBaseline = ID_MESSAGE_LABEL
106 positionToRight = ID_MESSAGE_LABEL : 3
107 fillToRight = 0
108
109 groupBox
110 id = ID_IN_GROUP
111 onOffControl = ID_IN_BUTTON
112 onOffControlLeftPosition
113 positionBelow = ID_MESSAGE_LABEL : 7
114 fillToRight = 0
115 height = 22
116
117 radioButton
118 id = ID_IN_BUTTON
119 title = "In"
120 event = EVENT_IN
121
122 numberEditor
123 id = ID_PERIOD_FIELD
124 dontWrap
125 minValue = 1
126 maxValue = 99
127 alignBaseline = ID_IN_BUTTON
128 positionToRight = ID_IN_BUTTON : 1
129
130 popupMenu
131 id = ID_PERIOD_UNITS_POPUP
132 menu = ID_PERIOD_UNITS_MENU
133 alignBaseline = ID_PERIOD_FIELD
134 positionToRight = ID_PERIOD_FIELD : 1
135
136 checkBox
137 id = ID_PERIOD_REPEAT_CHECKBOX
138 title = "Repeat"
139 alignBaseline = ID_PERIOD_UNITS_POPUP
140 positionToRight = ID_PERIOD_UNITS_POPUP : 3
141 endGroupBox
142
143 groupBox
144 id = ID_AT_GROUP
145 onOffControl = ID_AT_BUTTON
146 onOffControlLeftPosition
147 positionBelow = ID_IN_GROUP : 3
148 fillToRight = 0
149 height = 22
150
151 radioButton
152 title = "At"
153 id = ID_AT_BUTTON
154 event = EVENT_AT
155
156 dateEditor
157 id = ID_TIME_EDITOR
158 longTimeFormat
159 event = EVENT_TIME_EDITOR
160 alignBaseline = ID_AT_BUTTON
161 positionToRight = ID_AT_BUTTON : 1
162
163 dateEditor
164 id = ID_DATE_EDITOR
165 event = EVENT_DATE_EDITOR
166 positionToRight = ID_TIME_EDITOR : 1
167 alignBaseline = ID_TIME_EDITOR
168
169 datePicker
170 id = ID_DATE_PICKER
171 event = EVENT_DATE_PICKER
172 positionToRight = ID_DATE_EDITOR : 1
173 alignTop = ID_DATE_EDITOR
174 endGroupBox
175
176 staticText
177 text = "Alert"
178 id = ID_ALERT_LABEL
179 justifyRight
180 font = boldSysFont
181 positionBelow = ID_AT_GROUP : 5
182 alignRight = ID_MESSAGE_LABEL
183
184 ringTonePicker
185 id = ID_ALERT_PICKER
186 # alignBaseline = ID_ALERT_LABEL
187 positionBelow = ID_AT_GROUP : 3
188 positionToRight = ID_ALERT_LABEL : 3
189 fillToRight = 0
190
191 button
192 id = ID_DISCARD_ALARM_BUTTON
193 event = EVENT_DISCARD_ALARM
194 position = buttonTop2
195 title = "Discard"
196
197 button
198 id = ID_SET_ALARM_BUTTON
199 event = EVENT_SET_ALARM
200 position = buttonBottom1
201 title = "Set"
202 shortcut = doneButton
203endDialog
204
205alert ID_ALARM_ALERT
206 systemDialog
207 title = "Alarm"
208 icon = ID_LARGE_ICON
209 font = "BortBold12"
210 text = "Alarm!"
211 button
212 event = EVENT_DISMISS_ALARM
213 title = "OK"
214 position = buttonBottom1
215 shortcut = doneButton
216endAlert
Note: See TracBrowser for help on using the repository browser.