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