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

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

Better way of retrieving selected unit (thanks, Jean-Sebastien Payette)

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