--- colorgcc-1.3.2/colorgcc.pix	2007-08-06 11:22:25.000000000 +0200
+++ colorgcc-1.3.2/colorgcc	2007-08-06 19:58:32.000000000 +0200
@@ -231,6 +231,9 @@ if (! -t STDOUT || $nocolor{$terminal})
 # code and use that as our return code.
 $compiler_pid = open3('<&STDIN', \*GCCOUT, \*GCCOUT, $compiler, @ARGV);
 
+my $warning = 'warning: ';
+my $warning_translated = `gettext gcc "$warning"` || $warning;
+
 # Colorize the output from the compiler.
 while(<GCCOUT>)
 {
@@ -240,7 +243,7 @@ while(<GCCOUT>)
       $field2 = $2 || "";
       $field3 = $3 || "";
 
-      if ($field3 =~ m/\s+warning:.*/)
+      if ($field3 =~ m/\s+($warning_translated|$warning).*/)
       {
 	 # Warning
 	 print($colors{"warningFileNameColor"}, "$field1:", color("reset"));
