summaryrefslogtreecommitdiff
path: root/deps/icu-small/source/i18n/msgfmt.cpp
diff options
context:
space:
mode:
authorMichaƫl Zasso <targos@protonmail.com>2021-04-09 23:57:16 +0200
committergengjiawen <technicalcute@gmail.com>2021-04-14 09:07:29 +0000
commitee669a0d29e567c58633300bcd71d06879f58e87 (patch)
treeb962a7eb706f4caf967d23567f1d340e7e566da2 /deps/icu-small/source/i18n/msgfmt.cpp
parent1d21a8d140f78d4408c5375caedc917a83902a80 (diff)
downloadnode-new-ee669a0d29e567c58633300bcd71d06879f58e87.tar.gz
deps: update ICU to 69.1
Refs: https://github.com/unicode-org/icu/releases/tag/release-69-1 PR-URL: https://github.com/nodejs/node/pull/38178 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'deps/icu-small/source/i18n/msgfmt.cpp')
-rw-r--r--deps/icu-small/source/i18n/msgfmt.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/icu-small/source/i18n/msgfmt.cpp b/deps/icu-small/source/i18n/msgfmt.cpp
index 3ca368ef95..d2631776e8 100644
--- a/deps/icu-small/source/i18n/msgfmt.cpp
+++ b/deps/icu-small/source/i18n/msgfmt.cpp
@@ -1107,7 +1107,7 @@ void MessageFormat::format(int32_t msgStart, const void *plNumber,
} else if (argType == UMSGPAT_ARG_TYPE_NONE || (cachedFormatters && uhash_iget(cachedFormatters, i - 2))) {
// We arrive here if getCachedFormatter returned NULL, but there was actually an element in the hash table.
// This can only happen if the hash table contained a DummyFormat, so the if statement above is a check
- // for the hash table containind DummyFormat.
+ // for the hash table containing DummyFormat.
if (arg->isNumeric()) {
const NumberFormat* nf = getDefaultNumberFormat(success);
appendTo.formatAndAppend(nf, *arg, success);
@@ -1440,7 +1440,7 @@ MessageFormat::parse(int32_t msgStart,
argType==UMSGPAT_ARG_TYPE_NONE || (cachedFormatters && uhash_iget(cachedFormatters, i -2))) {
// We arrive here if getCachedFormatter returned NULL, but there was actually an element in the hash table.
// This can only happen if the hash table contained a DummyFormat, so the if statement above is a check
- // for the hash table containind DummyFormat.
+ // for the hash table containing DummyFormat.
// Match as a string.
// if at end, use longest possible match