std::string popupMessage = msgArgs("WDS_MSG_BODY_MAXIMUM_NUMBER_OF_CHARACTERS_HPD_EXCEEDED", maxChars);
popupMessage += "<br>";
- if (smsCount == 0)
- popupMessage += msgArgs("WDS_MSG_BODY_MESSAGE_WILL_BE_SENT_AS_PD_MMS_MESSAGES", mmsCount);
- else
+ if (smsCount == 0) {
+ if (mmsCount == 1)
+ popupMessage += msg("WDS_MSG_POP_SEND_AS_MMS_Q");
+ else
+ popupMessage += msgArgs("WDS_MSG_BODY_MESSAGE_WILL_BE_SENT_AS_PD_MMS_MESSAGES", mmsCount);
+ } else
popupMessage += msgArgs("WDS_MSG_BODY_MESSAGE_WILL_BE_SENT_AS_PD_MMS_MESSAGES_AND_1_SMS_MESSAGE", mmsCount);
popup->setText(popupMessage);
}
Atspi ao = Atspi(targetButton);
- ao.setName((id == ContactButtonId) ? msg("IDS_MSG_BODY_ADD_FROM_CONTACTS_T_TTS") : "Clear"); // TODO: add IDS TRU-694
+ ao.setName((id == ContactButtonId) ? msg("IDS_MSG_BODY_ADD_FROM_CONTACTS_T_TTS") : msg("IDS_MSG_HEADER_REMOVE_RECIPIENT"));
ao.setRole(ELM_ATSPI_ROLE_PUSH_BUTTON);
ao.setReadingInfo(Elm_Accessible_Reading_Info_Type(ELM_ACCESSIBLE_READING_INFO_TYPE_NAME | ELM_ACCESSIBLE_READING_INFO_TYPE_ROLE));
}
{
bool res = m_FileViewer.launchWithCopy(fileList, index);
if (!res)
- ToastPopup::toast("Can't view this type of file on Gear"); // TODO: localization
+ ToastPopup::toast(msg("WDS_MSG_TPOP_CANT_VIEW_THIS_TYPE_OF_FILE_ON_YOUR_GEAR_ABB"));
return res;
}
void ThreadComposeListViewItem::onAttached(ViewItem &item)
{
setSelectable(false);
- getAtspi().canHighlight(false);
+ getAtspi().setRole(ELM_ATSPI_ROLE_REDUNDANT_OBJECT);
}
Evas_Object *ThreadComposeListViewItem::getComposeButton()