TizenRefApp-6499 Odd Numbers Displayed in "Maximum Message Size" Pop-up Notification 26/77726/1
authorOleksander Kostenko <o.kostenko@samsung.com>
Thu, 30 Jun 2016 16:06:03 +0000 (19:06 +0300)
committerOleksander Kostenko <o.kostenko@samsung.com>
Thu, 30 Jun 2016 16:06:13 +0000 (19:06 +0300)
Change-Id: I8d603f35b1deb5b99d05a35a2d86dd5720e4c88d
Signed-off-by: Oleksander Kostenko <o.kostenko@samsung.com>
src/Conversation/Body/Controller/src/Body.cpp

index 2eb5ae3..df9c7a1 100644 (file)
@@ -449,7 +449,9 @@ void Body::showResizingPopup()
         Popup &popup = m_App.getPopupManager().getPopup();
         popup.addEventCb(EVAS_CALLBACK_DEL, EVAS_EVENT_CALLBACK(Body, onResizingPopupDel), this);
         int maxSize = m_App.getMsgEngine().getSettings().getMaxMmsSize();
-        std::string content(msgArgs("IDS_MSG_TPOP_MAXIMUM_MESSAGE_SIZE_HPS_EXCEEDED_RESIZING_ATTACHMENTS_ING", std::to_string(maxSize).c_str()));
+
+        std::string content(msgArgs("IDS_MSG_TPOP_CANT_ADD_MORE_THAN_P1SS_P2SS_OF_ATTACHMENTS_RESIZING_ATTACHMENTS_ING",
+                std::to_string(maxSize / 1024).c_str(), msg("IDS_MSGF_BODY_MSGSIZE_KB").get()));
         popup.setContent(content);
         popup.setAutoDismissBlockClickedFlag(true);
         popup.show();