]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.document.ui/src/org/simantics/document/ui/dialogs/FileDetailDialog.java
Externalize strings in org.simantics.document.ui
[simantics/platform.git] / bundles / org.simantics.document.ui / src / org / simantics / document / ui / dialogs / FileDetailDialog.java
index a8ae3c19510d452226864c35232c3b8d39ff8421..c8ac4ca31ffccb12b302e3d22c4047ee9518d543 100644 (file)
@@ -86,16 +86,16 @@ public class FileDetailDialog extends TextInputDialog{
                GridDataFactory.fillDefaults().hint(500, 500).applyTo(composite);
                
                Label label = new Label(composite, SWT.NONE);
-               label.setText("File:");
+               label.setText(Messages.FileDetailDialog_File);
                fileText = new Text(composite, SWT.SINGLE|SWT.BORDER);
                Button browseButton = new Button(composite, SWT.PUSH);
-               browseButton.setText("Browse");
+               browseButton.setText(Messages.FileDetailDialog_Browse);
                label = new Label(composite, SWT.NONE);
-               label.setText("Name:");
+               label.setText(Messages.FileDetailDialog_Name);
                nameText = new Text(composite, SWT.SINGLE|SWT.BORDER);
                label = new Label(composite, SWT.NONE);
                label = new Label(composite, SWT.NONE);
-               label.setText("Annotations:");
+               label.setText(Messages.FileDetailDialog_Annotations);
                annotationComposite = new Composite(composite, SWT.NONE);
                annotationComposite.setLayout(new FillLayout());
                
@@ -130,7 +130,7 @@ public class FileDetailDialog extends TextInputDialog{
                        @Override
                        public void widgetSelected(SelectionEvent e) {
                                FileDialog dialog = new FileDialog(e.display.getActiveShell(),SWT.OPEN);
-                               dialog.setFilterExtensions(new String[]{"*.*"});
+                               dialog.setFilterExtensions(new String[]{"*.*"}); //$NON-NLS-1$
                                String s = dialog.open();
                                if (s != null) {
                                        name = null;