aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-08-15 14:14:31 +0000
committergerv%gerv.net <>2002-08-15 14:14:31 +0000
commit24ad858514896ad470e73abe0fa6e97a813efa4e (patch)
treecdf20ee62ed77e33e4396f6d057a129d11d3b9c5 /page.cgi
parentBug 162066 - Fix callers of ThrowCodeError to use messages in code-error.html... (diff)
downloadbugzilla-24ad858514896ad470e73abe0fa6e97a813efa4e.tar.gz
bugzilla-24ad858514896ad470e73abe0fa6e97a813efa4e.tar.bz2
bugzilla-24ad858514896ad470e73abe0fa6e97a813efa4e.zip
Bug 162216 - colchange.cgi, buglist.cgi and page.cgi messages should be l10nable. Patch by burnus; r=gerv.
Diffstat (limited to 'page.cgi')
-rwxr-xr-xpage.cgi3
1 files changed, 1 insertions, 2 deletions
diff --git a/page.cgi b/page.cgi
index eefe86065..fb53f8b47 100755
--- a/page.cgi
+++ b/page.cgi
@@ -52,8 +52,7 @@ if (defined $::FORM{'id'}) {
}
}
-$vars->{'title'} = "Page not found";
-$vars->{'message'} = "The page you requested cannot be found.";
+$vars->{'message'} = "page_not_found";
$template->process("global/message.html.tmpl", $vars)
|| ThrowTemplateError($template->error());