linking error on wearable fixed 23/62223/1 accepted/tizen/common/20160315.221525 accepted/tizen/ivi/20160315.121155 accepted/tizen/mobile/20160315.120921 accepted/tizen/tv/20160315.120939 accepted/tizen/wearable/20160315.120956 submit/tizen/20160315.025154
authorKyeonghun Lee <kh9090.lee@samsung.com>
Tue, 15 Mar 2016 02:48:07 +0000 (11:48 +0900)
committerKyeonghun Lee <kh9090.lee@samsung.com>
Tue, 15 Mar 2016 02:48:07 +0000 (11:48 +0900)
Change-Id: I5423ca86a1b4d6ff5eb55e94ad0ec0260e74ee63

externals/MsgNotificationWrapper.cpp
include/externals/MsgNotificationWrapper.h
plugin/sms_plugin/SmsPluginEventHandler.cpp
utils/MsgUtilFunction.cpp

index fed5d71..baa3474 100755 (executable)
@@ -3073,27 +3073,6 @@ void setNotiEventHandler(notification_h noti_h, notification_event_type_e type,
 }
 
 
-char *getTranslateText(const char *pkg_name, const char *locale_dir, const char *text)
-{
-       char *notiMsg = NULL;
-       char *lang = NULL;
-
-       lang = vconf_get_str(VCONFKEY_LANGSET);
-
-       setlocale(LC_MESSAGES, lang);
-
-       bindtextdomain(pkg_name, locale_dir);
-
-       notiMsg = dgettext(pkg_name, text);
-
-       if (lang) {
-               free(lang);
-               lang = NULL;
-       }
-
-       return g_strdup(notiMsg);
-}
-
 void MsgNotiSoundRepeatAlarmCB(int alarmId)
 {
        MSG_BEGIN();
index 98df11d..df41f74 100755 (executable)
@@ -222,6 +222,4 @@ void MsgDeleteNotification(msg_notification_type_t noti_type, int simIndex);
 void MsgInitReportNotiList();
 bool MsgCheckNotificationSettingEnable(void);
 
-char *getTranslateText(const char *pkg_name, const char *locale_dir, const char *text);
-
 #endif
index 11f65dc..78f990a 100755 (executable)
@@ -21,6 +21,7 @@
 
 #include "MsgDebug.h"
 #include "MsgUtilFile.h"
+#include "MsgUtilFunction.h"
 #include "MsgCppTypes.h"
 #include "MsgContact.h"
 #include "MsgGconfWrapper.h"
index 7e8e0a3..09482ef 100755 (executable)
@@ -984,6 +984,28 @@ char* msg_normalize_number(char *src)
 }
 
 
+char *getTranslateText(const char *pkg_name, const char *locale_dir, const char *text)
+{
+       char *notiMsg = NULL;
+       char *lang = NULL;
+
+       lang = vconf_get_str(VCONFKEY_LANGSET);
+
+       setlocale(LC_MESSAGES, lang);
+
+       bindtextdomain(pkg_name, locale_dir);
+
+       notiMsg = dgettext(pkg_name, text);
+
+       if (lang) {
+               free(lang);
+               lang = NULL;
+       }
+
+       return g_strdup(notiMsg);
+}
+
+
 msg_error_t MsgMakeSortRule(const MSG_SORT_RULE_S *pSortRule, char *pSqlSort)
 {
        char sql[128];