equal
deleted
inserted
replaced
354 |
354 |
355 void CCaWidgetStorageHandler::SetLocalizationsL( |
355 void CCaWidgetStorageHandler::SetLocalizationsL( |
356 const CCaWidgetDescription* aWidget, TInt aEntryId ) |
356 const CCaWidgetDescription* aWidget, TInt aEntryId ) |
357 { |
357 { |
358 RBuf filename; |
358 RBuf filename; |
359 filename.CreateL( aWidget->GetUri().Length() + 1 ); //1 for _ |
359 filename.CreateL( aWidget->GetTranslationFileName().Length() + 1 ); //1 for _ |
360 CleanupClosePushL( filename ); |
360 CleanupClosePushL( filename ); |
361 filename.Copy( aWidget->GetUri() ); |
361 filename.Copy( aWidget->GetTranslationFileName() ); |
362 filename.Append( KWidgetScannerUnderline ); |
362 filename.Append( KWidgetScannerUnderline ); |
363 |
363 |
364 // prepare localizations |
364 // prepare localizations |
365 if ( aWidget->GetTitle().Length() > 0 && aWidget->GetTitle().Compare( |
365 if ( aWidget->GetTitle().Length() > 0 && aWidget->GetTitle().Compare( |
366 aWidget->GetStringIdTitle() ) ) |
366 aWidget->GetStringIdTitle() ) ) |