Section codeSection = tk.createSection(form.getBody(), Section.TITLE_BAR | Section.EXPANDED);
codeSection.setLayout(new FillLayout());
GridDataFactory.fillDefaults().align(SWT.FILL, SWT.FILL).grab(true, true).applyTo(codeSection);
- codeSection.setText("Code");
+ codeSection.setText(Messages.SCLModuleViewer_Code);
Composite codeSectionBody = tk.createComposite(codeSection);
GridLayoutFactory.fillDefaults().numColumns(1).applyTo(codeSectionBody);
GridDataFactory.fillDefaults().applyTo(codeButtons);
GridLayoutFactory.fillDefaults().applyTo(codeButtons);
- Button applyChanges = tk.createButton(codeButtons, "Apply changes", SWT.PUSH);
+ Button applyChanges = tk.createButton(codeButtons, Messages.SCLModuleViewer_ApplyChanges, SWT.PUSH);
code = new SCLTextEditorNew(codeSectionBody, 0);