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

Unified Diff: chrome/browser/ui/cocoa/bookmarks/bookmark_menu_bridge.mm

Issue 7619007: [Mac] Call GetNSStringWithFixup() instead of just GetNSString() for bookmark menu items. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/bookmarks/bookmark_menu_bridge.mm
diff --git a/chrome/browser/ui/cocoa/bookmarks/bookmark_menu_bridge.mm b/chrome/browser/ui/cocoa/bookmarks/bookmark_menu_bridge.mm
index ea7b9a66af0684e8bfbb867cea2257eb9a60afab..3b1ddd1697d43d1c444c97e9ac8384054e1fe26c 100644
--- a/chrome/browser/ui/cocoa/bookmarks/bookmark_menu_bridge.mm
+++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_menu_bridge.mm
@@ -275,7 +275,7 @@ void BookmarkMenuBridge::AddItemToMenu(int command_id,
const BookmarkNode* node,
NSMenu* menu,
bool enabled) {
- NSString* title = l10n_util::GetNSString(message_id);
+ NSString* title = l10n_util::GetNSStringWithFixup(message_id);
SEL action;
if (!enabled) {
// A nil action makes a menu item appear disabled. NSMenuItem setEnabled
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698