diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2018-11-24 09:00:26 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2018-11-24 09:00:26 (GMT) |
| commit | 8653af3a2e1be81e10e15dccad4ecf4b073808b9 (patch) | |
| tree | 5e6c723ce00201e81270370a11a40f80f1bf45c5 | |
| parent | d1e9efc1de9cabf20f451a1a214fcc527cb84257 (diff) | |
| download | tcl-8653af3a2e1be81e10e15dccad4ecf4b073808b9.zip tcl-8653af3a2e1be81e10e15dccad4ecf4b073808b9.tar.gz tcl-8653af3a2e1be81e10e15dccad4ecf4b073808b9.tar.bz2 | |
comment typo's
| -rw-r--r-- | generic/tclParse.c | 6 | ||||
| -rw-r--r-- | library/msgcat/msgcat.tcl | 16 |
2 files changed, 11 insertions, 11 deletions
diff --git a/generic/tclParse.c b/generic/tclParse.c index 00b83a1..4b6c4be 100644 --- a/generic/tclParse.c +++ b/generic/tclParse.c @@ -890,7 +890,7 @@ TclParseBackslash( count += TclParseHex(p+1, (numBytes > 3) ? 2 : numBytes-2, &result); if (count == 2) { /* - * No hexadigits -> This is just "x". + * No hexdigits -> This is just "x". */ result = 'x'; @@ -905,7 +905,7 @@ TclParseBackslash( count += TclParseHex(p+1, (numBytes > 5) ? 4 : numBytes-2, &result); if (count == 2) { /* - * No hexadigits -> This is just "u". + * No hexdigits -> This is just "u". */ result = 'u'; } @@ -914,7 +914,7 @@ TclParseBackslash( count += TclParseHex(p+1, (numBytes > 9) ? 8 : numBytes-2, &result); if (count == 2) { /* - * No hexadigits -> This is just "U". + * No hexdigits -> This is just "U". */ result = 'U'; } diff --git a/library/msgcat/msgcat.tcl b/library/msgcat/msgcat.tcl index db1231c..9f7d54a 100644 --- a/library/msgcat/msgcat.tcl +++ b/library/msgcat/msgcat.tcl @@ -187,7 +187,7 @@ namespace eval msgcat::mcutil { # Find the translation for the given string based on the current # locale setting. Check the local namespace first, then look in each # parent namespace until the source is found. If additional args are -# specified, use the format command to work them into the traslated +# specified, use the format command to work them into the translated # string. # If no catalog item is found, mcunknown is called in the caller frame # and its result is returned. @@ -209,7 +209,7 @@ proc msgcat::mc {args} { # Find the translation for the given string based on the current # locale setting. Check the passed namespace first, then look in each # parent namespace until the source is found. If additional args are -# specified, use the format command to work them into the traslated +# specified, use the format command to work them into the translated # string. # If no catalog item is found, mcunknown is called in the caller frame # and its result is returned. @@ -1116,7 +1116,7 @@ proc msgcat::mcflmset {pairs} { # by an application specific routine for error reporting # purposes. The default behavior is to return the source string. # If additional args are specified, the format command will be used -# to work them into the traslated string. +# to work them into the translated string. # # Arguments: # locale The current locale. @@ -1137,9 +1137,9 @@ proc msgcat::mcunknown {args} { # - Default global handler, if mcunknown is not redefined. # - Per package handler, if the package sets unknowncmd to the empty # string. -# It returna the source string if the argument list is empty. +# It returns the source string if the argument list is empty. # If additional args are specified, the format command will be used -# to work them into the traslated string. +# to work them into the translated string. # # Arguments: # locale (unused) The current locale. @@ -1279,7 +1279,7 @@ proc msgcat::mcutil::getsystemlocale {} { # On Vista and later: # HCU/Control Panel/Desktop : PreferredUILanguages is for language packs, - # HCU/Control Pannel/International : localName is the default locale. + # HCU/Control Panel/International : localName is the default locale. # # They contain the local string as RFC5646, composed of: # [a-z]{2,3} : language @@ -1315,8 +1315,8 @@ proc msgcat::mcutil::getsystemlocale {} { } # # Keep trying to match against smaller and smaller suffixes - # of the registry value, since the latter hexadigits appear - # to determine general language and earlier hexadigits determine + # of the registry value, since the latter hexdigits appear + # to determine general language and earlier hexdigits determine # more precise information, such as territory. For example, # 0409 - English - United States # 0809 - English - United Kingdom |
