src/hbcore/i18n/hbextendedlocale.cpp
changeset 6 c3690ec91ef8
parent 5 627c4a0fd0e7
child 7 923ff622b8b9
equal deleted inserted replaced
5:627c4a0fd0e7 6:c3690ec91ef8
   442 #if defined(Q_OS_SYMBIAN)
   442 #if defined(Q_OS_SYMBIAN)
   443     _symbianLocale.LoadSystemSettings();
   443     _symbianLocale.LoadSystemSettings();
   444     TLocalePos position = _symbianLocale.GetLocale()->AmPmSymbolPosition();
   444     TLocalePos position = _symbianLocale.GetLocale()->AmPmSymbolPosition();
   445     if ( position == ELocaleBefore ) {
   445     if ( position == ELocaleBefore ) {
   446     	return HbExtendedLocale::Before;
   446     	return HbExtendedLocale::Before;
   447     } else { // if ( position == ELocaleAfter ) {			
   447     } else { 			
   448     	return HbExtendedLocale::After;
   448     	return HbExtendedLocale::After;
   449     }
   449     }
   450 #else
   450 #else
   451     return HbExtendedLocale::After;
   451     return HbExtendedLocale::After;
   452 #endif
   452 #endif
  1198     int symbian_language;
  1198     int symbian_language;
  1199     char iso_name[8];
  1199     char iso_name[8];
  1200 };
  1200 };
  1201 
  1201 
  1202 #if defined(Q_OS_SYMBIAN)
  1202 #if defined(Q_OS_SYMBIAN)
       
  1203 /*!
       
  1204     Mapping from Symbian to ISO locale
       
  1205 */
  1203 static const symbianToISO symbian_to_iso_list[] = {
  1206 static const symbianToISO symbian_to_iso_list[] = {
  1204     { ELangEnglish,             "en_GB" },
  1207     { ELangEnglish,             "en_GB" },
  1205     { ELangFrench,              "fr_FR" },
  1208     { ELangFrench,              "fr_FR" },
  1206     { ELangGerman,              "de_DE" },
  1209     { ELangGerman,              "de_DE" },
  1207     { ELangSpanish,             "es_ES" },
  1210     { ELangSpanish,             "es_ES" },