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

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: Move IDS_CRITICAL_NOTIFICATION_ strings to chrome/chromium files 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 19e83f29513e30c7a0f443ecdeb3645a8d83beef..64ba908bbd3e65cdd31871bf232de293119a913b 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