32
|
1 |
/*
|
|
2 |
* Copyright (c) 2002 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 |
* This file contains all the resources for the obexutils.
|
|
16 |
*
|
|
17 |
*
|
|
18 |
*/
|
|
19 |
|
|
20 |
|
|
21 |
// RESOURCE IDENTIFIER
|
|
22 |
NAME OBUT
|
|
23 |
|
|
24 |
// INCLUDES
|
|
25 |
#include <obexutils.loc>
|
|
26 |
#include "Obexutils.hrh"
|
|
27 |
#include <eikon.rh>
|
|
28 |
#include <avkon.rsg>
|
|
29 |
#include <avkon.rh>
|
|
30 |
#include <avkon.loc>
|
|
31 |
#include <avkon.mbg>
|
|
32 |
|
|
33 |
RESOURCE RSS_SIGNATURE { }
|
|
34 |
|
|
35 |
// RESOURCE DEFINITIONS
|
|
36 |
|
|
37 |
// Popup texts (information notes and error notes)
|
|
38 |
|
|
39 |
// ---------------------------------------------------------
|
|
40 |
//
|
|
41 |
// r_ir_connecting
|
|
42 |
// this is the first shown when the user tries connect to other
|
|
43 |
// remote device.
|
|
44 |
//
|
|
45 |
// ---------------------------------------------------------
|
|
46 |
//
|
|
47 |
RESOURCE TBUF r_ir_connecting {buf= qtn_ir_connecting;}
|
|
48 |
|
|
49 |
// ---------------------------------------------------------
|
|
50 |
//
|
|
51 |
// r_ir_cannot_establish
|
|
52 |
// This informs that the IR connection cannot made to other remote device
|
|
53 |
// for some reason.
|
|
54 |
//
|
|
55 |
// ---------------------------------------------------------
|
|
56 |
//
|
|
57 |
RESOURCE TBUF r_ir_cannot_establish {buf= qtn_ir_cant_establish_conn;}
|
|
58 |
|
|
59 |
// ---------------------------------------------------------
|
|
60 |
//
|
|
61 |
// r_ir_sending_data
|
|
62 |
// This is shown after the IR connection is made succesfully and we are
|
|
63 |
// sending message over IR.
|
|
64 |
//
|
|
65 |
// ---------------------------------------------------------
|
|
66 |
//
|
|
67 |
RESOURCE TBUF r_ir_sending_data {buf= qtn_ir_sending_data;}
|
|
68 |
|
|
69 |
// ---------------------------------------------------------
|
|
70 |
//
|
|
71 |
// r_ir_sending_failed
|
|
72 |
// This is shown when the IR connection is made and some thing goes wrong
|
|
73 |
// during connection.
|
|
74 |
//
|
|
75 |
// ---------------------------------------------------------
|
|
76 |
//
|
|
77 |
RESOURCE TBUF r_ir_sending_failed {buf= qtn_ir_sending_failed;}
|
|
78 |
|
|
79 |
// ---------------------------------------------------------
|
|
80 |
//
|
|
81 |
// r_ir_data_sent
|
|
82 |
// This is shown to the user when the message is sended succesfully.
|
|
83 |
//
|
|
84 |
// ---------------------------------------------------------
|
|
85 |
//
|
|
86 |
RESOURCE TBUF r_ir_data_sent {buf= qtn_ir_data_sent;}
|
|
87 |
|
|
88 |
// ---------------------------------------------------------
|
|
89 |
//
|
|
90 |
// r_bt_connecting
|
|
91 |
// Informs state of Bluetooth connection.
|
|
92 |
// this is the first shown when the user tries connect to other
|
|
93 |
//
|
|
94 |
// ---------------------------------------------------------
|
|
95 |
//
|
|
96 |
RESOURCE TBUF r_bt_connecting {buf= qtn_bt_connecting;}
|
|
97 |
|
|
98 |
// ---------------------------------------------------------
|
|
99 |
//
|
|
100 |
// r_bt_sending_data
|
|
101 |
// This is shown after the Bluetooth connection is made succesfully
|
|
102 |
// and we are sending message over Bluetooth.
|
|
103 |
//
|
|
104 |
// ---------------------------------------------------------
|
|
105 |
//
|
|
106 |
RESOURCE TBUF r_bt_sending_data {buf= qtn_bt_sending_data;}
|
|
107 |
|
|
108 |
// ---------------------------------------------------------
|
|
109 |
//
|
|
110 |
// r_bt_dev_not_avail
|
|
111 |
// This informs that the Bluetooth connection cannot made to other
|
|
112 |
// remote device for some reason.
|
|
113 |
//
|
|
114 |
// ---------------------------------------------------------
|
|
115 |
//
|
|
116 |
RESOURCE TBUF r_bt_dev_not_avail {buf= qtn_bt_dev_not_avail;}
|
|
117 |
|
|
118 |
// ---------------------------------------------------------
|
|
119 |
//
|
|
120 |
// r_bt_failed_to_send
|
|
121 |
// This is shown when the BT connection is made and some thing goes wrong
|
|
122 |
// during connection.
|
|
123 |
//
|
|
124 |
// ---------------------------------------------------------
|
|
125 |
//
|
|
126 |
RESOURCE TBUF r_bt_failed_to_send {buf= qtn_bt_failed_to_send;}
|
|
127 |
|
|
128 |
// ---------------------------------------------------------
|
|
129 |
//
|
|
130 |
// r_bt_data_sent
|
|
131 |
// This is shown to the user when the message is sended succesfully via BT.
|
|
132 |
//
|
|
133 |
// ---------------------------------------------------------
|
|
134 |
//
|
|
135 |
RESOURCE TBUF r_bt_data_sent {buf= qtn_bt_data_sent;}
|
|
136 |
|
|
137 |
// ---------------------------------------------------------
|
|
138 |
//
|
|
139 |
// r_bt_not_receive_one
|
|
140 |
// This is shown when one image could not be sent
|
|
141 |
//
|
|
142 |
// ---------------------------------------------------------
|
|
143 |
//
|
|
144 |
RESOURCE TBUF r_bt_not_receive_one {buf= qtn_bt_bip_format_not_supported;}
|
|
145 |
|
|
146 |
// ---------------------------------------------------------
|
|
147 |
//
|
|
148 |
// r_out_of_memory
|
|
149 |
// This is shown when not enough memory
|
|
150 |
//
|
|
151 |
// ---------------------------------------------------------
|
|
152 |
//
|
|
153 |
RESOURCE TBUF r_out_of_memory {buf= qtn_memlo_not_enough_memory;}
|
|
154 |
|
|
155 |
// ---------------------------------------------------------
|
|
156 |
//
|
|
157 |
// r_bt_not_receive_all
|
|
158 |
// This is shown when no images could be sent
|
|
159 |
//
|
|
160 |
// ---------------------------------------------------------
|
|
161 |
//
|
|
162 |
RESOURCE TBUF r_bt_sent_image_number {buf= qtn_bt_bip_some_files_sent;}
|
|
163 |
RESOURCE TBUF r_bt_not_receive_any {buf= qtn_bt_bip_no_formats_supported;}
|
|
164 |
|
|
165 |
// Confirmation queries
|
|
166 |
|
|
167 |
// ---------------------------------------------------------
|
|
168 |
//
|
|
169 |
// Confirmation query
|
|
170 |
// __RD_BT_MSG_RENOVATION not flagged
|
|
171 |
// This is shown when some images could not be sent
|
|
172 |
//
|
|
173 |
// ---------------------------------------------------------
|
|
174 |
//
|
|
175 |
RESOURCE DIALOG r_bt_not_send_all_query
|
|
176 |
{
|
|
177 |
flags = EGeneralQueryFlags;
|
|
178 |
buttons = R_AVKON_SOFTKEYS_YES_NO;
|
|
179 |
items =
|
|
180 |
{
|
|
181 |
DLG_LINE
|
|
182 |
{
|
|
183 |
type = EAknCtQuery;
|
|
184 |
id = EGeneralQuery;
|
|
185 |
control = AVKON_CONFIRMATION_QUERY
|
|
186 |
{
|
|
187 |
layout = EConfirmationLayout;
|
|
188 |
label = qtn_bt_bip_not_all_formats_supported;
|
|
189 |
animation = R_QGN_NOTE_QUERY_ANIM;
|
|
190 |
};
|
|
191 |
}
|
|
192 |
};
|
|
193 |
}
|
|
194 |
|
|
195 |
// ---------------------------------------------------------
|
|
196 |
//
|
|
197 |
// Confirmation query
|
|
198 |
// This is shown when some images are not supported
|
|
199 |
//
|
|
200 |
// ---------------------------------------------------------
|
|
201 |
//
|
|
202 |
RESOURCE DIALOG r_bt_not_all_supported_query
|
|
203 |
{
|
|
204 |
flags = EGeneralQueryFlags;
|
|
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 = EConfirmationLayout;
|
|
215 |
label = qtn_bt_bip_not_all_formats_supported;
|
|
216 |
animation = R_QGN_NOTE_QUERY_ANIM;
|
|
217 |
};
|
|
218 |
}
|
|
219 |
};
|
|
220 |
}
|
|
221 |
|
|
222 |
// ---------------------------------------------------------
|
|
223 |
//
|
|
224 |
// Confirmation query for mixed list
|
|
225 |
// __RD_BT_MSG_RENOVATION flagged
|
|
226 |
// This is shown when some images could not be sent
|
|
227 |
//
|
|
228 |
// ---------------------------------------------------------
|
|
229 |
//
|
|
230 |
RESOURCE DIALOG r_bt_not_send_all_query_mixed
|
|
231 |
{
|
|
232 |
flags = EGeneralQueryFlags;
|
|
233 |
buttons = R_AVKON_SOFTKEYS_YES_NO;
|
|
234 |
items =
|
|
235 |
{
|
|
236 |
DLG_LINE
|
|
237 |
{
|
|
238 |
type = EAknCtQuery;
|
|
239 |
id = EGeneralQuery;
|
|
240 |
control = AVKON_CONFIRMATION_QUERY
|
|
241 |
{
|
|
242 |
layout = EConfirmationLayout;
|
|
243 |
label = qtn_bt_bip_mixed_list;
|
|
244 |
animation = R_QGN_NOTE_QUERY_ANIM;
|
|
245 |
};
|
|
246 |
}
|
|
247 |
};
|
|
248 |
}
|
|
249 |
|
|
250 |
|
|
251 |
|
|
252 |
// Notes
|
|
253 |
|
|
254 |
// -----------------------------------------------------------------------------
|
|
255 |
//
|
|
256 |
// r_bt_connecting_wait_note
|
|
257 |
//
|
|
258 |
//
|
|
259 |
// -----------------------------------------------------------------------------
|
|
260 |
//
|
|
261 |
RESOURCE DIALOG r_bt_connecting_wait_note
|
|
262 |
{
|
|
263 |
flags = EAknProgressNoteFlags;
|
|
264 |
buttons = R_AVKON_SOFTKEYS_CANCEL;
|
|
265 |
items =
|
|
266 |
{
|
|
267 |
DLG_LINE
|
|
268 |
{
|
|
269 |
type = EAknCtNote;
|
|
270 |
id = EConnectingWaitNote;
|
|
271 |
control = AVKON_NOTE
|
|
272 |
{
|
|
273 |
layout = EProgressLayout;
|
|
274 |
singular_label = qtn_bt_connecting;
|
|
275 |
imageid = EMbmAvkonQgn_note_progress;
|
|
276 |
imagemask = EMbmAvkonQgn_note_progress_mask;
|
|
277 |
animation = R_QGN_GRAF_WAIT_BAR_ANIM;
|
|
278 |
};
|
|
279 |
}
|
|
280 |
};
|
|
281 |
}
|
|
282 |
// -----------------------------------------------------------------------------
|
|
283 |
//
|
|
284 |
// r_ir_connecting_wait_note
|
|
285 |
//
|
|
286 |
//
|
|
287 |
// -----------------------------------------------------------------------------
|
|
288 |
//
|
|
289 |
RESOURCE DIALOG r_ir_connecting_wait_note
|
|
290 |
{
|
|
291 |
flags = EAknProgressNoteFlags;
|
|
292 |
buttons = R_AVKON_SOFTKEYS_CANCEL;
|
|
293 |
items =
|
|
294 |
{
|
|
295 |
DLG_LINE
|
|
296 |
{
|
|
297 |
type = EAknCtNote;
|
|
298 |
id = EConnectingWaitNote;
|
|
299 |
control = AVKON_NOTE
|
|
300 |
{
|
|
301 |
layout = EProgressLayout;
|
|
302 |
singular_label = qtn_ir_connecting;
|
|
303 |
imageid = EMbmAvkonQgn_note_progress;
|
|
304 |
imagemask = EMbmAvkonQgn_note_progress_mask;
|
|
305 |
};
|
|
306 |
}
|
|
307 |
};
|
|
308 |
}
|
|
309 |
|
|
310 |
|
|
311 |
// -----------------------------------------------------------------------------
|
|
312 |
//
|
|
313 |
// r_bt_printing_wait_note
|
|
314 |
//
|
|
315 |
//
|
|
316 |
// -----------------------------------------------------------------------------
|
|
317 |
//
|
|
318 |
|
|
319 |
// NOTE! The strings in the following resources need to be added into
|
|
320 |
// localization file, once the UI specification is approved.
|
|
321 |
//
|
|
322 |
|
|
323 |
RESOURCE DIALOG r_bt_printing_wait_note
|
|
324 |
{
|
|
325 |
flags = EAknWaitNoteFlags;
|
|
326 |
buttons = R_AVKON_SOFTKEYS_CANCEL;
|
|
327 |
items =
|
|
328 |
{
|
|
329 |
DLG_LINE
|
|
330 |
{
|
|
331 |
type = EAknCtNote;
|
|
332 |
id = EPrintingWaitNote;
|
|
333 |
control = AVKON_NOTE
|
|
334 |
{
|
|
335 |
layout = EWaitLayout;
|
|
336 |
singular_label = "Sending data...";
|
|
337 |
animation = R_QGN_GRAF_WAIT_BAR_ANIM;
|
|
338 |
};
|
|
339 |
}
|
|
340 |
};
|
|
341 |
}
|
|
342 |
|
|
343 |
// Skeletons (resources with changing text)
|
|
344 |
|
|
345 |
// -----------------------------------------------------------------------------
|
|
346 |
//
|
|
347 |
// r_sending_progress_note
|
|
348 |
//
|
|
349 |
//
|
|
350 |
// -----------------------------------------------------------------------------
|
|
351 |
//
|
|
352 |
RESOURCE DIALOG r_sending_progress_note
|
|
353 |
{
|
|
354 |
flags = EAknProgressNoteFlags;
|
|
355 |
buttons = R_AVKON_SOFTKEYS_CANCEL;
|
|
356 |
items =
|
|
357 |
{
|
|
358 |
DLG_LINE
|
|
359 |
{
|
|
360 |
type = EAknCtNote;
|
|
361 |
id = ESendingProgressNote;
|
|
362 |
control = AVKON_NOTE
|
|
363 |
{
|
|
364 |
layout = EProgressLayout;
|
|
365 |
singular_label = qtn_bt_sending_data;
|
|
366 |
imageid = EMbmAvkonQgn_note_progress;
|
|
367 |
imagemask = EMbmAvkonQgn_note_progress_mask;
|
|
368 |
};
|
|
369 |
}
|
|
370 |
};
|
|
371 |
}
|
|
372 |
|
|
373 |
// ---------------------------------------------------------
|
|
374 |
//
|
|
375 |
// r_ir_failed_to_receive
|
|
376 |
// This is shown to the user when failing receive file via infrared.
|
|
377 |
//
|
|
378 |
// ---------------------------------------------------------
|
|
379 |
//
|
|
380 |
RESOURCE TBUF r_ir_failed_to_receive {buf=qtn_ir_failed_to_receive;}
|
|
381 |
|
|
382 |
// ---------------------------------------------------------
|
|
383 |
//
|
|
384 |
// qtn_ir_receiving_data
|
|
385 |
// This is shown to the user when receiving data via IR.
|
|
386 |
//
|
|
387 |
// ---------------------------------------------------------
|
|
388 |
//
|
|
389 |
RESOURCE TBUF r_ir_receiving_data {buf=qtn_ir_receiving_data;}
|
|
390 |
|
|
391 |
// ---------------------------------------------------------
|
|
392 |
//
|
|
393 |
// r_bt_receiving_data
|
|
394 |
// This is shown after the Bluetooth connection is made succesfully
|
|
395 |
// and we are receiving message over Bluetooth.
|
|
396 |
//
|
|
397 |
// ---------------------------------------------------------
|
|
398 |
//
|
|
399 |
RESOURCE TBUF r_bt_receiving_data {buf= qtn_bt_receiving_data;}
|
|
400 |
|
|
401 |
// ---------------------------------------------------------
|
|
402 |
//
|
|
403 |
// qtn_bt_failed_to_receive
|
|
404 |
// This is shown when the BT connection is made and some thing goes wrong
|
|
405 |
// when receiving data.
|
|
406 |
//
|
|
407 |
// ---------------------------------------------------------
|
|
408 |
//
|
|
409 |
RESOURCE TBUF r_bt_failed_to_receive {buf= qtn_bt_failed_to_receive;}
|
|
410 |
|
|
411 |
// Other resource texts
|
|
412 |
|
|
413 |
// ---------------------------------------------------------
|
|
414 |
//
|
|
415 |
// r_ir_send_progress_sending
|
|
416 |
// descripes status of item that is currently sending state in the outbox.
|
|
417 |
//
|
|
418 |
// ---------------------------------------------------------
|
|
419 |
//
|
|
420 |
RESOURCE TBUF r_ir_send_progress_sending {buf= qtn_mce_outbox_status_sending;}
|
|
421 |
|
|
422 |
// ---------------------------------------------------------
|
|
423 |
//
|
|
424 |
// r_ir_send_progress_sending
|
|
425 |
// descripes status of item that is currently sending state in the outbox.
|
|
426 |
//
|
|
427 |
// ---------------------------------------------------------
|
|
428 |
//
|
|
429 |
RESOURCE TBUF r_bt_send_progress_sending {buf= qtn_mce_outbox_status_sending;}
|
|
430 |
|
|
431 |
// ---------------------------------------------------------
|
|
432 |
//
|
|
433 |
// r_ir_send_outbox_sending
|
|
434 |
// Displayed in the "To/From" section for Ir objects in message centre.
|
|
435 |
//
|
|
436 |
// ---------------------------------------------------------
|
|
437 |
//
|
|
438 |
RESOURCE TBUF r_ir_send_outbox_sending {buf= qtn_mce_ir_message;}
|
|
439 |
|
|
440 |
// ---------------------------------------------------------
|
|
441 |
//
|
|
442 |
// r_bt_send_outbox_sending
|
|
443 |
// Displayed in the "To/From" section for Ir objects in message centre.
|
|
444 |
//
|
|
445 |
// ---------------------------------------------------------
|
|
446 |
//
|
|
447 |
RESOURCE TBUF r_bt_send_outbox_sending {buf= qtn_mce_bt_message;}
|
|
448 |
|
|
449 |
// ---------------------------------------------------------
|
|
450 |
//
|
|
451 |
// r_message_not_opened
|
|
452 |
// This is shown, when the user tries open a message that is not
|
|
453 |
// supported type.
|
|
454 |
//
|
|
455 |
// ---------------------------------------------------------
|
|
456 |
//
|
|
457 |
RESOURCE TBUF r_message_not_opened {buf= qtn_mce_info_message_not_opened;}
|
|
458 |
|
|
459 |
// ---------------------------------------------------------
|
|
460 |
//
|
|
461 |
// r_name_for_invalid_file
|
|
462 |
// Default invalid filename
|
|
463 |
//
|
|
464 |
// ---------------------------------------------------------
|
|
465 |
//
|
|
466 |
RESOURCE TBUF r_name_for_invalid_file { buf=qtn_fldr_default_doc_name; }
|
|
467 |
|
|
468 |
// ---------------------------------------------------------
|
|
469 |
//
|
|
470 |
// r_bt_to_from_in_inbox
|
|
471 |
// Displayed in the "To/From" section for Bluetooth objects.
|
|
472 |
//
|
|
473 |
// ---------------------------------------------------------
|
|
474 |
//
|
|
475 |
RESOURCE TBUF r_bt_to_from_in_inbox { buf=qtn_mce_bt_message; }
|
|
476 |
|
|
477 |
// ---------------------------------------------------------
|
|
478 |
//
|
|
479 |
// r_ir_to_from_in_inbox
|
|
480 |
// Displayed in the "To/From" section for Ir objects.
|
|
481 |
//
|
|
482 |
// ---------------------------------------------------------
|
|
483 |
//
|
|
484 |
RESOURCE TBUF r_ir_to_from_in_inbox { buf=qtn_mce_ir_message; }
|
|
485 |
|
|
486 |
RESOURCE TBUF r_bt_data_sent2 { buf= "Data sent"; }
|
|
487 |
RESOURCE TBUF r_bt_failed_to_send2 { buf= "Sending failed"; }
|
|
488 |
RESOURCE TBUF r_bt_printing_not_supported { buf = "Printer not supported"; }
|
|
489 |
RESOURCE TBUF r_bt_sending_not_supported {buf = "Unsupported device";}
|
|
490 |
|
|
491 |
RESOURCE TBUF r_bt_saved_single { buf = qtn_bt_saved_single; }
|
|
492 |
RESOURCE TBUF r_bt_saved_multiple { buf = qtn_bt_saved_multiple; }
|
|
493 |
RESOURCE TBUF r_bt_saved_search { buf = qtn_bt_saved_search; }
|
|
494 |
RESOURCE TBUF r_bt_saved_no_memory_card { buf = qtn_bt_saved_no_memory_card; }
|
|
495 |
RESOURCE TBUF r_bt_saved_link_updated { buf = qtn_bt_saved_link_updated; }
|
|
496 |
RESOURCE TBUF r_bt_saved_search_update { buf = qtn_bt_saved_search_update; }
|
|
497 |
|
|
498 |
RESOURCE TBUF r_bt_ir_receiving_data_size_kb { buf = qtn_bt_ir_receiving_data_size_kb ; }
|
|
499 |
RESOURCE TBUF r_bt_ir_receiving_data_size_mb { buf = qtn_bt_ir_receiving_data_size_mb ; }
|
|
500 |
|
|
501 |
RESOURCE TBUF r_bt_ir_receiving_data_no_size { buf = qtn_bt_ir_receiving_data_no_size ; }
|
|
502 |
|
|
503 |
// ---------------------------------------------------------
|
|
504 |
//
|
|
505 |
// Confirmation query for mixed list
|
|
506 |
// __RD_BT_MSG_RENOVATION flagged
|
|
507 |
// This is shown when some images could not be sent
|
|
508 |
//
|
|
509 |
// ---------------------------------------------------------
|
|
510 |
//
|
|
511 |
RESOURCE DIALOG r_bt_not_send_all_query_single
|
|
512 |
{
|
|
513 |
flags = EGeneralQueryFlags;
|
|
514 |
buttons = R_AVKON_SOFTKEYS_YES_NO;
|
|
515 |
items =
|
|
516 |
{
|
|
517 |
DLG_LINE
|
|
518 |
{
|
|
519 |
type = EAknCtQuery;
|
|
520 |
id = EGeneralQuery;
|
|
521 |
control = AVKON_CONFIRMATION_QUERY
|
|
522 |
{
|
|
523 |
layout = EConfirmationLayout;
|
|
524 |
label = qtn_bt_bip_format_not_supported_send;
|
|
525 |
animation = R_QGN_NOTE_QUERY_ANIM;
|
|
526 |
};
|
|
527 |
}
|
|
528 |
};
|
|
529 |
}
|
|
530 |
|
|
531 |
|
|
532 |
// End of File
|