From: levinse Date: Wed, 15 Jun 2011 20:35:46 +0000 (+0000) Subject: Msgcat.pm: REALLY return untranslated strings properly when no translation is found... X-Git-Tag: freeside_2_3_0~121 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=58751dff46dcb5624429e222f1cad72d7fea90f1;p=freeside.git Msgcat.pm: REALLY return untranslated strings properly when no translation is found, RT13272 --- diff --git a/FS/FS/Msgcat.pm b/FS/FS/Msgcat.pm index 2406e8db0..ce0fa78af 100644 --- a/FS/FS/Msgcat.pm +++ b/FS/FS/Msgcat.pm @@ -87,8 +87,8 @@ sub _gettext { }); 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; } }