summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgen Servetnik <e.servetnik@samsung.com>2017-08-09 11:18:36 +0300
committerEvgen Servetnik <e.servetnik@samsung.com>2017-08-09 13:45:56 +0300
commit54f107f9a3375dc43a02c6c7a4e6cfe7b1a34c92 (patch)
tree9d1b85f8e2e26f9b26bb0c83143a522a59499f64
parent9c7e9f3055ec0507194e704c9ffd7b311b887e86 (diff)
downloadmessage-54f107f9a3375dc43a02c6c7a4e6cfe7b1a34c92.tar.gz
message-54f107f9a3375dc43a02c6c7a4e6cfe7b1a34c92.tar.bz2
message-54f107f9a3375dc43a02c6c7a4e6cfe7b1a34c92.zip
TizenRefApp-9076 New message, Contacts buttons are not read in Thread
list by Screen Reader Change-Id: I531409fdf52f554621582fbf36446d248e777eeb Signed-off-by: Evgen Servetnik <e.servetnik@samsung.com>
-rw-r--r--src/Composer/Controller/src/Composer.cpp9
-rw-r--r--src/Composer/View/src/RecipFieldView.cpp2
-rw-r--r--src/Conversation/Controller/src/ConvListItem.cpp2
-rw-r--r--src/MsgThread/View/src/ThreadComposeListViewItem.cpp2
4 files changed, 9 insertions, 6 deletions
diff --git a/src/Composer/Controller/src/Composer.cpp b/src/Composer/Controller/src/Composer.cpp
index bcd0c25..7971416 100644
--- a/src/Composer/Controller/src/Composer.cpp
+++ b/src/Composer/Controller/src/Composer.cpp
@@ -445,9 +445,12 @@ void Composer::showMmsTextLimitExceededPopup(int smsCount, int mmsCount, int max
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);
diff --git a/src/Composer/View/src/RecipFieldView.cpp b/src/Composer/View/src/RecipFieldView.cpp
index 77cec24..31fe6d4 100644
--- a/src/Composer/View/src/RecipFieldView.cpp
+++ b/src/Composer/View/src/RecipFieldView.cpp
@@ -108,7 +108,7 @@ void RecipFieldView::showButton(ButtonId id)
}
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));
}
diff --git a/src/Conversation/Controller/src/ConvListItem.cpp b/src/Conversation/Controller/src/ConvListItem.cpp
index a8ece54..d4352f9 100644
--- a/src/Conversation/Controller/src/ConvListItem.cpp
+++ b/src/Conversation/Controller/src/ConvListItem.cpp
@@ -156,7 +156,7 @@ bool ConvListItem::launchViewer(const std::list<std::string> &fileList, unsigned
{
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;
}
diff --git a/src/MsgThread/View/src/ThreadComposeListViewItem.cpp b/src/MsgThread/View/src/ThreadComposeListViewItem.cpp
index 827b1fa..8007d59 100644
--- a/src/MsgThread/View/src/ThreadComposeListViewItem.cpp
+++ b/src/MsgThread/View/src/ThreadComposeListViewItem.cpp
@@ -53,7 +53,7 @@ Evas_Object *ThreadComposeListViewItem::getContent(ListItem &item, const char *p
void ThreadComposeListViewItem::onAttached(ViewItem &item)
{
setSelectable(false);
- getAtspi().canHighlight(false);
+ getAtspi().setRole(ELM_ATSPI_ROLE_REDUNDANT_OBJECT);
}
Evas_Object *ThreadComposeListViewItem::getComposeButton()