From eb4721a6b410e1f8c78608801c3dd4aea845f60e Mon Sep 17 00:00:00 2001 From: Hyunjee Kim Date: Thu, 24 Jan 2019 10:37:17 +0900 Subject: [PATCH] Fix typo in TizenDocs Change-Id: I7478b287b3825f6be1b55fa910841e7f10f48bb0 Signed-off-by: Hyunjee Kim --- src/include/utils_i18n_format.h | 2 +- src/include/utils_i18n_types.h | 4 ++-- src/include/utils_i18n_ubidi.h | 2 +- src/include/utils_i18n_ubrk.h | 2 +- src/include/utils_i18n_uchar.h | 14 +++++++------- src/include/utils_i18n_ucollator.h | 2 +- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/include/utils_i18n_format.h b/src/include/utils_i18n_format.h index d4e27af..92c6387 100644 --- a/src/include/utils_i18n_format.h +++ b/src/include/utils_i18n_format.h @@ -186,7 +186,7 @@ int i18n_format_get_locale(i18n_format_h format, * * @param[in] format The format object * @param[in] type The type of the locale we're looking for (valid or actual) - * @param[out] locale_id The locale indentifier + * @param[out] locale_id The locale identifier * * @return @c 0 on success, otherwise a negative error value * @retval #I18N_ERROR_NONE Successful diff --git a/src/include/utils_i18n_types.h b/src/include/utils_i18n_types.h index 9b25e20..150fa74 100644 --- a/src/include/utils_i18n_types.h +++ b/src/include/utils_i18n_types.h @@ -969,7 +969,7 @@ typedef enum { I18N_UCHAR_UBLOCK_BHAIKSUKI = 264, /**< Bhaiksuki (Since 4.0) */ I18N_UCHAR_UBLOCK_CYRILLIC_EXTENDED_C = 265, /**< Cyrillic Extended C (Since 4.0) */ I18N_UCHAR_UBLOCK_GLAGOLITIC_SUPPLEMENT = 266, /**< Glagolitic Supplement (Since 4.0) */ - I18N_UCHAR_UBLOCK_IDEOGRAPHIC_SYMBOLS_AND_PUNCTUATION = 267, /**< Ideographic Symbols And Punctation (Since 4.0) */ + I18N_UCHAR_UBLOCK_IDEOGRAPHIC_SYMBOLS_AND_PUNCTUATION = 267, /**< Ideographic Symbols And Punctuation (Since 4.0) */ I18N_UCHAR_UBLOCK_MARCHEN = 268, /**< Marchen (Since 4.0) */ I18N_UCHAR_UBLOCK_MONGOLIAN_SUPPLEMENT = 269, /**< Mongolian Supplement (Since 4.0) */ I18N_UCHAR_UBLOCK_NEWA = 270, /**< Newa (Since 4.0) */ @@ -2325,7 +2325,7 @@ typedef void *i18n_unumber_format_h; * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif */ typedef struct { - int32_t line; /**< The line on which the error occured. */ + int32_t line; /**< The line on which the error occurred. */ int32_t offset; /**< The character offset to the error */ i18n_uchar preContext[I18N_U_PARSE_CONTEXT_LEN]; /**< Textual context before the error */ i18n_uchar postContext[I18N_U_PARSE_CONTEXT_LEN]; /**< The error itself and/or textual context after the error */ diff --git a/src/include/utils_i18n_ubidi.h b/src/include/utils_i18n_ubidi.h index d61bfd5..a8968a1 100644 --- a/src/include/utils_i18n_ubidi.h +++ b/src/include/utils_i18n_ubidi.h @@ -1009,7 +1009,7 @@ int i18n_ubidi_set_line(const i18n_ubidi_h para_bidi, int32_t start, int32_t lim /** * @brief Performs the Unicode bidi algorithm. - * @details It is defined in the Unicode Standard Anned #9, version 13, also described in The + * @details It is defined in the Unicode Standard Annex #9, version 13, also described in The * Unicode Standard, Version 4.0 . * * This function takes a piece of plain text containing one or more paragraphs, with or diff --git a/src/include/utils_i18n_ubrk.h b/src/include/utils_i18n_ubrk.h index d1d1569..e7e75f5 100644 --- a/src/include/utils_i18n_ubrk.h +++ b/src/include/utils_i18n_ubrk.h @@ -263,7 +263,7 @@ const char *i18n_ubrk_get_available(int32_t index); int32_t i18n_ubrk_count_available(void); /** - * @brief Returns true if the specfied position is a boundary position. + * @brief Returns true if the specified position is a boundary position. * @details As a side effect, leaves the iterator pointing to the first boundary position at * or after @c offset. * @remarks The specific error code can be obtained using the get_last_result() method. Error codes are diff --git a/src/include/utils_i18n_uchar.h b/src/include/utils_i18n_uchar.h index 748d588..bf66f94 100644 --- a/src/include/utils_i18n_uchar.h +++ b/src/include/utils_i18n_uchar.h @@ -54,7 +54,7 @@ extern "C" { code_point = 0x73; // 's' ret = i18n_uchar_get_int_property_value(code_point, I18N_UCHAR_EAST_ASIAN_WIDTH, &property_value); if (ret != I18N_ERROR_NONE) { - dlog_print(DLOG_INFO, LOG_TAG, "Error occured!!\n"); + dlog_print(DLOG_INFO, LOG_TAG, "Error occurred!!\n"); } else { east_asian_width = (i18n_uchar_u_east_asian_width_e)property_value; dlog_print(DLOG_INFO, LOG_TAG, "East Asian Width Type for ( %.4x ) is ( %d )\n", code_point, east_asian_width); @@ -64,7 +64,7 @@ extern "C" { // How to get the block code for 's' ret = i18n_uchar_get_ublock_code(code_point, &block_code); if (ret != I18N_ERROR_NONE) { - dlog_print(DLOG_INFO, LOG_TAG, "Error occured!!\n"); + dlog_print(DLOG_INFO, LOG_TAG, "Error occurred!!\n"); } else { dlog_print(DLOG_INFO, LOG_TAG, "block name for ( %.4x ) is ( %d )\n", code_point, block_code); // block code for ( 0073 ) is ( 1 ) which is I18N_UCHAR_UBLOCK_BASIC_LATIN @@ -74,7 +74,7 @@ extern "C" { code_point = 0x661F; // 'sung' as ideographs ret = i18n_uchar_get_int_property_value(code_point, I18N_UCHAR_EAST_ASIAN_WIDTH, &property_value); if (ret != I18N_ERROR_NONE) { - dlog_print(DLOG_INFO, LOG_TAG, "Error occured!!\n"); + dlog_print(DLOG_INFO, LOG_TAG, "Error occurred!!\n"); } else { east_asian_width = (i18n_uchar_u_east_asian_width_e)property_value; dlog_print(DLOG_INFO, LOG_TAG, "East Asian Width Type for ( %.4x ) is ( %d )\n", code_point, east_asian_width); @@ -84,7 +84,7 @@ extern "C" { // How to get the block code for 'sung' as ideographs ret = i18n_uchar_get_ublock_code(code_point, &block_code); if (ret != I18N_ERROR_NONE) { - dlog_print(DLOG_INFO, LOG_TAG, "Error occured!!\n"); + dlog_print(DLOG_INFO, LOG_TAG, "Error occurred!!\n"); } else { dlog_print(DLOG_INFO, LOG_TAG, "block name for ( %.4x ) is ( %d )\n", code_point, block_code); // block code for ( 661f ) is ( 71 ) which is I18N_UCHAR_UBLOCK_CJK_UNIFIED_IDEOGRAPHS @@ -94,7 +94,7 @@ extern "C" { code_point = 0xC131; // 'sung' as hangul ret = i18n_uchar_get_int_property_value(code_point, I18N_UCHAR_EAST_ASIAN_WIDTH, &property_value); if (ret != I18N_ERROR_NONE) { - dlog_print(DLOG_INFO, LOG_TAG, "Error occured!!\n"); + dlog_print(DLOG_INFO, LOG_TAG, "Error occurred!!\n"); } else { east_asian_width = (i18n_uchar_u_east_asian_width_e)property_value; dlog_print(DLOG_INFO, LOG_TAG, "East Asian Width Type for ( %.4x ) is ( %d )\n", code_point, east_asian_width); @@ -104,7 +104,7 @@ extern "C" { // How to get the block code for 'sung' as hangul ret = i18n_uchar_get_ublock_code(code_point, &block_code); if (ret != I18N_ERROR_NONE) { - dlog_print(DLOG_INFO, LOG_TAG, "Error occured!!\n"); + dlog_print(DLOG_INFO, LOG_TAG, "Error occurred!!\n"); } else { dlog_print(DLOG_INFO, LOG_TAG, "block name for ( %.4x ) is ( %d )\n", code_point, block_code); // block code for ( c131 ) is ( 74 ) which is I18N_UCHAR_UBLOCK_HANGUL_SYLLABLES @@ -1228,7 +1228,7 @@ int i18n_uchar_to_lower(i18n_uchar32 c, i18n_uchar32 *lower); * @param[in] c The code point to be mapped * @param[out] upper The #I18N_UCHAR_SIMPLE_UPPERCASE_MAPPING of the code point, if any; - * therwise the code point itself. + * otherwise the code point itself. * * @return @c 0 on success, otherwise a negative error value * @retval #I18N_ERROR_NONE Successful diff --git a/src/include/utils_i18n_ucollator.h b/src/include/utils_i18n_ucollator.h index 67b4ad9..c33695a 100644 --- a/src/include/utils_i18n_ucollator.h +++ b/src/include/utils_i18n_ucollator.h @@ -173,7 +173,7 @@ int i18n_ucollator_create(const char *locale, i18n_ucollator_h *collator); * #I18N_UCOLLATOR_TERTIARY\n, * #I18N_UCOLLATOR_IDENTICAL\n, * #I18N_UCOLLATOR_DEFAULT_STRENGTH - can be also set in the rules\n - * @param[out] parse_error A pointer to #i18n_uparse_error_s to recieve information about errors + * @param[out] parse_error A pointer to #i18n_uparse_error_s to receive information about errors * occurred during parsing. This argument can currently be set to @c NULL, * but at users own risk. Please provide a real structure. * @param[out] collator A pointer to a #i18n_ucollator_h. It is not guaranteed that @c NULL be returned -- 2.7.4