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

Last change on this file since 290 was 290, checked in by Nicholas Riley, 16 years ago

More messages.

File size: 5.7 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 "L"
11string ID_CHOOSER_CATEGORY "pim"
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
21int EVENT_CANCEL_ALARM 1
22int EVENT_DATE_EDITOR_TOOK_FOCUS 2
23
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
40 title = "New Alarm..."
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
51 event = EVENT_DISCARD_ALARM
52endMenu
53screen ID_ALARM_LIST_SCREEN
54 title = "Pester"
55 actionMenu = ID_ALARM_LIST_MENU
56 className = "net.sabi.pester.AlarmListWindow"
57
58 icon = ID_SMALL_ICON
59
60 image
61 bitmap = ID_SPLASH_SCREEN_NO_TITLE
62 alpha = 127
63 alignWithParentBottom = -48
64 alignWithParentRight = -48
65
66 activeListView
67 id = ID_ALARM_LIST_VIEW
68 alignWithParentLeft = 0
69 alignWithParentTop = 0
70 initialFocus
71 widthPct = 100
72 heightPct = 100
73 itemHeight = 12
74 className = "net.sabi.pester.AlarmListView"
75 doesNotHaveBorder
76 transparent
77
78endScreen
79
80menu ID_PERIOD_UNITS_MENU
81 menuItem
82 title = "second(s)"
83 event = EVENT_VALIDATE
84 eventData = 1
85 menuItem
86 title = "minute(s)"
87 event = EVENT_VALIDATE
88 eventData = 60
89 menuItem
90 title = "hour(s)"
91 event = EVENT_VALIDATE
92 eventData = 3600
93endMenu
94
95dialog ID_ALARM_SET_DIALOG
96 title = "Set Alarm"
97 showCancel
98 className = "net.sabi.pester.AlarmSetDialog"
99 widthPct = 100
100 centerUnderTitleBar
101
102 staticText
103 text = "Message"
104 id = ID_MESSAGE_LABEL
105 alignWithParentTop = 3
106 alignWithParentLeft = 5
107 justifyRight
108 font = boldSysFont
109
110 typeAheadTextField
111 id = ID_MESSAGE_FIELD
112 event = EVENT_VALIDATE
113 autoCap
114 initiallySelectAll
115 initialFocus
116 alignBaseline = ID_MESSAGE_LABEL
117 positionToRight = ID_MESSAGE_LABEL : 3
118 fillToRight = 0
119
120 groupBox
121 id = ID_IN_GROUP
122 onOffControl = ID_IN_BUTTON
123 onOffControlLeftPosition
124 positionBelow = ID_MESSAGE_LABEL : 7
125 fillToRight = 0
126 height = 22
127
128 radioButton
129 id = ID_IN_BUTTON
130 title = "In"
131 event = EVENT_IN
132
133 numberEditor
134 id = ID_PERIOD_FIELD
135 event = EVENT_VALIDATE
136 dontWrap
137 minValue = 1
138 maxValue = 99
139 alignBaseline = ID_IN_BUTTON
140 positionToRight = ID_IN_BUTTON : 1
141 className = "net.sabi.pester.EventfulNumberEditor"
142
143 popupMenu
144 id = ID_PERIOD_UNITS_POPUP
145 menu = ID_PERIOD_UNITS_MENU
146 alignBaseline = ID_PERIOD_FIELD
147 positionToRight = ID_PERIOD_FIELD : 1
148
149 checkBox
150 id = ID_PERIOD_REPEAT_CHECKBOX
151 title = "Repeat"
152 alignBaseline = ID_PERIOD_UNITS_POPUP
153 positionToRight = ID_PERIOD_UNITS_POPUP : 3
154 endGroupBox
155
156 groupBox
157 id = ID_AT_GROUP
158 onOffControl = ID_AT_BUTTON
159 onOffControlLeftPosition
160 positionBelow = ID_IN_GROUP : 3
161 fillToRight = 0
162 height = 22
163
164 radioButton
165 title = "At"
166 id = ID_AT_BUTTON
167 event = EVENT_AT
168
169 dateEditor
170 id = ID_TIME_EDITOR
171 longTimeFormat
172 event = EVENT_TIME_EDITOR
173 alignBaseline = ID_AT_BUTTON
174 positionToRight = ID_AT_BUTTON : 1
175
176 dateEditor
177 id = ID_DATE_EDITOR
178 event = EVENT_DATE_EDITOR
179 positionToRight = ID_TIME_EDITOR : 1
180 alignBaseline = ID_TIME_EDITOR
181 className = "net.sabi.pester.AlarmDateEditor"
182 positionDynamically # can move if time format changes
183
184 datePicker
185 id = ID_DATE_PICKER
186 event = EVENT_DATE_PICKER
187 positionToRight = ID_DATE_EDITOR : 1
188 alignTop = ID_DATE_EDITOR
189 positionDynamically # can move if time format changes
190 endGroupBox
191
192 staticText
193 text = "Alert"
194 id = ID_ALERT_LABEL
195 justifyRight
196 font = boldSysFont
197 positionBelow = ID_AT_GROUP : 5
198 alignRight = ID_MESSAGE_LABEL
199
200 ringTonePicker
201 id = ID_ALERT_PICKER
202 # alignBaseline = ID_ALERT_LABEL
203 positionBelow = ID_AT_GROUP : 3
204 positionToRight = ID_ALERT_LABEL : 3
205 fillToRight = 0
206
207 button
208 id = ID_DISCARD_ALARM_BUTTON
209 event = EVENT_DISCARD_ALARM
210 position = buttonTop2
211 title = discardButton
212
213 button
214 id = ID_SET_ALARM_BUTTON
215 event = EVENT_SET_ALARM
216 position = buttonBottom1
217 title = "Set"
218 shortcut = doneButton
219endDialog
220
221textInputAlert ID_ALARM_ALERT
222 systemDialog
223 title = "Alarm"
224 icon = ID_LARGE_ICON
225 font = "BortBold12"
226 text = "Alarm!"
227 button
228 id = ID_SNOOZE_BUTTON
229 event = EVENT_SNOOZE_ALARM
230 title = "Snooze"
231 position = buttonBottom2
232 shortcut = cancelButton
233 button
234 event = EVENT_SET_ALARM
235 title = "Reschedule..."
236 position = buttonBottom3
237 button
238 event = EVENT_DISMISS_ALARM
239 title = okButton
240 position = buttonBottom1
241 shortcut = doneButton
242 textField
243 id = ID_SNOOZE_MINUTES
244 title = "Snooze for minutes:"
245 dontAcceptKeyRepeats
246 initiallySelectAll
247 numericOnly
248 justifyRight
249 maxLength = 2
250 position = top
251endTextInputAlert
252
253alert ID_DISCARD_ALERT
254 appAlertStyle
255 title = "Discard Alarm?"
256 icon = stopIcon
257 text = "Permanently discard this alarm?"
258 button
259 event = EVENT_CONFIRM_DISCARD
260 title = discardButton
261 position = buttonBottom2
262 button
263 event = EVENT_CANCEL_DISCARD
264 title = backButton
265 position = buttonBottom1
266 shortcut = doneButton
267endAlert
268
269stringArray ID_ALARM_MESSAGES
270 "Bus"
271 "Class"
272 "Dinner"
273 "Exercise"
274 "Go home"
275 "Go to school"
276 "Go to work"
277 "Laundry"
278 "Lunch"
279 "Meeting"
280 "Sleep"
281 "Train"
282 "Wake up"
283endStringArray
Note: See TracBrowser for help on using the repository browser.