Fix spelling errata
[platform/core/uifw/voice-control.git] / common / vc_json_parser.c
index 06386f4..65957db 100644 (file)
@@ -40,7 +40,7 @@ static int __vc_json_get_invocation_name(const char* appid, char** invocation_na
 
                ret = vc_config_mgr_get_default_language(&lang);
                if (0 != ret || NULL == lang) {
-                       SLOG(LOG_ERROR, vc_json_tag(), "[ERROR] Fail to get current laguage, ret(%d) lang(%s)", ret, lang);
+                       SLOG(LOG_ERROR, vc_json_tag(), "[ERROR] Fail to get current language, ret(%d) lang(%s)", ret, lang);
                        return ret;
                }
                ret = app_info_get_localed_label(appid, lang, &temp_lable);
@@ -69,12 +69,12 @@ static int __vc_json_get_invocation_name(const char* appid, char** invocation_na
 static int __vc_json_set_commands(JsonObject *root_obj, int type, char* invocation_name)
 {
        if (NULL == root_obj) {
-               SLOG(LOG_ERROR, vc_json_tag(), "[ERROR] Invalid paramget");
+               SLOG(LOG_ERROR, vc_json_tag(), "[ERROR] Invalid parameter");
                return VC_ERROR_INVALID_PARAMETER;
        }
 
        if (VC_COMMAND_TYPE_NONE > type || VC_COMMAND_TYPE_EXCLUSIVE < type) {
-               SLOG(LOG_ERROR, vc_json_tag(), "[ERROR] Invalid paramget, type(%d)", type);
+               SLOG(LOG_ERROR, vc_json_tag(), "[ERROR] Invalid parameter, type(%d)", type);
                return VC_ERROR_INVALID_PARAMETER;
        }
 
@@ -277,7 +277,7 @@ static int __vc_json_set_commands(JsonObject *root_obj, int type, char* invocati
                        }
 
                        if (0 != strncmp(cmd->appid, prev_appid, strlen(cmd->appid))) {
-                               //delete bacground commands with appid and type
+                               //delete background commands with appid and type
                                ret = vc_db_delete_commands(cmd->pid, type, cmd->appid);
                                if (VC_ERROR_NONE != ret) {
                                        SLOG(LOG_ERROR, vc_json_tag(), "[ERROR] Fail to insert command into db, ret(%d) pid(%d) type(%d), appid(%s)", ret, cmd->pid, type, cmd->appid);