Index: chrome/browser/ui/profile_menu_model.cc |
=================================================================== |
--- chrome/browser/ui/profile_menu_model.cc (revision 95448) |
+++ chrome/browser/ui/profile_menu_model.cc (working copy) |
@@ -74,8 +74,11 @@ |
AddSeparator(); |
- AddItemWithStringId(ProfileMenuModel::COMMAND_CREATE_NEW_PROFILE, |
- IDS_PROFILES_CREATE_NEW_PROFILE_OPTION); |
+ const string16 short_product_name = |
+ l10n_util::GetStringUTF16(IDS_SHORT_PRODUCT_NAME); |
+ AddItem(ProfileMenuModel::COMMAND_CREATE_NEW_PROFILE, |
+ l10n_util::GetStringFUTF16(IDS_PROFILES_CREATE_NEW_PROFILE_OPTION, |
+ short_product_name)); |
} |
void SwitchProfileMenuModel::ExecuteCommand(int command_id) { |
@@ -155,8 +158,9 @@ |
if (cache.GetNumberOfProfiles() > 1) { |
switch_profiles_sub_menu_model_.reset( |
new SwitchProfileMenuModel(this, browser_)); |
- AddSubMenuWithStringId(COMMAND_SWITCH_PROFILE_MENU, IDS_PROFILES_MENU, |
- switch_profiles_sub_menu_model_.get()); |
+ AddSubMenu(COMMAND_SWITCH_PROFILE_MENU, l10n_util::GetStringFUTF16( |
+ IDS_PROFILES_MENU, short_product_name), |
+ switch_profiles_sub_menu_model_.get()); |
} else { |
switch_profiles_sub_menu_model_.reset(); |
AddItem(COMMAND_CREATE_NEW_PROFILE, l10n_util::GetStringFUTF16( |