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