+Partial German translation by Botond Beres.
[www.jankratochvil.net.git] / project / captive / Index.html.pl
index 4d00c76..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,15 +49,19 @@ 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>'
                                                .'<td>&bull;&nbsp;'.a_href('#news','NEWS').'</td>'
+                                               .'<td>&bull;&nbsp;'.a_href('#testimonials','Testimonials').'</td>'
                                                .'<td>&bull;&nbsp;'.a_href('#notes','Installation Notes').'</td>'
                                                .'<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")),
                );
 
 
@@ -61,18 +69,17 @@ print <<"HERE" if !$WebConfig::WebConfig{"no_job"};
 @{[ vskip "3ex" ]}
 
 <table border="0" width="100%"><tr><td align="center">
-       <table border="0" style="margin: 4ex; padding: 2ex; background: #552222;">
+       <table border="0" style="margin: 3ex; padding: 2ex; background: #bb8888;">
                <tr><td style="font-size: larger;">
-                       Why did I install Microsoft Windows and write such a disgusting piece of code?<br />
-                       Expecting @{[ a_href $W->{"resume_url"},"yet another challenging task" ]}!
+                       Looking for a challenging job: @{[ a_href $W->{"resume_url"},"My resume" ]}
                </td></tr>
        </table>
 </table>
 HERE
 
 my %version=(
-               map(($_=>["1.1.2","0"]),qw(captive captive-lufs captive-install)),
-               "lufs"=>["0.9.7","1captive7"],
+               map(($_=>["1.1.4","0"]),qw(captive captive-lufs captive-install)),
+               "lufs"=>["0.9.7","1captive8"],
                );
 
 print <<"HERE";
@@ -84,20 +91,34 @@ print <<"HERE";
 <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>
                                                <li>Mandrake&nbsp;9.1&nbsp;Bamboo</li>
-                                               <li>SuSE&nbsp;9.0</li>
                                        </ul></td></tr></table>
                </td>
                <td>@{[ a_href 'dist/captive-static-'.$version{"captive"}[0].'-'.$version{"captive"}[1].'.i386.rpm',
                                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>
@@ -116,22 +137,71 @@ print <<"HERE";
 <a name="news"><h2>NEWS</h2></a>
 
 <dl>
-       <dt>captive-1.1.2 (2003-12-01) [@{[ 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>Fixed false identification of several MS-Windows XP driver cabinets as drivers</li>
-                       <li>Extended the set of MS-Windows XP drivers identified as Captive compatible</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>
 </dl>
 
 @{[ vskip "3ex" ]}
 
+<a name="testimonials"><h2>Captive NTFS Testimonials</h2></a>
+
+<ul>
+       <li>Derek J Witt
+               <p>I commend you for this project. I am currently using this on my XP NTFS
+               partitions and I am impressed that I can actually move, edit, and remove files
+               and directories with no apparent ill effects. This is very nice indeed.</p>
+               <p>I initially was skeptical because it uses wine and parts of ReactOS
+                (I have messed with this OS a few times), but you have proved me wrong. I have
+               noticed no lag on my system.  I do notice the initial mounting process does
+               take slightly longer than the Linux-NTFS project. But, once I'm past that, it's
+               quite transparent.</p>
+               <p><span style="font-style: italic;">[ technical question cut ]</span></p>
+       </li>
+       <li>James Van't Slot
+               <p>Just wanted to drop you a note and say &quot;Excellent work!&quot;</p>
+               <p>I just installed captive and it worked as advertized right out of the
+               rpm.  Thanks, I've been holding off recompiling my kernel until NTFS is
+               supported out of the box for Redhat.  Now I don't have to bother.</p>
+               <p>Thanks again and keep up the great work.</p>
+       </li>
+</ul>
+
+@{[ 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">
@@ -141,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>