]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/componentTypeEditor/SCLEditorBase.java
Externalize strings
[simantics/platform.git] / bundles / org.simantics.modeling.ui / src / org / simantics / modeling / ui / componentTypeEditor / SCLEditorBase.java
index b080c0b1c7607d4c2aff1f6c6c9ae97f2bc05046..e5bfc8f44e66d2b44d2a667ca632e29e6b5eade7 100644 (file)
@@ -124,7 +124,7 @@ public class SCLEditorBase extends EditorPart implements IExecutableExtension {
                 public void perform(WriteGraph graph) throws DatabaseException {
                     graph.markUndoPoint();
                        save(graph, inputResource, originalText);
-                       Layer0Utils.addCommentMetadata(graph, "Saved SCL Module " + graph.getRelatedValue2(inputResource, Layer0.getInstance(graph).HasName, Bindings.STRING));
+                       Layer0Utils.addCommentMetadata(graph, "Saved SCL Module " + graph.getRelatedValue2(inputResource, Layer0.getInstance(graph).HasName, Bindings.STRING)); //$NON-NLS-1$
                 }
             });
         } catch (DatabaseException e) {
@@ -140,8 +140,8 @@ public class SCLEditorBase extends EditorPart implements IExecutableExtension {
         Layer0 L0 = Layer0.getInstance(graph);
         Resource parent = graph.getPossibleObject(inputResource, L0.PropertyOf);
         if(parent == null)
-            return "No parent";
-        return graph.getPossibleRelatedValue(parent, L0.HasName) + " (Code)";
+            return "No parent"; //$NON-NLS-1$
+        return graph.getPossibleRelatedValue(parent, L0.HasName) + " (Code)"; //$NON-NLS-1$
     }
     
     @Override