From 5ef7c3b12551ec9176fe9011337bc9426d9d1c83 Mon Sep 17 00:00:00 2001 From: "sooyeon.kim" Date: Tue, 28 Aug 2018 15:17:41 +0900 Subject: [PATCH] Fix spelling errata Change-Id: I570fcfb0e86e6859e92b1b0ee0075f4b4580bd63 Signed-off-by: sooyeon.kim --- client/tts.c | 2 +- client/tts_client.h | 2 +- client/tts_dbus.c | 2 +- client/tts_setting.c | 2 +- doc/uix_tts_doc.h | 2 +- include/tts_internal.h | 2 +- include/tts_setting.h | 4 ++-- server/ttsd_engine_agent.c | 4 ++-- test/test_main.c | 6 +++--- 9 files changed, 13 insertions(+), 13 deletions(-) diff --git a/client/tts.c b/client/tts.c index 3abdc43..ac20eb3 100644 --- a/client/tts.c +++ b/client/tts.c @@ -1804,7 +1804,7 @@ int tts_set_private_data(tts_h tts, const char* key, const char* data) SLOG(LOG_INFO, TAG_TTSC, "@@@ Set private data, key(%s), data(%s)", key, data); if (NULL == tts) { - SLOG(LOG_ERROR, TAG_TTSC, "[ERROR] Input handle isnull"); + SLOG(LOG_ERROR, TAG_TTSC, "[ERROR] Input handle is null"); return TTS_ERROR_INVALID_PARAMETER; } diff --git a/client/tts_client.h b/client/tts_client.h index fa5eaae..0db3bf9 100644 --- a/client/tts_client.h +++ b/client/tts_client.h @@ -69,7 +69,7 @@ typedef struct { bool credential_needed; bool internal; - /* repeatition */ + /* repetition */ char* text_repeat; } tts_client_s; diff --git a/client/tts_dbus.c b/client/tts_dbus.c index 5686580..73d9b2d 100644 --- a/client/tts_dbus.c +++ b/client/tts_dbus.c @@ -177,7 +177,7 @@ int tts_dbus_open_connection() DBusError err; - /* initialise the error value */ + /* initialize the error value */ dbus_error_init(&err); /* connect to the DBUS system bus, and check for errors */ diff --git a/client/tts_setting.c b/client/tts_setting.c index 52d6a19..fa1b90a 100644 --- a/client/tts_setting.c +++ b/client/tts_setting.c @@ -70,7 +70,7 @@ static int __setting_convert_config_error_code(tts_config_error_e code) void __setting_config_engine_changed_cb(const char* engine_id, const char* setting, const char* language, int voice_type, bool auto_voice, bool need_credential, void* user_data) { - SLOG(LOG_DEBUG, TAG_TTSC, "Engine chagned : engine(%s) setting(%s) lang(%s) type(%d)", + SLOG(LOG_DEBUG, TAG_TTSC, "Engine changed : engine(%s) setting(%s) lang(%s) type(%d)", engine_id, setting, language, voice_type); if (NULL != g_engine_changed_cb) diff --git a/doc/uix_tts_doc.h b/doc/uix_tts_doc.h index 17e3837..8a66ee9 100644 --- a/doc/uix_tts_doc.h +++ b/doc/uix_tts_doc.h @@ -40,7 +40,7 @@ * 8. Stop the player
* 9. Destroy a handle
* The TTS API also notifies you (by callback mechanism) when the state of TTS is changed, - * utterance is started and completed, default voice is changed or an error occured. + * utterance is started and completed, default voice is changed or an error occurred. * An application should register callback functions: tts_state_changed_cb(), tts_utterance_started_cb(), * tts_utterance_completed_cb(), tts_default_voice_changed_cb(), tts_error_cb(), tts_engine_changed_cb(). * diff --git a/include/tts_internal.h b/include/tts_internal.h index 88babea..2060b4a 100644 --- a/include/tts_internal.h +++ b/include/tts_internal.h @@ -35,7 +35,7 @@ extern "C" /** * @brief Sets server tts. * @details Using this API, the application can ask server tts with a credential. - * The credential is a key to verify the authorization about using the engine based on server, not embeded engine. + * The credential is a key to verify the authorization about using the engine based on server, not embedded engine. * If the application sets the credential, it will be able to use functions of the server engine entirely. * @since_tizen @if MOBILE 3.0 * diff --git a/include/tts_setting.h b/include/tts_setting.h index 34d4a32..cada3e7 100644 --- a/include/tts_setting.h +++ b/include/tts_setting.h @@ -322,7 +322,7 @@ int tts_setting_set_auto_voice(bool value); /** * @brief Gets the speed range. * -* @param[out] min The minimun speed value +* @param[out] min The minimum speed value * @param[out] normal The normal speed value * @param[out] max The maximum speed value * @@ -374,7 +374,7 @@ int tts_setting_set_speed(int speed); /** * @brief Gets the pitch range. * -* @param[out] min The minimun pitch value +* @param[out] min The minimum pitch value * @param[out] normal The normal pitch value * @param[out] max The maximum pitch value * diff --git a/server/ttsd_engine_agent.c b/server/ttsd_engine_agent.c index 2f87c11..5b16adb 100644 --- a/server/ttsd_engine_agent.c +++ b/server/ttsd_engine_agent.c @@ -833,7 +833,7 @@ int ttsd_engine_load_voice(const char* lang, const int vctype) return TTSD_ERROR_OPERATION_FAILED; } - /* 2. increse ref count */ + /* 2. increase ref count */ data->client_ref_count++; /* 3. if ref count change 0 to 1 and not default, load voice */ @@ -907,7 +907,7 @@ int ttsd_engine_unload_voice(const char* lang, const int vctype) return TTSD_ERROR_OPERATION_FAILED; } - /* 2. Decrese ref count */ + /* 2. Decrease ref count */ data->client_ref_count--; /* 3. if ref count change 0 and not default, load voice */ diff --git a/test/test_main.c b/test/test_main.c index 1bcb001..1d39556 100755 --- a/test/test_main.c +++ b/test/test_main.c @@ -156,7 +156,7 @@ Eina_Bool __tts_test_destroy(void *data) SLOG(LOG_ERROR, tts_tag(), "Fail to unprepare"); } - SLOG(LOG_ERROR, tts_tag(), "Destory tts client"); + SLOG(LOG_ERROR, tts_tag(), "Destroy tts client"); ret = tts_destroy(g_tts); if (TTS_ERROR_NONE != ret) { SLOG(LOG_ERROR, tts_tag(), "Fail to destroy"); @@ -212,7 +212,7 @@ int main(int argc, char *argv[]) SLOG(LOG_DEBUG, tts_tag(), " TTS test usage"); SLOG(LOG_DEBUG, tts_tag(), " =========================================="); SLOG(LOG_DEBUG, tts_tag(), " -t : Synthesize text"); - SLOG(LOG_DEBUG, tts_tag(), " -l : Determine langage to synthesize text, ex) en_US, ko_KR ..."); + SLOG(LOG_DEBUG, tts_tag(), " -l : Determine language to synthesize text, ex) en_US, ko_KR ..."); SLOG(LOG_DEBUG, tts_tag(), " -f : Determine file path which include text"); SLOG(LOG_DEBUG, tts_tag(), " ***************************************************"); SLOG(LOG_DEBUG, tts_tag(), " Example : #tts-test -l en_US -t \"1 2 3 4\" "); @@ -220,7 +220,7 @@ int main(int argc, char *argv[]) return 0; } - /* check langage option */ + /* check language option */ if (!strcmp("-l", argv[n])) { lang = TTS_STRDUP(argv[n+1]); SLOG(LOG_ERROR, tts_tag(), "Language : %s", lang); -- 2.7.4