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

Unified Diff: chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.mm

Issue 2002673003: i18n of several browser messages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address first review Created 4 years, 7 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
Index: chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.mm
diff --git a/chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.mm b/chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.mm
index 8b1f3e1d329cfe9052f4de526ec7d8f7668bed69..3e1ae265eddb7e8e0fbd6e2b67f776ebc7e1902c 100644
--- a/chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.mm
+++ b/chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.mm
@@ -942,13 +942,11 @@ NSPoint AnchorPointForWindow(NSWindow* parent) {
base::string16 thirdPartyLabelText;
for (const auto& i : cookieInfoList) {
if (i.is_first_party) {
- firstPartyLabelText =
- l10n_util::GetStringFUTF16(IDS_WEBSITE_SETTINGS_FIRST_PARTY_SITE_DATA,
- base::IntToString16(i.allowed));
+ firstPartyLabelText = l10n_util::GetPluralStringFUTF16(
+ IDS_WEBSITE_SETTINGS_FIRST_PARTY_SITE_DATA, i.allowed);
} else {
- thirdPartyLabelText =
- l10n_util::GetStringFUTF16(IDS_WEBSITE_SETTINGS_THIRD_PARTY_SITE_DATA,
- base::IntToString16(i.allowed));
+ thirdPartyLabelText = l10n_util::GetPluralStringFUTF16(
+ IDS_WEBSITE_SETTINGS_THIRD_PARTY_SITE_DATA, i.allowed);
}
}

Powered by Google App Engine
This is Rietveld 408576698