diff -r 2d2d25361590 -r d1838696558c iaupdate/IAD/ui/src/iaupdateresultsdialog.cpp --- a/iaupdate/IAD/ui/src/iaupdateresultsdialog.cpp Tue Sep 28 14:48:39 2010 +0300 +++ b/iaupdate/IAD/ui/src/iaupdateresultsdialog.cpp Thu Oct 14 14:11:30 2010 +0300 @@ -42,7 +42,7 @@ HbMessageBox *messageBox = new HbMessageBox(HbMessageBox::MessageTypeInformation); HbLabel *label = new HbLabel(messageBox); - label->setHtml(QString("Update results")); + label->setHtml(hbTrId("txt_software_title_update_results")); messageBox->setHeadingWidget(label); messageBox->setIconVisible(false); @@ -66,59 +66,26 @@ if (param.iCountSuccessfull == 0 && param.iCountCancelled == 0 && param.iCountFailed == 0) { - QString stringCount; - stringCount.setNum(param.iCountSuccessfull); - buf.append(stringCount); - buf.append(" updates successful"); + buf.append(hbTrId("txt_software_info_ln_updates_successful", param.iCountSuccessfull)); buf.append("
"); return; } if (param.iCountSuccessfull != 0) { - QString stringCount; - stringCount.setNum(param.iCountSuccessfull); - buf.append(stringCount); - if (param.iCountSuccessfull == 1) - { - buf.append(" application updated"); - } - else - { - buf.append(" applications updated"); - } + buf.append(hbTrId("txt_software_info_ln_updates_successful", param.iCountSuccessfull)); buf.append("
"); } if (param.iCountCancelled != 0) { - QString stringCount; - stringCount.setNum(param.iCountCancelled); - buf.append(stringCount); - if (param.iCountCancelled == 1) - { - buf.append(" update cancelled"); - } - else - { - buf.append(" updates cancelled"); - } + buf.append(hbTrId("txt_software_info_ln_updates_cancelled", param.iCountCancelled)); buf.append("
"); } if (param.iCountFailed != 0) { - QString stringCount; - stringCount.setNum(param.iCountFailed); - buf.append(stringCount); - if (param.iCountFailed == 1) - { - buf.append(" update failed"); - } - else - { - buf.append(" updates failed"); - } + buf.append(hbTrId("txt_software_info_ln_updates_failed", param.iCountFailed)); buf.append("
"); }