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/list/list.html.tmpl | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) (limited to 'template/en/default/list/list.html.tmpl') diff --git a/template/en/default/list/list.html.tmpl b/template/en/default/list/list.html.tmpl index 91a5584cf..35a80d08a 100644 --- a/template/en/default/list/list.html.tmpl +++ b/template/en/default/list/list.html.tmpl @@ -23,7 +23,9 @@ [%# Template Initialization #%] [%############################################################################%] -[% DEFAULT title = "Bug List" %] +[% PROCESS global/variables.none.tmpl %] + +[% DEFAULT title = "$terms.Bug List" %] [% style_urls = [ "css/buglist.css" ] %] [% qorder = order FILTER url_quote IF order %] @@ -45,7 +47,7 @@ [% END %] [% IF Param('enablequips') != 'off' %] - [% DEFAULT quip = "Bugzilla would like to put a random quip here, but no one has entered any." %] + [% DEFAULT quip = "$terms.Bugzilla would like to put a random quip here, but no one has entered any." %] [% quip FILTER html %] [% END %] @@ -53,8 +55,8 @@ [% IF toolong %]

- This list is too long for Bugzilla's little mind; the - Next/Prev/First/Last buttons won't appear on individual bugs. + This list is too long for [% terms.Bugzilla %]'s little mind; the + Next/Prev/First/Last buttons won't appear on individual [% terms.bugs %].

[% END %] @@ -66,7 +68,7 @@ [%############################################################################%] [% IF bugs.size > 9 %] - [% bugs.size %] bugs found. + [% bugs.size %] [% terms.bugs %] found. [% END %] @@ -91,18 +93,18 @@ [%############################################################################%] [% IF bugs.size == 0 %] - Zarro Boogs found. + [% terms.zeroSearchResults %].

Query Page -   Enter New Bug +   Enter New [% terms.Bug %] Edit this query

[% ELSIF bugs.size == 1 %] - One bug found. + One [% terms.bug %] found. [% ELSE %] - [% bugs.size %] bugs found. + [% bugs.size %] [% terms.bugs %] found. [% END %] @@ -116,7 +118,7 @@ [% IF dotweak %] [% PROCESS "list/edit-multiple.html.tmpl" %] - +
@@ -140,13 +142,13 @@ [% IF bugs.size > 1 && caneditbugs && !dotweak %] Change Several - Bugs at Once + [%- "&order=$qorder" FILTER html IF order %]&tweak=1">Change Several  + [% terms.Bugs %] at Once    [% END %] [% IF bugowners %] - Send Mail to Bug Owners    + Send Mail to [% terms.Bug %] Owners    [% END %]