Fix spelling errata 48/187748/1 accepted/tizen/unified/20180829.142719 submit/tizen/20180828.101453
authorsooyeon.kim <sooyeon.kim@samsung.com>
Tue, 28 Aug 2018 06:50:31 +0000 (15:50 +0900)
committersooyeon.kim <sooyeon.kim@samsung.com>
Tue, 28 Aug 2018 06:50:31 +0000 (15:50 +0900)
Change-Id: Id991a9209b714be8f39ba3709289ee5409cc3c7c
Signed-off-by: sooyeon.kim <sooyeon.kim@samsung.com>
include/voice_control_elm_private.h
src/vc_elm.c
src/vc_elm_core.c
src/vc_elm_core.h
src/vc_elm_core_default_widgets.c
src/vc_elm_tooltip.h
src/vc_elm_widget_wrapper.c

index 4559023..09516e2 100644 (file)
@@ -72,7 +72,7 @@ int vc_elm_get_auto_register_mode(int* mode, int* click_method);
 * @brief Add allowed text part for auto command register.
 * @since_tizen 3.0
 *
-* @param[in] text_part The text part of elemenatry widget
+* @param[in] text_part The text part of elementary widget
 *
 * @return 0 on success, otherwise a negative error value
 * @retval #VC_ELM_ERROR_NONE Successful
index 38621d3..69ab635 100644 (file)
@@ -39,7 +39,7 @@
 #define VC_ELM_MODE_AUTO_APPFW 2
 
 /**
-* @brief Internal variable. It can check whether voice control elm is initilaized or not.
+* @brief Internal variable. It can check whether voice control elm is initialized or not.
 */
 static unsigned is_vc_elm_initialized = false;
 
@@ -424,7 +424,7 @@ int vc_elm_create_object(Evas_Object *object, vc_elm_h *vc_elm)
        }
 
        if (NULL == vc_elm) {
-               VC_ELM_LOG_ERR("Invalid parameters detected! (vc_elm_h *) poiter is NULL"); //LCOV_EXCL_LINE
+               VC_ELM_LOG_ERR("Invalid parameters detected! (vc_elm_h *) pointer is NULL"); //LCOV_EXCL_LINE
                return VC_ELM_ERROR_INVALID_PARAMETER;
        }
        if ((NULL == object) || (!elm_object_widget_check(object))) {
@@ -467,11 +467,11 @@ int vc_elm_create_item(Elm_Object_Item *item, vc_elm_h *vc_elm)
        }
 
        if (NULL == vc_elm) {
-               VC_ELM_LOG_ERR("Invalid parameters detected! (vc_elm_h *) poiter is NULL"); //LCOV_EXCL_LINE
+               VC_ELM_LOG_ERR("Invalid parameters detected! (vc_elm_h *) pointer is NULL"); //LCOV_EXCL_LINE
                return VC_ELM_ERROR_INVALID_PARAMETER;
        }
        if (NULL == item) {
-               VC_ELM_LOG_ERR("Invalid parameters detected! (Elm_Object_Item *) poiter is NULL"); //LCOV_EXCL_LINE
+               VC_ELM_LOG_ERR("Invalid parameters detected! (Elm_Object_Item *) pointer is NULL"); //LCOV_EXCL_LINE
                *vc_elm = NULL;
                return VC_ELM_ERROR_INVALID_PARAMETER;
        }
@@ -753,7 +753,7 @@ int vc_elm_get_command_hint_offset(vc_elm_h vc_elm, int *pos_x, int *pos_y)
                return VC_ELM_ERROR_INVALID_PARAMETER;
        }
        if ((NULL == pos_x) || (NULL == pos_y)) {
-               VC_ELM_LOG_ERR("Invalid position poiters detected!"); //LCOV_EXCL_LINE
+               VC_ELM_LOG_ERR("Invalid position pointers detected!"); //LCOV_EXCL_LINE
                return VC_ELM_ERROR_INVALID_PARAMETER;
        }
        type = handler->type;
index 42ccfc2..b8ceb16 100644 (file)
@@ -95,7 +95,7 @@ const Eina_Hash *_vc_elm_core_get_config_widget_map()
 }
 
 /**
- * @brief Structure that wrapps a command with corresponding widget and it's parent
+ * @brief Structure that wraps a command with corresponding widget and it's parent
  */
 struct Wrapped_Command {
        const char *cmd;
@@ -106,7 +106,7 @@ struct Wrapped_Command {
 };
 
 /**
- * @brief Structure that wrapps a wrapped command with it's command and param
+ * @brief Structure that wraps a wrapped command with it's command and param
  */
 struct Unwrapped_Command {
        struct Wrapped_Command *wrap;
@@ -974,8 +974,8 @@ static void __elm_widget_foreach_in_tree(Evas_Object *widget, Eina_Bool(*cb)(Eva
                        VC_ELM_LOG_DBG("call subobjects_func, constant_list(%d)", eina_list_count(list));
                        constant_list = info->get_subobjects_func(widget, info->user_data);
                } else if (obj_name != NULL && (!strcmp("Elm_Button", obj_name) || !strcmp("Elm_Index", obj_name))) {
-                       /* We dont want to have a tooltip for elm_icon on button */
-                       /* We dont want to have tooltips for elm_index items */
+                       /* We don't want to have a tooltip for elm_icon on button */
+                       /* We don't want to have tooltips for elm_index items */
                        return;
                } else if (obj_name != NULL && !strcmp("Elm_List", obj_name)) {
                        VC_ELM_LOG_DBG(":: %s", obj_name);
@@ -1453,7 +1453,7 @@ static void __vc_add_commands()
                g_wrapped_commands = NULL;
        }
 
-       VC_ELM_LOG_DBG("currene objects(%d)", eina_list_count(g_current_ui_objects));
+       VC_ELM_LOG_DBG("current objects(%d)", eina_list_count(g_current_ui_objects));
        EINA_LIST_FOREACH(g_current_ui_objects, _l, obj) {
                struct vc_elm_core_widget_info *info = NULL;
                const char *obj_name = _get_ui_object_name(obj);
@@ -2331,7 +2331,7 @@ int _vc_elm_core_read_xml_data()
 
        root = main_node->xmlChildrenNode;
        while (root != NULL) {
-               VC_ELM_LOG_DBG("Root nodes mames %s", root->name);
+               VC_ELM_LOG_DBG("Root nodes names %s", root->name);
                if (0 == xmlStrcmp(root->name, XML_CAST VC_ELM_TAG_BASE_NAME)) {
                        cur = root->xmlChildrenNode;
                        do {
index b241a20..e1e5641 100644 (file)
@@ -96,7 +96,7 @@ typedef struct vc_elm_core_action_info vc_elm_action_info;
 typedef struct vc_elm_core_widget_info vc_elm_widget_info;
 
 /**
- * @brief A callback function type to be called to get wigdet subobjects list
+ * @brief A callback function type to be called to get widget subobjects list
  */
 typedef Eina_List *(*vc_elm_get_subobjects_cb)(const Evas_Object *obj, void *user_data);
 
@@ -337,7 +337,7 @@ const char *_vc_elm_core_get_object_hint(const Evas_Object *obj);
 /**
  * @brief vc_elm_core_object_skip_set function marks a widget that hint is not to be set
  * @param obj pointer to widget
- * @return EINA_TRUE if succesful or EINA_FALSE otherwise
+ * @return EINA_TRUE if successful or EINA_FALSE otherwise
  */
 Eina_Bool _vc_elm_core_set_skip_object(Evas_Object *obj);
 
@@ -416,14 +416,14 @@ Eina_Bool _vc_elm_core_set_object_hint_direction(Evas_Object *obj, vc_elm_direct
  * @brief vc_elm_core_object_hint_direction_get function gets tooltip's direction
  * @param obj pointer to widget
  * @param direction direction of the tooltip
- * @return EINA_TRUE if successfull, EINA_FALSE otherwise
+ * @return EINA_TRUE if successful, EINA_FALSE otherwise
  */
 Eina_Bool _vc_elm_core_get_object_hint_direction(Evas_Object *obj, vc_elm_direction_e *direction);
 
 /**
  * @brief vc_elm_core_object_hint_direction_del function unsets tooltip's direction
  * @param obj pointer to widget
- * @return EINA_TRUE if successfull, EINA_FALSE otherwise
+ * @return EINA_TRUE if successful, EINA_FALSE otherwise
  */
 Eina_Bool _vc_elm_core_del_object_hint_direction(Evas_Object *obj);
 
index ad453d1..76e04fe 100644 (file)
@@ -70,7 +70,7 @@ static void __set_tooltips_position_on_visible_items(Evas_Object *parent, Elm_Ob
 
 /**
  * @brief Function for scrolling elementary object
- * @param Scrolable Evas_Object
+ * @param Scrollable Evas_Object
  * @param enumeration value of amount of scroll
  * @param enumeration value of turn
  * @param enumeration value of direction
@@ -1025,11 +1025,11 @@ static void __colorselector_value_activator_func(Evas_Object *obj, void *data, c
 }
 
 /**
- * @brief Function that analyse layout for color objects.
+ * @brief Function that analyze layout for color objects.
  */
 static void __sub_layout_inspect(Eina_List *ret, Evas_Object *widget)
 {
-       /*Temporary fix for pallete without tooltips*/
+       /*Temporary fix for palette without tooltips*/
        const char *colors[] = {"pink", "violet", "purple", "navy", "blue", "cyan", "green", "lime", "yellow", "red"};
        const Eina_List *l = NULL;
        Evas_Object *obj = NULL;
index 63912b3..5f28283 100644 (file)
@@ -57,7 +57,7 @@ void _vc_elm_turn_off_tooltips();
 void _vc_elm_add_tooltip(Evas_Object *obj, const char *text);
 
 /**
- * @brief Function that recalculates postitons of all the visible tooltips
+ * @brief Function that recalculates positions of all the visible tooltips
  *             and shows them
  */
 void _vc_elm_relayout_and_show_tooltips();
index 451bd9d..0f2e9aa 100644 (file)
@@ -271,7 +271,7 @@ static void __vc_service_state_changed_cb(vc_service_state_e previous, vc_servic
 static void __vc_error_cb(vc_error_e reason, void *user_data)
 {
        (void)user_data;
-       VC_ELM_LOG_ERR("VC Error occured : %d", reason);
+       VC_ELM_LOG_ERR("VC Error occurred : %d", reason);
 }
 
 static void __vc_result_cb(vc_result_event_e event, vc_cmd_list_h vc_cmd_list, const char *result, void *user_data)