cmmanager/cmmgr/cmmpluginbase/src/ccmpluginbaseengtextresolver.cpp
changeset 27 489cf6208544
parent 20 9c97ad6591ae
equal deleted inserted replaced
23:7ec726f93df1 27:489cf6208544
    25 
    25 
    26 HBufC* CCmPluginBaseEngTextResolver::ResolveTextL( const TDesC& aTextId )
    26 HBufC* CCmPluginBaseEngTextResolver::ResolveTextL( const TDesC& aTextId )
    27     {
    27     {
    28     _LIT(KCMManagerTranslationFile, "cmmanager_");
    28     _LIT(KCMManagerTranslationFile, "cmmanager_");
    29     _LIT(KTranslationPath, "\\resource\\qt\\translations");
    29     _LIT(KTranslationPath, "\\resource\\qt\\translations");
    30     
    30 
    31     TBool result = HbTextResolverSymbian::Init( KCMManagerTranslationFile,
    31     TBool result = HbTextResolverSymbian::Init(
    32                                                 KTranslationPath );
    32             KCMManagerTranslationFile,
       
    33             KTranslationPath );
    33     if ( result )
    34     if ( result )
    34         {
    35         {
    35         OstTrace0( TRACE_ERROR, CCMPLUGINBASEENGTEXTRESOLVER_RESOLVETEXTL, "CCmPluginBaseEngTextResolver::ResolveTextL" );
    36         OstTrace0( TRACE_ERROR, CCMPLUGINBASEENGTEXTRESOLVER_RESOLVETEXTL, "CCmPluginBaseEngTextResolver::ResolveTextL" );
    36         }
    37         }
    37     
    38 
    38     return HbTextResolverSymbian::LoadL( aTextId );        
    39     return HbTextResolverSymbian::LoadL( aTextId );
    39     }
    40     }
    40 
    41 
    41     
    42 // End of file