From 58751dff46dcb5624429e222f1cad72d7fea90f1 Mon Sep 17 00:00:00 2001 From: levinse Date: Wed, 15 Jun 2011 20:35:46 +0000 Subject: [PATCH] Msgcat.pm: REALLY return untranslated strings properly when no translation is found, RT13272 --- FS/FS/Msgcat.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- 2.11.0