X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.modeling.ui%2Fsrc%2Forg%2Fsimantics%2Fmodeling%2Fui%2FcomponentTypeEditor%2FSCLModuleViewer.java;h=235d89f7718fe165b58e1e1f05b7377b8880dc80;hp=0a5188841c1e2c7d8f36896af90127888aa03729;hb=47269fe0acb894f346810417d950a1ab59cdc0ea;hpb=11309f6516278203264b680235cbbe1dc2bde98e diff --git a/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/componentTypeEditor/SCLModuleViewer.java b/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/componentTypeEditor/SCLModuleViewer.java index 0a5188841..235d89f77 100644 --- a/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/componentTypeEditor/SCLModuleViewer.java +++ b/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/componentTypeEditor/SCLModuleViewer.java @@ -73,7 +73,7 @@ public class SCLModuleViewer { 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); @@ -83,7 +83,7 @@ public class SCLModuleViewer { 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);