|
1 /* |
|
2 * Copyright (c) 1994-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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 // EXTERNAL RESOURCES |
|
22 |
|
23 |
|
24 // Include Files |
|
25 |
|
26 #include <kernel/ls_std.h> |
|
27 #include "locl_language.h" |
|
28 |
|
29 const TLanguage LanguageAspect::Language = ELangEnglish; |
|
30 const TLanguage LanguageAspect::LanguageDowngrade[3] = {ELangNone, ELangNone, ELangNone}; |
|
31 const TDigitType LanguageAspect::DigitType = EDigitTypeWestern; |
|
32 const TFatUtilityFunctions* const LanguageAspect::FatUtilityFunctions = NULL; |
|
33 |
|
34 |
|
35 |
|
36 // LOCAL CONSTANTS AND MACROS |
|
37 const TText * const LanguageAspect::MsgTable[ELocaleMessages_LastMsg] = |
|
38 { |
|
39 // Fileserver |
|
40 _S("Retry"), // Button 1 |
|
41 _S("Stop"), // Button 2 |
|
42 _S("Put the disk back"), // Put the card back - line1 |
|
43 _S("or data will be lost"), // Put the card back - line2 |
|
44 _S("Battery too low"), // Low power - line1 |
|
45 _S("Cannot complete write to disk"), // Low power - line2 |
|
46 _S("Disk error - cannot complete write"), // Disk error - line1 |
|
47 _S("Retry or data will be lost"), // Disk error - line2 |
|
48 // SoundDriver |
|
49 _S("Chimes"), // Chimes |
|
50 _S("Rings"), // Rings |
|
51 _S("Signal"), // Signal |
|
52 // MediaDriver diskname (max 16 chars) |
|
53 _S("Internal"), // Internal |
|
54 _S("External(01)"), // External(01) |
|
55 _S("External(02)"), // External(02) |
|
56 _S("External(03)"), // External(03) |
|
57 _S("External(04)"), // External(04) |
|
58 _S("External(05)"), // External(05) |
|
59 _S("External(06)"), // External(06) |
|
60 _S("External(07)"), // External(07) |
|
61 _S("External(08)"), // External(08) |
|
62 // MediaDriver socketname (max 16 chars) |
|
63 _S("Socket(01)"), // Socket(01) |
|
64 _S("Socket(02)"), // Socket(02) |
|
65 _S("Socket(03)"), // Socket(03) |
|
66 _S("Socket(04)") // Socket(04) |
|
67 }; |
|
68 |
|
69 // The suffix table |
|
70 const TText * const LanguageAspect::DateSuffixTable[KMaxSuffixes] = |
|
71 { |
|
72 _S("st"),_S("nd"),_S("rd"),_S("th"),_S("th"), |
|
73 _S("th"),_S("th"),_S("th"),_S("th"),_S("th"), |
|
74 _S("th"),_S("th"),_S("th"),_S("th"),_S("th"), |
|
75 _S("th"),_S("th"),_S("th"),_S("th"),_S("th"), |
|
76 _S("st"),_S("nd"),_S("rd"),_S("th"),_S("th"), |
|
77 _S("th"),_S("th"),_S("th"),_S("th"),_S("th"), |
|
78 _S("st") |
|
79 }; |
|
80 // The day names |
|
81 const TText * const LanguageAspect::DayTable[KMaxDays] = |
|
82 { |
|
83 _S("Monday"), |
|
84 _S("Tuesday"), |
|
85 _S("Wednesday"), |
|
86 _S("Thursday"), |
|
87 _S("Friday"), |
|
88 _S("Saturday"), |
|
89 _S("Sunday") |
|
90 }; |
|
91 // The abbreviated day names |
|
92 const TText * const LanguageAspect::DayAbbTable[KMaxDays] = |
|
93 { |
|
94 _S("Mon"), |
|
95 _S("Tue"), |
|
96 _S("Wed"), |
|
97 _S("Thu"), |
|
98 _S("Fri"), |
|
99 _S("Sat"), |
|
100 _S("Sun") |
|
101 }; |
|
102 // The month names |
|
103 const TText * const LanguageAspect::MonthTable[KMaxMonths] = |
|
104 { |
|
105 _S("January"), |
|
106 _S("February"), |
|
107 _S("March"), |
|
108 _S("April"), |
|
109 _S("May"), |
|
110 _S("June"), |
|
111 _S("July"), |
|
112 _S("August"), |
|
113 _S("September"), |
|
114 _S("October"), |
|
115 _S("November"), |
|
116 _S("December") |
|
117 }; |
|
118 // The abbreviated month names |
|
119 const TText * const LanguageAspect::MonthAbbTable[KMaxMonths] = |
|
120 { |
|
121 _S("Jan"), |
|
122 _S("Feb"), |
|
123 _S("Mar"), |
|
124 _S("Apr"), |
|
125 _S("May"), |
|
126 _S("Jun"), |
|
127 _S("Jul"), |
|
128 _S("Aug"), |
|
129 _S("Sep"), |
|
130 _S("Oct"), |
|
131 _S("Nov"), |
|
132 _S("Dec") |
|
133 }; |
|
134 // The am/pm strings |
|
135 const TText * const LanguageAspect::AmPmTable[KMaxAmPms] = {_S("AM"),_S("PM")}; |
|
136 |
|
137 |
|
138 |
|
139 // End of File |