author | John Imhofe <john.imhofe@nokia.com> |
Mon, 21 Dec 2009 16:14:42 +0000 | |
changeset 15 | 4122176ea935 |
parent 0 | a41df078684a |
permissions | -rw-r--r-- |
15
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
1 |
/* |
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
2 |
* Copyright (c) 1994-2009 Nokia Corporation and/or its subsidiary(-ies). |
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
3 |
* All rights reserved. |
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
4 |
* This component and the accompanying materials are made available |
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
5 |
* under the terms of "Eclipse Public License v1.0" |
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
6 |
* which accompanies this distribution, and is available |
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html". |
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
8 |
* |
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
9 |
* Initial Contributors: |
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
10 |
* Nokia Corporation - initial contribution. |
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
11 |
* |
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
12 |
* Contributors: |
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
13 |
* |
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
14 |
* Description: |
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
15 |
* |
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
16 |
*/ |
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
17 |
|
0 | 18 |
|
19 |
#include "ls_std.h" |
|
20 |
#include "locl_language.h" |
|
21 |
||
22 |
// The configuration data |
|
23 |
const TLanguage LanguageAspect::Language = ELangPrcChinese; |
|
24 |
const TLanguage LanguageAspect::LanguageDowngrade[3] = {ELangNone, ELangNone, ELangNone}; |
|
25 |
const TDigitType LanguageAspect::DigitType = EDigitTypeWestern; |
|
26 |
const TFatUtilityFunctions* const LanguageAspect::FatUtilityFunctions = NULL; |
|
27 |
||
28 |
const TText * const LanguageAspect::MsgTable[ELocaleMessages_LastMsg] = |
|
29 |
{ |
|
30 |
// Fileserver |
|
31 |
_S("Retry"), // Button 1 |
|
32 |
_S("Stop"), // Button 2 |
|
33 |
_S("Put the disk back"), // Put the card back - line1 |
|
34 |
_S("or data will be lost"), // Put the card back - line2 |
|
35 |
_S("Batteries too low"), // Low power - line1 |
|
36 |
_S("Cannot complete write to disk"), // Low power - line2 |
|
37 |
_S("Disk error - cannot complete write"), // Disk error - line1 |
|
38 |
_S("Retry or data will be lost"), // Disk error - line2 |
|
39 |
// SoundDriver |
|
40 |
_S("Chimes"), // Chimes |
|
41 |
_S("Rings"), // Rings |
|
42 |
_S("Signal"), // Signal |
|
43 |
// MediaDriver diskname (max 16 chars) |
|
44 |
_S("Internal"), // Internal |
|
45 |
_S("External(01)"), // External(01) |
|
46 |
_S("External(02)"), // External(02) |
|
47 |
_S("External(03)"), // External(03) |
|
48 |
_S("External(04)"), // External(04) |
|
49 |
_S("External(05)"), // External(05) |
|
50 |
_S("External(06)"), // External(06) |
|
51 |
_S("External(07)"), // External(07) |
|
52 |
_S("External(08)"), // External(08) |
|
53 |
// MediaDriver socketname (max 16 chars) |
|
54 |
_S("Socket(01)"), // Socket(01) |
|
55 |
_S("Socket(02)"), // Socket(02) |
|
56 |
_S("Socket(03)"), // Socket(03) |
|
57 |
_S("Socket(04)") // Socket(04) |
|
58 |
}; |
|
59 |
||
60 |
||
61 |
// The suffix table |
|
62 |
const TText * const LanguageAspect::DateSuffixTable[KMaxSuffixes] = |
|
63 |
{ |
|
64 |
_S(""),_S(""),_S(""),_S(""),_S(""), |
|
65 |
_S(""),_S(""),_S(""),_S(""),_S(""), |
|
66 |
_S(""),_S(""),_S(""),_S(""),_S(""), |
|
67 |
_S(""),_S(""),_S(""),_S(""),_S(""), |
|
68 |
_S(""),_S(""),_S(""),_S(""),_S(""), |
|
69 |
_S(""),_S(""),_S(""),_S(""),_S(""), |
|
70 |
_S("") |
|
71 |
}; |
|
72 |
// The day names |
|
73 |
const TText * const LanguageAspect::DayTable[KMaxDays] = |
|
74 |
{ |
|
75 |
_S("\x661f\x671f\x4e00"), |
|
76 |
_S("\x661f\x671f\x4e8c"), |
|
77 |
_S("\x661f\x671f\x4e09"), |
|
78 |
_S("\x661f\x671f\x56db"), |
|
79 |
_S("\x661f\x671f\x4e94"), |
|
80 |
_S("\x661f\x671f\x516d"), |
|
81 |
_S("\x661f\x671f\x65e5") |
|
82 |
}; |
|
83 |
// The abbreviated day names |
|
84 |
const TText * const LanguageAspect::DayAbbTable[KMaxDays] = |
|
85 |
{ |
|
86 |
_S("\x661f\x671f\x4e00"), |
|
87 |
_S("\x661f\x671f\x4e8c"), |
|
88 |
_S("\x661f\x671f\x4e09"), |
|
89 |
_S("\x661f\x671f\x56db"), |
|
90 |
_S("\x661f\x671f\x4e94"), |
|
91 |
_S("\x661f\x671f\x516d"), |
|
92 |
_S("\x661f\x671f\x65e5") |
|
93 |
}; |
|
94 |
// The month names |
|
95 |
const TText * const LanguageAspect::MonthTable[KMaxMonths] = |
|
96 |
{ |
|
97 |
_S("\x4e00\x6708"), |
|
98 |
_S("\x4e8c\x6708"), |
|
99 |
_S("\x4e09\x6708"), |
|
100 |
_S("\x56db\x6708"), |
|
101 |
_S("\x4e94\x6708"), |
|
102 |
_S("\x516d\x6708"), |
|
103 |
_S("\x4e03\x6708"), |
|
104 |
_S("\x516b\x6708"), |
|
105 |
_S("\x4e5d\x6708"), |
|
106 |
_S("\x5341\x6708"), |
|
107 |
_S("\x5341\x4e00\x6708"), |
|
108 |
_S("\x5341\x4e8c\x6708") |
|
109 |
}; |
|
110 |
// The abbreviated month names |
|
111 |
const TText * const LanguageAspect::MonthAbbTable[KMaxMonths] = |
|
112 |
{ |
|
113 |
_S("\x4e00\x6708"), |
|
114 |
_S("\x4e8c\x6708"), |
|
115 |
_S("\x4e09\x6708"), |
|
116 |
_S("\x56db\x6708"), |
|
117 |
_S("\x4e94\x6708"), |
|
118 |
_S("\x516d\x6708"), |
|
119 |
_S("\x4e03\x6708"), |
|
120 |
_S("\x516b\x6708"), |
|
121 |
_S("\x4e5d\x6708"), |
|
122 |
_S("\x5341\x6708"), |
|
123 |
_S("\x5341\x4e00\x6708"), |
|
124 |
_S("\x5341\x4e8c\x6708") |
|
125 |
}; |
|
126 |
// The am/pm strings |
|
127 |
const TText * const LanguageAspect::AmPmTable[KMaxAmPms] = |
|
128 |
{ |
|
129 |
_S("\x4e0a\x5348"), |
|
130 |
_S("\x4e0b\x5348") |
|
131 |
}; |
|
132 |