diff -r c8fb4cf7b3ae -r 5e18d8c489d6 fep/aknfep/src/AknFepUiManagerWestern.cpp --- a/fep/aknfep/src/AknFepUiManagerWestern.cpp Tue May 11 16:31:42 2010 +0300 +++ b/fep/aknfep/src/AknFepUiManagerWestern.cpp Tue May 25 13:03:44 2010 +0300 @@ -96,7 +96,7 @@ #include #include #include -#include +#include // CONSTANTS /** @@ -382,18 +382,35 @@ { case ELatin: { - if ( iLanguage == ELangTaiwanChinese || - iLanguage == ELangHongKongChinese || - iLanguage == ELangPrcChinese || - iLanguage == ELangJapanese || - iLanguage == ELangHindi ) + switch ( iLanguage ) + { + case ELangTaiwanChinese: + { + lang = ELangEnglish_Taiwan; + break; + } + case ELangHongKongChinese: + { + lang = ELangEnglish_HongKong; + break; + } + case ELangPrcChinese: + { + lang = ELangEnglish_Prc; + break; + } + case ELangJapanese: + case ELangHindi: { // Chinese and Japanese languages uses always English as a latin language. lang = ELangEnglish; + break; } - else + default: { lang = iLanguage; + break; + } } } break;