[ 2639443 ] Msg.translate using context ignores defaults

https://sourceforge.net/tracker/index.php?func=detail&aid=2639443&group_id=176962&atid=879332
This commit is contained in:
phib 2009-02-26 01:55:33 +00:00
parent e6a49848fc
commit 131aaa71e3
1 changed files with 1 additions and 1 deletions

View File

@ -609,7 +609,7 @@ public final class Msg
{
if (text == null || text.length() == 0)
return text;
String s = (String)ctx.get(text);
String s = (String)ctx.getProperty(text);
if (s != null && s.length() > 0)
return s;
return translate (Env.getAD_Language(ctx), Env.isSOTrx(ctx), text);