|
1 /* |
|
2 * Copyright (c) 2007-2008 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 FSMailServer |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 NAME FSMS |
|
21 |
|
22 |
|
23 #include <eikon.rh> |
|
24 #include <avkon.rsg> |
|
25 #include <avkon.rh> |
|
26 #include <avkon.mbg> |
|
27 #include <avkon.hrh> |
|
28 #include <avkon.loc> |
|
29 |
|
30 //<cmail> |
|
31 #include "fsmailserverconst.hrh" |
|
32 //</cmail> |
|
33 // </cmail> |
|
34 #include <fsmailserver.loc> |
|
35 // </cmail> |
|
36 |
|
37 RESOURCE RSS_SIGNATURE { } |
|
38 RESOURCE TBUF { buf=""; } |
|
39 |
|
40 |
|
41 // --------------------------------------------------------------------------- |
|
42 // r_fs_mserver_synch_not_enough_memory |
|
43 // Text for out of memory notification. |
|
44 // --------------------------------------------------------------------------- |
|
45 // |
|
46 RESOURCE TBUF r_fs_mserver_synch_not_enough_memory |
|
47 { |
|
48 buf=qtn_fs_mserver_synch_not_enough_memory; |
|
49 } |
|
50 |
|
51 ////////////////////////////////////////////////////////////////////////////// |
|
52 // AUTHENTICATION |
|
53 // |
|
54 |
|
55 // Authentication soft keys. |
|
56 RESOURCE CBA r_fs_mserver_softkeys_login_cancel |
|
57 { |
|
58 buttons = |
|
59 { |
|
60 CBA_BUTTON {id=EAknSoftkeyOk; txt=qtn_fse_softkey_log_in;}, |
|
61 CBA_BUTTON {id=EAknSoftkeyCancel; txt= text_softkey_cancel;} |
|
62 }; |
|
63 } |
|
64 |
|
65 // Authentication dialog with AVKON text query dialog. |
|
66 RESOURCE DIALOG r_fs_mserver_dialog_authentication |
|
67 { |
|
68 // EEikDialogFlagWait |
|
69 flags = EEikDialogFlagNotifyEsc | EEikDialogFlagNoDrag | |
|
70 EEikDialogFlagCbaButtons | EEikDialogFlagNoTitleBar; |
|
71 buttons=r_fs_mserver_softkeys_login_cancel; |
|
72 |
|
73 items= |
|
74 { |
|
75 // Heading pane, application sets the mailbox name here |
|
76 DLG_LINE |
|
77 { |
|
78 type = EAknCtPopupHeadingPane; |
|
79 id = EAknMessageQueryHeaderId; |
|
80 control = AVKON_HEADING |
|
81 { |
|
82 label = ""; |
|
83 }; |
|
84 }, |
|
85 |
|
86 // Password query |
|
87 DLG_LINE |
|
88 { |
|
89 type=EAknCtQuery; |
|
90 id=EGeneralQuery; |
|
91 control= AVKON_DATA_QUERY |
|
92 { |
|
93 layout = ECodeLayout; |
|
94 label = qtn_fse_auth_query_password; |
|
95 control=SECRETED |
|
96 { |
|
97 num_letters = KFsEmailNotifierPasswordMaxLength; |
|
98 }; |
|
99 }; |
|
100 } |
|
101 }; |
|
102 } |
|
103 |
|
104 |
|
105 ////////////////////////////////////////////////////////////////////////////// |
|
106 // MESSAGE QUERY |
|
107 // |
|
108 |
|
109 // LSK buttons for message query dialogs |
|
110 RESOURCE CBA_BUTTON r_fs_mserver_button_ok |
|
111 { |
|
112 id = EAknSoftkeyOk; |
|
113 txt = text_softkey_ok; |
|
114 } |
|
115 |
|
116 // RSK buttons for message query dialogs |
|
117 RESOURCE CBA_BUTTON r_fs_mserver_button_cancel |
|
118 { |
|
119 id = EAknSoftkeyCancel; |
|
120 txt = text_softkey_cancel; |
|
121 } |
|
122 |
|
123 RESOURCE CBA_BUTTON r_fs_mserver_button_exit |
|
124 { |
|
125 id = EAknSoftkeyCancel; |
|
126 txt = text_softkey_exit; |
|
127 } |
|
128 |
|
129 // Message query dialog with AVKON message query dialog. |
|
130 RESOURCE DIALOG r_fs_mserver_dialog_message_query |
|
131 { |
|
132 flags = EEikDialogFlagNoDrag | EEikDialogFlagNoTitleBar | EEikDialogFlagCbaButtons | EEikDialogFlagNotifyEsc;// | EEikDialogFlagWait; |
|
133 buttons = R_AVKON_SOFTKEYS_OK_EMPTY; |
|
134 items= |
|
135 { |
|
136 DLG_LINE |
|
137 { |
|
138 type = EAknCtPopupHeadingPane; |
|
139 id = EAknMessageQueryHeaderId; |
|
140 control = AVKON_HEADING |
|
141 { |
|
142 }; |
|
143 }, |
|
144 DLG_LINE |
|
145 { |
|
146 type = EAknCtMessageQuery; |
|
147 id = EAknMessageQueryContentId; |
|
148 control = AVKON_MESSAGE_QUERY |
|
149 { |
|
150 }; |
|
151 } |
|
152 }; |
|
153 } |
|
154 |
|
155 RESOURCE TBUF r_fs_mserver_application_name { buf=qtn_fse_app_name; } |
|
156 RESOURCE TBUF r_fs_mserver_mailbox_name { buf=qtn_fse_auth_mailbox_name; } |
|
157 |
|
158 // System message texts |
|
159 RESOURCE TBUF r_fs_mserver_authenticating { buf=qtn_fse_login_wait_note_authenticating; } |
|
160 |
|
161 RESOURCE TBUF r_fs_mserver_text_login_unsuccessful { buf=qtn_fse_login_info_note_login_unsuccessful; } |
|
162 RESOURCE TBUF r_fs_mserver_text_password_expired { buf=qtn_fse_login_info_note_password_expired; } |
|
163 RESOURCE TBUF r_fs_mserver_text_password_changed { buf=qtn_fse_login_info_note_password_changed; } |
|
164 RESOURCE TBUF r_fs_mserver_text_auth_canceled_try_again { buf=qtn_fse_login_info_note_auth_canceled_try_again; } |
|
165 RESOURCE TBUF r_fs_mserver_text_server_not_found_try_again { buf=qtn_fse_login_info_note_server_not_found_try_again; } |
|
166 RESOURCE TBUF r_fs_mserver_text_network_unavailable_try_again { buf=qtn_fse_info_note_network_unavailable_try_again; } |
|
167 RESOURCE TBUF r_fs_mserver_text_server_currently_busy_try_again { buf=qtn_fse_login_info_note_server_currently_busy_try_again; } |
|
168 RESOURCE TBUF r_fs_mserver_text_unable_to_connect_try_again { buf=qtn_fse_login_info_note_unable_to_connect_try_again; } |
|
169 RESOURCE TBUF r_fs_mserver_text_account_disabled { buf=qtn_fse_login_info_note_account_disabled; } |
|
170 RESOURCE TBUF r_fs_mserver_text_invalid_email_address_and_password_try_again { buf=qtn_fse_login_info_note_invalid_email_address_and_password_try_again; } |
|
171 RESOURCE TBUF r_fs_mserver_text_invalid_email_address { buf=qtn_fse_info_note_invalid_email_address; } |
|
172 RESOURCE TBUF r_fs_mserver_text_server_offline { buf=qtn_fse_info_note_server_offline; } |
|
173 RESOURCE TBUF r_fs_mserver_text_sync_failed_try_again { buf=qtn_fse_login_info_note_sync_failed_try_again; } |
|
174 RESOURCE TBUF r_fs_mserver_text_data_deleted { buf=qtn_fse_login_info_note_data_deleted; } |
|
175 RESOURCE TBUF r_fs_mserver_text_roaming_turned_on { buf=qtn_fse_settings_note_roaming_turned_on; } |
|
176 RESOURCE TBUF r_fs_mserver_text_roaming_costs { buf=qtn_fse_general_note_roaming_costs; } |
|
177 RESOURCE TBUF r_fs_mserver_text_unable_to_complete { buf=qtn_fse_error_general_unable_to_complete; } |
|
178 RESOURCE TBUF r_fs_mserver_text_connection_error { buf=qtn_fse_error_general_connection_error; } |
|
179 RESOURCE TBUF r_fs_mserver_text_unable_to_connect { buf=qtn_fse_error_general_unable_to_connect; } |
|
180 RESOURCE TBUF r_fs_mserver_text_multiple_sync_errors { buf=qtn_fse_error_general_multiple_sync_errors; } |
|
181 RESOURCE TBUF r_fs_mserver_text_login_failed { buf=gtn_fse_login_info_note_login_failed; } |
|
182 RESOURCE TBUF r_fs_mserver_text_server_cannot_found_check_settings { buf=gtn_fse_login_info_note_server_cannot_found_check_settings; } |
|
183 RESOURCE TBUF r_fs_mserver_text_unable_to_connect_to_server { buf=gtn_fse_login_info_note_unable_to_connect; } |
|
184 RESOURCE TBUF r_fs_mserver_text_disconnected { buf=gtn_fse_info_note_disconnected; } |
|
185 RESOURCE TBUF r_fs_mserver_text_server_error_try_again { buf=gtn_fse_info_note_server_error_try_again; } |