summaryrefslogtreecommitdiffstats
path: root/chrome/app
diff options
context:
space:
mode:
authordpapad@chromium.org <dpapad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-10 16:30:55 +0000
committerdpapad@chromium.org <dpapad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-10 16:30:55 +0000
commit78750dd0542424fdca642c03bbed8841f1d129e0 (patch)
tree1c2a9d2c2ddc2697cc9b1ef21b6db5e23d889ae4 /chrome/app
parent535773382e9f47db97d83bcbe34cb4b89405cfba (diff)
downloadchromium_src-78750dd0542424fdca642c03bbed8841f1d129e0.zip
chromium_src-78750dd0542424fdca642c03bbed8841f1d129e0.tar.gz
chromium_src-78750dd0542424fdca642c03bbed8841f1d129e0.tar.bz2
Print Preview: Adding more specific error message when initiator tab is closed during rendering.
The error text contains a link to the original page so that the user can easily reload the page. BUG=NONE TEST=Open a large doc in print preview and close the initial tab before the preview is generated. Click on the displayed link. Review URL: http://codereview.chromium.org/6976003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84792 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app')
-rw-r--r--chrome/app/generated_resources.grd3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/app/generated_resources.grd b/chrome/app/generated_resources.grd
index 6955a71..93e1286 100644
--- a/chrome/app/generated_resources.grd
+++ b/chrome/app/generated_resources.grd
@@ -5519,6 +5519,9 @@ Keep your key file in a safe place. You will need it to create new versions of y
<message name="IDS_PRINT_PREVIEW_FAILED" desc="Message to display when print preview fails.">
Print preview failed.
</message>
+ <message name="IDS_PRINT_PREVIEW_INITIATOR_TAB_CLOSED" desc="Message to display when print preview fails, because the user closed the tab that initiated the print preview before the preview was generated.">
+ Print preview failed because the page you are trying to print has been closed. Please click &lt;a href="<ph name="INITIATOR_TAB_URL">$1<ex>http://www.google.com</ex></ph>"&gt;here&lt;/a&gt; to reopen the page and try printing again.
+ </message>
<message name="IDS_PRINT_PREVIEW_PRINT_BUTTON" desc="Print button.">
Print
</message>