fix error related showing unknown sender 07/107707/1 accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_wearable tizen_3.0.m2 accepted/tizen/3.0.m2/mobile/20170104.125142 accepted/tizen/3.0.m2/wearable/20170104.125744 accepted/tizen/3.0/common/20161230.093713 accepted/tizen/3.0/ivi/20161230.061911 accepted/tizen/3.0/mobile/20161230.061821 accepted/tizen/3.0/wearable/20161230.061857 submit/tizen_3.0.m2/20170104.093750 submit/tizen_3.0/20161229.091314
authorKyeonghun Lee <kh9090.lee@samsung.com>
Thu, 29 Dec 2016 09:08:51 +0000 (18:08 +0900)
committerKyeonghun Lee <kh9090.lee@samsung.com>
Thu, 29 Dec 2016 09:08:51 +0000 (18:08 +0900)
- wrong package name used

Change-Id: Ifdb534358ed52ced1f6ba40c7ec13cf5a7566c16
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
manager/src/msg-manager-notification.cpp

index 9ba4ed9..1df9d17 100644 (file)
@@ -1830,7 +1830,7 @@ int getLatestMsgInfo(MSG_MGR_NOTI_INFO_S *noti_info, bool isForInstantMessage)
                                g_strlcat(noti_info->sender, tmpContact.firstName, sizeof(noti_info->sender)-strlen(noti_info->sender));
                        } else if (tmpAddressInfo.addressVal[0] == '\0') {
                                char *senderStr = NULL;
-                               senderStr = get_translate_text("message", MSG_MGR_LOCALEDIR, MSG_UNKNOWN_SENDER);
+                               senderStr = get_translate_text(MSG_MGR_PACKAGE_NAME, MSG_MGR_LOCALEDIR, MSG_UNKNOWN_SENDER);
                                g_strlcat(noti_info->sender, senderStr, sizeof(noti_info->sender)-strlen(noti_info->sender));
                                if (senderStr) {
                                        free(senderStr);