Revision: 2809
          http://ipcop.svn.sourceforge.net/ipcop/?rev=2809&view=rev
Author:   riddles
Date:     2009-05-07 17:51:55 +0000 (Thu, 07 May 2009)

Log Message:
-----------
Translate IPTablesgui.cgi (only 3 strings).

Unfortunately, tools/gen_strings.pl doesn't work for me, as the filename for 
downloaded
files is incorrect. Apparently, someone fixed create-c2.php to send the correct 
filename.
As a result, the rename in line 107 in gen_strings.pl fails.

Modified Paths:
--------------
    ipcop/trunk/html/cgi-bin/iptablesgui.cgi
    ipcop/trunk/langs/ipcop.new.en.pl

Modified: ipcop/trunk/html/cgi-bin/iptablesgui.cgi
===================================================================
--- ipcop/trunk/html/cgi-bin/iptablesgui.cgi    2009-05-07 17:26:34 UTC (rev 
2808)
+++ ipcop/trunk/html/cgi-bin/iptablesgui.cgi    2009-05-07 17:51:55 UTC (rev 
2809)
@@ -52,7 +52,7 @@
 }
 
 &Header::showhttpheaders();
-&Header::openpage('iptables', 1, '');
+&Header::openpage($Lang::tr{'iptables'}, 1, '');
 &Header::openbigbox('100%', 'left');
 
 foreach my $table ( ("filter", "mangle", "nat", "raw") ) {
@@ -64,15 +64,15 @@
   }
 }
 
-&Header::openbox('100%', 'left', 'iptables:');
+&Header::openbox('100%', 'left', $Lang::tr{'iptables'} . ':');
 
 print <<END
 <form method='post' action='$ENV{'SCRIPT_NAME'}'>
 <table width='100%'>
 <tr>
-    <td width='20%' class='base'>Table:</td><td colspan='3'><select 
name='TABLE'>$option_table</select></td>
+    <td width='20%' class='base'>$Lang::tr{'table'}:</td><td 
colspan='3'><select name='TABLE'>$option_table</select></td>
 </tr><tr>
-    <td width='20%' class='base'>Chain:&nbsp;<img src='/blob.gif' alt='*' 
/></td><td colspan='3'><input type='text' name='CHAIN' 
value='$cgiparams{'CHAIN'}' size='20' /></td>
+    <td width='20%' class='base'>$Lang::tr{'chain'}:&nbsp;<img src='/blob.gif' 
alt='*' /></td><td colspan='3'><input type='text' name='CHAIN' 
value='$cgiparams{'CHAIN'}' size='20' /></td>
 </tr>
 </table>
 <hr />

Modified: ipcop/trunk/langs/ipcop.new.en.pl
===================================================================
--- ipcop/trunk/langs/ipcop.new.en.pl   2009-05-07 17:26:34 UTC (rev 2808)
+++ ipcop/trunk/langs/ipcop.new.en.pl   2009-05-07 17:51:55 UTC (rev 2809)
@@ -685,6 +685,10 @@
 'chgwebpwd SUCCESS' => 'S U C C E S S :',
 'chgwebpwd ERROR' => 'E R R O R :',
 
+# from iptablesgui.cgi
+'iptables' => 'IPTables',
+'table' => 'Table',
+
 ######## Stop Edit above ##########
 
 );


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Ipcop-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ipcop-svn

Reply via email to