diff -r 0b3699f6c654 -r e36b2f4799c0 contentstorage/casoftwareregistry/s60/src/casoftwareregistry_p.cpp --- a/contentstorage/casoftwareregistry/s60/src/casoftwareregistry_p.cpp Fri Sep 17 08:32:18 2010 +0300 +++ b/contentstorage/casoftwareregistry/s60/src/casoftwareregistry_p.cpp Mon Oct 04 00:38:31 2010 +0300 @@ -25,6 +25,7 @@ #include #include #include +#include #include "cauninstallnotifier.h" #include "cauninstallnotifier_p.h" @@ -32,6 +33,7 @@ #include "casoftwareregistry_p.h" #include "cadefs.h" #include "caarraycleanup.inl" +#include "cautils.h" using namespace Usif; _LIT(KConfirmMessageKey, "MIDlet-Delete-Confirm"); @@ -231,10 +233,22 @@ if (domainProperty && domainProperty->PropertyType() == CPropertyEntry::ELocalizedProperty) { + const TDesC& domainPropertyValue = static_cast( + domainProperty)->StrValue(); + TInt splitIndex = domainPropertyValue.Locate(','); + RBuf qmFileName; + qmFileName.CleanupClosePushL(); + qmFileName.CreateL(domainPropertyValue.Right( + domainPropertyValue.Length() - splitIndex - 1), + domainPropertyValue.Length() - splitIndex); + qmFileName.Append('_'); + MenuUtils::InitTextResolverSymbianL(qmFileName); + HBufC* translatedProtectionDomain = HbTextResolverSymbian::LoadLC( + domainPropertyValue.Left(splitIndex)); result[CaSoftwareRegistry::componentProtectionDomainKey()] = - XQConversions::s60DescToQString( - static_cast( - domainProperty)->StrValue()); + XQConversions::s60DescToQString(*translatedProtectionDomain); + CleanupStack::PopAndDestroy(translatedProtectionDomain); + CleanupStack::PopAndDestroy(&qmFileName); } CPropertyEntry *midletDescryption =