diff options
author | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-04 06:46:21 +0000 |
---|---|---|
committer | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-04 06:46:21 +0000 |
commit | d2817019145d7806d400ae70bf9fb4b5681905c8 (patch) | |
tree | 21cf799953ab964c5d089bdb519b86bae4823269 /chrome/app | |
parent | a3a63ff836382403dc681befbd1cc866e8e5c117 (diff) | |
download | chromium_src-d2817019145d7806d400ae70bf9fb4b5681905c8.zip chromium_src-d2817019145d7806d400ae70bf9fb4b5681905c8.tar.gz chromium_src-d2817019145d7806d400ae70bf9fb4b5681905c8.tar.bz2 |
Implement first cut at the extension installation prompt on Windows.
Had to move set_path() earlier in the unpack process so that we would have real paths for the resources, so that we could load and display the icon in the ui.
This exposed a problem where page actions had absolute paths and other images in extensions had relative paths. Extension::GetBrowserImages() was expecting relative paths, and it just happened to work because in both cases Extension was initialized without a path.
Modified page actions to use relative paths to be consistent with other images.
Review URL: http://codereview.chromium.org/160516
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22368 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app')
-rw-r--r-- | chrome/app/generated_resources.grd | 32 |
1 files changed, 29 insertions, 3 deletions
diff --git a/chrome/app/generated_resources.grd b/chrome/app/generated_resources.grd index d0f5856..dc83d77 100644 --- a/chrome/app/generated_resources.grd +++ b/chrome/app/generated_resources.grd @@ -2068,13 +2068,39 @@ each locale. --> The following extension has crashed : <ph name="EXTENSION_NAME">$1<ex>Buildbot Monitor</ex></ph> </message> - <!-- Extension Crashed Info Bar--> - <message name="IDS_THEME_PREVIEW_INFOBAR_LABEL" desc="Text displayed on an infobar when a theme has been installed."> + <!-- Theme preview info bar --> + <message name="IDS_THEME_INSTALL_INFOBAR_LABEL" desc="Text displayed on an infobar when a theme has been installed."> Installed theme "<ph name="THEME_NAME">$1<ex>Snowflake Theme</ex></ph>" </message> - <message name="IDS_THEME_PREVIEW_INFOBAR_UNDO_BUTTON" desc="Text displayed on the button to reject a theme preview and go back to the default theme."> + <message name="IDS_THEME_INSTALL_INFOBAR_UNDO_BUTTON" desc="Text displayed on the button to undo a theme installation and go back to the default theme."> Back to default </message> + + <!-- Extesion install prompt --> + <message name="IDS_EXTENSION_PROMPT_TITLE" desc="Titlebar of the extension installation prompt window"> + Confirm Installation + </message> + <message name="IDS_EXTENSION_PROMPT_HEADING" desc="First bold line in the content area of the extension installation prompt. Asks the user if they want to install a particular extension."> + Install "<ph name="EXTENSION_NAME">$1<ex>Gmail Checker</ex></ph>"? + </message> + <message name="IDS_EXTENSION_PROMPT_WARNING_1" desc="Humorous warning displayed in the extension install prompt that tells users that extensions have access to their computer and private data."> + Extensions have access your computer and private data. This means they could forward all your email to your spouse. + </message> + <message name="IDS_EXTENSION_PROMPT_WARNING_2" desc="Humorous warning displayed in the extension install prompt that tells users that extensions have access to their computer and private data."> + Extensions have access your computer and private data. They could send tweets or email on your behalf. + </message> + <message name="IDS_EXTENSION_PROMPT_WARNING_3" desc="Humorous warning displayed in the extension install prompt that tells users that extensions have access to their computer and private data."> + Extensions can access your computer and private data. They could post unflattering pictures to your Wall. + </message> + <message name="IDS_EXTENSION_PROMPT_WARNING_SEVERE" desc="A bolded warning below the humorous warning that reiterates that users should only install extensions they trust"> + Only install extensions you trust. + </message> + <message name="IDS_EXTENSION_PROMPT_INSTALL_BUTTON" desc="Text for the install button on the extension install prompt"> + Install + </message> + <message name="IDS_EXTENSION_PROMPT_CANCEL_BUTTON" desc="Text for the cancel button on the extension install prompt"> + Cancel + </message> <!-- Session Crashed Info Bar--> <message name="IDS_SESSION_CRASHED_VIEW_RESTORE_BUTTON" desc="Title of the restore button in the session crashed view."> |