[ 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:
parent
e6a49848fc
commit
131aaa71e3
|
@ -609,7 +609,7 @@ public final class Msg
|
||||||
{
|
{
|
||||||
if (text == null || text.length() == 0)
|
if (text == null || text.length() == 0)
|
||||||
return text;
|
return text;
|
||||||
String s = (String)ctx.get(text);
|
String s = (String)ctx.getProperty(text);
|
||||||
if (s != null && s.length() > 0)
|
if (s != null && s.length() > 0)
|
||||||
return s;
|
return s;
|
||||||
return translate (Env.getAD_Language(ctx), Env.isSOTrx(ctx), text);
|
return translate (Env.getAD_Language(ctx), Env.isSOTrx(ctx), text);
|
||||||
|
|
Loading…
Reference in New Issue