|
1 /* |
|
2 * Copyright (c) 2007-2009 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: Resource definitions for project vpnecomnotifier |
|
15 * |
|
16 */ |
|
17 |
|
18 NAME ANOT |
|
19 |
|
20 #include <eikon.rh> |
|
21 #include <avkon.rsg> |
|
22 #include <avkon.hrh> |
|
23 #include <avkon.rh> |
|
24 #include <avkon.mbg> |
|
25 #include <avkon.loc> |
|
26 |
|
27 #include "vpnecomnotifier.hrh" |
|
28 #include <vpnnotifier.loc> |
|
29 |
|
30 RESOURCE RSS_SIGNATURE { } |
|
31 |
|
32 RESOURCE TBUF { buf=""; } |
|
33 |
|
34 RESOURCE EIK_APP_INFO |
|
35 { |
|
36 } |
|
37 |
|
38 //================================================================= |
|
39 |
|
40 RESOURCE DIALOG r_acu_server_identity_query |
|
41 { |
|
42 flags = EEikDialogFlagNotifyEsc; |
|
43 buttons = R_AVKON_SOFTKEYS_OK_CANCEL; |
|
44 items = |
|
45 { |
|
46 DLG_LINE |
|
47 { |
|
48 type = EAknCtQuery; |
|
49 id = EEikCidPassword; |
|
50 control = AVKON_DATA_QUERY |
|
51 { |
|
52 layout = EDataLayout; |
|
53 label = qtn_p_policy_server_identity; |
|
54 control = EDWIN |
|
55 { |
|
56 flags = 0; |
|
57 maxlength=4; |
|
58 avkon_flags = EAknEditorFlagNoT9 | |
|
59 EAknEditorFlagLatinInputModesOnly; |
|
60 |
|
61 // Editor cases |
|
62 default_case = EAknEditorLowerCase; |
|
63 allowed_case_modes = EAknEditorAllCaseModes; |
|
64 |
|
65 // Input modes |
|
66 allowed_input_modes = EAknEditorTextInputMode | |
|
67 EAknEditorNumericInputMode; |
|
68 default_input_mode = EAknEditorNumericInputMode; |
|
69 |
|
70 // Means no functionality when pressing * or # in numeric keymap |
|
71 numeric_keymap = EAknEditorPlainNumberModeKeymap; |
|
72 |
|
73 // Contains .@;?'-_&/~*+= characters |
|
74 //special_character_table = R_AVKON_EMAIL_ADDR_SPECIAL_CHARACTER_TABLE_DIALOG; |
|
75 }; |
|
76 }; |
|
77 } |
|
78 }; |
|
79 } |
|
80 |
|
81 RESOURCE DIALOG r_acu_legacy_authentication |
|
82 { |
|
83 flags = EEikDialogFlagNotifyEsc; |
|
84 buttons = R_AVKON_SOFTKEYS_OK_CANCEL; |
|
85 items = |
|
86 { |
|
87 DLG_LINE |
|
88 { |
|
89 type = EAknCtMultilineQuery; |
|
90 id = EEikCidPassword; |
|
91 control = AVKON_DATA_QUERY |
|
92 { |
|
93 layout = EMultiDataFirstEdwin; |
|
94 // label = qtn_p_policy_server_logon; |
|
95 label = qtn_vpn_prmpt_policy_server_username; |
|
96 control = EDWIN |
|
97 { |
|
98 flags = 0; |
|
99 width = 5; |
|
100 lines = 1; |
|
101 maxlength = 50; |
|
102 default_case = EAknEditorLowerCase; |
|
103 allowed_case_modes = EAknEditorAllCaseModes; |
|
104 avkon_flags = EAknEditorFlagNoT9 | |
|
105 EAknEditorFlagLatinInputModesOnly; |
|
106 }; |
|
107 }; |
|
108 }, |
|
109 DLG_LINE |
|
110 { |
|
111 type = EAknCtMultilineQuery; |
|
112 id = EEikCidPasswordConfirm; |
|
113 control = AVKON_DATA_QUERY |
|
114 { |
|
115 layout = EMultiDataSecondSecEd; |
|
116 //label = qtn_p2_policy_server_logon; |
|
117 label = qtn_vpn_prmpt_policy_server_password; |
|
118 control = SECRETED |
|
119 { |
|
120 num_letters=50; |
|
121 }; |
|
122 }; |
|
123 } |
|
124 }; |
|
125 } |
|
126 |
|
127 RESOURCE DIALOG r_vpn_user_identity_query |
|
128 { |
|
129 flags = EEikDialogFlagNotifyEsc; |
|
130 buttons = R_AVKON_SOFTKEYS_OK_CANCEL; |
|
131 items = |
|
132 { |
|
133 DLG_LINE |
|
134 { |
|
135 type = EAknCtQuery; |
|
136 id = EEikCidPassword; |
|
137 control = AVKON_DATA_QUERY |
|
138 { |
|
139 layout = EDataLayout; |
|
140 label = qtn_vpn_prmpt_user_identity; |
|
141 control = EDWIN |
|
142 { |
|
143 flags=0; |
|
144 lines=1; |
|
145 maxlength=50; |
|
146 default_case = EAknEditorLowerCase; |
|
147 allowed_case_modes = EAknEditorAllCaseModes; |
|
148 avkon_flags = EAknEditorFlagNoT9 | |
|
149 EAknEditorFlagLatinInputModesOnly; |
|
150 }; |
|
151 }; |
|
152 } |
|
153 }; |
|
154 } |
|
155 |
|
156 RESOURCE DIALOG r_vpn_policy_update_confirmation_query |
|
157 { |
|
158 flags = EEikDialogFlagNotifyEsc; |
|
159 buttons = R_AVKON_SOFTKEYS_YES_NO; |
|
160 items = |
|
161 { |
|
162 DLG_LINE |
|
163 { |
|
164 type = EAknCtQuery; |
|
165 id = EGeneralQuery; |
|
166 control = AVKON_CONFIRMATION_QUERY |
|
167 { |
|
168 layout = EConfirmationQueryLayout; |
|
169 label = qtn_vpn_quest_dl_policy_update; |
|
170 // Use default icon |
|
171 // bmpfile = AKNEXQUERY_BMPFILE_NAME; |
|
172 // bmpid = EMbmAknexqueryLshellicon; |
|
173 // bmpmask = AKNEXQUERY_BITMAP_MASK_FLAG; |
|
174 }; |
|
175 } |
|
176 }; |
|
177 } |
|
178 |
|
179 RESOURCE DIALOG r_vpn_quest_import_policy |
|
180 { |
|
181 flags = EEikDialogFlagNotifyEsc; |
|
182 buttons = R_AVKON_SOFTKEYS_YES_NO; |
|
183 items = |
|
184 { |
|
185 DLG_LINE |
|
186 { |
|
187 type = EAknCtQuery; |
|
188 id = EGeneralQuery; |
|
189 control = AVKON_CONFIRMATION_QUERY |
|
190 { |
|
191 layout = EConfirmationQueryLayout; |
|
192 label = qtn_vpn_quest_import_policy; |
|
193 // Use default icon |
|
194 // bmpfile = AKNEXQUERY_BMPFILE_NAME; |
|
195 // bmpid = EMbmAknexqueryLshellicon; |
|
196 // bmpmask = AKNEXQUERY_BITMAP_MASK_FLAG; |
|
197 }; |
|
198 } |
|
199 }; |
|
200 } |
|
201 |
|
202 RESOURCE DIALOG r_vpn_quest_apply_devlock |
|
203 { |
|
204 flags = EEikDialogFlagNotifyEsc; |
|
205 buttons = R_AVKON_SOFTKEYS_YES_NO; |
|
206 items = |
|
207 { |
|
208 DLG_LINE |
|
209 { |
|
210 type = EAknCtQuery; |
|
211 id = EGeneralQuery; |
|
212 control = AVKON_CONFIRMATION_QUERY |
|
213 { |
|
214 layout = EConfirmationQueryLayout; |
|
215 label = qtn_vpn_quest_import_policy_forcing_dev_lock; |
|
216 // Use default icon |
|
217 // bmpfile = AKNEXQUERY_BMPFILE_NAME; |
|
218 // bmpid = EMbmAknexqueryLshellicon; |
|
219 // bmpmask = AKNEXQUERY_BITMAP_MASK_FLAG; |
|
220 }; |
|
221 } |
|
222 }; |
|
223 } |
|
224 |
|
225 RESOURCE DIALOG r_vpn_wait_import_policy |
|
226 { |
|
227 flags = EAknWaitNoteFlags | EEikDialogFlagNotifyEsc; |
|
228 buttons=R_AVKON_SOFTKEYS_CANCEL; |
|
229 items = |
|
230 { |
|
231 DLG_LINE |
|
232 { |
|
233 type = EAknCtNote; |
|
234 id = EGeneralNote; |
|
235 control = AVKON_NOTE |
|
236 { |
|
237 layout = EWaitLayout; |
|
238 singular_label = qtn_vpn_wait_importing_policy; |
|
239 animation = R_QGN_GRAF_WAIT_BAR_ANIM; |
|
240 }; |
|
241 } |
|
242 }; |
|
243 } |
|
244 |
|
245 RESOURCE DIALOG r_vpn_wait_processing |
|
246 { |
|
247 flags = EAknWaitNoteFlags | EEikDialogFlagNotifyEsc; |
|
248 // buttons=R_AVKON_SOFTKEYS_CANCEL; |
|
249 items = |
|
250 { |
|
251 DLG_LINE |
|
252 { |
|
253 type = EAknCtNote; |
|
254 id = EGeneralNote; |
|
255 control = AVKON_NOTE |
|
256 { |
|
257 layout = EWaitLayout; |
|
258 singular_label = qtn_gen_note_processing; |
|
259 animation = R_QGN_GRAF_WAIT_BAR_ANIM; |
|
260 }; |
|
261 } |
|
262 }; |
|
263 } |
|
264 |
|
265 RESOURCE DIALOG r_vpn_pkcs12_password_query |
|
266 { |
|
267 flags = EEikDialogFlagNotifyEsc; |
|
268 buttons = R_AVKON_SOFTKEYS_OK_CANCEL; |
|
269 items = |
|
270 { |
|
271 DLG_LINE |
|
272 { |
|
273 type = EAknCtQuery; |
|
274 id = EEikCidPassword; |
|
275 control = AVKON_DATA_QUERY |
|
276 { |
|
277 layout = ECodeLayout; |
|
278 label = qtn_vpn_prmpt_pkcs12_password; |
|
279 control = SECRETED |
|
280 { |
|
281 num_letters = 32; |
|
282 }; |
|
283 }; |
|
284 } |
|
285 }; |
|
286 } |
|
287 |
|
288 RESOURCE DIALOG r_kmd_crack_unpw_query |
|
289 { |
|
290 flags=EEikDialogFlagNotifyEsc; |
|
291 buttons=R_AVKON_SOFTKEYS_OK_CANCEL; |
|
292 items= |
|
293 { |
|
294 DLG_LINE |
|
295 { |
|
296 type = EAknCtMultilineQuery; |
|
297 id = EEikCidPassword; |
|
298 control = AVKON_DATA_QUERY |
|
299 { |
|
300 layout = EMultiDataFirstEdwin; |
|
301 label = qtn_vpn_prmpt_gw_username_legacy; |
|
302 control = EDWIN |
|
303 { |
|
304 flags = 0; |
|
305 width = 5; |
|
306 lines = 1; |
|
307 maxlength = 32; |
|
308 default_case = EAknEditorLowerCase; |
|
309 allowed_case_modes = EAknEditorAllCaseModes; |
|
310 avkon_flags = EAknEditorFlagNoT9 | |
|
311 EAknEditorFlagLatinInputModesOnly; |
|
312 }; |
|
313 }; |
|
314 }, |
|
315 DLG_LINE |
|
316 { |
|
317 type = EAknCtMultilineQuery; |
|
318 id = EEikCidPasswordConfirm; |
|
319 control = AVKON_DATA_QUERY |
|
320 { |
|
321 layout = EMultiDataSecondSecEd; |
|
322 label = qtn_vpn_prmpt_gw_password_legacy; |
|
323 control = SECRETED |
|
324 { |
|
325 num_letters = 32; |
|
326 }; |
|
327 }; |
|
328 } |
|
329 }; |
|
330 } |
|
331 |
|
332 RESOURCE DIALOG r_kmd_crack_sid_query |
|
333 { |
|
334 flags=EEikDialogFlagNotifyEsc; |
|
335 buttons=R_AVKON_SOFTKEYS_OK_CANCEL; |
|
336 items= |
|
337 { |
|
338 DLG_LINE |
|
339 { |
|
340 type=EAknCtMultilineQuery; |
|
341 id=EEikCidPassword; |
|
342 control=AVKON_DATA_QUERY |
|
343 { |
|
344 layout = EMultiDataFirstEdwin; |
|
345 label = qtn_vpn_prmpt_gw_username_legacy; |
|
346 control=EDWIN |
|
347 { |
|
348 flags=0; |
|
349 width=5; |
|
350 lines=1; |
|
351 maxlength=32; |
|
352 default_case = EAknEditorLowerCase; |
|
353 allowed_case_modes = EAknEditorAllCaseModes; |
|
354 avkon_flags = EAknEditorFlagNoT9 | |
|
355 EAknEditorFlagLatinInputModesOnly; |
|
356 }; |
|
357 }; |
|
358 }, |
|
359 DLG_LINE |
|
360 { |
|
361 type=EAknCtMultilineQuery; |
|
362 id=EEikCidPasswordConfirm; |
|
363 control= AVKON_DATA_QUERY |
|
364 { |
|
365 layout = EMultiDataSecondPinEd; |
|
366 label = qtn_vpn_prmpt_gw_securid_passcode; |
|
367 control = SECRETED |
|
368 { |
|
369 num_letters=32; |
|
370 }; |
|
371 }; |
|
372 } |
|
373 }; |
|
374 } |
|
375 |
|
376 RESOURCE DIALOG r_kmd_crack_sid_next_query |
|
377 { |
|
378 flags=EEikDialogFlagNotifyEsc; |
|
379 buttons=R_AVKON_SOFTKEYS_OK_CANCEL; |
|
380 items= |
|
381 { |
|
382 DLG_LINE |
|
383 { |
|
384 type=EAknCtMultilineQuery; |
|
385 id=EEikCidPassword; |
|
386 control=AVKON_DATA_QUERY |
|
387 { |
|
388 layout = EMultiDataFirstEdwin; |
|
389 label = qtn_vpn_prmpt_gw_username_legacy; |
|
390 control=EDWIN |
|
391 { |
|
392 flags=0; |
|
393 width=5; |
|
394 lines=1; |
|
395 maxlength=32; |
|
396 default_case = EAknEditorLowerCase; |
|
397 allowed_case_modes = EAknEditorAllCaseModes; |
|
398 avkon_flags = EAknEditorFlagNoT9 | |
|
399 EAknEditorFlagLatinInputModesOnly; |
|
400 }; |
|
401 }; |
|
402 }, |
|
403 DLG_LINE |
|
404 { |
|
405 type=EAknCtMultilineQuery; |
|
406 id=EEikCidPasswordConfirm; |
|
407 control= AVKON_DATA_QUERY |
|
408 { |
|
409 layout = EMultiDataSecondPinEd; |
|
410 label = qtn_vpn_prmpt_next_passcode; |
|
411 control = SECRETED |
|
412 { |
|
413 num_letters=32; |
|
414 }; |
|
415 }; |
|
416 } |
|
417 }; |
|
418 } |
|
419 |
|
420 |
|
421 //================================================================= |
|
422 RESOURCE TBUF r_kmd_crack_auth_failed |
|
423 { |
|
424 buf = qtn_vpn_err_auth_failed; |
|
425 } |
|
426 |
|
427 RESOURCE TBUF r_acu_next_server_identity |
|
428 { |
|
429 buf = qtn_vpn_info_verify_hash; |
|
430 //buf = qtn_n_next_server_identity; |
|
431 } |
|
432 |
|
433 RESOURCE TBUF r_acu_wrong_server_identity_code |
|
434 { |
|
435 buf = qtn_vpn_err_server_hash_error; |
|
436 //buf = qtn_n_wrong_identity_code; |
|
437 } |
|
438 |
|
439 RESOURCE TBUF r_acu_server_identity |
|
440 { |
|
441 buf = qtn_p2_policy_server_identity; |
|
442 } |
|
443 |
|
444 RESOURCE TBUF r_acu_auth_failed |
|
445 { |
|
446 buf = qtn_vpn_err_auth_failed; |
|
447 } |
|
448 |
|
449 RESOURCE TBUF r_acu_invalid_server_cert |
|
450 { |
|
451 buf = qtn_vpn_info_server_cert_expired; |
|
452 } |
|
453 |
|
454 RESOURCE TBUF r_acu_invalid_client_cert |
|
455 { |
|
456 buf = qtn_vpn_info_client_cert_expired; |
|
457 } |
|
458 |
|
459 // VPN related strings |
|
460 |
|
461 RESOURCE TBUF r_vpn_user_identity |
|
462 { |
|
463 buf = qtn_vpn_prmpt_user_identity; |
|
464 } |
|
465 |
|
466 RESOURCE TBUF r_vpn_policy_update_succeeded |
|
467 { |
|
468 buf = qtn_vpn_conf_policy_update_complete; |
|
469 } |
|
470 |
|
471 RESOURCE TBUF r_vpn_policy_update_failed |
|
472 { |
|
473 buf = qtn_vpn_info_policy_dl_error; |
|
474 } |
|
475 |
|
476 RESOURCE TBUF r_vpn_policy_delete_succeeded |
|
477 { |
|
478 buf = qtn_vpn_info_policy_deleted; |
|
479 } |
|
480 |
|
481 RESOURCE TBUF r_vpn_user_name_missing |
|
482 { |
|
483 buf = qtn_vpn_info_user_name_missing; |
|
484 } |
|
485 |
|
486 RESOURCE TBUF r_vpn_fqdn_missing |
|
487 { |
|
488 buf = qtn_vpn_info_fqdn_missing; |
|
489 } |
|
490 |
|
491 RESOURCE TBUF r_vpn_policy_installation_failed |
|
492 { |
|
493 buf = qtn_vpn_info_sis_definition_install_failed; |
|
494 } |
|
495 |
|
496 RESOURCE TBUF r_vpn_conf_policy_import_complete |
|
497 { |
|
498 buf = qtn_vpn_conf_policy_import_complete; |
|
499 } |
|
500 |
|
501 RESOURCE TBUF r_vpn_str_quest_import_policy_str |
|
502 { |
|
503 buf = qtn_vpn_quest_import_policy; |
|
504 } |
|
505 |
|
506 RESOURCE TBUF r_vpn_str_quest_apply_devlock_str |
|
507 { |
|
508 buf = qtn_vpn_quest_import_policy_forcing_dev_lock; |
|
509 } |
|
510 |
|
511 RESOURCE TBUF r_vpn_str_quest_pkcs12_password_str |
|
512 { |
|
513 buf = qtn_vpn_prmpt_pkcs12_password; |
|
514 } |
|
515 |
|
516 RESOURCE TBUF r_vpn_str_wrong_pkcs12_password_str |
|
517 { |
|
518 buf = qtn_vpn_info_incorrect_pkcs12_password; |
|
519 } |
|
520 |
|
521 RESOURCE TBUF r_vpn_str_cannot_force_device_lock |
|
522 { |
|
523 buf = qtn_vpn_info_import_cannot_force_dev_lock; |
|
524 } |
|
525 |
|
526 |