+Partial German translation by Botond Beres.
[www.jankratochvil.net.git] / project / captive / Index.html.pl
index 06566d2..37c39e1 100755 (executable)
@@ -31,6 +31,10 @@ Wuse 'My::Project';
 Wuse 'project::captive::ListItem';
 
 
+my $lang="";
+do { $lang="de" if $_ && /^de/i; } for ($ENV{"HTTP_ACCEPT_LANGUAGE"});
+
+
 my $W=My::Project->init_project(
                "__PACKAGE__"=>__PACKAGE__,
                "ListItem"=>\@project::captive::ListItem::ListItem,
@@ -45,6 +49,8 @@ table.download td { padding: 8px; }
 table.navigate td { padding-bottom: 1ex; padding-left: 15px; padding-right: 15px; }
 ",
                "project_text_after_title"=>""
+                               .($lang ne "de" ? "" : "<h1>Captive:"
+                                               ." Das erste kostenlose Programm um auf ein NTFS Dateisystem unter GNU/Linux zu lesen und zu schreiben</h1>")
                                .'<table border="0" width="100%"><tr><td align="center">'
                                        .'<table border="0" class="navigate"><tr>'
                                                .'<td>&bull;&nbsp;'.a_href('#download','Download').'</td>'
@@ -54,11 +60,12 @@ table.navigate td { padding-bottom: 1ex; padding-left: 15px; padding-right: 15px
                                                .'<td>&bull;&nbsp;'.a_href('#lists','Mailing Lists').'</td>'
                                                .'<td>&bull;&nbsp;'.a_href('#seealso','See Also').'</td>'
                                        .'</tr></table>'
-                               .'</td></tr></table>'
+                               .'</td></tr></table>',
+               ($lang eq "" ? () : ("force_charset"=>"utf-8")),
                );
 
 
-print <<"HERE"; # if !$WebConfig::WebConfig{"no_job"};
+print <<"HERE" if !$WebConfig::WebConfig{"no_job"};
 @{[ vskip "3ex" ]}
 
 <table border="0" width="100%"><tr><td align="center">
@@ -71,7 +78,7 @@ print <<"HERE"; # if !$WebConfig::WebConfig{"no_job"};
 HERE
 
 my %version=(
-               map(($_=>["1.1.3.2","0"]),qw(captive captive-lufs captive-install)),
+               map(($_=>["1.1.4","0"]),qw(captive captive-lufs captive-install)),
                "lufs"=>["0.9.7","1captive8"],
                );
 
@@ -80,18 +87,18 @@ print <<"HERE";
 
 <h3>Choose the one preferred installation format:</h3>
 
-<h4 align="center">Currently DO NOT USE for MS-Windows 2000 NTFS bootable disk!</h4>
-<p>Next release will address this issue.
-No data are lost although you may need to use CHKDSK from your "recovery
-console" of your installation CD (NTFS superblock backup is not updated due to
-a Linux kernel bug).</p>
-
 <table border="0" align="center" width="100%"><tr><td align="center">
 <table border="1" frame="border" rules="rows" align="center" style="text-align: center;" class="download">
        <tr>
                <td>
-                       RPM i386 binary<br />
-                       tested for distributions:
+HERE
+       if ($lang eq "") {
+               print "RPM i386 binary<br />tested for distributions:";
+               }
+       if ($lang eq "de") {
+               print "RPM i386 Binärcode<br />getestet für den Betrieb unter:";
+               }
+print <<"HERE";
                                        <table border="0"><tr><td align="left"><ul>
                                                <li>Red&nbsp;Hat&nbsp;9&nbsp;Shrike</li>
                                                <li>Red&nbsp;Hat&nbsp;8&nbsp;Psyche</li>
@@ -102,7 +109,16 @@ a Linux kernel bug).</p>
                                undef(),"size"=>1,"basename"=>1 ]}</td>
        </tr>
        <tr>
-               <td>.tar.gz i386 binary<br />(for non-RPM distributions)</td>
+               <td>
+HERE
+       if ($lang eq "") {
+               print ".tar.gz i386 binary<br />(for non-RPM distributions)";
+               }
+       if ($lang eq "de") {
+               print ".tar.gz i386 Binärcode<br />(für Linux Versionen ohne RPM z.B. Knoppix)";
+               }
+print <<"HERE";
+                               </td>
                <td>@{[ a_href 'dist/captive-static-'.$version{"captive"}[0].'.tar.gz',undef(),"size"=>1,"basename"=>1 ]}</td>
        </tr>
        <tr>
@@ -121,24 +137,17 @@ a Linux kernel bug).</p>
 <a name="news"><h2>NEWS</h2></a>
 
 <dl>
-       <dt>captive-1.1.3.2 (2003-12-07) [@{[ a_href $W->{"project_viewcvs"}.'/*checkout*/captive/NEWS?rev=HEAD','archive' ]}]</dt>
+       <dt>captive-1.1.4 (2003-12-13) [@{[ a_href $W->{"project_viewcvs"}.'/*checkout*/captive/NEWS?rev=HEAD','archive' ]}]</dt>
        <dd>
                <ul>
-                       <li>Proper unmount: no auto-chkdsk and no W2K BSOD (Geoff Talvola/Marek Koch)</li>
-                       <li>Prevent &quot;mv dir dir/subdir&quot; (Ulrich Mueller)</li>
-                       <li>Workaround Linux kernel bug wrt update of NTFS last sector superblock-backup</li>
-                       <li>Fixed directory listings of files with invalid timestamps (Graeme/Unit3)</li>
-                       <li>Fixed refusal of filesystem ops related to NTFS security (Tonda Nebuzelsky)</li>
-                       <li>Fixed refusal of mounting some NTFS drives</li>
-                       <li>Identify German W32 XP (No Service Pack) Free Build (Moritz Moeller-Herrmann)</li>
+                       <li>Unicode/UTF8 localized filenames conversion for GNU/Linux is now supported</li>
+                       <li>Various GNU/Linux distributions compatibility fixes</li>
+                       <li>Fixed omitted captive-install-acquire(1) --microsoft-com progress bar</li>
+                       <li>Fixed captive-install-acquire(1) --scan-disks* memory leaks (Steve Wampler)</li>
+                       <li>Fixed captive-install-acquire(1) --scan-disks* performance</li>
                </ul>
        </dd>
        <dt>lufs-0.9.7captive8 (2003-12-06) [@{[ a_href $W->{"project_viewcvs"}.'/*checkout*/lufs/NEWS.captive?rev=1.1.2.11','archive' ]}]</dt>
-       <dd>
-               <ul>
-                       <li>Cope with the installed Linux kernel sources not matching the current kernel.</li>
-               </ul>
-       </dd>
 </dl>
 
 @{[ vskip "3ex" ]}
@@ -169,10 +178,30 @@ a Linux kernel bug).</p>
 @{[ vskip "3ex" ]}
 
 
-<a name="notes"><h1>Installation Notes</h1></a>
-
+<a name="notes"><h1>
+HERE
+       if ($lang eq "") {
+               print "Installation Notes";
+               }
+       if ($lang eq "de") {
+               print "Installationsanleitung";
+               }
+print <<"HERE";
+</h1></a>
+HERE
+       if ($lang eq "") {
+               print <<"EOF";
 <p>You should first run <b>captive-install-acquire</b> command to check your
 available Microsoft Windows drivers versions. Now you can execute:</p>
+EOF
+               }
+       if ($lang eq "de") {
+               print <<"EOF";
+<p>Sie sollten als erstes den Befehl <b>captive-install-acquire</b>
+ausführen um ihre Windows Treiber Version zu überprüfen. Nun können sie folgenden Befehl ausführen:</p>
+EOF
+               }
+print <<"HERE";
 
 <blockquote>
        <p class="quote">
@@ -182,13 +211,28 @@ available Microsoft Windows drivers versions. Now you can execute:</p>
 </blockquote>
 
 
+HERE
+       if ($lang eq "") {
+               print <<"EOF";
 <h2>Overview</h2>
 
 <p>Any errors from '<b>captive-lufs</b>' are written to '<b>/var/log/messages</b>'.</p>
-
 <p>Needed drivers (at least ntoskrnl.exe+ntfs.sys) must be in '<b>/var/lib/captive</b>'.</p>
-
 <p>'<b>captive</b>' package creates '<b>captive</b>' user and '<b>captive</b>' group on your system.</p>
+EOF
+               }
+       if ($lang eq "de") {
+               print <<"EOF";
+<h2>Übersicht</h2>
+
+<p>Jegliche Fehler des '<b>captive-lufs</b>' werden im Ordner '<b>/var/log/messages</b>' aufgelistet.</p>
+<p>Die Dateien ntoskrnl.exe und ntfs.sys müssen in den '<b>/var/lib/captive</b>'-Ordner kopiert werden.
+(Empfehlendswert über ein Wechseldatenträger [CD-ROM, Diskette].)</p>
+<p>Das '<b>captive</b>' Packet erstellt einen '<b>captive</b>' Benutzer und eine '<b>captive</b>' Gruppe auf Ihrem System.</p>
+<p align="right" style="font-size: smaller;">Übersetzung von Botond Beres.</p>
+EOF
+               }
+print <<"HERE";
 
 
 <h2>LUFS Kernel Driver Module</h2>