Koha/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step1.tt
Marc Véron 29a4300c07 Bug 15238: Better translatability for Installer Step 1
This Bug streamlines html in installer/step1.tt for better translatibility.

To test:
Reviwe code and verify that changes in text make sense.

Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com>
To reproduce in Debian environment, remove a required module with
dpkg -r. Rewording Ok for translation purposes

Bug 15238: (followup) Remove word 'Note:'

'Note: ' removed as requested in comment #3

Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com>
Word 'Note' removed

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
2015-12-30 00:33:45 +00:00

82 lines
3.2 KiB
Text

[% INCLUDE 'doc-head-open.inc' %]
<title>Koha &rsaquo; Web installer &rsaquo; Step 1</title>
[% INCLUDE 'installer-doc-head-close.inc' %]
<div>
<h1 id="logo"><img alt="Koha" src="[% interface %]/[% theme %]/img/koha.org-logo.gif" /> Web installer &rsaquo; Step 1</h1>
[% UNLESS ( language ) %]
<p>You are about to install Koha.</p>
<p>Please pick your language from the following list. If your language is not
listed, please inform your systems administrator.</p>
<form name="language" method="post">
<select name="language">
[% IF ( installer_languages_loop ) %]
[% FOREACH installer_languages_loo IN installer_languages_loop %]
[% IF ( installer_languages_loo.plural ) %]
<optgroup label="[% installer_languages_loo.language %]">
[% FOREACH sublanguages_loo IN installer_languages_loo.sublanguages_loop %]
<option value="[% sublanguages_loo.rfc4646_subtag %]">[% IF ( sublanguages_loo.native_description ) %][% sublanguages_loo.native_description %][% ELSE %][% sublanguages_loo.rfc4646_subtag %][% END %]</option>
[% END %]
</optgroup>
[% ELSE %]
<option value="[% installer_languages_loo.rfc4646_subtag %]">[% IF ( installer_languages_loo.native_description ) %][% installer_languages_loo.native_description %][% ELSE %][% installer_languages_loo.rfc4646_subtag %][% END %]</option>
[% END %]
[% END %]
[% END %]
</select>
</p>
<p> Click 'Next' to continue <input value="Next &gt;&gt;" type="submit" /></p>
</form>
[% END %]
[% IF ( language ) %]
[% IF ( checkmodule ) %]
<p>All required Perl modules appear to be installed.<br />
[% ELSE %]
[% IF ( missing_modules ) %]
<p><b>Warning: </b>Some Perl modules are missing.<br />Modules in red must be installed before you may continue.<br />
<ul>
[% FOREACH missing_module IN missing_modules %]
[% IF ( missing_module.require ) %]
<li style="color:#FF0000;font-weight:bold;">[% missing_module.name %]
[% ELSE %]
<li>[% missing_module.name %]
[% END %]
<br /> Version: [% missing_module.version %]
<br /> Usage: [% missing_module.usage %]
</li>
[% END %]
[% END %]
[% IF ( problems ) %]
<p>I encountered some problems.</p>
<ul>
[% IF ( perlversion ) %]
<li>Your Perl version seems to be obsolete.
Please upgrade to a newer version of Perl (at least Version 5.10).</li>
[% END %]
</ul>
[% END %]
[% END %]
<form name="checkmodules" action="install.pl">
[% IF ( checkmodule ) %]
[% IF (op == 'noop') %]
<input type="hidden" name="step" value="2" />
[% ELSE %]
<input type="hidden" name="step" value="3" />
<input type="hidden" name="op" value="[% op %]" />
<input type="hidden" name="checkmodule" value="[% checkmodule %]"/>
[% END %]
<p> All dependencies installed.</p>
<p>Please click 'Next' to continue <input value="Next &gt;&gt;" type="submit" /></p>
[% ELSE %]
[% IF (op == 'noop') %]
<input type="hidden" name="step" value="1" />
[% ELSE %]
<input type="hidden" name="step" value="1" />
<input type="hidden" name="op" value="[% op %]" />
[% END %]
<p>Click to recheck dependencies <input value="Recheck" type="submit" /></p>
[% END %]
</form>
[% END %]
[% INCLUDE 'intranet-bottom.inc' %]