summaryrefslogtreecommitdiffstats
path: root/chrome/app
diff options
context:
space:
mode:
authorkaznacheev@chromium.org <kaznacheev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-31 14:15:17 +0000
committerkaznacheev@chromium.org <kaznacheev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-31 14:15:17 +0000
commit82b994f1239327fd7b51fc9b288d6040e0456052 (patch)
tree2be9143d2c19e0735357d51e739c8d4c888ea158 /chrome/app
parent2e5901f51a60a3a356620da8389b56f8a5b3f4e9 (diff)
downloadchromium_src-82b994f1239327fd7b51fc9b288d6040e0456052.zip
chromium_src-82b994f1239327fd7b51fc9b288d6040e0456052.tar.gz
chromium_src-82b994f1239327fd7b51fc9b288d6040e0456052.tar.bz2
[File Manager] Better message when trying to open unsupported files
We used to show different messages when opening unsupported files from the Files app and from the Downloads page. I made them more similar, although the one displayed from C++ does not have links because the standard warning dialog does not support HTML. BUG=139523 Review URL: https://chromiumcodereview.appspot.com/10828092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149179 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app')
-rw-r--r--chrome/app/generated_resources.grd7
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome/app/generated_resources.grd b/chrome/app/generated_resources.grd
index 3b19f7d..550118f 100644
--- a/chrome/app/generated_resources.grd
+++ b/chrome/app/generated_resources.grd
@@ -11322,7 +11322,8 @@ Some features may be unavailable. Please check that the profile exists and you
Dismiss
</message>
<message name="IDS_FILE_BROWSER_NO_ACTION_FOR_FILE" desc="Message shown when user tries to open file, which we can't handle.">
- To view this file, convert it to a format that's viewable on the web. <ph name="BEGIN_LINK">&lt;a target='_blank' href='$1'&gt;<ex>&lt;a target='_blank' href='$1'&gt;</ex></ph>Learn More<ph name="END_LINK">&lt;/a&gt;<ex>&lt;/a&gt;</ex></ph>
+ This file type is not supported. Please visit the <ph name="BEGIN_LINK">&lt;a target='_blank' href='$1'&gt;<ex>&lt;a target='_blank' href='$1'&gt;</ex></ph>Chrome Web Store<ph name="END_LINK">&lt;/a&gt;<ex>&lt;/a&gt;</ex></ph> to find an app that can open this type of file.
+ <ph name="BEGIN_LINK">&lt;a target='_blank' href='$2'&gt;<ex>&lt;a target='_blank' href='$2'&gt;</ex></ph>Learn More<ph name="END_LINK">&lt;/a&gt;<ex>&lt;/a&gt;</ex></ph>
</message>
<message name="IDS_FILE_BROWSER_ID3_ALBUM" desc="Album">
Album
@@ -11471,8 +11472,8 @@ Some features may be unavailable. Please check that the profile exists and you
<message name="IDS_FILE_BROWSER_ERROR_VIEWING_FILE_TITLE" desc="Title of error message propmt when user attempts to open a non-supported file in file browser.">
<ph name="FILENAME">$1</ph>
</message>
- <message name="IDS_FILE_BROWSER_ERROR_VIEWING_FILE" desc="Error message when user attempts to open a non-supported file in file browser.">
- To view this file, convert it to a format that's viewable on the web. For example, you can upload it to Google Docs.
+ <message name="IDS_FILE_BROWSER_ERROR_VIEWING_FILE" desc="Error message when user attempts to open a non-supported file in the Files app via Downloads panel.">
+ This file type is not supported. Please visit the Chrome Web Store to find an app that can open this type of file.
</message>
<message name="IDS_FILE_BROWSER_ERROR_UNKNOWN_FILE_TYPE" desc="Error message when user attempts to open a file of unknown type in file browser.">
<ph name="FILENAME">$1</ph> - Unknown file type.