# HG changeset patch # User hgs # Date 1283262342 -28800 # Node ID e97436ab3a16e30748c09abda37d9081ebedc157 # Parent 7ec91d0e700c6657f8688ca53026404bf52e2e31 201035 diff -r 7ec91d0e700c -r e97436ab3a16 locales/loce32/bld.inf --- a/locales/loce32/bld.inf Tue Aug 17 18:10:06 2010 +0800 +++ b/locales/loce32/bld.inf Tue Aug 31 21:45:42 2010 +0800 @@ -79,6 +79,7 @@ language/group/elocl_language_eu.mmp language/group/elocl_language_gl.mmp +region/group/elocl_region_ae.mmp //United Arab Emirates region/group/elocl_region_bg.mmp //Bulgaria region/group/elocl_region_br.mmp //Brazil region/group/elocl_region_ca.mmp //Canada @@ -116,7 +117,6 @@ region/group/elocl_region_ro.mmp //Romania region/group/elocl_region_rs.mmp //Serbia region/group/elocl_region_ru.mmp //Russia -region/group/elocl_region_sa.mmp //Saudi Arabia region/group/elocl_region_se.mmp //Sweden region/group/elocl_region_si.mmp //Slovenia region/group/elocl_region_sk.mmp //Slovakia diff -r 7ec91d0e700c -r e97436ab3a16 locales/loce32/region/group/elocl_region_ae.mmp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/locales/loce32/region/group/elocl_region_ae.mmp Tue Aug 31 21:45:42 2010 +0800 @@ -0,0 +1,52 @@ +/* +* Copyright (c) 1994-2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* +*/ + + + +TARGET elocl_reg.784 +TARGETTYPE dll + +CAPABILITY All +VENDORID VID_DEFAULT + +SOURCEPATH ../src +SOURCE region.cpp +SOURCE region_ae.cpp + +// This is a SYSTEMINCLUDE macro containing the middleware +// layer specific include directories +MW_LAYER_SYSTEMINCLUDE + +SYSTEMINCLUDE ../../../inc +SYSTEMINCLUDE ../../inc +SYSTEMINCLUDE ../inc +SYMBIAN_BASE_SYSTEMINCLUDE(kernel) + +#if defined(WINS) +DEFFILE ../def/region_wins.def +#elif defined(GCC32) && !defined(X86GCC) +DEFFILE ../def/region_gcce.def +#else +DEFFILE ../def/region_arm.def +#endif + +START WINS +BASEADDRESS 0x58000000 +END + +UID 0x100039e6 0x100065c6 + diff -r 7ec91d0e700c -r e97436ab3a16 locales/loce32/region/group/elocl_region_sa.mmp --- a/locales/loce32/region/group/elocl_region_sa.mmp Tue Aug 17 18:10:06 2010 +0800 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,52 +0,0 @@ -/* -* Copyright (c) 1994-2009 Nokia Corporation and/or its subsidiary(-ies). -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of "Eclipse Public License v1.0" -* which accompanies this distribution, and is available -* at the URL "http://www.eclipse.org/legal/epl-v10.html". -* -* Initial Contributors: -* Nokia Corporation - initial contribution. -* -* Contributors: -* -* Description: -* -*/ - - - -TARGET elocl_reg.682 -TARGETTYPE dll - -CAPABILITY All -VENDORID VID_DEFAULT - -SOURCEPATH ../src -SOURCE region.cpp -SOURCE region_sa.cpp - -// This is a SYSTEMINCLUDE macro containing the middleware -// layer specific include directories -MW_LAYER_SYSTEMINCLUDE - -SYSTEMINCLUDE ../../../inc -SYSTEMINCLUDE ../../inc -SYSTEMINCLUDE ../inc -SYMBIAN_BASE_SYSTEMINCLUDE(kernel) - -#if defined(WINS) -DEFFILE ../def/region_wins.def -#elif defined(GCC32) && !defined(X86GCC) -DEFFILE ../def/region_gcce.def -#else -DEFFILE ../def/region_arm.def -#endif - -START WINS -BASEADDRESS 0x58000000 -END - -UID 0x100039e6 0x100065c6 - diff -r 7ec91d0e700c -r e97436ab3a16 locales/loce32/region/src/region_ae.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/locales/loce32/region/src/region_ae.cpp Tue Aug 31 21:45:42 2010 +0800 @@ -0,0 +1,55 @@ +/* +* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: elocl_reg.784 for United Arab Emirates +* +*/ + +// Include Files + +#include +#include "locl_region.h" + +// REGION CONSTANTS AND MACROS + +// The configuration data +const TInt RegionAspect::CountryCode = 966; +const TInt RegionAspect::UniversalTimeOffset = 0; +const TDateFormat RegionAspect::DateFormat = EDateEuropean; +const TTimeFormat RegionAspect::TimeFormat = ETime12; +const TLocalePos RegionAspect::CurrencySymbolPosition = ELocaleAfter; +const TBool RegionAspect::CurrencySpaceBetween = ETrue; +const TInt RegionAspect::CurrencyDecimalPlaces = 1; +const TLocale::TNegativeCurrencyFormat RegionAspect::NegativeCurrencyFormat=TLocale::TNegativeCurrencyFormat(TLocale::ELeadingMinusSign); +const TBool RegionAspect::CurrencyTriadsAllowed = ETrue; +const TText * const RegionAspect::ThousandsSeparator = _S(""); +const TText * const RegionAspect::DecimalSeparator = _S(","); +const TText * const RegionAspect::DateSeparator[KMaxDateSeparators] = {_S(""),_S("/"),_S("/"),_S("")}; +const TText * const RegionAspect::TimeSeparator[KMaxTimeSeparators] = {_S(""),_S(":"),_S(":"),_S("")}; +const TLocalePos RegionAspect::AmPmSymbolPosition = ELocaleAfter; +const TBool RegionAspect::AmPmSpaceBetween = ETrue; +const TDaylightSavingZone RegionAspect::HomeDaylightSavingZone = EDstNone; +const TUint RegionAspect::WorkDays = 0x67; // saturday - wednesday +const TText * const RegionAspect::CurrencySymbol = _S("\x0631\x064A\x0627\x0644"); +const TText* const RegionAspect::ShortDateFormatSpec = _S("%F%/0%Y%/1%M%/2%D%/3"); // no leading zeros 4-digit year yyyy/mm/dd +const TText* const RegionAspect::LongDateFormatSpec = _S("%F%D %Y %N"); // 3 2003 xxxxx +const TText* const RegionAspect::TimeFormatSpec = _S("%F%:0%*I%:1%*T%:2%*S%:3 %B"); //2:01:01 +const TDay RegionAspect::StartOfWeek = ESaturday; +const TClockFormat RegionAspect::ClockFormat = EClockAnalog; +const TUnitsFormat RegionAspect::UnitsGeneral = EUnitsMetric; +const TUnitsFormat RegionAspect::UnitsDistanceShort = EUnitsMetric; +const TUnitsFormat RegionAspect::UnitsDistanceLong = EUnitsMetric; +const TUint16 RegionAspect::RegionCode = 784; +const TUint RegionAspect::ExtraNegativeCurrencyFormatFlags = 0; + +// End of File diff -r 7ec91d0e700c -r e97436ab3a16 locales/loce32/region/src/region_sa.cpp --- a/locales/loce32/region/src/region_sa.cpp Tue Aug 17 18:10:06 2010 +0800 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,55 +0,0 @@ -/* -* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of "Eclipse Public License v1.0" -* which accompanies this distribution, and is available -* at the URL "http://www.eclipse.org/legal/epl-v10.html". -* -* Initial Contributors: -* Nokia Corporation - initial contribution. -* -* Contributors: -* -* Description: elocl_reg.682 for Saudi Arabia region -* -*/ - -// Include Files - -#include -#include "locl_region.h" - -// REGION CONSTANTS AND MACROS - -// The configuration data -const TInt RegionAspect::CountryCode = 966; -const TInt RegionAspect::UniversalTimeOffset = 0; -const TDateFormat RegionAspect::DateFormat = EDateEuropean; -const TTimeFormat RegionAspect::TimeFormat = ETime12; -const TLocalePos RegionAspect::CurrencySymbolPosition = ELocaleAfter; -const TBool RegionAspect::CurrencySpaceBetween = ETrue; -const TInt RegionAspect::CurrencyDecimalPlaces = 1; -const TLocale::TNegativeCurrencyFormat RegionAspect::NegativeCurrencyFormat=TLocale::TNegativeCurrencyFormat(TLocale::ELeadingMinusSign); -const TBool RegionAspect::CurrencyTriadsAllowed = ETrue; -const TText * const RegionAspect::ThousandsSeparator = _S(""); -const TText * const RegionAspect::DecimalSeparator = _S(","); -const TText * const RegionAspect::DateSeparator[KMaxDateSeparators] = {_S(""),_S("/"),_S("/"),_S("")}; -const TText * const RegionAspect::TimeSeparator[KMaxTimeSeparators] = {_S(""),_S(":"),_S(":"),_S("")}; -const TLocalePos RegionAspect::AmPmSymbolPosition = ELocaleAfter; -const TBool RegionAspect::AmPmSpaceBetween = ETrue; -const TDaylightSavingZone RegionAspect::HomeDaylightSavingZone = EDstNone; -const TUint RegionAspect::WorkDays = 0x67; // saturday - wednesday -const TText * const RegionAspect::CurrencySymbol = _S("\x0631\x064A\x0627\x0644"); -const TText* const RegionAspect::ShortDateFormatSpec = _S("%F%/0%Y%/1%M%/2%D%/3"); // no leading zeros 4-digit year yyyy/mm/dd -const TText* const RegionAspect::LongDateFormatSpec = _S("%F%D %Y %N"); // 3 2003 xxxxx -const TText* const RegionAspect::TimeFormatSpec = _S("%F%:0%*I%:1%*T%:2%*S%:3 %B"); //2:01:01 -const TDay RegionAspect::StartOfWeek = ESaturday; -const TClockFormat RegionAspect::ClockFormat = EClockAnalog; -const TUnitsFormat RegionAspect::UnitsGeneral = EUnitsMetric; -const TUnitsFormat RegionAspect::UnitsDistanceShort = EUnitsMetric; -const TUnitsFormat RegionAspect::UnitsDistanceLong = EUnitsMetric; -const TUint16 RegionAspect::RegionCode = 682; -const TUint RegionAspect::ExtraNegativeCurrencyFormatFlags = 0; - -// End of File