Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(263)

Unified Diff: ui/base/l10n/l10n_util_mac.mm

Issue 1107273002: Use the new ICU plural syntax to fix the strings in the hung pages dialog. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: grd descriptions Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/base/l10n/l10n_util_mac.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/l10n/l10n_util_mac.mm
diff --git a/ui/base/l10n/l10n_util_mac.mm b/ui/base/l10n/l10n_util_mac.mm
index 8d6ca70307373c8c46bbe2d44e47dc59b6480450..6f122d5d325dd2958b9d4e63006f50fa23c1f6bd 100644
--- a/ui/base/l10n/l10n_util_mac.mm
+++ b/ui/base/l10n/l10n_util_mac.mm
@@ -158,5 +158,9 @@ NSString* GetNSStringFWithFixup(int message_id,
a, b, c, d));
}
+NSString* GetPluralNSStringF(int message_id, int number) {
+ return base::SysUTF16ToNSString(l10n_util::GetPluralStringFUTF16(message_id,
+ number));
+}
} // namespace l10n_util
« no previous file with comments | « ui/base/l10n/l10n_util_mac.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698