1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/kernelhwsrv/kerneltest/e32test/locl/t_lneng.cpp Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,89 @@
1.4 +// Copyright (c) 1994-2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 +// All rights reserved.
1.6 +// This component and the accompanying materials are made available
1.7 +// under the terms of the License "Eclipse Public License v1.0"
1.8 +// which accompanies this distribution, and is available
1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.10 +//
1.11 +// Initial Contributors:
1.12 +// Nokia Corporation - initial contribution.
1.13 +//
1.14 +// Contributors:
1.15 +//
1.16 +// Description:
1.17 +// f32test\locl\t_lneng.cpp
1.18 +// Default settings for the English language (UK & US)
1.19 +//
1.20 +//
1.21 +
1.22 +#include <kernel/localise.h>
1.23 +
1.24 +// The suffix table
1.25 +const TText * const LLanguage::DateSuffixTable[KMaxSuffixes] =
1.26 + {
1.27 + _S("st"),_S("nd"),_S("rd"),_S("th"),_S("th"),
1.28 + _S("th"),_S("th"),_S("th"),_S("th"),_S("th"),
1.29 + _S("th"),_S("th"),_S("th"),_S("th"),_S("th"),
1.30 + _S("th"),_S("th"),_S("th"),_S("th"),_S("th"),
1.31 + _S("st"),_S("nd"),_S("rd"),_S("th"),_S("th"),
1.32 + _S("th"),_S("th"),_S("th"),_S("th"),_S("th"),
1.33 + _S("st")
1.34 + };
1.35 +// The day names
1.36 +const TText * const LLanguage::DayTable[KMaxDays] =
1.37 + {
1.38 + _S("Monday"),
1.39 + _S("Tuesday"),
1.40 + _S("Wednesday"),
1.41 + _S("Thursday"),
1.42 + _S("Friday"),
1.43 + _S("Saturday"),
1.44 + _S("Sunday")
1.45 + };
1.46 +// The abbreviated day names
1.47 +const TText * const LLanguage::DayAbbTable[KMaxDays] =
1.48 + {
1.49 + _S("Mon"),
1.50 + _S("Tue"),
1.51 + _S("Wed"),
1.52 + _S("Thu"),
1.53 + _S("Fri"),
1.54 + _S("Sat"),
1.55 + _S("Sun")
1.56 + };
1.57 +// The month names
1.58 +const TText * const LLanguage::MonthTable[KMaxMonths] =
1.59 + {
1.60 + _S("January"),
1.61 + _S("February"),
1.62 + _S("March"),
1.63 + _S("April"),
1.64 + _S("May"),
1.65 + _S("June"),
1.66 + _S("July"),
1.67 + _S("August"),
1.68 + _S("September"),
1.69 + _S("October"),
1.70 + _S("November"),
1.71 + _S("December")
1.72 + };
1.73 +// The abbreviated month names
1.74 +const TText * const LLanguage::MonthAbbTable[KMaxMonths] =
1.75 + {
1.76 + _S("Jan"),
1.77 + _S("Feb"),
1.78 + _S("Mar"),
1.79 + _S("Apr"),
1.80 + _S("May"),
1.81 + _S("Jun"),
1.82 + _S("Jul"),
1.83 + _S("Aug"),
1.84 + _S("Sep"),
1.85 + _S("Oct"),
1.86 + _S("Nov"),
1.87 + _S("Dec")
1.88 + };
1.89 +// The am/pm strings
1.90 +const TText * const LLanguage::AmPmTable[KMaxAmPms] = {_S("am"),_S("pm")};
1.91 +
1.92 +