[TSAM-11167] Screen Reader Read wrong when Edit home and Edits apps 60/103260/2
authorGeunsun, Lee <gs86.lee@samsung.com>
Thu, 8 Dec 2016 00:51:00 +0000 (09:51 +0900)
committerGeunsun, Lee <gs86.lee@samsung.com>
Thu, 8 Dec 2016 00:54:51 +0000 (09:54 +0900)
Change-Id: I04107da4b4114576ec086cd416cca3663cf3eecc

src/apps_view.c
src/widget_viewer.c

index 7ddecef..358a2bb 100755 (executable)
@@ -2078,9 +2078,9 @@ static void __apps_view_get_access_page_app_icon(Eina_List **list)
                                info->parent = item->app_layout;
                                info->name = (item->label_str) ? strdup(item->label_str) : NULL;
                                if (item->is_folder) {
-                                       snprintf(buf, sizeof(buf), "%s %s", _("IDS_LCKSCN_TBBODY_DOUBLE_TAP_TO_OPEN"), _("IDS_BR_BODY_DOUBLE_TAP_AND_HOLD_THEN_DRAG_TO_REORDER_TTS"));
+                                       snprintf(buf, sizeof(buf), "%s, %s", _("IDS_HS_HEADER_FOLDER"), _("IDS_LCKSCN_TBBODY_DOUBLE_TAP_TO_OPEN"));
                                } else {
-                                       snprintf(buf, sizeof(buf), "%s", _("IDS_LCKSCN_TBBODY_DOUBLE_TAP_TO_OPEN"));
+                                       snprintf(buf, sizeof(buf), "%s, %s", _("IDS_LCKSCN_TBBODY_DOUBLE_TAP_TO_OPEN"), _("IDS_BR_BODY_DOUBLE_TAP_AND_HOLD_THEN_DRAG_TO_REORDER_TTS"));
                                }
                                info->description = strdup(buf);
                                info->role = ELM_ATSPI_ROLE_UNKNOWN;
@@ -2114,7 +2114,7 @@ static void __apps_view_get_access_page_icon_delete_button(Eina_List **list)
                                        info->target = (Evas_Object *)edje_object_part_object_get(elm_layout_edje_get(item->app_layout), APPS_ICON_UNINSTALL_BUTTON);
                                        info->parent = item->app_layout;
                                        info->name = (item->is_folder) ? strdup(_("IDS_HS_HEADER_REMOVE_FOLDER_ABB")) : strdup(_("IDS_HS_BUTTON_UNINSTALL_ABB3"));
-                                       info->description = NULL;
+                                       info->description = strdup(_("IDS_ACCS_BODY_BUTTON_TTS"));
                                        info->role = ELM_ATSPI_ROLE_UNKNOWN;
                                        info->clicked_cb = __apps_view_icon_uninstall_btn_clicked_cb;
                                        info->cb_data = item;
index f964e9d..1460057 100755 (executable)
@@ -254,7 +254,7 @@ access_info_t *widget_viewer_get_accessible_delete_btn(widget_data_t *widget_dat
        btn_info->target = (Evas_Object *)edje_object_part_object_get(elm_layout_edje_get(widget_data->widget_layout), WIDGET_DELETE_BUTTON);
        btn_info->parent = widget_data->widget_layout;
        btn_info->name = strdup(_("IDS_HS_OPT_DELETE"));
-       btn_info->description = NULL;
+       btn_info->description = strdup(_("IDS_ACCS_BODY_BUTTON_TTS"));
        btn_info->role = ELM_ATSPI_ROLE_UNKNOWN;
        btn_info->clicked_cb = __widget_viewer_delete_btn_clicked_cb;
        btn_info->cb_data = widget_data;