diff options
Diffstat (limited to 'wearable/app/src/nsa-view-tap-n-pay.c')
-rwxr-xr-x | wearable/app/src/nsa-view-tap-n-pay.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/wearable/app/src/nsa-view-tap-n-pay.c b/wearable/app/src/nsa-view-tap-n-pay.c index 0ccfa2b..1ef7560 100755 --- a/wearable/app/src/nsa-view-tap-n-pay.c +++ b/wearable/app/src/nsa-view-tap-n-pay.c @@ -84,6 +84,7 @@ static Evas_Object *__create_no_contents_ly(void *data) appdata *ad = data; Evas_Object *sc, *ly, *image, *circle_obj; Evas_Object *label; + char title[256]; retv_if(ad == NULL, NULL); @@ -116,7 +117,8 @@ static Evas_Object *__create_no_contents_ly(void *data) evas_object_size_hint_align_set(label, EVAS_HINT_FILL, EVAS_HINT_FILL); elm_label_wrap_width_set(label, 226); - elm_object_text_set(label, "<font=Tizen:style=Medium font_size=30 color=#0094ffff align=center text_class=tizen>Tap and pay</font>"); + snprintf(title, 256, "<font=Tizen:style=Medium font_size=30 color=#0094ffff align=center text_class=tizen>%s</font>", IDS_TAP_AND_PAY); + elm_object_text_set(label, title); elm_object_part_content_set(ly, "elm.text.title", label); evas_object_show(label); @@ -500,7 +502,7 @@ bool _nsa_view_tap_n_pay_create(void *data) retv_if(layout == NULL, false); - elm_naviframe_item_push(ad->navi_frame, "TAP", NULL, NULL, layout, "empty"); + elm_naviframe_item_push(ad->navi_frame, NULL, NULL, NULL, layout, "empty"); ad->current_view = V_TAP_N_PAY; return true; |