}
helpMenu.updateI18n();
getJMenuBar().revalidate();
- projectOverviewPanel.setName(I18n.get("mainWindow.pane.overview.title"));
+ projectPane.setTitleAt(0, I18n.get("mainWindow.pane.overview.title"));
for (int componentIndex = 0; componentIndex < projectPane.getTabCount(); componentIndex++) {
- projectPane.setTitleAt(componentIndex, projectPane.getComponentAt(componentIndex).getName());
+ Component tabComponent = projectPane.getComponentAt(componentIndex);
+ if (tabComponent instanceof ProjectPanel) {
+ ((ProjectPanel) tabComponent).updateI18n();
+ }
}
refreshNodeMenuItems();
SwingUtils.repackCentered(this);