]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/componentTypeEditor/SCLModuleViewer.java
Externalize strings
[simantics/platform.git] / bundles / org.simantics.modeling.ui / src / org / simantics / modeling / ui / componentTypeEditor / SCLModuleViewer.java
index 0a5188841c1e2c7d8f36896af90127888aa03729..235d89f7718fe165b58e1e1f05b7377b8880dc80 100644 (file)
@@ -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);