Index: ui/base/l10n/formatter.h |
diff --git a/ui/base/l10n/formatter.h b/ui/base/l10n/formatter.h |
index de1aa4a79fe84b3a379826afd1aa90bdf90680a6..b5c7dc2c0b7b03e2363b72cacace0a702c96a19e 100644 |
--- a/ui/base/l10n/formatter.h |
+++ b/ui/base/l10n/formatter.h |
@@ -12,7 +12,7 @@ |
#include "base/lazy_instance.h" |
#include "base/memory/scoped_ptr.h" |
#include "third_party/icu/source/common/unicode/unistr.h" |
-#include "third_party/icu/source/i18n/unicode/plurfmt.h" |
+#include "third_party/icu/source/i18n/unicode/msgfmt.h" |
#include "third_party/icu/source/i18n/unicode/plurrule.h" |
#include "ui/base/l10n/time_format.h" |
#include "ui/base/ui_base_export.h" |
@@ -64,16 +64,16 @@ class Formatter { |
icu::UnicodeString& formatted_string) const; |
private: |
- // Create a hard-coded fallback plural format. This will never be called |
- // unless translators make a mistake. |
- scoped_ptr<icu::PluralFormat> CreateFallbackFormat( |
+ // Create a hard-coded fallback message format for plural formatting. |
+ // This will never be called unless translators make a mistake. |
+ scoped_ptr<icu::MessageFormat> CreateFallbackFormat( |
const icu::PluralRules& rules, |
const Pluralities& pluralities) const; |
- scoped_ptr<icu::PluralFormat> InitFormat(const Pluralities& pluralities); |
+ scoped_ptr<icu::MessageFormat> InitFormat(const Pluralities& pluralities); |
- scoped_ptr<icu::PluralFormat> simple_format_[UNIT_COUNT]; |
- scoped_ptr<icu::PluralFormat> detailed_format_[TWO_UNITS_COUNT][2]; |
+ scoped_ptr<icu::MessageFormat> simple_format_[UNIT_COUNT]; |
+ scoped_ptr<icu::MessageFormat> detailed_format_[TWO_UNITS_COUNT][2]; |
DISALLOW_IMPLICIT_CONSTRUCTORS(Formatter); |
}; |