summaryrefslogtreecommitdiff
path: root/FS/FS/Msgcat.pm
diff options
context:
space:
mode:
authorlevinse <levinse>2011-06-15 20:35:46 +0000
committerlevinse <levinse>2011-06-15 20:35:46 +0000
commit58751dff46dcb5624429e222f1cad72d7fea90f1 (patch)
treeda741073f32d3125867a2e3836724d8f65e6e8ab /FS/FS/Msgcat.pm
parentf8cb61dd2085dfe159aaf889bbbbdb1f363daa5a (diff)
Msgcat.pm: REALLY return untranslated strings properly when no translation is found, RT13272
Diffstat (limited to 'FS/FS/Msgcat.pm')
-rw-r--r--FS/FS/Msgcat.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/Msgcat.pm b/FS/FS/Msgcat.pm
index 2406e8d..ce0fa78 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;
}
}