|
1 /* |
|
2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 #include <calenkoreanlunar.loc> |
|
19 |
|
20 #include <calendar.loc> |
|
21 #include <calendar.rsg> |
|
22 #include <eikon.rh> |
|
23 #include <avkon.hrh> |
|
24 #include <avkon.rh> |
|
25 #include <avkon.rsg> |
|
26 |
|
27 NAME KLU1 |
|
28 RESOURCE RSS_SIGNATURE { } |
|
29 |
|
30 // --------------------------------------------------------- |
|
31 // --------------------------------------------------------- |
|
32 // one version exits in calendar.rsg |
|
33 RESOURCE TBUF R_CALEN_LUNAR_SETTING_TITLE2 |
|
34 { |
|
35 buf = qtn_kor_cale_sett_lunar_cale; |
|
36 } |
|
37 |
|
38 // --------------------------------------------------------- |
|
39 // --------------------------------------------------------- |
|
40 // |
|
41 RESOURCE AVKON_SETTING_PAGE r_calen_lunar_setting_page |
|
42 { |
|
43 label = qtn_kor_cale_sett_lunar_cale; |
|
44 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL; |
|
45 type = EAknCtPopupSettingList; |
|
46 editor_resource_id = R_CALEN_SETTING_LISTBOX; |
|
47 } |
|
48 |
|
49 // --------------------------------------------------------- |
|
50 // --------------------------------------------------------- |
|
51 // |
|
52 RESOURCE ARRAY r_calen_lunar_setting_choicelist |
|
53 { |
|
54 items = |
|
55 { |
|
56 LBUF |
|
57 { |
|
58 txt = qtn_kor_cale_lunar_cale_off; |
|
59 }, |
|
60 LBUF |
|
61 { |
|
62 txt = qtn_kor_cale_lunar_cale_on; |
|
63 } |
|
64 }; |
|
65 } |
|
66 |
|
67 //---------------------------------------------------- |
|
68 //---------------------------------------------------- |
|
69 // |
|
70 RESOURCE ARRAY r_calen_lunar_setting_array |
|
71 { |
|
72 items = |
|
73 { |
|
74 AVKON_ENUMERATED_TEXT |
|
75 { |
|
76 value = 0; |
|
77 text = qtn_kor_cale_lunar_cale_off; |
|
78 }, |
|
79 AVKON_ENUMERATED_TEXT |
|
80 { |
|
81 value = 1; |
|
82 text = qtn_kor_cale_lunar_cale_on; |
|
83 } |
|
84 }; |
|
85 } |
|
86 |
|
87 //---------------------------------------------------- |
|
88 //---------------------------------------------------- |
|
89 // |
|
90 RESOURCE AVKON_POPUP_SETTING_TEXTS r_calen_lunar_setting_texts |
|
91 { |
|
92 setting_texts_resource = r_calen_lunar_setting_array; |
|
93 popped_up_texts_resource = r_calen_lunar_setting_choicelist; |
|
94 } |
|
95 |
|
96 |
|
97 //---------------------------------------------------- |
|
98 //---------------------------------------------------- |
|
99 // |
|
100 RESOURCE DIALOG r_calen_lunar_details_dialog |
|
101 { |
|
102 flags = EGeneralQueryFlags; |
|
103 buttons = R_AVKON_SOFTKEYS_OK_EMPTY; |
|
104 items = |
|
105 { |
|
106 DLG_LINE |
|
107 { |
|
108 type = EAknCtPopupHeadingPane; |
|
109 id = EAknMessageQueryHeaderId; |
|
110 control = AVKON_HEADING |
|
111 { |
|
112 label = qtn_kor_cale_lunar_calendar; |
|
113 headinglayout = R_AVKON_LIST_HEADING_PANE; |
|
114 }; |
|
115 }, |
|
116 DLG_LINE |
|
117 { |
|
118 type = EAknCtMessageQuery; |
|
119 id = EAknMessageQueryContentId; |
|
120 control = AVKON_MESSAGE_QUERY |
|
121 { |
|
122 }; |
|
123 } |
|
124 }; |
|
125 } |
|
126 |
|
127 |
|
128 //---------------------------------------------------- |
|
129 // Menu item text "Show lunar details" |
|
130 //---------------------------------------------------- |
|
131 // |
|
132 RESOURCE TBUF r_calendar_show_lunar_data |
|
133 { |
|
134 buf = qtn_kor_cale_lunar_data; |
|
135 } |
|
136 |
|
137 |
|
138 //---------------------------------------------------- |
|
139 // Details dialog item headers |
|
140 //---------------------------------------------------- |
|
141 // |
|
142 RESOURCE TBUF r_calendar_lunar_info_festival |
|
143 { |
|
144 buf = qtn_cale_lunar_info_festival; |
|
145 } |
|
146 |
|
147 RESOURCE TBUF r_calendar_lunar_info_solar |
|
148 { |
|
149 buf = qtn_cale_lunar_info_solar; |
|
150 } |
|
151 |
|
152 RESOURCE TBUF r_calendar_lunar_info_date |
|
153 { |
|
154 buf = qtn_cale_info_lunar_date; |
|
155 } |
|
156 |
|
157 RESOURCE TBUF r_calendar_lunar_info_western_date |
|
158 { |
|
159 buf = qtn_cale_info_western_date; |
|
160 } |
|
161 |
|
162 RESOURCE TBUF r_kor_cale_extra_row_lunar |
|
163 { |
|
164 buf = qtn_kor_cale_extra_row_lunar; |
|
165 } |
|
166 |
|
167 RESOURCE TBUF r_cale_lunar_separator |
|
168 { |
|
169 buf = qtn_cale_lunar_separator; |
|
170 } |
|
171 |
|
172 RESOURCE TBUF r_cale_lunar_full_date |
|
173 { |
|
174 buf = qtn_cale_lunar_full_date; |
|
175 } |
|
176 |
|
177 RESOURCE TBUF r_cale_lunar_date |
|
178 { |
|
179 buf = qtn_cale_lunar_date; |
|
180 } |
|
181 |
|
182 RESOURCE TBUF r_cale_lunar_leap_date |
|
183 { |
|
184 buf = qtn_cale_lunar_leap_date; |
|
185 } |
|
186 |
|
187 RESOURCE TBUF r_cale_lunar_year |
|
188 { |
|
189 buf = qtn_cale_lunar_year; |
|
190 } |
|
191 |
|
192 //test |
|
193 RESOURCE TBUF r_cale_kor_lunar_date |
|
194 { |
|
195 buf = qtn_cale_kor_lunar_date; |
|
196 } |
|
197 |
|
198 RESOURCE TBUF r_cale_kor_lunar_indicator |
|
199 { |
|
200 buf = qtn_lunar_indicator; |
|
201 } |
|
202 |
|
203 RESOURCE TBUF r_cale_kor_leap_year_indicator |
|
204 { |
|
205 buf = qtn_lunar_leap_year_indicator; |
|
206 } |
|
207 |
|
208 // --------------------------------------------------------- |
|
209 // |
|
210 // r_calen_kor_festivals |
|
211 // Descriptor array for Korean festivals |
|
212 // |
|
213 // --------------------------------------------------------- |
|
214 // |
|
215 RESOURCE ARRAY r_calen_kor_festivals |
|
216 { |
|
217 items = |
|
218 { |
|
219 LBUF { txt = qtn_kor_cale_festival_name_1; }, |
|
220 LBUF { txt = qtn_kor_cale_festival_name_2; }, |
|
221 LBUF { txt = qtn_kor_cale_festival_name_3; }, |
|
222 LBUF { txt = qtn_kor_cale_festival_name_4; }, |
|
223 LBUF { txt = qtn_kor_cale_festival_name_5; }, |
|
224 LBUF { txt = qtn_kor_cale_festival_name_6; }, |
|
225 LBUF { txt = qtn_kor_cale_festival_name_7; }, |
|
226 LBUF { txt = qtn_kor_cale_festival_name_8; }, |
|
227 LBUF { txt = qtn_kor_cale_festival_name_9; }, |
|
228 LBUF { txt = qtn_kor_cale_festival_name_10; }, |
|
229 LBUF { txt = qtn_kor_cale_festival_name_11; } |
|
230 }; |
|
231 } |
|
232 |
|
233 // --------------------------------------------------------- |
|
234 // |
|
235 // r_calen_kor_solar_items |
|
236 // Descriptor array for Korean solar items |
|
237 // |
|
238 // --------------------------------------------------------- |
|
239 // |
|
240 RESOURCE ARRAY r_calen_kor_solar_items |
|
241 { |
|
242 items = |
|
243 { |
|
244 LBUF { txt = qtn_kor_cale_solar_item_1; }, |
|
245 LBUF { txt = qtn_kor_cale_solar_item_2; }, |
|
246 LBUF { txt = qtn_kor_cale_solar_item_3; }, |
|
247 LBUF { txt = qtn_kor_cale_solar_item_4; }, |
|
248 LBUF { txt = qtn_kor_cale_solar_item_5; }, |
|
249 LBUF { txt = qtn_kor_cale_solar_item_6; }, |
|
250 LBUF { txt = qtn_kor_cale_solar_item_7; }, |
|
251 LBUF { txt = qtn_kor_cale_solar_item_8; }, |
|
252 LBUF { txt = qtn_kor_cale_solar_item_9; }, |
|
253 LBUF { txt = qtn_kor_cale_solar_item_10; }, |
|
254 LBUF { txt = qtn_kor_cale_solar_item_11; }, |
|
255 LBUF { txt = qtn_kor_cale_solar_item_12; }, |
|
256 LBUF { txt = qtn_kor_cale_solar_item_13; }, |
|
257 LBUF { txt = qtn_kor_cale_solar_item_14; }, |
|
258 LBUF { txt = qtn_kor_cale_solar_item_15; }, |
|
259 LBUF { txt = qtn_kor_cale_solar_item_16; }, |
|
260 LBUF { txt = qtn_kor_cale_solar_item_17; }, |
|
261 LBUF { txt = qtn_kor_cale_solar_item_18; }, |
|
262 LBUF { txt = qtn_kor_cale_solar_item_19; }, |
|
263 LBUF { txt = qtn_kor_cale_solar_item_20; }, |
|
264 LBUF { txt = qtn_kor_cale_solar_item_21; }, |
|
265 LBUF { txt = qtn_kor_cale_solar_item_22; }, |
|
266 LBUF { txt = qtn_kor_cale_solar_item_23; }, |
|
267 LBUF { txt = qtn_kor_cale_solar_item_24; } |
|
268 }; |
|
269 } |
|
270 |
|
271 // --------------------------------------------------------- |
|
272 // |
|
273 // r_calen_kor_solar_anniversary_items |
|
274 // Descriptor array for Korean solar anniversary items |
|
275 // |
|
276 // --------------------------------------------------------- |
|
277 // |
|
278 RESOURCE ARRAY r_calen_kor_solar_anniversary_items |
|
279 { |
|
280 items = |
|
281 { |
|
282 LBUF { txt = qtn_kor_cale_solar_anniversary_item_1; }, |
|
283 LBUF { txt = qtn_kor_cale_solar_anniversary_item_2; }, |
|
284 LBUF { txt = qtn_kor_cale_solar_anniversary_item_3; }, |
|
285 LBUF { txt = qtn_kor_cale_solar_anniversary_item_4; }, |
|
286 LBUF { txt = qtn_kor_cale_solar_anniversary_item_5; }, |
|
287 LBUF { txt = qtn_kor_cale_solar_anniversary_item_6; }, |
|
288 LBUF { txt = qtn_kor_cale_solar_anniversary_item_7; }, |
|
289 LBUF { txt = qtn_kor_cale_solar_anniversary_item_8; }, |
|
290 LBUF { txt = qtn_kor_cale_solar_anniversary_item_9; }, |
|
291 LBUF { txt = qtn_kor_cale_solar_anniversary_item_10; }, |
|
292 LBUF { txt = qtn_kor_cale_solar_anniversary_item_11; }, |
|
293 LBUF { txt = qtn_kor_cale_solar_anniversary_item_12; } |
|
294 }; |
|
295 } |
|
296 |
|
297 |