[freeside-commits] freeside/FS/FS Msgcat.pm,1.6,1.7

Erik Levinson levinse at wavetail.420.am
Wed Jun 15 13:35:49 PDT 2011


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv6808/FS/FS

Modified Files:
	Msgcat.pm 
Log Message:
Msgcat.pm: REALLY return untranslated strings properly when no translation is found, RT13272

Index: Msgcat.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Msgcat.pm,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -w -d -r1.6 -r1.7
--- Msgcat.pm	14 Jun 2011 18:53:40 -0000	1.6
+++ Msgcat.pm	15 Jun 2011 20:35:46 -0000	1.7
@@ -87,8 +87,8 @@
                                        });
         warn "WARNING: auto-inserting message for msgcode $msgcode in locale $locale";
         $newmsgcat->insert;
-        return $msgcode; # or maybe this should be below the next bracket?
     }
+    return $msgcode;
   }
 
 }



More information about the freeside-commits mailing list