|
1 // Copyright (c) 1994-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 the License "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 #include "ls_std.h" |
|
17 #include "locl_language.h" |
|
18 |
|
19 // The configuration data |
|
20 const TLanguage LanguageAspect::Language = ELangJapanese; |
|
21 const TLanguage LanguageAspect::LanguageDowngrade[3] = {ELangNone, ELangNone, ELangNone}; |
|
22 const TDigitType LanguageAspect::DigitType = EDigitTypeWestern; |
|
23 const TFatUtilityFunctions* const LanguageAspect::FatUtilityFunctions = NULL; |
|
24 |
|
25 |
|
26 const TText * const LanguageAspect::MsgTable[ELocaleMessages_LastMsg] = |
|
27 { |
|
28 // Fileserver |
|
29 _S("Retry"), // Button 1 |
|
30 _S("Stop"), // Button 2 |
|
31 _S("Put the disk back"), // Put the card back - line1 |
|
32 _S("or data will be lost"), // Put the card back - line2 |
|
33 _S("Batteries too low"), // Low power - line1 |
|
34 _S("Cannot complete write to disk"), // Low power - line2 |
|
35 _S("Disk error - cannot complete write"), // Disk error - line1 |
|
36 _S("Retry or data will be lost"), // Disk error - line2 |
|
37 // SoundDriver |
|
38 _S("Chimes"), // Chimes |
|
39 _S("Rings"), // Rings |
|
40 _S("Signal"), // Signal |
|
41 // MediaDriver diskname (max 16 chars) |
|
42 _S("Internal"), // Internal |
|
43 _S("External(01)"), // External(01) |
|
44 _S("External(02)"), // External(02) |
|
45 _S("External(03)"), // External(03) |
|
46 _S("External(04)"), // External(04) |
|
47 _S("External(05)"), // External(05) |
|
48 _S("External(06)"), // External(06) |
|
49 _S("External(07)"), // External(07) |
|
50 _S("External(08)"), // External(08) |
|
51 // MediaDriver socketname (max 16 chars) |
|
52 _S("Socket(01)"), // Socket(01) |
|
53 _S("Socket(02)"), // Socket(02) |
|
54 _S("Socket(03)"), // Socket(03) |
|
55 _S("Socket(04)") // Socket(04) |
|
56 }; |
|
57 |
|
58 |
|
59 const TText hi[]={0x65e5,0}; |
|
60 const TText getsuyoubi[]={0x6708,0x66dc,0x65e5,0}; |
|
61 const TText kayoubi[]={0x706b,0x66dc,0x65e5,0}; |
|
62 const TText suiyoubi[]={0x6c34,0x66dc,0x65e5,0}; |
|
63 const TText mokuyoubi[]={0x6728,0x66dc,0x65e5,0}; |
|
64 const TText kinyoubi[]={0x91d1,0x66dc,0x65e5,0}; |
|
65 const TText doyoubi[]={0x571f,0x66dc,0x65e5,0}; |
|
66 const TText nichiyoubi[]={0x65e5,0x66dc,0x65e5,0}; |
|
67 const TText getsu[]={0x6708,0}; |
|
68 const TText ka[]={0x706b,0}; |
|
69 const TText sui[]={0x6c34,0}; |
|
70 const TText moku[]={0x6728,0}; |
|
71 const TText kin[]={0x91d1,0}; |
|
72 const TText dou[]={0x571f,0}; |
|
73 const TText nichi[]={0x65e5,0}; |
|
74 const TText ichigatsu[]={0xff11,0}; |
|
75 const TText nigatsu[]={0xff12,0}; |
|
76 const TText sangatsu[]={0xff13,0}; |
|
77 const TText shigatsu[]={0xff14,0}; |
|
78 const TText gogatsu[]={0xff15,0}; |
|
79 const TText rokugatsu[]={0xff16,0}; |
|
80 const TText shichigatsu[]={0xff17,0}; |
|
81 const TText hachigatsu[]={0xff18,0}; |
|
82 const TText kugatsu[]={0xff19,0}; |
|
83 const TText jyugatsu[]={0x0031,0x0030,0}; |
|
84 const TText jyuichigatsu[]={0x0031,0x0031,0}; |
|
85 const TText jyunigatsu[]={0x0031,0x0032,0}; |
|
86 const TText a_ichigatsu[]={0x0031,0x6708,0}; |
|
87 const TText a_nigatsu[]={0x0032,0x6708,0}; |
|
88 const TText a_sangatsu[]={0x0033,0x6708,0}; |
|
89 const TText a_shigatsu[]={0x0034,0x6708,0}; |
|
90 const TText a_gogatsu[]={0x0035,0x6708,0}; |
|
91 const TText a_rokugatsu[]={0x0036,0x6708,0}; |
|
92 const TText a_shichigatsu[]={0x0037,0x6708,0}; |
|
93 const TText a_hachigatsu[]={0x0038,0x6708,0}; |
|
94 const TText a_kugatsu[]={0x0039,0x6708,0}; |
|
95 const TText a_jyugatsu[]={0x0031,0x0030,0x6708,0}; |
|
96 const TText a_jyuichigatsu[]={0x0031,0x0031,0x6708,0}; |
|
97 const TText a_jyunigatsu[]={0x0031,0x0032,0x6708,0}; |
|
98 const TText gozen[]={0x5348,0x524d,0}; |
|
99 const TText gogo[]={0x5348,0x5f8c,0}; |
|
100 |
|
101 |
|
102 |
|
103 // The suffix table |
|
104 const TText * const LanguageAspect::DateSuffixTable[KMaxSuffixes] = |
|
105 { |
|
106 hi,hi,hi,hi,hi, |
|
107 hi,hi,hi,hi,hi, |
|
108 hi,hi,hi,hi,hi, |
|
109 hi,hi,hi,hi,hi, |
|
110 hi,hi,hi,hi,hi, |
|
111 hi,hi,hi,hi,hi, |
|
112 hi |
|
113 }; |
|
114 // The day names |
|
115 const TText * const LanguageAspect::DayTable[KMaxDays] = |
|
116 { |
|
117 getsuyoubi, |
|
118 kayoubi, |
|
119 suiyoubi, |
|
120 mokuyoubi, |
|
121 kinyoubi, |
|
122 doyoubi, |
|
123 nichiyoubi |
|
124 }; |
|
125 // The abbreviated day names |
|
126 const TText * const LanguageAspect::DayAbbTable[KMaxDays] = |
|
127 { |
|
128 getsu, |
|
129 ka, |
|
130 sui, |
|
131 moku, |
|
132 kin, |
|
133 dou, |
|
134 nichi |
|
135 }; |
|
136 // The month names |
|
137 const TText * const LanguageAspect::MonthTable[KMaxMonths] = |
|
138 { |
|
139 ichigatsu, |
|
140 nigatsu, |
|
141 sangatsu, |
|
142 shigatsu, |
|
143 gogatsu, |
|
144 rokugatsu, |
|
145 shichigatsu, |
|
146 hachigatsu, |
|
147 kugatsu, |
|
148 jyugatsu, |
|
149 jyuichigatsu, |
|
150 jyunigatsu |
|
151 }; |
|
152 // The abbreviated month names |
|
153 const TText * const LanguageAspect::MonthAbbTable[KMaxMonths] = |
|
154 { |
|
155 a_ichigatsu, |
|
156 a_nigatsu, |
|
157 a_sangatsu, |
|
158 a_shigatsu, |
|
159 a_gogatsu, |
|
160 a_rokugatsu, |
|
161 a_shichigatsu, |
|
162 a_hachigatsu, |
|
163 a_kugatsu, |
|
164 a_jyugatsu, |
|
165 a_jyuichigatsu, |
|
166 a_jyunigatsu |
|
167 }; |
|
168 // The am/pm strings |
|
169 const TText * const LanguageAspect::AmPmTable[KMaxAmPms] = {gozen,gogo}; |
|
170 |