Revision: 6001
          http://sourceforge.net/p/jump-pilot/code/6001
Author:   ma15569
Date:     2018-11-30 14:23:51 +0000 (Fri, 30 Nov 2018)
Log Message:
-----------
Internazionalized new methods

Modified Paths:
--------------
    core/trunk/src/org/openjump/core/apitools/IOTools.java

Modified: core/trunk/src/org/openjump/core/apitools/IOTools.java
===================================================================
--- core/trunk/src/org/openjump/core/apitools/IOTools.java      2018-11-30 
14:21:02 UTC (rev 6000)
+++ core/trunk/src/org/openjump/core/apitools/IOTools.java      2018-11-30 
14:23:51 UTC (rev 6001)
@@ -887,7 +887,8 @@
                 // a filechooser is open to select that dolder
                 final JFCWithEnterAction chooser = new JFCWithEnterAction();
                 chooser.setCurrentDirectory(new java.io.File("."));
-                chooser.setDialogTitle("Select folder where vertex images are 
located");
+                chooser.setDialogTitle(I18N
+                        
.get("org.openjump.core.ui.plugin.style.StylePlugIns.IO.select-folder"));
                 chooser.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
 
                 chooser.setAcceptAllFileFilterUsed(false);
@@ -900,9 +901,12 @@
                     //warning to user that some symbols could be not loaded
                     recompiled = file;
 
-                    workbenchFrame.getContext().getLayerViewPanel()
+                    workbenchFrame
                             .getContext()
-                            .warnUser("Some styles could not be loaded");
+                            .getLayerViewPanel()
+                            .getContext()
+                            .warnUser(
+                                    
I18N.get("org.openjump.core.ui.plugin.style.StylePlugIns.IO.styles-could-not-be-loaded"));
                 }
             }
         }
@@ -924,7 +928,8 @@
                 layer.setStyles(names);
             } catch (final Exception e) {
                 Logger.error(e);
-                final String errorMessage = "Error on loading symbols. Try to 
do it manually"; //$NON-NLS-1$ 
+                final String errorMessage = I18N
+                        
.get("org.openjump.core.ui.plugin.style.StylePlugIns.IO.error");
                 JOptionPane.showMessageDialog(
                         workbenchFrame.getActiveInternalFrame(), errorMessage,
                         "Error", JOptionPane.ERROR_MESSAGE);



_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to