From 0a18cfa0a6a941a2ed525e6c934cf6c25fc87fce Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Wed, 21 Mar 2007 01:39:22 +0000 Subject: Bug 374540: Print out the requirements in an HTML table instead of preformatted text Patch By Max Kanat-Alexander (module owner) a=mkanat --- template/en/default/setup/strings.html.pl | 38 ++++++++++++++++++++++++++++--- template/en/default/setup/strings.txt.pl | 10 ++++++++ 2 files changed, 45 insertions(+), 3 deletions(-) (limited to 'template/en/default/setup') diff --git a/template/en/default/setup/strings.html.pl b/template/en/default/setup/strings.html.pl index 583a37abd..8e687e508 100644 --- a/template/en/default/setup/strings.html.pl +++ b/template/en/default/setup/strings.html.pl @@ -20,6 +20,28 @@ # setup.cgi). %strings = ( + checking_dbd => 'Database Modules', + checking_optional => 'Optional Modules', + checking_modules => <Perl Modules + +
+

Rows that look like + this mean that you have a good version of that module installed. + Rows that look like this mean that you + either don't have that module installed, or the version you have + installed is too old.

+
+ + + + + + + +END_HTML +, + footer => "", # This is very simple. It doesn't support the skinning system. @@ -30,15 +52,25 @@ Installation and Setup for Bugzilla ##bz_ver## +

Installation and Setup for Bugzilla ##bz_ver##

- -

Perl Version: ##perl_ver##

-

OS: ##os_name## ##os_ver##

+

Perl Version: ##perl_ver## + OS: ##os_name## ##os_ver##

+END_HTML +, + module_details => < +
+ + + + END_HTML , + module_found => '##ver##', ); 1; diff --git a/template/en/default/setup/strings.txt.pl b/template/en/default/setup/strings.txt.pl index b4768771c..34e447857 100644 --- a/template/en/default/setup/strings.txt.pl +++ b/template/en/default/setup/strings.txt.pl @@ -27,8 +27,18 @@ # Please keep the strings in alphabetical order by their name. %strings = ( + any => 'any', + blacklisted => '(blacklisted)', + checking_for => 'Checking for', + checking_dbd => 'Checking available perl DBD modules...', + checking_optional => 'The following Perl modules are optional:', + checking_modules => 'Checking perl modules...', header => "* This is Bugzilla ##bz_ver## on perl ##perl_ver##\n" . "* Running on ##os_name## ##os_ver##", + module_found => "found v##ver##", + module_not_found => "not found", + module_ok => 'ok', + module_unknown_version => "found unknown version", ); 1; -- cgit v1.2.3-24-g4f1b
PackageVersion Required Version FoundOK?
##package####wanted####found####ok##