Fix spelling errors in codes 41/239241/1 submit/tizen/20200723.072325 submit/tizen/20200723.075603
authorKiseok Chang <kiso.chang@samsung.com>
Thu, 23 Jul 2020 04:55:01 +0000 (13:55 +0900)
committerKiseok Chang <kiso.chang@samsung.com>
Thu, 23 Jul 2020 04:59:18 +0000 (13:59 +0900)
Change-Id: I3e22e332749ca2d0014e0f2bde38be8411c6d696
Signed-off-by: Kiseok Chang <kiso.chang@samsung.com>
setting-about/src/setting-about-main.c
setting-common/include/setting-common-data-type.h
setting-common/include/setting-common-draw-widget.h
setting-common/src/setting-common-draw-genlist.c
setting-common/src/setting-common-draw-widget.c
setting-common/src/setting-common-view.c
setting-storage/src/setting-storage-default.c

index 57d8d73f7a44c74a5c398c5461217563ea6030e5..8b2f0b56774988a99fe0d8b23a92b09b2e69ee02 100755 (executable)
@@ -61,7 +61,7 @@ static void __popup_mobile_ap_turn_off_ask_resp_cb(void *data, Evas_Object *obj,
        int response_type = btn_type(obj);
 
        if (POPUP_RESPONSE_OK == response_type) {
-               /* disable tehering*/
+               /* disable tethering*/
                if (ad->item_dev_name && ad->item_dev_name->eo_check) {
                        elm_object_focus_allow_set(ad->item_dev_name->eo_check,
                                        EINA_TRUE);
@@ -308,7 +308,7 @@ static void __vconf_change_cb(keynode_t *key, void *data)
 }
 
 /**
- * @brief Lunch cetificates (setting-manage-certificates-efl)
+ * @brief Lunch certificates (setting-manage-certificates-efl)
  *
  * @param data application data
  */
@@ -825,11 +825,11 @@ static Eina_Bool _view_pop_cb(void *data, Elm_Object_Item *it)
 
        /* imf must be hided before view is destroyed. */
        /* Following code is just to improve the hiding speed. If not add these
-        * code, the input pannel will also be hided with the view destroyed,
+        * code, the input panel will also be hided with the view destroyed,
         * but it works too slow. */
        if (ad->item_dev_name) {
                elm_object_focus_set(ad->item_dev_name->eo_check, EINA_FALSE);
-               setting_hide_input_pannel_cb(ad->item_dev_name->eo_check);
+               setting_hide_input_panel_cb(ad->item_dev_name->eo_check);
        }
        ui_app_exit();
        return EINA_TRUE;
index 1697ade6e0a3233d90ee94609841107c0348b565..33fc95570bb7929e777d276b79279cfc622824db 100755 (executable)
@@ -61,7 +61,7 @@
 #define SETTINGS_EDJ                   SETTING_EDJ_PATH"/settings.edj"
 #define SETTING_THEME_EDJ_NAME         SETTING_EDJ_PATH"/setting-theme.edj"
 
-/* anci c color type */
+/* ansi c color type */
 #define SETTING_FONT_RED "\033[31m"
 #define SETTING_FONT_BLACK "\033[0m"
 #define SETTING_FONT_BGREEN "\033[36m"
@@ -93,7 +93,7 @@ typedef void (*setting_call_back_func)(
 
 #define MAX_SEARCH_STR_LEN 40
 
-#define MAX_SPECIALIZITION_LEN         1000
+#define MAX_SPECIALIZATION_LEN         1000
 
 #define PHONE_LOCK_ATTEMPS_MAX         5
 #define SIM_LOCK_ATTEMPS_MAX           5
@@ -156,7 +156,7 @@ typedef enum _SWALLOW_Type {
        SWALLOW_Type_1RADIO = 6,
        SWALLOW_Type_1TOGGLE =  7,
        SWALLOW_Type_1CHECK_RIGHT_INVISIBLE,
-       SWALLOW_Type_1ICON_1DOTTOOGLE,
+       SWALLOW_Type_1ICON_1DOTTOGGLE,
        SWALLOW_Type_1ICON_SMALL_ICON,
 
        SWALLOW_Type_1ICON_1IMAGE,
@@ -174,8 +174,8 @@ typedef enum _SWALLOW_Type {
        SWALLOW_Type_LAYOUT_DATEFIELD,
        SWALLOW_Type_LAYOUT_SLIDER,
        SWALLOW_Type_LAYOUT_5STEP_SLIDER,
-       SWALLOW_Type_LAYOUT_SPECIALIZTION,
-       SWALLOW_Type_LAYOUT_SPECIALIZTION_X,/*extension */
+       SWALLOW_Type_LAYOUT_SPECIALIZATION,
+       SWALLOW_Type_LAYOUT_SPECIALIZATION_X,/*extension */
 
        SWALLOW_Type_MAX
 } SWALLOW_Type;
@@ -186,12 +186,6 @@ typedef enum _POPUP_BTN_RESPONSE_TYPE {
        POPUP_RESPONSE_CANCEL = 1,
 } POPUP_BTN_RESPONSE_TYPE;
 
-/**
- * an item node in genlist
- * @todo begings_to is requried?
- * @todo isItemDisableFlag is required?
- * @todo isSinglelineFlag is requred?
- */
 typedef struct _Setting_GenGroupItem_Data {
 
        void **pBack;
@@ -280,7 +274,7 @@ typedef struct _Setting_GenGroupItem_Data {
        Elm_Entry_Filter_Accept_Set *digits_filter_data;
        Elm_Entry_Filter_Limit_Size *limit_filter_data;
 
-       bool focus_unallowed;
+       bool focus_disallowed;
 
        /*for incoming call*/
        Eina_Bool isPlaying;
index 84b60648682b4e7c3686507d06d2ada754002f3b..612d00078a5e72afa0557851c9006812cc86066f 100755 (executable)
@@ -72,7 +72,7 @@ extern const Elm_Genlist_Item_Class itc_1text_1icon_divider;
                                        scroller, &itc_multiline_text,\
                                        NULL,\
                                        NULL,\
-                                       SWALLOW_Type_LAYOUT_SPECIALIZTION_X,\
+                                       SWALLOW_Type_LAYOUT_SPECIALIZATION_X,\
                                        NULL, NULL, 0, str, NULL, NULL);\
                        setting_retvm_if(NULL == item_data, -1, \
                                        "item_data is NULL");\
@@ -93,9 +93,9 @@ extern void setting_sub_list_rd_change(void *data, Evas_Object *obj,
                void *event_info);
 
 /**
- * Hide the input pannel
+ * Hide the input panel
  */
-extern void setting_hide_input_pannel_cb(Evas_Object *entry);
+extern void setting_hide_input_panel_cb(Evas_Object *entry);
 
 /**
  * Do process when clicking on subitem of expandable item
@@ -256,14 +256,14 @@ extern Evas_Object *setting_create_gif(Evas_Object *parent,
 
 /**
  * Set the status of radio group object via its binded vconf value.
- * @return  0: sucess, other: failed
+ * @return  0: success, other: failed
  */
 extern int setting_update_chk_status(Evas_Object *chk,
                setting_int_slp_list type);
 
 /**
- * Create a size specilized rectangle object
- * @return a size specilized rectangle object
+ * Create a size specialized rectangle object
+ * @return a size specialized rectangle object
  */
 extern Evas_Object *setting_create_blank_rect_customize(Evas_Object *layout,
                int w, int h);
@@ -328,21 +328,21 @@ extern Evas_Object *setting_create_bg(Evas_Object *parent, Evas_Object *win,
  * To make an object which is operated by setting_dim_evas_object normal color
  *
  * @param[in] obj
- * @param[in] b_transparenct:
- *     1:the appearence of obj is made up of transparent backgroud color.
- *     0:the appearence of obj is made up of non transparent color.
+ * @param[in] b_transparency:
+ *     1:the appearance of obj is made up of transparent background color.
+ *     0:the appearance of obj is made up of non transparent color.
  */
-extern void setting_undo_dim_evas_object(Evas_Object *obj, bool b_transparenct);
+extern void setting_undo_dim_evas_object(Evas_Object *obj, bool b_transparency);
 
 /**
  * To make an object dim color
  *
  * @param[in] obj
- * @param[in] b_transparenct:
- *     1:the appearence of obj is made up of transparent backgroud color.
- *     0:the appearence of obj is made up of non transparent color.
+ * @param[in] b_transparency:
+ *     1:the appearance of obj is made up of transparent background color.
+ *     0:the appearance of obj is made up of non transparent color.
  */
-extern void setting_dim_evas_object(Evas_Object *obj, bool b_transparenct);
+extern void setting_dim_evas_object(Evas_Object *obj, bool b_transparency);
 
 /*
  * set font_size, color or align(right, left, middle),if need, you
index 6f86db8d7174ccf7a8c5b33976fa95cb8f9dd6f3..9fa6d5114eb76a708c21066ed7277e8ac128ebd4 100755 (executable)
@@ -646,7 +646,7 @@ static Evas_Object *__add_left_default(Setting_GenGroupItem_Data *item_data,
        if (!item_data->l_swallow_path)
                return NULL;
 
-       if (SWALLOW_Type_1ICON_1DOTTOOGLE == item_data->swallow_type
+       if (SWALLOW_Type_1ICON_1DOTTOGGLE == item_data->swallow_type
                        || SWALLOW_Type_1ICON_1IMAGE
                                        == item_data->swallow_type) {
                SETTING_TRACE_BEGIN;
@@ -737,7 +737,7 @@ static __Content_Drawer    __cd_left[SWALLOW_Type_MAX] = {
                { SWALLOW_Type_LAYOUT_SLIDER, __add_slider },
                { SWALLOW_Type_LAYOUT_5STEP_SLIDER, __add_5step_slider },
 
-               /*other compelx objects */
+               /*other complex objects */
                /* setting-network */
                { SWALLOW_Type_1RADIO_1TEXT, __add_radio_text },
 
@@ -749,7 +749,7 @@ static __Content_Drawer    __cd_right[SWALLOW_Type_MAX] = {
                /*right part object of the type */
                { SWALLOW_Type_1CHECK_RIGHT, __add_check },
                { SWALLOW_Type_1ICON_1RADIO, __add_toggle },
-               { SWALLOW_Type_1ICON_1DOTTOOGLE, __add_dot_toggle },
+               { SWALLOW_Type_1ICON_1DOTTOGGLE, __add_dot_toggle },
                { SWALLOW_TYPE_1RADIO_RIGHT_PROPAGATE_EVENTS_SET,
                                __add_radio_right_propagate_events_set },
                { SWALLOW_Type_1RADIO_RIGHT, __add_radio_right },
@@ -962,7 +962,7 @@ static void __entry_without_layout_focused_cb(void *data, Evas_Object *obj,
        }
        elm_object_item_signal_emit(id->item, "elm,state,rename,hide", "");
 
-       /* accessibiliy */
+       /* accessibility */
        acc = elm_object_item_access_object_get(id->item);
        if (!acc)
                return;
@@ -993,7 +993,7 @@ static void __entry_keydown(void *data, Evas *e, Evas_Object *obj,
        list_item->enterKeyPressFlag = FALSE;
        list_item->spaceKeyPressFlag = FALSE;
        /*it is for Japanese keyboard to fix N_SE-10719 */
-       /*to disable the 'Enter' orginal function */
+       /*to disable the 'Enter' original function */
        if (safeStrCmp(ev->key, "KP_Enter") == 0
                        || safeStrCmp(ev->key, "Return") == 0) {
                SETTING_TRACE("ENTER %s ev->key:%s", __FUNCTION__, ev->key);
@@ -1007,7 +1007,7 @@ static void __entry_keydown(void *data, Evas *e, Evas_Object *obj,
                        FREE(entry_str);
                        elm_entry_cursor_end_set(obj);
                }
-               setting_hide_input_pannel_cb(obj);
+               setting_hide_input_panel_cb(obj);
        } else {
                if (safeStrCmp(ev->key, "space") == 0)
                        list_item->spaceKeyPressFlag = TRUE;
@@ -1101,7 +1101,7 @@ static Evas_Object *__add_entry_without_layout(
        evas_object_size_hint_weight_set(entry, EVAS_HINT_EXPAND,
                        EVAS_HINT_EXPAND);
        evas_object_size_hint_align_set(entry, EVAS_HINT_FILL, EVAS_HINT_FILL);
-       if (item_data->focus_unallowed)
+       if (item_data->focus_disallowed)
                elm_object_focus_allow_set(entry, EINA_FALSE);
 
        elm_entry_input_panel_layout_set(entry, item_data->input_type);
@@ -1292,7 +1292,7 @@ Setting_GenGroupItem_Data *setting_create_Gendial_field_1radio(
 
 static char *_handle_special_str(const char *keyStr)
 {
-       char speciliztion[MAX_SPECIALIZITION_LEN] = { 0, };
+       char specialization[MAX_SPECIALIZATION_LEN] = { 0, };
        char *temp1 = (char *)keyStr;
        char *temp2 = strchr(temp1, '&');
        char *temp = NULL;
@@ -1305,16 +1305,16 @@ static char *_handle_special_str(const char *keyStr)
                                0 == safeStrNCmp(temp2, "&apos;", strlen("&apos;")) || /*single quotes */
                                0 == safeStrNCmp(temp2, "&nbsp;", strlen("&nbsp;")) || /*space character */
                                0 == safeStrNCmp(temp2, "&copy;", strlen("&copy;")) || /*copyright character */
-                               0 == safeStrNCmp(temp2, "&reg;", strlen("&reg;"))/*registeration character */
+                               0 == safeStrNCmp(temp2, "&reg;", strlen("&reg;"))/*registration character */
                ) {/*escape character,do nothing */
                        temp = temp2 + 1;
                        if ('\0' == temp[0])
                                break;
                        temp2 = strchr(temp, '&');
                } else {
-                       g_strlcat(speciliztion, temp1, temp2 - temp1 + 1);
-                       g_strlcat(speciliztion, "&amp;",
-                       MAX_SPECIALIZITION_LEN);
+                       g_strlcat(specialization, temp1, temp2 - temp1 + 1);
+                       g_strlcat(specialization, "&amp;",
+                       MAX_SPECIALIZATION_LEN);
                        temp1 = temp2 + 1;
                        if ('\0' == temp1[0])
                                break;
@@ -1322,9 +1322,9 @@ static char *_handle_special_str(const char *keyStr)
                }
        }
        if ('\0' != temp1[0])
-               g_strlcat(speciliztion, temp1, MAX_SPECIALIZITION_LEN);
+               g_strlcat(specialization, temp1, MAX_SPECIALIZATION_LEN);
 
-       return (char *)g_strdup(speciliztion);
+       return (char *)g_strdup(specialization);
 }
 
 static bool setting_genlist_item_have_item_style(Elm_Object_Item *item, const char *style)
@@ -1391,9 +1391,9 @@ static Setting_GenGroupItem_Data *setting_create_Gendial_field_groupitem(
                                        1, sizeof(Setting_GenGroupItem_Data));
        setting_retvm_if(!item_data, NULL, "calloc failed");
 
-       /* to do formatting customizition in one place */
-       if (SWALLOW_Type_LAYOUT_SPECIALIZTION == swallow_type
-                       || SWALLOW_Type_LAYOUT_SPECIALIZTION_X
+       /* to do formatting customization in one place */
+       if (SWALLOW_Type_LAYOUT_SPECIALIZATION == swallow_type
+                       || SWALLOW_Type_LAYOUT_SPECIALIZATION_X
                                        == swallow_type) {
                elm_genlist_mode_set(genlist, ELM_LIST_COMPRESS);
 
@@ -1436,7 +1436,7 @@ static Setting_GenGroupItem_Data *setting_create_Gendial_field_groupitem(
                                gl_sel, sel_data);
        }
        /*help text clicking issue */
-       if (SWALLOW_Type_LAYOUT_SPECIALIZTION_X == swallow_type)
+       if (SWALLOW_Type_LAYOUT_SPECIALIZATION_X == swallow_type)
                elm_genlist_item_select_mode_set(item_data->item,
                                ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY);
        /*redundant process,it should be due to invokers,but maybe they
index 05a46ed042455fd5d040b1c6b29be54f64f6b72e..cd5daa11697b3c25311b75928436e20a40da285f 100644 (file)
 #include <efl_extension.h>
 
 /**
- * Hide the input pannel
+ * Hide the input panel
  *
  * @param[in] entry
  */
 EXPORT_PUBLIC
-void setting_hide_input_pannel_cb(Evas_Object *entry)
+void setting_hide_input_panel_cb(Evas_Object *entry)
 {
        ret_if(entry == NULL);
        Ecore_IMF_Context *imf_context =
@@ -354,7 +354,7 @@ Evas_Object *setting_create_gif(Evas_Object *parent, const char **png_list)
 
 /**
 * Set the status of radio group object via its binded vconf value.
-* @return  0: sucess, other: failed
+* @return  0: success, other: failed
 */
 EXPORT_PUBLIC
 int setting_update_chk_status(Evas_Object *chk, setting_int_slp_list type)
@@ -380,8 +380,8 @@ int setting_update_chk_status(Evas_Object *chk, setting_int_slp_list type)
 }
 
 /**
-* Create a size specilized rectangle object
-* @return a size specilized rectangle object
+* Create a size specialized rectangle object
+* @return a size specialized rectangle object
 */
 EXPORT_PUBLIC
 Evas_Object *setting_create_blank_rect_customize(
@@ -401,7 +401,7 @@ Evas_Object *setting_create_blank_rect_customize(
 }
 
 /**
-* Create a text box, which cannot be edited, just to show a specilization
+* Create a text box, which cannot be edited, just to show a specialization
 * segment.
 *
 * @return a text box, which cannot be edited
@@ -469,11 +469,11 @@ Evas_Object *setting_create_bg(
 *
 * @param[in] obj
 * @param[in] b_transparency_set:
-*      1:the appearence of obj is made up of transparent backgroud color.
-*      0:the appearence of obj is made up of non transparent color.
+*      1:the appearance of obj is made up of transparent background color.
+*      0:the appearance of obj is made up of non transparent color.
 */
 EXPORT_PUBLIC
-void setting_undo_dim_evas_object(Evas_Object *obj, bool b_transparenct)
+void setting_undo_dim_evas_object(Evas_Object *obj, bool b_transparency)
 {
        if (obj) {
                int r;
@@ -481,9 +481,9 @@ void setting_undo_dim_evas_object(Evas_Object *obj, bool b_transparenct)
                int b;
                int a;
                evas_object_color_get(obj, &r, &g, &b, &a);
-               /*the appearence of obj is made up of transparent backgroud
+               /*the appearance of obj is made up of transparent background
                 * color. */
-               if (b_transparenct)
+               if (b_transparency)
                        a *= DIFF_TIMES;
 
                evas_object_color_set(
@@ -500,11 +500,11 @@ void setting_undo_dim_evas_object(Evas_Object *obj, bool b_transparenct)
 *
 * @param[in] obj
 * @param[in] b_transparency_set:
-*      1:the appearence of obj is made up of transparent backgroud color.
-*      0:the appearence of obj is made up of non transparent color.
+*      1:the appearance of obj is made up of transparent background color.
+*      0:the appearance of obj is made up of non transparent color.
 */
 EXPORT_PUBLIC
-void setting_dim_evas_object(Evas_Object *obj, bool b_transparenct)
+void setting_dim_evas_object(Evas_Object *obj, bool b_transparency)
 {
        if (obj) {
                int r;
@@ -512,9 +512,9 @@ void setting_dim_evas_object(Evas_Object *obj, bool b_transparenct)
                int b;
                int a;
                evas_object_color_get(obj, &r, &g, &b, &a);
-               /*the appearence of obj is made up of transparent backgroud
+               /*the appearance of obj is made up of transparent background
                 * color. */
-               if (b_transparenct)
+               if (b_transparency)
                        a /= DIFF_TIMES;
 
                evas_object_color_set(
@@ -542,25 +542,25 @@ char *setting_customize_text(
 {
        /*SETTING_TRACE_BEGIN; */
        retv_if(isEmptyStr(input_str), NULL);
-       char speciliztion[MAX_SPECIALIZITION_LEN] = { 0, };
+       char specialization[MAX_SPECIALIZATION_LEN] = { 0, };
        /*<font_size=%d><align=middle><color=#9C9C9C>bbb</color></align>
         * </font_size> */
        if (font_size > 0) {
-               snprintf(speciliztion, sizeof(speciliztion),
+               snprintf(specialization, sizeof(specialization),
                                 "<font_size=%d>", font_size);
        }
 
        if (align) {
-               g_strlcat(speciliztion, "<align=", MAX_SPECIALIZITION_LEN);
-               g_strlcat(speciliztion, align, MAX_SPECIALIZITION_LEN);
-               g_strlcat(speciliztion, ">", MAX_SPECIALIZITION_LEN);
+               g_strlcat(specialization, "<align=", MAX_SPECIALIZATION_LEN);
+               g_strlcat(specialization, align, MAX_SPECIALIZATION_LEN);
+               g_strlcat(specialization, ">", MAX_SPECIALIZATION_LEN);
        }
 
        if (color) {
-               char input_str1[MAX_SPECIALIZITION_LEN] = { 0, };
-               safeCopyStr(input_str1, input_str, MAX_SPECIALIZITION_LEN - 1);
+               char input_str1[MAX_SPECIALIZATION_LEN] = { 0, };
+               safeCopyStr(input_str1, input_str, MAX_SPECIALIZATION_LEN - 1);
                char *p = strstr(input_str1, "<color=");
-               /*already has customed color,to replace color sub_string */
+               /*already has customized color,to replace color sub_string */
                if (p) {
                        p += strlen("<color=");
                        char *q = (char *)color;
@@ -570,45 +570,45 @@ char *setting_customize_text(
                                q++;
                        }
                        if ('>' != p[0]) { /*invalid format */
-                               g_strlcat(speciliztion, "<color=",
-                                               MAX_SPECIALIZITION_LEN);
-                               g_strlcat(speciliztion, color,
-                                               MAX_SPECIALIZITION_LEN);
-                               g_strlcat(speciliztion, ">",
-                                               MAX_SPECIALIZITION_LEN);
-                               g_strlcat(speciliztion, input_str,
-                                               MAX_SPECIALIZITION_LEN);
-                               g_strlcat(speciliztion, "</color>",
-                                               MAX_SPECIALIZITION_LEN);
+                               g_strlcat(specialization, "<color=",
+                                               MAX_SPECIALIZATION_LEN);
+                               g_strlcat(specialization, color,
+                                               MAX_SPECIALIZATION_LEN);
+                               g_strlcat(specialization, ">",
+                                               MAX_SPECIALIZATION_LEN);
+                               g_strlcat(specialization, input_str,
+                                               MAX_SPECIALIZATION_LEN);
+                               g_strlcat(specialization, "</color>",
+                                               MAX_SPECIALIZATION_LEN);
                        } else
-                               g_strlcat(speciliztion, input_str1,
-                                               MAX_SPECIALIZITION_LEN);
+                               g_strlcat(specialization, input_str1,
+                                               MAX_SPECIALIZATION_LEN);
                } else {
-                       g_strlcat(speciliztion, "<color=",
-                                       MAX_SPECIALIZITION_LEN);
-                       g_strlcat(speciliztion, color,
-                                       MAX_SPECIALIZITION_LEN);
-                       g_strlcat(speciliztion, ">",
-                                       MAX_SPECIALIZITION_LEN);
-                       g_strlcat(speciliztion, input_str,
-                                       MAX_SPECIALIZITION_LEN);
-                       g_strlcat(speciliztion, "</color>",
-                                       MAX_SPECIALIZITION_LEN);
+                       g_strlcat(specialization, "<color=",
+                                       MAX_SPECIALIZATION_LEN);
+                       g_strlcat(specialization, color,
+                                       MAX_SPECIALIZATION_LEN);
+                       g_strlcat(specialization, ">",
+                                       MAX_SPECIALIZATION_LEN);
+                       g_strlcat(specialization, input_str,
+                                       MAX_SPECIALIZATION_LEN);
+                       g_strlcat(specialization, "</color>",
+                                       MAX_SPECIALIZATION_LEN);
                }
        } else {
-               g_strlcat(speciliztion, input_str,
-                               MAX_SPECIALIZITION_LEN);
+               g_strlcat(specialization, input_str,
+                               MAX_SPECIALIZATION_LEN);
        }
        if (align) {
-               g_strlcat(speciliztion, "</align>",
-                               MAX_SPECIALIZITION_LEN);
+               g_strlcat(specialization, "</align>",
+                               MAX_SPECIALIZATION_LEN);
        }
        if (font_size > 0) {
-               g_strlcat(speciliztion, "</font_size>",
-                               MAX_SPECIALIZITION_LEN);
+               g_strlcat(specialization, "</font_size>",
+                               MAX_SPECIALIZATION_LEN);
        }
 
-       return strdup(speciliztion);;
+       return strdup(specialization);;
 }
 
 EXPORT_PUBLIC void setting_conformant_keypad_state(
@@ -655,7 +655,7 @@ setting_add_gl_help(Evas_Object *scroller, const char *str)
                                &itc_multiline_text,
                                NULL,
                                NULL,
-                               SWALLOW_Type_LAYOUT_SPECIALIZTION_X,
+                               SWALLOW_Type_LAYOUT_SPECIALIZATION_X,
                                NULL,
                                NULL,
                                0,
index 3a83847d3fa9f0d27feb9af81eeb747070a4d98f..7e5cc1fb56c85635f4c791004ed0be1dfab1201b 100755 (executable)
@@ -69,7 +69,7 @@ EXPORT_PUBLIC int setting_view_node_table_intialize()
 }
 
 /**
- * @brief Register a node for a viwe and its top view
+ * @brief Register a node for a view and its top view
  *
  * @param view The current view
  * @param view The top view of current view
@@ -137,7 +137,7 @@ int setting_view_create(setting_view *view, void *cb)
 {
        LAUNCH_SETTING_IN();
        /* error check */
-       setting_retvm_if(!view, SETTING_GENERAL_ERR_NULL_DATA_PARAMETER, "Invalid arguement");
+       setting_retvm_if(!view, SETTING_GENERAL_ERR_NULL_DATA_PARAMETER, "Invalid argument");
 
        int ret = SETTING_RETURN_FAIL;
 
@@ -164,7 +164,7 @@ EXPORT_PUBLIC int setting_view_destroy(setting_view *view, void *cb)
 {
        /* error check */
        setting_retvm_if(!view || !cb, SETTING_GENERAL_ERR_NULL_DATA_PARAMETER,
-                       "Invalid arguement");
+                       "Invalid argument");
 
        int ret = SETTING_RETURN_FAIL;
 
@@ -187,7 +187,7 @@ EXPORT_PUBLIC int setting_view_update(setting_view *view, void *cb)
 {
        /* error check */
        setting_retvm_if(!view || !cb, SETTING_GENERAL_ERR_NULL_DATA_PARAMETER,
-                       "Invalid arguement");
+                       "Invalid argument");
 
        int ret = SETTING_RETURN_FAIL;
 
@@ -199,9 +199,9 @@ EXPORT_PUBLIC int setting_view_update(setting_view *view, void *cb)
 }
 
 /**
- * @brief Callback of view cleanuping
+ * @brief Callback of view to clean up
  *
- * @param view The view being cleanuped
+ * @param view The view to be cleaned up
  * @param cb The view data passed between all callbacks
  * @return #0 on success, else on failed
  * @warning the function should be invoked on the view which will be covered
@@ -211,7 +211,7 @@ int setting_view_cleanup(setting_view *view, void *cb)
 {
        /* error check */
        setting_retvm_if(!view || !cb, SETTING_GENERAL_ERR_NULL_DATA_PARAMETER,
-                       "Invalid arguement");
+                       "Invalid argument");
 
        int ret = SETTING_RETURN_FAIL;
 
@@ -237,7 +237,7 @@ int setting_view_change(setting_view *from_view, setting_view *to_view,
 {
        SETTING_TRACE_BEGIN;
        /* error check */
-       setting_retvm_if(!from_view || !to_view, SETTING_GENERAL_ERR_NULL_DATA_PARAMETER, "Invalid arguement");
+       setting_retvm_if(!from_view || !to_view, SETTING_GENERAL_ERR_NULL_DATA_PARAMETER, "Invalid argument");
 
        int ret = SETTING_RETURN_SUCCESS;
        /*from a parent view to his child view, don't need cleanup
index e6016a0b2612e23659f0f3bbbc38d3b1fa81d2d3..1126917d0ab9afc58c4812703b225fb1f9cb375d 100755 (executable)
@@ -321,7 +321,7 @@ static int storage_default_create(void *data)
        elm_genlist_item_select_mode_set(it->item, ELM_OBJECT_SELECT_MODE_NONE);
 
        it = setting_create_Gendial_field_def(genlist, &(ad->itc_full),
-                       NULL, NULL, SWALLOW_Type_LAYOUT_SPECIALIZTION_X, NULL, NULL, 0,
+                       NULL, NULL, SWALLOW_Type_LAYOUT_SPECIALIZATION_X, NULL, NULL, 0,
                        _("IDS_SM_BODY_SELECT_THE_DEFAULT_STORAGE_LOCATION_FOR_CONTENT_SHARED_VIA_BLUETOOTH_OR_WI_FI_DIRECT"),
                        NULL, NULL);
        setting_retvm_if(NULL == it, SETTING_RETURN_FAIL, "item_data is NULL");
@@ -339,7 +339,7 @@ static int storage_default_create(void *data)
        elm_genlist_item_select_mode_set(it->item, ELM_OBJECT_SELECT_MODE_NONE);
 
        it = setting_create_Gendial_field_def(genlist, &(ad->itc_full),
-                       NULL, NULL, SWALLOW_Type_LAYOUT_SPECIALIZTION_X, NULL, NULL, 0,
+                       NULL, NULL, SWALLOW_Type_LAYOUT_SPECIALIZATION_X, NULL, NULL, 0,
                        _("IDS_SM_BODY_SELECT_THE_DEFAULT_LOCATION_FOR_INSTALLING_APPS_WHERE_APPS_CAN_BE_SAVED_DEPENDS_ON_THE_TYPE_OF_APP_AND_THE_AVAILABILITY_OF_THE_LOCATION"),
                        NULL, NULL);