summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-30 19:06:54 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-30 19:06:54 +0000
commitbe1945b715a2aec47bce0e28a78b45348612d072 (patch)
tree0d5a0981904376d021c6ee892ca3f9c6ab2fec41
parenta7fce62c5a1fc69515ce4d7b513df411bd611d51 (diff)
downloadchromium_src-be1945b715a2aec47bce0e28a78b45348612d072.zip
chromium_src-be1945b715a2aec47bce0e28a78b45348612d072.tar.gz
chromium_src-be1945b715a2aec47bce0e28a78b45348612d072.tar.bz2
Fixing the description of printing related string translation.
BUG=17913 TEST=None Review URL: http://codereview.chromium.org/159574 Patch from Thiago Farina <thiago.farina@gmail.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22078 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/app/generated_resources.grd4
-rw-r--r--chrome/renderer/print_web_view_helper.cc2
2 files changed, 3 insertions, 3 deletions
diff --git a/chrome/app/generated_resources.grd b/chrome/app/generated_resources.grd
index 9533207..3f4e9510 100644
--- a/chrome/app/generated_resources.grd
+++ b/chrome/app/generated_resources.grd
@@ -2505,8 +2505,8 @@ each locale. -->
<message name="IDS_DEFAULT_PRINT_DOCUMENT_TITLE" desc="Default title for a print document">
Untitled Document
</message>
- <message name="IDS_DEFAULT_PRINTER_NOT_FOUND_WARNING_TITLE" desc="Title of the warning dialog when no when no printer is available">
- No printer found, Please install a printer.
+ <message name="IDS_DEFAULT_PRINTER_NOT_FOUND_WARNING" desc="The message of the warning dialog when no printer is available">
+ No printer found. Please install a printer.
</message>
<message name="IDS_PRINT_SPOOL_FAILED_ERROR_TEXT" desc="Text in a messagebox when printing fails because of printer issues.">
Something went wrong when trying to print. Please check your printer and try again.
diff --git a/chrome/renderer/print_web_view_helper.cc b/chrome/renderer/print_web_view_helper.cc
index 115fc12..1e9a0fe 100644
--- a/chrome/renderer/print_web_view_helper.cc
+++ b/chrome/renderer/print_web_view_helper.cc
@@ -140,7 +140,7 @@ void PrintWebViewHelper::Print(WebFrame* frame, bool script_initiated) {
if (default_settings.IsEmpty()) {
// TODO: Create an async alert (http://crbug.com/14918).
render_view_->RunJavaScriptAlert(frame,
- l10n_util::GetString(IDS_DEFAULT_PRINTER_NOT_FOUND_WARNING_TITLE));
+ l10n_util::GetString(IDS_DEFAULT_PRINTER_NOT_FOUND_WARNING));
return;
}