]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.document.ui/src/org/simantics/document/ui/actions/ImportDocumentFolder.java
Externalize strings in org.simantics.document.ui
[simantics/platform.git] / bundles / org.simantics.document.ui / src / org / simantics / document / ui / actions / ImportDocumentFolder.java
index 88eb503f5a56e28b0f65c2381a1dae3618138a43..ab66fdab3d23ea6c0f92ce099d72c7bd08d3399b 100644 (file)
@@ -58,7 +58,7 @@ public class ImportDocumentFolder implements ActionFactory {
                                        return;
                                }
 
-                               ImportJob job = new ImportJob("Import folder", resource, filename);
+                               ImportJob job = new ImportJob(Messages.ImportDocumentFolder_ImportFolder, resource, filename);
                                job.setUser(true);
                                job.schedule();
                        }
@@ -91,9 +91,9 @@ public class ImportDocumentFolder implements ActionFactory {
                                                }
                                        }
                                });
-                               return new Status(IStatus.OK, Activator.PLUGIN_ID, "Folder imported.");
+                               return new Status(IStatus.OK, Activator.PLUGIN_ID, Messages.ImportDocumentFolder_ActivatorFolderImported);
                        } catch (DatabaseException e) {
-                               return new Status(IStatus.ERROR, Activator.PLUGIN_ID, "Cannot import document folder.", e);
+                               return new Status(IStatus.ERROR, Activator.PLUGIN_ID, Messages.ImportDocumentFolder_ActivatorCannotImportDocumentFolder, e);
                        }
                }
        }