gforge-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gforge-commits] gforge/www/include BaseLanguage.class, 1.11, 1.11.2.1


From: lo-lan-do
Subject: [Gforge-commits] gforge/www/include BaseLanguage.class, 1.11, 1.11.2.1
Date: Wed, 03 Mar 2004 13:58:07 -0600

Update of /cvsroot/gforge/gforge/www/include
In directory db.perdue.net:/tmp/cvs-serv30497/www/include

Modified Files:
      Tag: Branch_3_1
        BaseLanguage.class 
Log Message:
Trim the last part of the *.tab lines, instead of just right-trimming
it.  This makes it possible to have pretty aligned third columns in
these files without causing bugs (see
http://alioth.debian.org/tracker/index.php?func=detail&aid=300280&group_id=1&atid=200001
for an example of such a bug.)


Index: BaseLanguage.class
===================================================================
RCS file: /cvsroot/gforge/gforge/www/include/BaseLanguage.class,v
retrieving revision 1.11
retrieving revision 1.11.2.1
diff -u -d -r1.11 -r1.11.2.1
--- BaseLanguage.class  21 Jul 2003 00:10:07 -0000      1.11
+++ BaseLanguage.class  3 Mar 2004 19:58:05 -0000       1.11.2.1
@@ -50,7 +50,7 @@
                                
$this->loadLanguageFile($dir."/".$matches[1].".tab");
                        } else {
                                $line = explode("\t", $ary[$i], 3);
-                               $this->text_array[$line[0]][$line[1]] = 
chop($line[2]);
+                               $this->text_array[$line[0]][$line[1]] = 
trim($line[2]);
                        }
                }
        }





reply via email to

[Prev in Thread] Current Thread [Next in Thread]