From 44b48df3901d829e1423749136d142964ccb4a3e Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" <> Date: Fri, 4 Jul 2003 04:31:13 +0000 Subject: Bug 13540 - allow key terms, like "Bugzilla" and "bug", to be altered without changing all the templates. Patch by jwilmoth@starbucks.com; r=gerv, a=justdave. --- template/en/default/global/messages.html.tmpl | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) (limited to 'template/en/default/global/messages.html.tmpl') diff --git a/template/en/default/global/messages.html.tmpl b/template/en/default/global/messages.html.tmpl index 6b9612f54..6cba576c3 100644 --- a/template/en/default/global/messages.html.tmpl +++ b/template/en/default/global/messages.html.tmpl @@ -18,11 +18,13 @@ # # Contributor(s): Gervase Markham #%] - + [%# This is a list of all the possible messages. Please keep them in # alphabetical order by message tag, and leave a blank line between messages. - #%] - + #%] + +[% PROCESS global/variables.none.tmpl %] + [% message_tag = message %] [% message = BLOCK %] @@ -83,12 +85,12 @@ [% url = "query.cgi?GoAheadAndLogIn=1" %] [% link = "Log in again." %] Your login has been forgotten. - The cookie that was remembering your login is now gone. You will be + The cookie that was remembering your login is now gone. You will be prompted for a login the next time it is required. [% ELSIF message_tag == "login_changed" %] - [% title = "Bugzilla Login Changed" %] - Your Bugzilla login has been changed. + [% title = "$terms.Bugzilla Login Changed" %] + Your [% terms.Bugzilla %] login has been changed. [% ELSIF message_tag == "password_change_canceled" %] [% title = "Cancel Request to Change Password" %] @@ -155,18 +157,18 @@ create another series. [% ELSIF message_tag == "shutdown" %] - [% title = "Bugzilla is Down" %] + [% title = "$terms.Bugzilla is Down" %] [% Param("shutdownhtml") %] [% ELSE %] [%# Give sensible error if error functions are used incorrectly. #%] - You are using Bugzilla's messaging functions incorrectly. You + You are using [% terms.Bugzilla %]'s messaging functions incorrectly. You passed in the string '[% message_tag %]'. The correct use is to pass in a tag, and define that tag in the file messages.html.tmpl.

- If you are a Bugzilla end-user seeing this message, please save this - page and send it to [% Param('maintainer') %]. + If you are a [% terms.Bugzilla %] end-user seeing this message, please + save this page and send it to [% Param('maintainer') %]. [% END %] [% END %] -- cgit v1.2.3-24-g4f1b