EVAS_HINT_EXPAND);
if (title != NULL) {
-
elm_object_part_text_set(ad->popup, "title,text",
BT_STR_ALLOW_APP_PERMISSION);
char *file = NULL;
char *agent_path;
char *conv_str = NULL;
+ char *stms_str = NULL;
int ret;
if (!reset_data || !event_type)
snprintf(view_title, BT_TITLE_STR_MAX_LEN,
BT_STR_BLUETOOTH_PAIRING_REQUEST);
+ stms_str = BT_STR_ENTER_THE_PIN_TO_PAIR;
+
snprintf(text, BT_GLOBALIZATION_STR_LENGTH,
- BT_STR_ENTER_THE_PIN_TO_PAIR, conv_str);
+ stms_str, conv_str);
if (conv_str)
free(conv_str);
return -1;
if (device_name && passkey) {
+ stms_str = BT_STR_CONFIRM_PASSKEY_PS_TO_PAIR_WITH_PS;
snprintf(view_title, BT_TITLE_STR_MAX_LEN,
- BT_STR_CONFIRM_PASSKEY_PS_TO_PAIR_WITH_PS,
- passkey, device_name);
+ stms_str, passkey, device_name);
BT_INFO("title: %s", view_title);
snprintf(view_title, BT_TITLE_STR_MAX_LEN,
BT_STR_BLUETOOTH_PAIRING_REQUEST);
+ stms_str = BT_STR_ENTER_THE_PIN_TO_PAIR;
+
snprintf(text, BT_GLOBALIZATION_STR_LENGTH,
- BT_STR_ENTER_THE_PIN_TO_PAIR, conv_str);
+ stms_str, conv_str);
if (conv_str)
free(conv_str);
BT_ERR("bundle_get_str() is failed : %d\n", ret);
if (device_name && passkey) {
+ stms_str = BT_STR_ENTER_PS_ON_PS_TO_PAIR;
snprintf(view_title, BT_TITLE_STR_MAX_LEN,
- BT_STR_ENTER_PS_ON_PS_TO_PAIR, passkey, device_name);
+ stms_str, passkey, device_name);
BT_INFO("title: %s", view_title);
if (device_name)
conv_str = elm_entry_utf8_to_markup(device_name);
+ stms_str = BT_STR_ALLOW_PS_TO_CONNECT_Q;
+
snprintf(view_title, BT_TITLE_STR_MAX_LEN,
- BT_STR_ALLOW_PS_TO_CONNECT_Q, conv_str);
+ stms_str, conv_str);
if (conv_str)
free(conv_str);
if (ret != BUNDLE_ERROR_NONE)
BT_ERR("bundle_get_str() is failed : %d\n", ret);
+ stms_str = BT_STR_OVERWRITE_FILE_Q;
+
snprintf(view_title, BT_TITLE_STR_MAX_LEN,
- BT_STR_OVERWRITE_FILE_Q, file);
+ stms_str, file);
__bluetooth_draw_popup(ad, BT_STR_RECEIVE_FILE, view_title,
BT_STR_CANCEL, BT_STR_OK,
if (device_name && passkey) {
+ stms_str = BT_STR_ENTER_PS_ON_PS_TO_PAIR;
+
snprintf(view_title, BT_TITLE_STR_MAX_LEN,
- BT_STR_ENTER_PS_ON_PS_TO_PAIR, passkey, device_name);
+ stms_str, passkey, device_name);
BT_INFO("title: %s", view_title);
return -1;
if (device_name) {
+ stms_str = BT_STR_WANTS_TO_SEND_YOU_A_FILE;
+
snprintf(view_title, BT_TITLE_STR_MAX_LEN,
- BT_STR_WANTS_TO_SEND_YOU_A_FILE, device_name);
+ stms_str, device_name);
}
__bluetooth_draw_popup(ad, BT_STR_RECEIVE_FILE,
if (device_name)
conv_str = elm_entry_utf8_to_markup(device_name);
+ stms_str = BT_STR_PS_CONTACT_REQUEST;
+
snprintf(view_title, BT_TITLE_STR_MAX_LEN,
- BT_STR_PS_CONTACT_REQUEST, conv_str);
+ stms_str, conv_str);
if (conv_str)
free(conv_str);
if (device_name)
conv_str = elm_entry_utf8_to_markup(device_name);
+ stms_str = BT_STR_PS_MESSAGE_REQUEST;
+
snprintf(view_title, BT_TITLE_STR_MAX_LEN,
- BT_STR_PS_MESSAGE_REQUEST, conv_str);
+ stms_str, conv_str);
if (conv_str)
free(conv_str);
if (device_name)
conv_str = elm_entry_utf8_to_markup(device_name);
+
+ stms_str = BT_STR_UNABLE_TO_PAIR;
+
snprintf(view_title, BT_TITLE_STR_MAX_LEN,
- BT_STR_UNABLE_TO_PAIR, conv_str);
+ stms_str, conv_str);
if (conv_str)
free(conv_str);
if (device_name)
conv_str = elm_entry_utf8_to_markup(device_name);
+
+ stms_str = BT_STR_UNABLE_TO_PAIR;
+
snprintf(text, BT_GLOBALIZATION_STR_LENGTH,
- BT_STR_UNABLE_TO_PAIR, conv_str);
+ stms_str, conv_str);
+
if (conv_str)
free(conv_str);