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

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

Keep track of recent messages.

File size: 5.3 KB
RevLine 
[237]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"
[247]10string ID_APP_FLAGS "L"
[245]11string ID_CHOOSER_CATEGORY "pim"
[237]12string ID_LOCALE "en_US"
13
14bitmap ID_LARGE_ICON "{base}LargeIcon.png"
15bitmap ID_SMALL_ICON "{base}SmallIcon.png"
16
17bitmap ID_SPLASH_SCREEN_NO_TITLE "{base}SplashScreenTransparent.png"
18
19string ID_VERSION "V@APP_VERSION_MAJOR@.@APP_VERSION_MINOR@"
20
[250]21int EVENT_CANCEL_ALARM 1
[251]22int EVENT_DATE_EDITOR_TOOK_FOCUS 2
[250]23
[237]24splashScreen ID_SPLASH_SCREEN_RESOURCE
25 image
26 bitmap = ID_SPLASH_SCREEN_NO_TITLE
27 alignWithParentTop = 0
28 alignWithParentLeft = 0
29 staticTextBox
30 text = ID_APP_NAME
31 alignWithParentLeft = 2
32 alignWithParentTop = 0
33 fillToRight = 2
34 transparent
35 doesNotHaveBorder
36endSplashScreen
37
38menu ID_ALARM_LIST_MENU
39 menuItem
[261]40 title = "New Alarm..."
[237]41 shortcut = 'N'
42 icon = soundIcon
43 event = EVENT_NEW_ALARM
44
45 divider
46
47 menuItem
48 id = ID_DISCARD_ITEM
49 title = "Discard"
50 shortcut = deleteKey
[278]51 event = EVENT_DISCARD_ALARM
[237]52endMenu
53screen ID_ALARM_LIST_SCREEN
54 title = "Pester"
55 actionMenu = ID_ALARM_LIST_MENU
56 className = "net.sabi.pester.AlarmListWindow"
57 icon = ID_SMALL_ICON
58
59 activeListView
60 id = ID_ALARM_LIST_VIEW
61 alignWithParentLeft = 0
62 alignWithParentTop = 0
63 initialFocus
64 widthPct = 100
65 itemHeight = 12
66 className = "net.sabi.pester.AlarmListView"
67
68endScreen
[238]69
70menu ID_PERIOD_UNITS_MENU
71 menuItem
72 title = "second(s)"
[251]73 event = EVENT_VALIDATE
[241]74 eventData = 1
[238]75 menuItem
76 title = "minute(s)"
[251]77 event = EVENT_VALIDATE
[241]78 eventData = 60
[238]79 menuItem
80 title = "hour(s)"
[251]81 event = EVENT_VALIDATE
[241]82 eventData = 3600
[238]83endMenu
84
[237]85dialog ID_ALARM_SET_DIALOG
86 title = "Set Alarm"
87 showCancel
[250]88 className = "net.sabi.pester.AlarmSetDialog"
[237]89 widthPct = 100
[244]90 centerUnderTitleBar
[237]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
[251]102 event = EVENT_VALIDATE
[237]103 autoCap
104 initiallySelectAll
105 initialFocus
[242]106 alignBaseline = ID_MESSAGE_LABEL
107 positionToRight = ID_MESSAGE_LABEL : 3
108 fillToRight = 0
[237]109
[239]110 groupBox
111 id = ID_IN_GROUP
112 onOffControl = ID_IN_BUTTON
113 onOffControlLeftPosition
114 positionBelow = ID_MESSAGE_LABEL : 7
115 fillToRight = 0
116 height = 22
[238]117
[239]118 radioButton
119 id = ID_IN_BUTTON
120 title = "In"
121 event = EVENT_IN
122
123 numberEditor
124 id = ID_PERIOD_FIELD
[251]125 event = EVENT_VALIDATE
[239]126 dontWrap
127 minValue = 1
128 maxValue = 99
129 alignBaseline = ID_IN_BUTTON
130 positionToRight = ID_IN_BUTTON : 1
[253]131 className = "net.sabi.pester.EventfulNumberEditor"
[239]132
133 popupMenu
134 id = ID_PERIOD_UNITS_POPUP
135 menu = ID_PERIOD_UNITS_MENU
136 alignBaseline = ID_PERIOD_FIELD
137 positionToRight = ID_PERIOD_FIELD : 1
138
139 checkBox
[240]140 id = ID_PERIOD_REPEAT_CHECKBOX
[239]141 title = "Repeat"
142 alignBaseline = ID_PERIOD_UNITS_POPUP
143 positionToRight = ID_PERIOD_UNITS_POPUP : 3
144 endGroupBox
[238]145
[239]146 groupBox
147 id = ID_AT_GROUP
148 onOffControl = ID_AT_BUTTON
149 onOffControlLeftPosition
150 positionBelow = ID_IN_GROUP : 3
151 fillToRight = 0
152 height = 22
[238]153
[239]154 radioButton
155 title = "At"
156 id = ID_AT_BUTTON
157 event = EVENT_AT
158
159 dateEditor
160 id = ID_TIME_EDITOR
161 longTimeFormat
[240]162 event = EVENT_TIME_EDITOR
[239]163 alignBaseline = ID_AT_BUTTON
164 positionToRight = ID_AT_BUTTON : 1
[280]165
[239]166 dateEditor
167 id = ID_DATE_EDITOR
[240]168 event = EVENT_DATE_EDITOR
[239]169 positionToRight = ID_TIME_EDITOR : 1
170 alignBaseline = ID_TIME_EDITOR
[251]171 className = "net.sabi.pester.AlarmDateEditor"
[280]172 positionDynamically # can move if time format changes
[239]173
174 datePicker
175 id = ID_DATE_PICKER
[240]176 event = EVENT_DATE_PICKER
[239]177 positionToRight = ID_DATE_EDITOR : 1
178 alignTop = ID_DATE_EDITOR
[280]179 positionDynamically # can move if time format changes
[239]180 endGroupBox
[244]181
182 staticText
183 text = "Alert"
184 id = ID_ALERT_LABEL
185 justifyRight
186 font = boldSysFont
187 positionBelow = ID_AT_GROUP : 5
188 alignRight = ID_MESSAGE_LABEL
189
190 ringTonePicker
191 id = ID_ALERT_PICKER
192 # alignBaseline = ID_ALERT_LABEL
193 positionBelow = ID_AT_GROUP : 3
194 positionToRight = ID_ALERT_LABEL : 3
195 fillToRight = 0
196
[237]197 button
[238]198 id = ID_DISCARD_ALARM_BUTTON
[242]199 event = EVENT_DISCARD_ALARM
[238]200 position = buttonTop2
[278]201 title = discardButton
[238]202
203 button
[240]204 id = ID_SET_ALARM_BUTTON
[242]205 event = EVENT_SET_ALARM
[237]206 position = buttonBottom1
207 title = "Set"
208 shortcut = doneButton
209endDialog
[242]210
211alert ID_ALARM_ALERT
212 systemDialog
213 title = "Alarm"
214 icon = ID_LARGE_ICON
215 font = "BortBold12"
216 text = "Alarm!"
217 button
[278]218 event = EVENT_SNOOZE_ALARM
219 title = "Snooze"
220 position = buttonTop1
221 shortcut = cancelButton
222 button
223 event = EVENT_SET_ALARM
[280]224 title = "Reschedule..."
[278]225 position = buttonBottom2
226 button
[242]227 event = EVENT_DISMISS_ALARM
[260]228 title = okButton
[242]229 position = buttonBottom1
230 shortcut = doneButton
231endAlert
[260]232
233alert ID_DISCARD_ALERT
234 appAlertStyle
235 title = "Discard Alarm?"
236 icon = stopIcon
237 text = "Permanently discard this alarm?"
238 button
[278]239 event = EVENT_CONFIRM_DISCARD
[260]240 title = discardButton
241 position = buttonBottom2
242 button
[278]243 event = EVENT_CANCEL_DISCARD
[260]244 title = backButton
245 position = buttonBottom1
246 shortcut = doneButton
247endAlert
[283]248
249stringArray ID_ALARM_MESSAGES
250 "Bus"
251 "Dinner"
252 "Exercise"
253 "Go home"
254 "Laundry"
255 "Lunch"
256 "Meeting"
257 "Sleep"
258 "Train"
259 "Wake up"
260endStringArray
Note: See TracBrowser for help on using the repository browser.