Index: ui/base/l10n/l10n_util.h |
diff --git a/ui/base/l10n/l10n_util.h b/ui/base/l10n/l10n_util.h |
index c957c3ea2650908e5327648719ac1454adf3b69a..505ebd3a41fdf3f6a8cd1a1c3a70106f3a78e93e 100644 |
--- a/ui/base/l10n/l10n_util.h |
+++ b/ui/base/l10n/l10n_util.h |
@@ -162,15 +162,12 @@ UI_BASE_EXPORT base::string16 GetStringFUTF16(int message_id, |
UI_BASE_EXPORT base::string16 GetStringFUTF16Int(int message_id, int a); |
base::string16 GetStringFUTF16Int(int message_id, int64 a); |
-// Get a resource string using |number| to decide which of |message_ids| should |
-// be used. |message_ids| must be size 6 and in order: default, singular, zero, |
-// two, few, many. |
-UI_BASE_EXPORT base::string16 GetPluralStringFUTF16( |
- const std::vector<int>& message_ids, |
- int number); |
-UI_BASE_EXPORT std::string GetPluralStringFUTF8( |
- const std::vector<int>& message_ids, |
- int number); |
+// Get a resource string using |number| with a locale-specific plural rule. |
+// |message_id| points to a message in the ICU syntax. |
+// See http://userguide.icu-project.org/formatparse/messages and |
+// go/plurals (Google internal). |
+UI_BASE_EXPORT base::string16 GetPluralStringFUTF16(int message_id, int number); |
+UI_BASE_EXPORT std::string GetPluralStringFUTF8(int message_id, int number); |
// In place sorting of base::string16 strings using collation rules for |
// |locale|. |