IDEMPIERE-1843 Tabs and Fields not translated in Help

This commit is contained in:
Nicolas Micoud 2014-05-07 18:29:13 -05:00
parent e3ed5124c2
commit 778d8a1307
2 changed files with 4 additions and 4 deletions

View File

@ -458,7 +458,7 @@ public class GridWindow implements Serializable
if (getHelp().length() != 0)
center.addElement(new p().addElement(getHelp()));
center.addElement(new a().setName("Tabs")).addElement(new h3("Tabs").addAttribute("ALIGN", "left"));
center.addElement(new a().setName("Tabs")).addElement(new h3(Msg.getMsg(Env.getCtx(), "Tabs")).addAttribute("ALIGN", "left"));
// List of all Tabs in current window
int size = getTabCount();
p p = new p();
@ -502,7 +502,7 @@ public class GridWindow implements Serializable
td.addElement(new p().addElement(tab.getHelp()));
// Links to Fields
td.addElement(new a().setName("Fields"+i));
td.addElement(new h4("Fields").addAttribute("ALIGN", "left"));
td.addElement(new h4(Msg.getMsg(Env.getCtx(), "Fields")).addAttribute("ALIGN", "left"));
p = new p();
if (!tab.isLoadComplete())
this.initTab(i);

View File

@ -162,7 +162,7 @@ public class HelpWindow extends Window {
td.setClass("help-window-tabs");
tr.addElement(td);
td.addElement(new a().setName(winpref+"Tabs"));
h4 h4 = new h4("Tabs");
h4 h4 = new h4(Msg.getMsg(Env.getCtx(), "Tabs"));
td.addElement(h4);
tr = new tr();
@ -332,7 +332,7 @@ public class HelpWindow extends Window {
td td = new td();
tr.addElement(td);
td.addElement(new a().setName(winpref+"Fields"+tabIndex));
h4 h4 = new h4("Fields");
h4 h4 = new h4(Msg.getMsg(Env.getCtx(), "Fields"));
td.addElement(h4);
tr = new tr();