|
1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 /** |
|
17 @file |
|
18 @test |
|
19 @internalComponent - Internal Symbian test code |
|
20 */ |
|
21 |
|
22 // RESOURCE IDENTIFIER |
|
23 NAME AWIZ // 4 letter ID |
|
24 |
|
25 // INCLUDES |
|
26 |
|
27 #include <techview/eikon.rh> |
|
28 #include <uikon.hrh> |
|
29 |
|
30 // RESOURCE DEFINITIONS |
|
31 // --------------------------------------------------------- |
|
32 // Define the resource file signature |
|
33 // This resource should be empty. |
|
34 // --------------------------------------------------------- |
|
35 RESOURCE RSS_SIGNATURE |
|
36 { |
|
37 } |
|
38 |
|
39 // --------------------------------------------------------- |
|
40 // Default Document Name |
|
41 // --------------------------------------------------------- |
|
42 RESOURCE TBUF |
|
43 { |
|
44 buf = "t_textresourceutils"; |
|
45 } |
|
46 |
|
47 RESOURCE TBUF r_text_example_1 { buf = "Humblemumble";} |
|
48 RESOURCE TBUF r_text_example_2 { buf = "Humble %%U mumble"; } |
|
49 RESOURCE TBUF r_text_example_3 { buf = "You have %R%N undone tasks.";} |
|
50 RESOURCE TBUF r_text_example_4 { buf = "I'm %11 %2U%1U %3U%0U fine.";} |
|
51 RESOURCE TBUF r_text_example_5 { buf = "You have missed %N messages from %U."<0x0001>"Missed %N msgs from %U."<0x0001>"Missed %N msgs.";} |
|
52 RESOURCE TBUF r_text_example_6 { buf = "Multiple numeric 1:%2N indexes 1:%0N"<0x0001>"2:%1N in separate"<0x0001>"substrings"; } |
|
53 RESOURCE TBUF r_text_example_7 { buf = "Multiple numeric and strings mixed One: %1U %0U reading %0N %2U %4U %1N %3U %4"; } |
|
54 RESOURCE TBUF r_text_example_8 { buf = "Here %U"; } |
|
55 RESOURCE TBUF r_text_example_9 { buf = "Humble %N times...%"; } |
|
56 RESOURCE TBUF r_text_example_10 { buf = "Testing substring separator at end of the %U "<0x0001>"";} |
|
57 RESOURCE TBUF r_text_example_11 { buf = "Testing substring separator at end of the %U "<0x0001>" ";} |
|
58 |
|
59 RESOURCE TBUF r_text_example_a1 { buf = "Humble mumble%U"; } |
|
60 RESOURCE TBUF r_text_example_a2 { buf = "%U Humble mumble"; } |
|
61 RESOURCE TBUF r_text_example_b { buf = "Humble mumble"; } |
|
62 RESOURCE TBUF r_text_example_c { buf = "%U mumble %N times."; } |
|
63 RESOURCE TBUF r_text_example_d { buf = "No memory allocated"; } |
|
64 RESOURCE TBUF r_text_example_e { buf = "%2UHere %1U%0U "; } |
|
65 RESOURCE TBUF r_text_example_f { buf = "I allocated %N bytes"; } |
|
66 RESOURCE TBUF r_text_example_g { buf = "%3NI %1Nallocated %0N bytes%2N"; } |
|
67 RESOURCE TBUF r_text_example_new_1 { buf = "Substrings"<0x0001>"no param\neters"<0x0001>"at all"; } |
|
68 RESOURCE TBUF r_text_example_new_2 { buf = ""<0x0001>""; } |
|
69 RESOURCE TBUF r_text_example_new_3 { buf = ""<0x0001>""<0x0001>""; } |
|
70 RESOURCE TBUF r_text_example_new_4 { buf = ""<0x0001>"Substring inside"<0x0001>""; } |
|
71 RESOURCE TBUF r_text_example_new_5 { buf = "Strongly right-to-left(%U) directional"<0x0001>" characters (%U) in "<0x0001>"substring"; } |
|
72 RESOURCE TBUF r_text_example_new_6 { buf = "Multiple (%2N) Strongly right-to-left(%0U,%1U) directional"<0x0001>" characters (%1U)(%0U) in "<0x0001>"substring"; } |
|
73 RESOURCE TBUF r_text_example_new_7 { buf = "Testing string length limiting Five:%0U[05] Three:%1U[03]"<0x0001>"Seven:%0U[07] Nine:%1U[09] Three:%2U[03]"; } |
|
74 RESOURCE TBUF r_text_example_new_8 { buf = ""<0x0001>" Strongly right-to-left(%U) directional"<0x0001>" characters (%U) in "<0x0001>"substring"; } |
|
75 RESOURCE TBUF r_text_example_new_9 { buf = ""<0x0002>" Strongly right-to-left(%U) directional"<0x0001>" characters (%U) in "<0x0001>"substring"; } |
|
76 |
|
77 RESOURCE TBUF r_text_stringresourcereader_1 { buf = "Some string to be read"; } |
|
78 RESOURCE TBUF r_text_stringresourcereader_2 { buf = "Some other string to be read"; } |
|
79 RESOURCE TBUF r_text_stringresourcereader_3 { buf = "Very long text. ~1000 characters. 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890"; } |
|
80 RESOURCE TBUF r_text_stringresourcereader_4 { buf = "Short string to be read"; } |
|
81 |
|
82 // End of File |