Index: ui/base/l10n/l10n_util.h |
diff --git a/ui/base/l10n/l10n_util.h b/ui/base/l10n/l10n_util.h |
index 505ebd3a41fdf3f6a8cd1a1c3a70106f3a78e93e..3d6a6518aa21b31d26740cc45ebdb843cf1d7843 100644 |
--- a/ui/base/l10n/l10n_util.h |
+++ b/ui/base/l10n/l10n_util.h |
@@ -169,6 +169,13 @@ base::string16 GetStringFUTF16Int(int message_id, int64 a); |
UI_BASE_EXPORT base::string16 GetPluralStringFUTF16(int message_id, int number); |
UI_BASE_EXPORT std::string GetPluralStringFUTF8(int message_id, int number); |
+// Get a formatted string when you only care about |
+// 'single vs multiple' distinction. The message pointed to by |message_id| |
+// should be in ICU syntax (see the references above for Plural) with |
+// 'single', 'multiple' and 'other' (fallback). |
+UI_BASE_EXPORT base::string16 GetSingleOrMultipleStringFUTF16(int message_id, |
Reilly Grant (use Gerrit)
2015/07/30 18:10:09
I'm confused why a number of methods here are "Str
jungshik at Google
2015/07/31 21:36:15
I'm not sure what you meants by "support format ar
|
+ bool is_multiple); |
+ |
// In place sorting of base::string16 strings using collation rules for |
// |locale|. |
UI_BASE_EXPORT void SortStrings16(const std::string& locale, |