]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.ui/src/org/simantics/scl/ui/browser/LaunchSCLDocumentationBrowser.java
Externalize strings in org.simantics.scl.ui
[simantics/platform.git] / bundles / org.simantics.scl.ui / src / org / simantics / scl / ui / browser / LaunchSCLDocumentationBrowser.java
index 7ecbaa371161873fd7eabd156a2291fc99e7ac40..3a687e0d921c0abba54cc10afb88f88d416dc501 100644 (file)
@@ -15,17 +15,17 @@ public class LaunchSCLDocumentationBrowser extends AbstractHandler {
     public Object execute(ExecutionEvent event) throws ExecutionException {
         Display display = PlatformUI.getWorkbench().getDisplay();
         Shell shell = new Shell(display);
-        shell.setText("SCL Documentation browser");
+        shell.setText(Messages.LaunchSCLDocumentationBrowser_SCLDocumentationBrowser);
         shell.setLayout(new FillLayout());
         SCLDocumentationBrowser browser;
         try {
             browser = new SCLDocumentationBrowser(shell);
         } catch (SWTError e) {
-            System.out.println("Could not instantiate the browser: " + e.getMessage());
+            System.out.println("Could not instantiate the browser: " + e.getMessage()); //$NON-NLS-1$
             display.dispose();
             return null;
         }
-        browser.setLocation("Prelude");
+        browser.setLocation("Prelude"); //$NON-NLS-1$
         shell.open();
         
         return null;