]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/diagram/renaming/ComponentsRenamingModel.java
Externalize strings
[simantics/platform.git] / bundles / org.simantics.modeling.ui / src / org / simantics / modeling / ui / diagram / renaming / ComponentsRenamingModel.java
index 452be9b333501c561fa4cf6b66935c017f745a2c..da861d816b5eff552c50c635da1d7c88c3d88ef5 100644 (file)
@@ -59,7 +59,7 @@ public class ComponentsRenamingModel {
             Resource componentType = g.getPossibleType(component, STR.Component);
             String componentTypePrefix = componentType != null
                     ? g.<String>getPossibleRelatedValue(componentType, L0X.HasGeneratedNamePrefix, Bindings.STRING)
-                    : "";
+                    : ""; //$NON-NLS-1$
             entries.add(new NameEntry(component, name, name, componentTypePrefix));
         }
         Collections.sort(entries);
@@ -98,7 +98,7 @@ public class ComponentsRenamingModel {
                     }
                 });
             } catch (DatabaseException e) {
-                Activator.getDefault().getLog().log(new Status(IStatus.ERROR, Activator.PLUGIN_ID, "validateNewNames failed, see exception for details", e));
+                Activator.getDefault().getLog().log(new Status(IStatus.ERROR, Activator.PLUGIN_ID, "validateNewNames failed, see exception for details", e)); //$NON-NLS-1$
             }
         } else {
             if (reset) {