summaryrefslogtreecommitdiffstats
path: root/chrome/installer/util
diff options
context:
space:
mode:
authorrobertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-16 16:58:34 +0000
committerrobertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-16 16:58:34 +0000
commit0deeafa87a239f5ec502248c7e680109e1cbd9ad (patch)
treed268a2b0b64d645c9155dbd38b1f4765c990c5f9 /chrome/installer/util
parentab9eabac05d203dcf424a8f1af646511ea3b305a (diff)
downloadchromium_src-0deeafa87a239f5ec502248c7e680109e1cbd9ad.zip
chromium_src-0deeafa87a239f5ec502248c7e680109e1cbd9ad.tar.gz
chromium_src-0deeafa87a239f5ec502248c7e680109e1cbd9ad.tar.bz2
Add the Chrome Frame product name to the localized .grd files.
BUG=24305 Review URL: http://codereview.chromium.org/996005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41735 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer/util')
-rw-r--r--chrome/installer/util/chrome_frame_distribution.cc11
-rwxr-xr-xchrome/installer/util/prebuild/create_string_rc.py1
2 files changed, 7 insertions, 5 deletions
diff --git a/chrome/installer/util/chrome_frame_distribution.cc b/chrome/installer/util/chrome_frame_distribution.cc
index a394a3c..0c8d960 100644
--- a/chrome/installer/util/chrome_frame_distribution.cc
+++ b/chrome/installer/util/chrome_frame_distribution.cc
@@ -29,17 +29,18 @@ std::wstring ChromeFrameDistribution::GetAppGuid() {
}
std::wstring ChromeFrameDistribution::GetApplicationName() {
- // TODO(robertshield): localize
- return L"Google Chrome Frame";
+ const std::wstring& product_name =
+ installer_util::GetLocalizedString(IDS_PRODUCT_FRAME_NAME_BASE);
+ return product_name;
}
std::wstring ChromeFrameDistribution::GetAlternateApplicationName() {
- // TODO(robertshield): localize
- return L"Chromium technology in your existing browser";
+ const std::wstring& product_name =
+ installer_util::GetLocalizedString(IDS_PRODUCT_FRAME_NAME_BASE);
+ return product_name;
}
std::wstring ChromeFrameDistribution::GetInstallSubDir() {
- // TODO(robertshield): localize
return L"Google\\Chrome Frame";
}
diff --git a/chrome/installer/util/prebuild/create_string_rc.py b/chrome/installer/util/prebuild/create_string_rc.py
index 38c0a3e..4c575f5 100755
--- a/chrome/installer/util/prebuild/create_string_rc.py
+++ b/chrome/installer/util/prebuild/create_string_rc.py
@@ -44,6 +44,7 @@ kStringIds = [
'IDS_PRODUCT_NAME',
'IDS_SXS_SHORTCUT_NAME',
'IDS_PRODUCT_DESCRIPTION',
+ 'IDS_PRODUCT_FRAME_NAME',
'IDS_UNINSTALL_CHROME',
'IDS_ABOUT_VERSION_COMPANY_NAME',
'IDS_INSTALL_HIGHER_VERSION',