| Index: chrome/browser/web_applications/web_app_mac.mm
|
| diff --git a/chrome/browser/web_applications/web_app_mac.mm b/chrome/browser/web_applications/web_app_mac.mm
|
| index dad22c57a48b1cbbcfada944128afb265ddc9fb0..30edde645c888e62ec1501c861f589b3dae87532 100644
|
| --- a/chrome/browser/web_applications/web_app_mac.mm
|
| +++ b/chrome/browser/web_applications/web_app_mac.mm
|
| @@ -242,6 +242,13 @@ base::FilePath GetLocalizableAppShortcutsSubdirName() {
|
| }
|
| }
|
|
|
| +base::string16 GetAppShortcutsSubdirName() {
|
| + chrome::VersionInfo::Channel channel = chrome::VersionInfo::GetChannel();
|
| + if (channel == chrome::VersionInfo::CHANNEL_CANARY)
|
| + return l10n_util::GetStringUTF16(IDS_APP_SHORTCUTS_SUBDIR_NAME_CANARY);
|
| + return l10n_util::GetStringUTF16(IDS_APP_SHORTCUTS_SUBDIR_NAME);
|
| +}
|
| +
|
| // Adds a localized strings file for the Chrome Apps directory using the current
|
| // locale. OSX will use this for the display name.
|
| // + Chrome Apps.localized (|apps_directory|)
|
| @@ -255,7 +262,7 @@ void UpdateAppShortcutsSubdirLocalizedName(
|
| return;
|
|
|
| base::FilePath directory_name = apps_directory.BaseName().RemoveExtension();
|
| - string16 localized_name = web_app::GetAppShortcutsSubdirName();
|
| + base::string16 localized_name = GetAppShortcutsSubdirName();
|
| NSDictionary* strings_dict = @{
|
| base::mac::FilePathToNSString(directory_name) :
|
| base::SysUTF16ToNSString(localized_name)
|
|
|